@everymatrix/general-registration 1.55.1 → 1.56.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.
@@ -1,4 +1,4 @@
1
- import{r as e,c as t,h as i,g as r,H as n}from"./p-0d63ba5e.js";const o={en:{dateError:"The selected date should be between {min} and {max}",dateError2:"The selected date is not within the accepted range",numberLengthError:"The number should be between {min} and {max}",lengthError:"The length should be between {minLength} and {maxLength}",requiredError:"This input is required.",invalidOriginalPasswordError:"Initial password field does not validate all criteria.",passwordStrength:"Password strength",passwordStrengthWeak:"is not adequate",passwordStrengthStrong:"is adequate",SpecialCharactersNotAllowed:"Should not contain special characters",InvalidEmailFormat:"Invalid email format.",EmailNotMatching:"Emails not matching!",PasswordNotMatching:"Passwords not matching",MustIncludeNumber:"Password must include a number",MustContainCapital:"Password must include a capital letter",MustIncludePunctation:"Password must include punctuation",OnlyNumbers:"Should contains only numbers.",InvalidFieldSize:"The length must be exactly 11 digits."},hu:{dateError:"A választott dátumnak {min} és {max} között kell lennie",numberLengthError:"A számnak {min} és {max} között kell lennie",lengthError:"A hossznak {minLength} és {maxLength} között kell lennie",requiredError:"Ez a beviteli mező kötelező.",invalidOriginalPasswordError:"Initial password field does not validate all criteria.",passwordStrength:"Jelszó erőssége",passwordStrengthWeak:"nem megfelelő",passwordStrengthStrong:"megfelelő",SpecialCharactersNotAllowed:"Nem tartalmazhat speciális karaktereket",InvalidEmailFormat:"Érvénytelen e-mail formátum.",EmailNotMatching:"Az e-mailek nem egyeznek!",PasswordNotMatching:"A jelszavak nem egyeznek",MustIncludeNumber:"A jelszónak tartalmaznia kell egy számot",MustContainCapital:"A jelszónak tartalmaznia kell egy nagybetűt",MustIncludePunctation:"A jelszónak tartalmaznia kell írásjelet",OnlyNumbers:"Csak számokat kell tartalmaznia.",InvalidFieldSize:"A hosszúságnak pontosan 11 számjegynek kell lennie."},hr:{dateError:"Odabrani datum treba biti između {min} i {max}",dateError2:"Odabrani datum nije unutar prihvaćenog raspona",numberLengthError:"Broj bi trebao biti između {min} i {max}",lengthError:"Duljina bi trebala biti između {minLength} i {maxLength}",requiredError:"Ovaj unos je obavezan.",invalidOriginalPasswordError:"Lozinke se ne podudaraju",passwordStrength:"Lozinka",passwordStrengthWeak:"nije dovoljno jaka",passwordStrengthStrong:"je dovoljno jaka",SpecialCharactersNotAllowed:"Ne smije sadržavati posebne znakove",InvalidEmailFormat:"Nevažeći format e-maila",EmailNotMatching:"E-mailovi se ne podudaraju!",PasswordNotMatching:"Lozinke se ne podudaraju",MustIncludeNumber:"Lozinka mora sadržavati broj",MustContainCapital:"Lozinka mora sadržavati veliko slovo",MustIncludePunctation:"Lozinka mora sadržavati barem jedan znak",OnlyNumbers:"Treba sadržavati samo brojeve.",InvalidFieldSize:"Dužina mora biti točno 11 znamenki."},tr:{dateError:"Seçilen tarih {min} ve {max} arasında olmalıdır",dateError2:"Seçilen tarih kabul edilen aralıkta değil",numberLengthError:"Sayı {min} ve {max} arasında olmalıdır",lengthError:"Uzunluk {minLength} ve {maxLength} arasında olmalıdır",requiredError:"Bu alan zorunludur.",invalidOriginalPasswordError:"İlk şifre alanı tüm kriterleri karşılamıyor.",passwordStrength:"Şifre gücü",passwordStrengthWeak:"yetersiz",passwordStrengthStrong:"yeterli",SpecialCharactersNotAllowed:"Özel karakter içermemelidir",InvalidEmailFormat:"Geçersiz e-posta formatı.",EmailNotMatching:"E-postalar uyuşmuyor!",PasswordNotMatching:"Şifreler uyuşmuyor",MustIncludeNumber:"bir sayı içermelidir",MustContainCapital:"büyük harf içermelidir",MustIncludePunctation:"noktalama işareti içermelidir",OnlyNumbers:"Sadece sayılar içermelidir.",InvalidFieldSize:"Uzunluk tam olarak 11 rakam olmalıdır."},"pt-br":{dateError:"A data selecionada deve estar entre {min} e {max}",dateError2:"A data selecionada não está dentro de um intervalo válido",numberLengthError:"O número deve estar entre {min} e {max}",lengthError:"O comprimento deve estar entre {minLength} e {maxLength}",requiredError:"Este campo é obrigatório",invalidOriginalPasswordError:"O campo de senha inicial não faz parte dos critérios válidos",PasswordStrength:"Força da senha",PasswordStrengthWeak:"Não é adequado",PasswordStrengthStrong:"é apropriado",SpecialCharactersNotAllowed:"Não deve conter caracteres especiais",InvalidEmailFormat:"Formato de email inválido",EmailNotMatching:"E-mail não corresponde",PasswordNotMatching:"Senha não corresponde",MustIncludeNumber:"A senha deve incluir um número",MustContainCapital:"A senha deve incluir uma letra maiúscula",MustIncludePunctation:"A senha deve incluir um sinal de pontuação",OnlyNumbers:"Deve conter apenas números",InvalidFieldSize:"O comprimento deve ser exatamente 11 dígitos."},"es-mx":{dateError:"La fecha seleccionada debe ser entre {min} y {max}",dateError2:"La fecha seleccionada no está dentro de un rango válido",numberLengthError:"El número debe ser entre {min} y {max}",lengthError:"La longitud deber ser entre {minLength} y {maxLength}",requiredError:"Este campo es requerido",invalidOriginalPasswordError:"El campo de contraseña inicial no es parte del criterio válido",PasswordStrength:"La fortaleza de la contraseña",PasswordStrengthWeak:"no es adecuada",PasswordStrengthStrong:"es adecuada",SpecialCharactersNotAllowed:"No debe contener caracteres especiales",InvalidEmailFormat:"Formato inválido de correo",EmailNotMatching:"El correo electrónico no coincide",PasswordNotMatching:"La contraseña no coincide",MustIncludeNumber:"La contraseña debe incluir un número",MustContainCapital:"La contraseña debe incluir una letra mayúscula",MustIncludePunctation:"La contraseña debe incluir un signo de puntuación",OnlyNumbers:"Solo debe contener números",InvalidFieldSize:"La longitud debe ser exactamente de 11 dígitos."}},s=(e,t,i)=>{let r=o[void 0!==t?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");r=r.replace(i,t)}return r},a="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUuNSIgc3Ryb2tlPSIjOTc5Nzk3Ii8+CjxyZWN0IHg9IjUiIHk9IjUiIHdpZHRoPSIyIiBoZWlnaHQ9IjUiIGZpbGw9IiM5Nzk3OTciLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiIGZpbGw9IiM5Nzk3OTciLz4KPC9zdmc+Cg==";
1
+ import{r as e,c as t,h as i,g as r,H as n}from"./p-f0564129.js";const o={en:{dateError:"The selected date should be between {min} and {max}",dateError2:"The selected date is not within the accepted range",numberLengthError:"The number should be between {min} and {max}",lengthError:"The length should be between {minLength} and {maxLength}",requiredError:"This input is required.",invalidOriginalPasswordError:"Initial password field does not validate all criteria.",passwordStrength:"Password strength",passwordStrengthWeak:"is not adequate",passwordStrengthStrong:"is adequate",SpecialCharactersNotAllowed:"Should not contain special characters",InvalidEmailFormat:"Invalid email format.",EmailNotMatching:"Emails not matching!",PasswordNotMatching:"Passwords not matching",MustIncludeNumber:"Password must include a number",MustContainCapital:"Password must include a capital letter",MustIncludePunctation:"Password must include punctuation",OnlyNumbers:"Should contains only numbers.",InvalidFieldSize:"The length must be exactly 11 digits."},hu:{dateError:"A választott dátumnak {min} és {max} között kell lennie",numberLengthError:"A számnak {min} és {max} között kell lennie",lengthError:"A hossznak {minLength} és {maxLength} között kell lennie",requiredError:"Ez a beviteli mező kötelező.",invalidOriginalPasswordError:"Initial password field does not validate all criteria.",passwordStrength:"Jelszó erőssége",passwordStrengthWeak:"nem megfelelő",passwordStrengthStrong:"megfelelő",SpecialCharactersNotAllowed:"Nem tartalmazhat speciális karaktereket",InvalidEmailFormat:"Érvénytelen e-mail formátum.",EmailNotMatching:"Az e-mailek nem egyeznek!",PasswordNotMatching:"A jelszavak nem egyeznek",MustIncludeNumber:"A jelszónak tartalmaznia kell egy számot",MustContainCapital:"A jelszónak tartalmaznia kell egy nagybetűt",MustIncludePunctation:"A jelszónak tartalmaznia kell írásjelet",OnlyNumbers:"Csak számokat kell tartalmaznia.",InvalidFieldSize:"A hosszúságnak pontosan 11 számjegynek kell lennie."},hr:{dateError:"Odabrani datum treba biti između {min} i {max}",dateError2:"Odabrani datum nije unutar prihvaćenog raspona",numberLengthError:"Broj bi trebao biti između {min} i {max}",lengthError:"Duljina bi trebala biti između {minLength} i {maxLength}",requiredError:"Ovaj unos je obavezan.",invalidOriginalPasswordError:"Lozinke se ne podudaraju",passwordStrength:"Lozinka",passwordStrengthWeak:"nije dovoljno jaka",passwordStrengthStrong:"je dovoljno jaka",SpecialCharactersNotAllowed:"Ne smije sadržavati posebne znakove",InvalidEmailFormat:"Nevažeći format e-maila",EmailNotMatching:"E-mailovi se ne podudaraju!",PasswordNotMatching:"Lozinke se ne podudaraju",MustIncludeNumber:"Lozinka mora sadržavati broj",MustContainCapital:"Lozinka mora sadržavati veliko slovo",MustIncludePunctation:"Lozinka mora sadržavati barem jedan znak",OnlyNumbers:"Treba sadržavati samo brojeve.",InvalidFieldSize:"Dužina mora biti točno 11 znamenki."},tr:{dateError:"Seçilen tarih {min} ve {max} arasında olmalıdır",dateError2:"Seçilen tarih kabul edilen aralıkta değil",numberLengthError:"Sayı {min} ve {max} arasında olmalıdır",lengthError:"Uzunluk {minLength} ve {maxLength} arasında olmalıdır",requiredError:"Bu alan zorunludur.",invalidOriginalPasswordError:"İlk şifre alanı tüm kriterleri karşılamıyor.",passwordStrength:"Şifre gücü",passwordStrengthWeak:"yetersiz",passwordStrengthStrong:"yeterli",SpecialCharactersNotAllowed:"Özel karakter içermemelidir",InvalidEmailFormat:"Geçersiz e-posta formatı.",EmailNotMatching:"E-postalar uyuşmuyor!",PasswordNotMatching:"Şifreler uyuşmuyor",MustIncludeNumber:"bir sayı içermelidir",MustContainCapital:"büyük harf içermelidir",MustIncludePunctation:"noktalama işareti içermelidir",OnlyNumbers:"Sadece sayılar içermelidir.",InvalidFieldSize:"Uzunluk tam olarak 11 rakam olmalıdır."},"pt-br":{dateError:"A data selecionada deve estar entre {min} e {max}",dateError2:"A data selecionada não está dentro de um intervalo válido",numberLengthError:"O número deve estar entre {min} e {max}",lengthError:"O comprimento deve estar entre {minLength} e {maxLength}",requiredError:"Este campo é obrigatório",invalidOriginalPasswordError:"O campo de senha inicial não faz parte dos critérios válidos",PasswordStrength:"Força da senha",PasswordStrengthWeak:"Não é adequado",PasswordStrengthStrong:"é apropriado",SpecialCharactersNotAllowed:"Não deve conter caracteres especiais",InvalidEmailFormat:"Formato de email inválido",EmailNotMatching:"E-mail não corresponde",PasswordNotMatching:"Senha não corresponde",MustIncludeNumber:"A senha deve incluir um número",MustContainCapital:"A senha deve incluir uma letra maiúscula",MustIncludePunctation:"A senha deve incluir um sinal de pontuação",OnlyNumbers:"Deve conter apenas números",InvalidFieldSize:"O comprimento deve ser exatamente 11 dígitos."},"es-mx":{dateError:"La fecha seleccionada debe ser entre {min} y {max}",dateError2:"La fecha seleccionada no está dentro de un rango válido",numberLengthError:"El número debe ser entre {min} y {max}",lengthError:"La longitud deber ser entre {minLength} y {maxLength}",requiredError:"Este campo es requerido",invalidOriginalPasswordError:"El campo de contraseña inicial no es parte del criterio válido",PasswordStrength:"La fortaleza de la contraseña",PasswordStrengthWeak:"no es adecuada",PasswordStrengthStrong:"es adecuada",SpecialCharactersNotAllowed:"No debe contener caracteres especiales",InvalidEmailFormat:"Formato inválido de correo",EmailNotMatching:"El correo electrónico no coincide",PasswordNotMatching:"La contraseña no coincide",MustIncludeNumber:"La contraseña debe incluir un número",MustContainCapital:"La contraseña debe incluir una letra mayúscula",MustIncludePunctation:"La contraseña debe incluir un signo de puntuación",OnlyNumbers:"Solo debe contener números",InvalidFieldSize:"La longitud debe ser exactamente de 11 dígitos."}},s=(e,t,i)=>{let r=o[void 0!==t?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");r=r.replace(i,t)}return r},a="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iNiIgY3k9IjYiIHI9IjUuNSIgc3Ryb2tlPSIjOTc5Nzk3Ii8+CjxyZWN0IHg9IjUiIHk9IjUiIHdpZHRoPSIyIiBoZWlnaHQ9IjUiIGZpbGw9IiM5Nzk3OTciLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjMiIHI9IjEiIGZpbGw9IiM5Nzk3OTciLz4KPC9zdmc+Cg==";
2
2
  /**
3
3
  * @license
4
4
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
@@ -20,7 +20,7 @@ const c=globalThis,u=c.ShadowRoot&&(void 0===c.ShadyCSS||c.ShadyCSS.nativeShadow
20
20
  * @license
21
21
  * Copyright 2017 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
- */,{is:g,defineProperty:b,getOwnPropertyDescriptor:E,getOwnPropertyNames:y,getOwnPropertySymbols:w,getPrototypeOf:k}=Object,x=globalThis,S=x.trustedTypes,A=S?S.emptyScript:"",I=x.reactiveElementPolyfillSupport,T={toAttribute(e,t){switch(t){case Boolean:e=e?A:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},C=(e,t)=>!g(e,t),D={attribute:!0,type:String,converter:T,reflect:!1,hasChanged:C};Symbol.metadata??=Symbol("metadata"),x.litPropertyMetadata??=new WeakMap;class R extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=D){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(e,i,t);void 0!==r&&b(this.prototype,e,r)}}static getPropertyDescriptor(e,t,i){const{get:r,set:n}=E(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get(){return r?.call(this)},set(t){const o=r?.call(this);n.call(this,t),this.requestUpdate(e,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??D}static _$Ei(){if(this.hasOwnProperty("elementProperties"))return;const e=k(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty("finalized"))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){const e=this.properties,t=[...y(e),...w(e)];for(const i of t)this.createProperty(i,e[i])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,i]of t)this.elementProperties.set(e,i)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const i=this._$Eu(e,t);void 0!==i&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(v(e))}else void 0!==e&&t.push(v(e));return t}static _$Eu(e,t){const i=t.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof e?e.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((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return f(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EC(e,t){const i=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,i);if(void 0!==r&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:T).toAttribute(t,i.type);this._$Em=e,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(e,t){const i=this.constructor,r=i._$Eh.get(e);if(void 0!==r&&this._$Em!==r){const e=i.getPropertyOptions(r),n="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:T;this._$Em=r,this[r]=n.fromAttribute(t,e.type),this._$Em=null}}requestUpdate(e,t,i){if(void 0!==e){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??C)(this[e],t))return;this.P(e,t,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,i]of e)!0!==i.wrapped||this._$AL.has(t)||void 0===this[t]||this.P(t,this[t],i)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach((e=>e.hostUpdate?.())),this.update(t)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach((e=>this._$EC(e,this[e]))),this._$EU()}updated(e){}firstUpdated(e){}}R.elementStyles=[],R.shadowRootOptions={mode:"open"},R.elementProperties=new Map,R.finalized=new Map,I?.({ReactiveElement:R}),(x.reactiveElementVersions??=[]).push("2.0.4");
23
+ */,{is:g,defineProperty:b,getOwnPropertyDescriptor:E,getOwnPropertyNames:y,getOwnPropertySymbols:w,getPrototypeOf:k}=Object,x=globalThis,S=x.trustedTypes,A=S?S.emptyScript:"",I=x.reactiveElementPolyfillSupport,C={toAttribute(e,t){switch(t){case Boolean:e=e?A:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let i=e;switch(t){case Boolean:i=null!==e;break;case Number:i=null===e?null:Number(e);break;case Object:case Array:try{i=JSON.parse(e)}catch(e){i=null}}return i}},T=(e,t)=>!g(e,t),D={attribute:!0,type:String,converter:C,reflect:!1,hasChanged:T};Symbol.metadata??=Symbol("metadata"),x.litPropertyMetadata??=new WeakMap;class R extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=D){if(t.state&&(t.attribute=!1),this._$Ei(),this.elementProperties.set(e,t),!t.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(e,i,t);void 0!==r&&b(this.prototype,e,r)}}static getPropertyDescriptor(e,t,i){const{get:r,set:n}=E(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get(){return r?.call(this)},set(t){const o=r?.call(this);n.call(this,t),this.requestUpdate(e,o,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??D}static _$Ei(){if(this.hasOwnProperty("elementProperties"))return;const e=k(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty("finalized"))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty("properties")){const e=this.properties,t=[...y(e),...w(e)];for(const i of t)this.createProperty(i,e[i])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,i]of t)this.elementProperties.set(e,i)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const i=this._$Eu(e,t);void 0!==i&&this._$Eh.set(i,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)t.unshift(v(e))}else void 0!==e&&t.push(v(e));return t}static _$Eu(e,t){const i=t.attribute;return!1===i?void 0:"string"==typeof i?i:"string"==typeof e?e.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((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const i of t.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return f(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,t,i){this._$AK(e,i)}_$EC(e,t){const i=this.constructor.elementProperties.get(e),r=this.constructor._$Eu(e,i);if(void 0!==r&&!0===i.reflect){const n=(void 0!==i.converter?.toAttribute?i.converter:C).toAttribute(t,i.type);this._$Em=e,null==n?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(e,t){const i=this.constructor,r=i._$Eh.get(e);if(void 0!==r&&this._$Em!==r){const e=i.getPropertyOptions(r),n="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:C;this._$Em=r,this[r]=n.fromAttribute(t,e.type),this._$Em=null}}requestUpdate(e,t,i){if(void 0!==e){if(i??=this.constructor.getPropertyOptions(e),!(i.hasChanged??T)(this[e],t))return;this.P(e,t,i)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(e,t,i){this._$AL.has(e)||this._$AL.set(e,t),!0===i.reflect&&this._$Em!==e&&(this._$Ej??=new Set).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,i]of e)!0!==i.wrapped||this._$AL.has(t)||void 0===this[t]||this.P(t,this[t],i)}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach((e=>e.hostUpdate?.())),this.update(t)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach((e=>e.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&=this._$Ej.forEach((e=>this._$EC(e,this[e]))),this._$EU()}updated(e){}firstUpdated(e){}}R.elementStyles=[],R.shadowRootOptions={mode:"open"},R.elementProperties=new Map,R.finalized=new Map,I?.({ReactiveElement:R}),(x.reactiveElementVersions??=[]).push("2.0.4");
24
24
  /**
25
25
  * @license
26
26
  * Copyright 2017 Google LLC
@@ -43,7 +43,7 @@ const _e=e=>class extends e{static get properties(){return{_theme:{type:String,r
43
43
  * @license
44
44
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
45
45
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
46
- */,fe=[],ve=new Set,ge=new Set;function be(e){return e&&Object.prototype.hasOwnProperty.call(e,"__themes")}function Ee(e,t){return(e||"").split(" ").some((e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t)))}function ye(e){return e.map((e=>e.cssText)).join("\n")}const we="vaadin-themable-mixin-style";function ke(e){e.prototype instanceof me?e.elementStyles=e.finalizeStyles(e.styles):e.prototype._template.content.getElementById(we).textContent=ye(e.getStylesForThis()),ge.forEach((t=>{const i=customElements.get(t);i!==e&&i.prototype instanceof e&&ke(i)}))}function xe(e,t,i={}){t=function(e=[]){return[e].flat(1/0).filter((e=>e instanceof p||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(e,t,i):fe.push({themeFor:e,styles:t,include:i.include,moduleId:i.moduleId}),e&&ge.forEach((i=>{if(Ee(e,i)&&function(e){return be(customElements.get(e))}(i)){const e=customElements.get(i);!function(e,t){const i=e.__themes;return!(!i||!t)&&i.some((e=>e.styles.some((e=>t.some((t=>t.cssText===e.cssText))))))}(e,t)?window.Vaadin&&window.Vaadin.suppressPostFinalizeStylesWarning||console.warn(`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`):console.warn(`Registering styles that already exist for ${i}`),ke(e),function(e){ve.forEach((t=>{const i=t.deref();i instanceof e?function(e){if(!e.shadowRoot)return;const t=e.constructor;e instanceof me?([...e.shadowRoot.querySelectorAll("style")].forEach((e=>e.remove())),f(e.shadowRoot,t.elementStyles)):e.shadowRoot.getElementById(we).textContent=t.prototype._template.content.getElementById(we).textContent}(i):i||ve.delete(t)}))}(e)}}))}function Se(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():fe}function Ae(e=""){let t=0;return e.startsWith("lumo-")||e.startsWith("material-")?t=1:e.startsWith("vaadin-")&&(t=2),t}function Ie(e){const t=[];return e.include&&[].concat(e.include).forEach((e=>{const i=Se().find((t=>t.moduleId===e));i?t.push(...Ie(i),...i.styles):console.warn(`Included moduleId ${e} not found in style registry`)}),e.styles),t}function Te(e){const t=`${e}-default-theme`,i=Se().filter((i=>i.moduleId!==t&&Ee(i.themeFor,e))).map((e=>({...e,styles:[...Ie(e),...e.styles],includePriority:Ae(e.moduleId)}))).sort(((e,t)=>t.includePriority-e.includePriority));return i.length>0?i:Se().filter((e=>e.moduleId===t))}const Ce=e=>class extends(_e(e)){constructor(){super(),ve.add(new WeakRef(this))}static finalize(){if(super.finalize(),this.is&&ge.add(this.is),this.elementStyles)return;const e=this.prototype._template;e&&!be(this)&&function(e,t){const i=document.createElement("style");i.id=we,i.textContent=ye(e),t.content.appendChild(i)}(this.getStylesForThis(),e)}static finalizeStyles(e){const t=this.getStylesForThis();return e?[...[e].flat(1/0),...t]:t}static getStylesForThis(){const t=e.__themes||[],i=Object.getPrototypeOf(this.prototype);this.__themes=[...t,...(i?i.constructor.__themes:[])||[],...Te(this.is)];const r=this.__themes.flatMap((e=>e.styles));return r.filter(((e,t)=>t===r.lastIndexOf(e)))}}
46
+ */,fe=[],ve=new Set,ge=new Set;function be(e){return e&&Object.prototype.hasOwnProperty.call(e,"__themes")}function Ee(e,t){return(e||"").split(" ").some((e=>new RegExp(`^${e.split("*").join(".*")}$`,"u").test(t)))}function ye(e){return e.map((e=>e.cssText)).join("\n")}const we="vaadin-themable-mixin-style";function ke(e){e.prototype instanceof me?e.elementStyles=e.finalizeStyles(e.styles):e.prototype._template.content.getElementById(we).textContent=ye(e.getStylesForThis()),ge.forEach((t=>{const i=customElements.get(t);i!==e&&i.prototype instanceof e&&ke(i)}))}function xe(e,t,i={}){t=function(e=[]){return[e].flat(1/0).filter((e=>e instanceof p||(console.warn("An item in styles is not of type CSSResult. Use `unsafeCSS` or `css`."),!1)))}(t),window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.registerStyles(e,t,i):fe.push({themeFor:e,styles:t,include:i.include,moduleId:i.moduleId}),e&&ge.forEach((i=>{if(Ee(e,i)&&function(e){return be(customElements.get(e))}(i)){const e=customElements.get(i);!function(e,t){const i=e.__themes;return!(!i||!t)&&i.some((e=>e.styles.some((e=>t.some((t=>t.cssText===e.cssText))))))}(e,t)?window.Vaadin&&window.Vaadin.suppressPostFinalizeStylesWarning||console.warn(`The custom element definition for "${i}" was finalized before a style module was registered. Ideally, import component specific style modules before importing the corresponding custom element. This warning can be suppressed by setting "window.Vaadin.suppressPostFinalizeStylesWarning = true".`):console.warn(`Registering styles that already exist for ${i}`),ke(e),function(e){ve.forEach((t=>{const i=t.deref();i instanceof e?function(e){if(!e.shadowRoot)return;const t=e.constructor;e instanceof me?([...e.shadowRoot.querySelectorAll("style")].forEach((e=>e.remove())),f(e.shadowRoot,t.elementStyles)):e.shadowRoot.getElementById(we).textContent=t.prototype._template.content.getElementById(we).textContent}(i):i||ve.delete(t)}))}(e)}}))}function Se(){return window.Vaadin&&window.Vaadin.styleModules?window.Vaadin.styleModules.getAllThemes():fe}function Ae(e=""){let t=0;return e.startsWith("lumo-")||e.startsWith("material-")?t=1:e.startsWith("vaadin-")&&(t=2),t}function Ie(e){const t=[];return e.include&&[].concat(e.include).forEach((e=>{const i=Se().find((t=>t.moduleId===e));i?t.push(...Ie(i),...i.styles):console.warn(`Included moduleId ${e} not found in style registry`)}),e.styles),t}function Ce(e){const t=`${e}-default-theme`,i=Se().filter((i=>i.moduleId!==t&&Ee(i.themeFor,e))).map((e=>({...e,styles:[...Ie(e),...e.styles],includePriority:Ae(e.moduleId)}))).sort(((e,t)=>t.includePriority-e.includePriority));return i.length>0?i:Se().filter((e=>e.moduleId===t))}const Te=e=>class extends(_e(e)){constructor(){super(),ve.add(new WeakRef(this))}static finalize(){if(super.finalize(),this.is&&ge.add(this.is),this.elementStyles)return;const e=this.prototype._template;e&&!be(this)&&function(e,t){const i=document.createElement("style");i.id=we,i.textContent=ye(e),t.content.appendChild(i)}(this.getStylesForThis(),e)}static finalizeStyles(e){const t=this.getStylesForThis();return e?[...[e].flat(1/0),...t]:t}static getStylesForThis(){const t=e.__themes||[],i=Object.getPrototypeOf(this.prototype);this.__themes=[...t,...(i?i.constructor.__themes:[])||[],...Ce(this.is)];const r=this.__themes.flatMap((e=>e.styles));return r.filter(((e,t)=>t===r.lastIndexOf(e)))}}
47
47
  /**
48
48
  * @license
49
49
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
@@ -939,7 +939,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
939
939
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
940
940
  Code distributed by Google as part of the polymer project is also
941
941
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
942
- */const At={},It=/-[a-z]/g,Tt=/([A-Z])/g;function Ct(e){return At[e]||(At[e]=e.indexOf("-")<0?e:e.replace(It,(e=>e[1].toUpperCase())))}function Dt(e){return At[e]||(At[e]=e.replace(Tt,"-$1").toLowerCase())}
942
+ */const At={},It=/-[a-z]/g,Ct=/([A-Z])/g;function Tt(e){return At[e]||(At[e]=e.indexOf("-")<0?e:e.replace(It,(e=>e[1].toUpperCase())))}function Dt(e){return At[e]||(At[e]=e.replace(Ct,"-$1").toLowerCase())}
943
943
  /**
944
944
  @license
945
945
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -948,7 +948,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
948
948
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
949
949
  Code distributed by Google as part of the polymer project is also
950
950
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
951
- */let Rt=0,Nt=0,Ot=[],zt=0,Gt=!1,Mt=document.createTextNode("");new window.MutationObserver((function(){Gt=!1;const e=Ot.length;for(let t=0;t<e;t++){let e=Ot[t];if(e)try{e()}catch(e){setTimeout((()=>{throw e}))}}Ot.splice(0,e),Nt+=e})).observe(Mt,{characterData:!0});const Ut={after:e=>({run:t=>window.setTimeout(t,e),cancel(e){window.clearTimeout(e)}}),run:(e,t)=>window.setTimeout(e,t),cancel(e){window.clearTimeout(e)}},Bt={run:e=>(Gt||(Gt=!0,Mt.textContent=zt++),Ot.push(e),Rt++),cancel(e){const t=e-Nt;if(t>=0){if(!Ot[t])throw new Error("invalid async handle: "+e);Ot[t]=null}}},Pt=Bt,Lt=tt((e=>class extends e{static createProperties(e){const t=this.prototype;for(let i in e)i in t||t._createPropertyAccessor(i)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let t=this.__dataAttributes[e];return t||(t=this.constructor.attributeNameForProperty(e),this.__dataAttributes[t]=e),t}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this.__data[e]},set:t?function(){}:function(t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,t,i){let r=this.__data[e],n=this._shouldPropertyChange(e,t,r);return n&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(e in this.__dataOld)&&(this.__dataOld[e]=r),this.__data[e]=t,this.__dataPending[e]=t),n}_isPropertyPending(e){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(e))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Pt.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const e=this.__data,t=this.__dataPending,i=this.__dataOld;this._shouldPropertiesChange(e,t,i)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,i)),this.__dataCounter--}_shouldPropertiesChange(e,t,i){return Boolean(t)}_propertiesChanged(e,t,i){}_shouldPropertyChange(e,t,i){return i!==t&&(i==i||t==t)}attributeChangedCallback(e,t,i,r){t!==i&&this._attributeToProperty(e,i),super.attributeChangedCallback&&super.attributeChangedCallback(e,t,i,r)}_attributeToProperty(e,t,i){if(!this.__serializing){const r=this.__dataAttributes,n=r&&r[e]||e;this[n]=this._deserializeValue(t,i||this.constructor.typeForProperty(n))}}_propertyToAttribute(e,t,i){this.__serializing=!0,this._valueToNodeAttribute(this,i=arguments.length<3?this[e]:i,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,t,i){const r=this._serializeValue(t);"class"!==i&&"name"!==i&&"slot"!==i||(e=ft(e)),void 0===r?e.removeAttribute(i):e.setAttribute(i,""===r&&window.trustedTypes?window.trustedTypes.emptyScript:r)}_serializeValue(e){return"boolean"==typeof e?e?"":void 0:null!=e?e.toString():void 0}_deserializeValue(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}})),Ft={};let jt=HTMLElement.prototype;for(;jt;){let e=Object.getOwnPropertyNames(jt);for(let t=0;t<e.length;t++)Ft[e[t]]=!0;jt=Object.getPrototypeOf(jt)}const qt=window.trustedTypes?e=>trustedTypes.isHTML(e)||trustedTypes.isScript(e)||trustedTypes.isScriptURL(e):()=>!1,Ht=tt((e=>{const t=Lt(e);return class extends t{static createPropertiesForAttributes(){let e=this.observedAttributes;for(let t=0;t<e.length;t++)this.prototype._createPropertyAccessor(Ct(e[t]))}static attributeNameForProperty(e){return Dt(e)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(e){for(let t in e)this._setProperty(t,e[t])}_ensureAttribute(e,t){this.hasAttribute(e)||this._valueToNodeAttribute(this,t,e)}_serializeValue(e){if("object"==typeof e){if(e instanceof Date)return e.toString();if(e){if(qt(e))return e;try{return JSON.stringify(e)}catch(e){return""}}}return super._serializeValue(e)}_deserializeValue(e,t){let i;switch(t){case Object:try{i=JSON.parse(e)}catch(t){i=e}break;case Array:try{i=JSON.parse(e)}catch(t){i=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${e}`)}break;case Date:i=isNaN(e)?String(e):Number(e),i=new Date(i);break;default:i=super._deserializeValue(e,t)}return i}_definePropertyAccessor(e,t){!function(e,t){if(!Ft[t]){let i=e[t];void 0!==i&&(e.__data?e._setPendingProperty(t,i):(e.__dataProto?e.hasOwnProperty(JSCompiler_renameProperty("__dataProto",e))||(e.__dataProto=Object.create(e.__dataProto)):e.__dataProto={},e.__dataProto[t]=i))}}(this,e),super._definePropertyAccessor(e,t)}_hasAccessor(e){return this.__dataHasAccessor&&this.__dataHasAccessor[e]}_isPropertyPending(e){return Boolean(this.__dataPending&&e in this.__dataPending)}}})),Vt={"dom-if":!0,"dom-repeat":!0};let $t=!1,Xt=!1;const Kt=(()=>{const e=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:e=>e});return(t,i,r)=>{const n=i.getAttribute(r);e&&r.startsWith("on-")?t.setAttribute(r,e.createScript(n,r)):t.setAttribute(r,n)}})();function Yt(e){let t=e.getAttribute("is");if(t&&Vt[t]){let i=e;for(i.removeAttribute("is"),e=i.ownerDocument.createElement(t),i.parentNode.replaceChild(e,i),e.appendChild(i);i.attributes.length;){const{name:t}=i.attributes[0];Kt(e,i,t),i.removeAttribute(t)}}return e}function Wt(e,t){let i=t.parentInfo&&Wt(e,t.parentInfo);if(!i)return e;for(let e=i.firstChild,r=0;e;e=e.nextSibling)if(t.parentIndex===r++)return e}function Zt(e,t,i,r){r.id&&(t[r.id]=i)}function Qt(e,t,i){if(i.events&&i.events.length)for(let r,n=0,o=i.events;n<o.length&&(r=o[n]);n++)e._addMethodEventListenerToNode(t,r.name,r.value,e)}function Jt(e,t,i,r){i.templateInfo&&(t._templateInfo=i.templateInfo,t._parentTemplateInfo=r)}const ei=tt((e=>class extends e{static _parseTemplate(e,t){if(!e._templateInfo){let i=e._templateInfo={};i.nodeInfoList=[],i.nestedTemplate=Boolean(t),i.stripWhiteSpace=t&&t.stripWhiteSpace||e.hasAttribute&&e.hasAttribute("strip-whitespace"),this._parseTemplateContent(e,i,{parent:null})}return e._templateInfo}static _parseTemplateContent(e,t,i){return this._parseTemplateNode(e.content,t,i)}static _parseTemplateNode(e,t,i){let r=!1,n=e;return"template"!=n.localName||n.hasAttribute("preserve-content")?"slot"===n.localName&&(t.hasInsertionPoint=!0):r=this._parseTemplateNestedTemplate(n,t,i)||r,function(e){(function(){if(!$t){$t=!0;const e=document.createElement("textarea");e.placeholder="a",Xt=e.placeholder===e.textContent}return Xt})()&&"textarea"===e.localName&&e.placeholder&&e.placeholder===e.textContent&&(e.textContent=null)}(n),n.firstChild&&this._parseTemplateChildNodes(n,t,i),n.hasAttributes&&n.hasAttributes()&&(r=this._parseTemplateNodeAttributes(n,t,i)||r),r||i.noted}static _parseTemplateChildNodes(e,t,i){if("script"!==e.localName&&"style"!==e.localName)for(let r,n=e.firstChild,o=0;n;n=r){if("template"==n.localName&&(n=Yt(n)),r=n.nextSibling,n.nodeType===Node.TEXT_NODE){let i=r;for(;i&&i.nodeType===Node.TEXT_NODE;)n.textContent+=i.textContent,r=i.nextSibling,e.removeChild(i),i=r;if(t.stripWhiteSpace&&!n.textContent.trim()){e.removeChild(n);continue}}let s={parentIndex:o,parentInfo:i};this._parseTemplateNode(n,t,s)&&(s.infoIndex=t.nodeInfoList.push(s)-1),n.parentNode&&o++}}static _parseTemplateNestedTemplate(e,t,i){let r=e,n=this._parseTemplate(r,t);return(n.content=r.content.ownerDocument.createDocumentFragment()).appendChild(r.content),i.templateInfo=n,!0}static _parseTemplateNodeAttributes(e,t,i){let r=!1,n=Array.from(e.attributes);for(let o,s=n.length-1;o=n[s];s--)r=this._parseTemplateNodeAttribute(e,t,i,o.name,o.value)||r;return r}static _parseTemplateNodeAttribute(e,t,i,r,n){return"on-"===r.slice(0,3)?(e.removeAttribute(r),i.events=i.events||[],i.events.push({name:r.slice(3),value:n}),!0):"id"===r&&(i.id=n,!0)}static _contentForTemplate(e){let t=e._templateInfo;return t&&t.content||e.content}_stampTemplate(e,t){e&&!e.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e);let i=(t=t||this.constructor._parseTemplate(e)).nodeInfoList,r=document.importNode(t.content||e.content,!0);r.__noInsertionPoint=!t.hasInsertionPoint;let n=r.nodeList=new Array(i.length);r.$={};for(let e,o=0,s=i.length;o<s&&(e=i[o]);o++){let i=n[o]=Wt(r,e);Zt(0,r.$,i,e),Jt(0,i,e,t),Qt(this,i,e)}return r}_addMethodEventListenerToNode(e,t,i,r){let n=function(e,t,i){return e=e._methodHost||e,function(t){e[i]?e[i](t,t.detail):console.warn("listener method `"+i+"` not defined")}}(r=r||e,0,i);return this._addEventListenerToNode(e,t,n),n}_addEventListenerToNode(e,t,i){e.addEventListener(t,i)}_removeEventListenerFromNode(e,t,i){e.removeEventListener(t,i)}}));
951
+ */let Rt=0,Nt=0,Ot=[],zt=0,Gt=!1,Mt=document.createTextNode("");new window.MutationObserver((function(){Gt=!1;const e=Ot.length;for(let t=0;t<e;t++){let e=Ot[t];if(e)try{e()}catch(e){setTimeout((()=>{throw e}))}}Ot.splice(0,e),Nt+=e})).observe(Mt,{characterData:!0});const Ut={after:e=>({run:t=>window.setTimeout(t,e),cancel(e){window.clearTimeout(e)}}),run:(e,t)=>window.setTimeout(e,t),cancel(e){window.clearTimeout(e)}},Bt={run:e=>(Gt||(Gt=!0,Mt.textContent=zt++),Ot.push(e),Rt++),cancel(e){const t=e-Nt;if(t>=0){if(!Ot[t])throw new Error("invalid async handle: "+e);Ot[t]=null}}},Pt=Bt,Lt=tt((e=>class extends e{static createProperties(e){const t=this.prototype;for(let i in e)i in t||t._createPropertyAccessor(i)}static attributeNameForProperty(e){return e.toLowerCase()}static typeForProperty(e){}_createPropertyAccessor(e,t){this._addPropertyToAttributeMap(e),this.hasOwnProperty(JSCompiler_renameProperty("__dataHasAccessor",this))||(this.__dataHasAccessor=Object.assign({},this.__dataHasAccessor)),this.__dataHasAccessor[e]||(this.__dataHasAccessor[e]=!0,this._definePropertyAccessor(e,t))}_addPropertyToAttributeMap(e){this.hasOwnProperty(JSCompiler_renameProperty("__dataAttributes",this))||(this.__dataAttributes=Object.assign({},this.__dataAttributes));let t=this.__dataAttributes[e];return t||(t=this.constructor.attributeNameForProperty(e),this.__dataAttributes[t]=e),t}_definePropertyAccessor(e,t){Object.defineProperty(this,e,{get(){return this.__data[e]},set:t?function(){}:function(t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}})}constructor(){super(),this.__dataEnabled=!1,this.__dataReady=!1,this.__dataInvalid=!1,this.__data={},this.__dataPending=null,this.__dataOld=null,this.__dataInstanceProps=null,this.__dataCounter=0,this.__serializing=!1,this._initializeProperties()}ready(){this.__dataReady=!0,this._flushProperties()}_initializeProperties(){for(let e in this.__dataHasAccessor)this.hasOwnProperty(e)&&(this.__dataInstanceProps=this.__dataInstanceProps||{},this.__dataInstanceProps[e]=this[e],delete this[e])}_initializeInstanceProperties(e){Object.assign(this,e)}_setProperty(e,t){this._setPendingProperty(e,t)&&this._invalidateProperties()}_getProperty(e){return this.__data[e]}_setPendingProperty(e,t,i){let r=this.__data[e],n=this._shouldPropertyChange(e,t,r);return n&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),this.__dataOld&&!(e in this.__dataOld)&&(this.__dataOld[e]=r),this.__data[e]=t,this.__dataPending[e]=t),n}_isPropertyPending(e){return!(!this.__dataPending||!this.__dataPending.hasOwnProperty(e))}_invalidateProperties(){!this.__dataInvalid&&this.__dataReady&&(this.__dataInvalid=!0,Pt.run((()=>{this.__dataInvalid&&(this.__dataInvalid=!1,this._flushProperties())})))}_enableProperties(){this.__dataEnabled||(this.__dataEnabled=!0,this.__dataInstanceProps&&(this._initializeInstanceProperties(this.__dataInstanceProps),this.__dataInstanceProps=null),this.ready())}_flushProperties(){this.__dataCounter++;const e=this.__data,t=this.__dataPending,i=this.__dataOld;this._shouldPropertiesChange(e,t,i)&&(this.__dataPending=null,this.__dataOld=null,this._propertiesChanged(e,t,i)),this.__dataCounter--}_shouldPropertiesChange(e,t,i){return Boolean(t)}_propertiesChanged(e,t,i){}_shouldPropertyChange(e,t,i){return i!==t&&(i==i||t==t)}attributeChangedCallback(e,t,i,r){t!==i&&this._attributeToProperty(e,i),super.attributeChangedCallback&&super.attributeChangedCallback(e,t,i,r)}_attributeToProperty(e,t,i){if(!this.__serializing){const r=this.__dataAttributes,n=r&&r[e]||e;this[n]=this._deserializeValue(t,i||this.constructor.typeForProperty(n))}}_propertyToAttribute(e,t,i){this.__serializing=!0,this._valueToNodeAttribute(this,i=arguments.length<3?this[e]:i,t||this.constructor.attributeNameForProperty(e)),this.__serializing=!1}_valueToNodeAttribute(e,t,i){const r=this._serializeValue(t);"class"!==i&&"name"!==i&&"slot"!==i||(e=ft(e)),void 0===r?e.removeAttribute(i):e.setAttribute(i,""===r&&window.trustedTypes?window.trustedTypes.emptyScript:r)}_serializeValue(e){return"boolean"==typeof e?e?"":void 0:null!=e?e.toString():void 0}_deserializeValue(e,t){switch(t){case Boolean:return null!==e;case Number:return Number(e);default:return e}}})),Ft={};let jt=HTMLElement.prototype;for(;jt;){let e=Object.getOwnPropertyNames(jt);for(let t=0;t<e.length;t++)Ft[e[t]]=!0;jt=Object.getPrototypeOf(jt)}const qt=window.trustedTypes?e=>trustedTypes.isHTML(e)||trustedTypes.isScript(e)||trustedTypes.isScriptURL(e):()=>!1,Ht=tt((e=>{const t=Lt(e);return class extends t{static createPropertiesForAttributes(){let e=this.observedAttributes;for(let t=0;t<e.length;t++)this.prototype._createPropertyAccessor(Tt(e[t]))}static attributeNameForProperty(e){return Dt(e)}_initializeProperties(){this.__dataProto&&(this._initializeProtoProperties(this.__dataProto),this.__dataProto=null),super._initializeProperties()}_initializeProtoProperties(e){for(let t in e)this._setProperty(t,e[t])}_ensureAttribute(e,t){this.hasAttribute(e)||this._valueToNodeAttribute(this,t,e)}_serializeValue(e){if("object"==typeof e){if(e instanceof Date)return e.toString();if(e){if(qt(e))return e;try{return JSON.stringify(e)}catch(e){return""}}}return super._serializeValue(e)}_deserializeValue(e,t){let i;switch(t){case Object:try{i=JSON.parse(e)}catch(t){i=e}break;case Array:try{i=JSON.parse(e)}catch(t){i=null,console.warn(`Polymer::Attributes: couldn't decode Array as JSON: ${e}`)}break;case Date:i=isNaN(e)?String(e):Number(e),i=new Date(i);break;default:i=super._deserializeValue(e,t)}return i}_definePropertyAccessor(e,t){!function(e,t){if(!Ft[t]){let i=e[t];void 0!==i&&(e.__data?e._setPendingProperty(t,i):(e.__dataProto?e.hasOwnProperty(JSCompiler_renameProperty("__dataProto",e))||(e.__dataProto=Object.create(e.__dataProto)):e.__dataProto={},e.__dataProto[t]=i))}}(this,e),super._definePropertyAccessor(e,t)}_hasAccessor(e){return this.__dataHasAccessor&&this.__dataHasAccessor[e]}_isPropertyPending(e){return Boolean(this.__dataPending&&e in this.__dataPending)}}})),Vt={"dom-if":!0,"dom-repeat":!0};let $t=!1,Xt=!1;const Kt=(()=>{const e=window.trustedTypes&&window.trustedTypes.createPolicy("polymer-template-event-attribute-policy",{createScript:e=>e});return(t,i,r)=>{const n=i.getAttribute(r);e&&r.startsWith("on-")?t.setAttribute(r,e.createScript(n,r)):t.setAttribute(r,n)}})();function Yt(e){let t=e.getAttribute("is");if(t&&Vt[t]){let i=e;for(i.removeAttribute("is"),e=i.ownerDocument.createElement(t),i.parentNode.replaceChild(e,i),e.appendChild(i);i.attributes.length;){const{name:t}=i.attributes[0];Kt(e,i,t),i.removeAttribute(t)}}return e}function Wt(e,t){let i=t.parentInfo&&Wt(e,t.parentInfo);if(!i)return e;for(let e=i.firstChild,r=0;e;e=e.nextSibling)if(t.parentIndex===r++)return e}function Zt(e,t,i,r){r.id&&(t[r.id]=i)}function Qt(e,t,i){if(i.events&&i.events.length)for(let r,n=0,o=i.events;n<o.length&&(r=o[n]);n++)e._addMethodEventListenerToNode(t,r.name,r.value,e)}function Jt(e,t,i,r){i.templateInfo&&(t._templateInfo=i.templateInfo,t._parentTemplateInfo=r)}const ei=tt((e=>class extends e{static _parseTemplate(e,t){if(!e._templateInfo){let i=e._templateInfo={};i.nodeInfoList=[],i.nestedTemplate=Boolean(t),i.stripWhiteSpace=t&&t.stripWhiteSpace||e.hasAttribute&&e.hasAttribute("strip-whitespace"),this._parseTemplateContent(e,i,{parent:null})}return e._templateInfo}static _parseTemplateContent(e,t,i){return this._parseTemplateNode(e.content,t,i)}static _parseTemplateNode(e,t,i){let r=!1,n=e;return"template"!=n.localName||n.hasAttribute("preserve-content")?"slot"===n.localName&&(t.hasInsertionPoint=!0):r=this._parseTemplateNestedTemplate(n,t,i)||r,function(e){(function(){if(!$t){$t=!0;const e=document.createElement("textarea");e.placeholder="a",Xt=e.placeholder===e.textContent}return Xt})()&&"textarea"===e.localName&&e.placeholder&&e.placeholder===e.textContent&&(e.textContent=null)}(n),n.firstChild&&this._parseTemplateChildNodes(n,t,i),n.hasAttributes&&n.hasAttributes()&&(r=this._parseTemplateNodeAttributes(n,t,i)||r),r||i.noted}static _parseTemplateChildNodes(e,t,i){if("script"!==e.localName&&"style"!==e.localName)for(let r,n=e.firstChild,o=0;n;n=r){if("template"==n.localName&&(n=Yt(n)),r=n.nextSibling,n.nodeType===Node.TEXT_NODE){let i=r;for(;i&&i.nodeType===Node.TEXT_NODE;)n.textContent+=i.textContent,r=i.nextSibling,e.removeChild(i),i=r;if(t.stripWhiteSpace&&!n.textContent.trim()){e.removeChild(n);continue}}let s={parentIndex:o,parentInfo:i};this._parseTemplateNode(n,t,s)&&(s.infoIndex=t.nodeInfoList.push(s)-1),n.parentNode&&o++}}static _parseTemplateNestedTemplate(e,t,i){let r=e,n=this._parseTemplate(r,t);return(n.content=r.content.ownerDocument.createDocumentFragment()).appendChild(r.content),i.templateInfo=n,!0}static _parseTemplateNodeAttributes(e,t,i){let r=!1,n=Array.from(e.attributes);for(let o,s=n.length-1;o=n[s];s--)r=this._parseTemplateNodeAttribute(e,t,i,o.name,o.value)||r;return r}static _parseTemplateNodeAttribute(e,t,i,r,n){return"on-"===r.slice(0,3)?(e.removeAttribute(r),i.events=i.events||[],i.events.push({name:r.slice(3),value:n}),!0):"id"===r&&(i.id=n,!0)}static _contentForTemplate(e){let t=e._templateInfo;return t&&t.content||e.content}_stampTemplate(e,t){e&&!e.content&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(e);let i=(t=t||this.constructor._parseTemplate(e)).nodeInfoList,r=document.importNode(t.content||e.content,!0);r.__noInsertionPoint=!t.hasInsertionPoint;let n=r.nodeList=new Array(i.length);r.$={};for(let e,o=0,s=i.length;o<s&&(e=i[o]);o++){let i=n[o]=Wt(r,e);Zt(0,r.$,i,e),Jt(0,i,e,t),Qt(this,i,e)}return r}_addMethodEventListenerToNode(e,t,i,r){let n=function(e,t,i){return e=e._methodHost||e,function(t){e[i]?e[i](t,t.detail):console.warn("listener method `"+i+"` not defined")}}(r=r||e,0,i);return this._addEventListenerToNode(e,t,n),n}_addEventListenerToNode(e,t,i){e.addEventListener(t,i)}_removeEventListenerFromNode(e,t,i){e.removeEventListener(t,i)}}));
952
952
  /**
953
953
  * @fileoverview
954
954
  * @suppress {checkPrototypalTypes}
@@ -959,7 +959,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
959
959
  * be found at http://polymer.github.io/CONTRIBUTORS.txt Code distributed by
960
960
  * Google as part of the polymer project is also subject to an additional IP
961
961
  * rights grant found at http://polymer.github.io/PATENTS.txt
962
- */let ti=0;const ii=[],ri={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},ni="__computeInfo",oi=/[A-Z]/;function si(e,t,i){let r=e[t];if(r){if(!e.hasOwnProperty(t)&&(r=e[t]=Object.create(e[t]),i))for(let e in r){let t=r[e],i=r[e]=Array(t.length);for(let e=0;e<t.length;e++)i[e]=t[e]}}else r=e[t]={};return r}function ai(e,t,i,r,n,o){if(t){let s=!1;const a=ti++;for(let l in i){let h=t[n?gt(l):l];if(h)for(let t,c=0,u=h.length;c<u&&(t=h[c]);c++)t.info&&t.info.lastRun===a||n&&!hi(l,t.trigger)||(t.info&&(t.info.lastRun=a),t.fn(e,l,i,r,t.info,n,o),s=!0)}return s}return!1}function li(e,t,i,r,n,o,s,a){let l=!1,h=t[s?gt(r):r];if(h)for(let t,c=0,u=h.length;c<u&&(t=h[c]);c++)t.info&&t.info.lastRun===i||s&&!hi(r,t.trigger)||(t.info&&(t.info.lastRun=i),t.fn(e,r,n,o,t.info,s,a),l=!0);return l}function hi(e,t){if(t){let i=t.name;return i==e||!(!t.structured||!bt(i,e))||!(!t.wildcard||!Et(i,e))}return!0}function ci(e,t,i,r,n){let o="string"==typeof n.method?e[n.method]:n.method,s=n.property;o?o.call(e,e.__data[s],r[s]):n.dynamicFn||console.warn("observer method `"+n.method+"` not defined")}function ui(e,t,i){let r=gt(t);return r!==t&&(di(e,Dt(r)+"-changed",i[t],t),!0)}function di(e,t,i,r){let n={value:i,queueProperty:!0};r&&(n.path=r),ft(e).dispatchEvent(new CustomEvent(t,{detail:n}))}function mi(e,t,i,r,n,o){let s=(o?gt(t):t)!=t?t:null,a=s?xt(e,s):e.__data[t];s&&void 0===a&&(a=i[t]),di(e,n.eventName,a,s)}function pi(e,t,i,r,n){let o=e.__data[t];je&&(o=je(o,n.attrName,"attribute",e)),e._propertyToAttribute(t,n.attrName,o)}const _i=(e,t,i)=>{let r=0,n=t.length-1,o=-1;for(;r<=n;){const s=r+n>>1,a=i.get(t[s].methodInfo)-i.get(e.methodInfo);if(a<0)r=s+1;else{if(!(a>0)){o=s;break}n=s-1}}o<0&&(o=n+1),t.splice(o,0,e)},fi=(e,t,i,r,n)=>{const o=t[n?gt(e):e];if(o)for(let t=0;t<o.length;t++){const s=o[t];s.info.lastRun===ti||n&&!hi(e,s.trigger)||(s.info.lastRun=ti,_i(s.info,i,r))}};function vi(e,t,i,r,n){let o=xi(e,t,i,0,n);if(o===ii)return!1;let s=n.methodInfo;return e.__dataHasAccessor&&e.__dataHasAccessor[s]?e._setPendingProperty(s,o,!0):(e[s]=o,!1)}function gi(e,t,i,r,n,o,s){i.bindings=i.bindings||[];let a={kind:r,target:n,parts:o,literal:s,isCompound:1!==o.length};if(i.bindings.push(a),function(e){return Boolean(e.target)&&"attribute"!=e.kind&&"text"!=e.kind&&!e.isCompound&&"{"===e.parts[0].mode}(a)){let{event:e,negate:t}=a.parts[0];a.listenerEvent=e||Dt(n)+"-changed",a.listenerNegate=t}let l=t.nodeInfoList.length;for(let i=0;i<a.parts.length;i++){let r=a.parts[i];r.compoundIndex=i,bi(e,t,a,r,l)}}function bi(e,t,i,r,n){if(!r.literal)if("attribute"===i.kind&&"-"===i.target[0])console.warn("Cannot set attribute "+i.target+' because "-" is not a valid attribute starting character');else{let o=r.dependencies,s={index:n,binding:i,part:r,evaluator:e};for(let i=0;i<o.length;i++){let r=o[i];"string"==typeof r&&(r=Ri(r),r.wildcard=!0),e._addTemplatePropertyEffect(t,r.rootProperty,{fn:Ei,info:s,trigger:r})}}}function Ei(e,t,i,r,n,o,s){let a=s[n.index],l=n.binding,h=n.part;if(o&&h.source&&t.length>h.source.length&&"property"==l.kind&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let r=i[t];t=yt(h.source,l.target,t),a._setPendingPropertyOrPath(t,r,!1,!0)&&e._enqueueClient(a)}else{let s=n.evaluator._evaluateBinding(e,h,t,i,r,o);s!==ii&&function(e,t,i,r,n){if(n=function(e,t,i,r){if(i.isCompound){let n=e.__dataCompoundStorage[i.target];n[r.compoundIndex]=t,t=n.join("")}return"attribute"!==i.kind&&("textContent"!==i.target&&("value"!==i.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,n,i,r),je&&(n=je(n,i.target,i.kind,t)),"attribute"==i.kind)e._valueToNodeAttribute(t,n,i.target);else{let r=i.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?t[ri.READ_ONLY]&&t[ri.READ_ONLY][r]||t._setPendingProperty(r,n)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,r,n)}}(e,a,l,h,s)}}function yi(e,t){if(t.isCompound){let i=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,n=new Array(r.length);for(let e=0;e<r.length;e++)n[e]=r[e].literal;let o=t.target;i[o]=n,t.literal&&"property"==t.kind&&("className"===o&&(e=ft(e)),e[o]=t.literal)}}function wi(e,t,i){if(i.listenerEvent){let r=i.parts[0];e.addEventListener(i.listenerEvent,(function(e){!function(e,t,i,r,n){let o,s=e.detail,a=s&&s.path;a?(r=yt(i,r,a),o=s&&s.value):o=e.currentTarget[i],o=n?!o:o,t[ri.READ_ONLY]&&t[ri.READ_ONLY][r]||!t._setPendingPropertyOrPath(r,o,!0,Boolean(a))||s&&s.queueProperty||t._invalidateProperties()}(e,t,i.target,r.source,r.negate)}))}}function ki(e,t,i,r,n,o){let s={methodName:t.methodName,args:t.args,methodInfo:n,dynamicFn:o=t.static||o&&("object"!=typeof o||o[t.methodName])};for(let n,o=0;o<t.args.length&&(n=t.args[o]);o++)n.literal||e._addPropertyEffect(n.rootProperty,i,{fn:r,info:s,trigger:n});return o&&e._addPropertyEffect(t.methodName,i,{fn:r,info:s}),s}function xi(e,t,i,r,n){let o=e._methodHost||e,s=o[n.methodName];if(s){let r=e._marshalArgs(n.args,t,i);return r===ii?ii:s.apply(o,r)}n.dynamicFn||console.warn("method `"+n.methodName+"` not defined")}const Si=[],Ai="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Ii="(?:("+Ai+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",Ti=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+Ai+"\\s*(?:\\(\\s*(?:(?:"+Ii+"(?:,\\s*"+Ii+")*)?)\\)\\s*)?)(?:]]|}})","g");function Ci(e){let t="";for(let i=0;i<e.length;i++)t+=e[i].literal||"";return t}function Di(e){let t=e.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let e={methodName:t[1],static:!0,args:Si};return t[2].trim()?function(e,t){return t.args=e.map((function(e){let i=Ri(e);return i.literal||(t.static=!1),i}),this),t}(t[2].replace(/\\,/g,"&comma;").split(","),e):e}return null}function Ri(e){let t=e.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),i={name:t,value:"",literal:!1},r=t[0];switch("-"===r&&(r=t[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':i.value=t.slice(1,-1),i.literal=!0;break;case"#":i.value=Number(t),i.literal=!0}return i.literal||(i.rootProperty=gt(t),i.structured=vt(t),i.structured&&(i.wildcard=".*"==t.slice(-2),i.wildcard&&(i.name=t.slice(0,-2)))),i}function Ni(e,t,i){let r=xt(e,i);return void 0===r&&(r=t[i]),r}function Oi(e,t,i,r){const n={indexSplices:r};Ke&&!e._overrideLegacyUndefined&&(t.splices=n),e.notifyPath(i+".splices",n),e.notifyPath(i+".length",t.length),Ke&&!e._overrideLegacyUndefined&&(n.indexSplices=[])}function zi(e,t,i,r,n,o){Oi(e,t,i,[{index:r,addedCount:n,removed:o,object:t,type:"splice"}])}const Gi=tt((e=>{const t=ei(Ht(e));return class extends t{constructor(){super(),this.__isPropertyEffectsClient=!0}get PROPERTY_EFFECT_TYPES(){return ri}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Mi.length){let e=Mi[Mi.length-1];e._enqueueClient(this),this.__dataHost=e}}_initializeProtoProperties(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}_initializeInstanceProperties(e){let t=this[ri.READ_ONLY];for(let i in e)t&&t[i]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[i]=this.__dataPending[i]=e[i])}_addPropertyEffect(e,t,i){this._createPropertyAccessor(e,t==ri.READ_ONLY);let r=si(this,t,!0)[e];r||(r=this[t][e]=[]),r.push(i)}_removePropertyEffect(e,t,i){let r=si(this,t,!0)[e],n=r.indexOf(i);n>=0&&r.splice(n,1)}_hasPropertyEffect(e,t){let i=this[t];return Boolean(i&&i[e])}_hasReadOnlyEffect(e){return this._hasPropertyEffect(e,ri.READ_ONLY)}_hasNotifyEffect(e){return this._hasPropertyEffect(e,ri.NOTIFY)}_hasReflectEffect(e){return this._hasPropertyEffect(e,ri.REFLECT)}_hasComputedEffect(e){return this._hasPropertyEffect(e,ri.COMPUTE)}_setPendingPropertyOrPath(e,t,i,r){if(r||gt(Array.isArray(e)?e[0]:e)!==e){if(!r){let i=xt(this,e);if(!(e=St(this,e,t))||!super._shouldPropertyChange(e,t,i))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,i))return function(e,t,i){let r=e.__dataLinkedPaths;if(r){let n;for(let o in r){let s=r[o];Et(o,t)?(n=yt(o,s,t),e._setPendingPropertyOrPath(n,i,!0,!0)):Et(s,t)&&(n=yt(s,o,t),e._setPendingPropertyOrPath(n,i,!0,!0))}}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,i);this[e]=t}return!1}_setUnmanagedPropertyToNode(e,t,i){i===e[t]&&"object"!=typeof i||("className"===t&&(e=ft(e)),e[t]=i)}_setPendingProperty(e,t,i){let r=this.__dataHasPaths&&vt(e);return!!this._shouldPropertyChange(e,t,(r?this.__dataTemp:this.__data)[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[ri.NOTIFY]&&this[ri.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=i),!0)}_setProperty(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(let t=0;t<e.length;t++){let i=e[t];i.__dataEnabled?i.__dataPending&&i._flushProperties():i._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(e,t){for(let i in e)!t&&this[ri.READ_ONLY]&&this[ri.READ_ONLY][i]||this._setPendingPropertyOrPath(i,e[i],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(e,t,i){let r,n=this.__dataHasPaths;this.__dataHasPaths=!1,function(e,t,i,r){let n=e[ri.COMPUTE];if(n)if(Ye){ti++;const o=function(e){let t=e.constructor.__orderedComputedDeps;if(!t){t=new Map;const i=e[ri.COMPUTE];let r,{counts:n,ready:o,total:s}=function(e){const t=e[ni],i={},r=e[ri.COMPUTE],n=[];let o=0;for(let e in t){const r=t[e];o+=i[e]=r.args.filter((e=>!e.literal)).length+(r.dynamicFn?1:0)}for(let e in r)t[e]||n.push(e);return{counts:i,ready:n,total:o}}(e);for(;r=o.shift();){t.set(r,t.size);const e=i[r];e&&e.forEach((e=>{const t=e.info.methodInfo;--s,0==--n[t]&&o.push(t)}))}0!==s&&console.warn(`Computed graph for ${e.localName} incomplete; circular?`),e.constructor.__orderedComputedDeps=t}return t}(e),s=[];for(let e in t)fi(e,n,s,o,r);let a;for(;a=s.shift();)vi(e,"",t,0,a)&&fi(a.methodInfo,n,s,o,r);Object.assign(i,e.__dataOld),Object.assign(t,e.__dataPending),e.__dataPending=null}else{let o=t;for(;ai(e,n,o,i,r);)Object.assign(i,e.__dataOld),Object.assign(t,e.__dataPending),o=e.__dataPending,e.__dataPending=null}}(this,t,i,n),r=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(t,i,n),this._flushClients(),ai(this,this[ri.REFLECT],t,i,n),ai(this,this[ri.OBSERVE],t,i,n),r&&function(e,t,i,r,n){let o,s,a=e[ri.NOTIFY],l=ti++;for(let s in t)t[s]&&(a&&li(e,a,l,s,i,r,n)||n&&ui(e,s,i))&&(o=!0);o&&(s=e.__dataHost)&&s._invalidateProperties&&s._invalidateProperties()}(this,r,t,i,n),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(e,t,i){this[ri.PROPAGATE]&&ai(this,this[ri.PROPAGATE],e,t,i),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,e,t,i)}_runEffectsForTemplate(e,t,i,r){const n=(t,r)=>{ai(this,e.propertyEffects,t,i,r,e.nodeList);for(let n=e.firstChild;n;n=n.nextSibling)this._runEffectsForTemplate(n,t,i,r)};e.runEffects?e.runEffects(n,t,r):n(t,r)}linkPaths(e,t){e=wt(e),t=wt(t),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[e]=t}unlinkPaths(e){e=wt(e),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[e]}notifySplices(e,t){let i={path:""};Oi(this,xt(this,e,i),i.path,t)}get(e,t){return xt(t||this,e)}set(e,t,i){i?St(i,e,t):this[ri.READ_ONLY]&&this[ri.READ_ONLY][e]||this._setPendingPropertyOrPath(e,t,!0)&&this._invalidateProperties()}push(e,...t){let i={path:""},r=xt(this,e,i),n=r.length,o=r.push(...t);return t.length&&zi(this,r,i.path,n,t.length,[]),o}pop(e){let t={path:""},i=xt(this,e,t),r=Boolean(i.length),n=i.pop();return r&&zi(this,i,t.path,i.length,0,[n]),n}splice(e,t,i,...r){let n,o={path:""},s=xt(this,e,o);return t<0?t=s.length-Math.floor(-t):t&&(t=Math.floor(t)),n=2===arguments.length?s.splice(t):s.splice(t,i,...r),(r.length||n.length)&&zi(this,s,o.path,t,r.length,n),n}shift(e){let t={path:""},i=xt(this,e,t),r=Boolean(i.length),n=i.shift();return r&&zi(this,i,t.path,0,0,[n]),n}unshift(e,...t){let i={path:""},r=xt(this,e,i),n=r.unshift(...t);return t.length&&zi(this,r,i.path,0,t.length,[]),n}notifyPath(e,t){let i;if(1==arguments.length){let r={path:""};t=xt(this,e,r),i=r.path}else i=Array.isArray(e)?wt(e):e;this._setPendingPropertyOrPath(i,t,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(e,t){var i;this._addPropertyEffect(e,ri.READ_ONLY),t&&(this["_set"+(i=e,i[0].toUpperCase()+i.substring(1))]=function(t){this._setProperty(e,t)})}_createPropertyObserver(e,t,i){let r={property:e,method:t,dynamicFn:Boolean(i)};this._addPropertyEffect(e,ri.OBSERVE,{fn:ci,info:r,trigger:{name:e}}),i&&this._addPropertyEffect(t,ri.OBSERVE,{fn:ci,info:r,trigger:{name:t}})}_createMethodObserver(e,t){let i=Di(e);if(!i)throw new Error("Malformed observer expression '"+e+"'");ki(this,i,ri.OBSERVE,xi,null,t)}_createNotifyingProperty(e){this._addPropertyEffect(e,ri.NOTIFY,{fn:mi,info:{eventName:Dt(e)+"-changed",property:e}})}_createReflectedProperty(e){let t=this.constructor.attributeNameForProperty(e);"-"===t[0]?console.warn("Property "+e+" cannot be reflected to attribute "+t+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(e,ri.REFLECT,{fn:pi,info:{attrName:t}})}_createComputedProperty(e,t,i){let r=Di(t);if(!r)throw new Error("Malformed computed expression '"+t+"'");const n=ki(this,r,ri.COMPUTE,vi,e,i);si(this,ni)[e]=n}_marshalArgs(e,t,i){const r=this.__data,n=[];for(let o=0,s=e.length;o<s;o++){let{name:s,structured:a,wildcard:l,value:h,literal:c}=e[o];if(!c)if(l){const e=Et(s,t),n=Ni(r,i,e?t:s);h={path:e?t:s,value:n,base:e?xt(r,s):n}}else h=a?Ni(r,i,s):r[s];if(Ke&&!this._overrideLegacyUndefined&&void 0===h&&e.length>1)return ii;n[o]=h}return n}static addPropertyEffect(e,t,i){this.prototype._addPropertyEffect(e,t,i)}static createPropertyObserver(e,t,i){this.prototype._createPropertyObserver(e,t,i)}static createMethodObserver(e,t){this.prototype._createMethodObserver(e,t)}static createNotifyingProperty(e){this.prototype._createNotifyingProperty(e)}static createReadOnlyProperty(e,t){this.prototype._createReadOnlyProperty(e,t)}static createReflectedProperty(e){this.prototype._createReflectedProperty(e)}static createComputedProperty(e,t,i){this.prototype._createComputedProperty(e,t,i)}static bindTemplate(e){return this.prototype._bindTemplate(e)}_bindTemplate(e,t){let i=this.constructor._parseTemplate(e),r=this.__preBoundTemplateInfo==i;if(!r)for(let e in i.propertyEffects)this._createPropertyAccessor(e);if(t)if(i=Object.create(i),i.wasPreBound=r,this.__templateInfo){const t=e._parentTemplateInfo||this.__templateInfo,r=t.lastChild;i.parent=t,t.lastChild=i,i.previousSibling=r,r?r.nextSibling=i:t.firstChild=i}else this.__templateInfo=i;else this.__preBoundTemplateInfo=i;return i}static _addTemplatePropertyEffect(e,t,i){(e.hostProps=e.hostProps||{})[t]=!0;let r=e.propertyEffects=e.propertyEffects||{};(r[t]=r[t]||[]).push(i)}_stampTemplate(e,t){t=t||this._bindTemplate(e,!0),Mi.push(this);let i=super._stampTemplate(e,t);if(Mi.pop(),t.nodeList=i.nodeList,!t.wasPreBound){let e=t.childNodes=[];for(let t=i.firstChild;t;t=t.nextSibling)e.push(t)}return i.templateInfo=t,function(e,t){let{nodeList:i,nodeInfoList:r}=t;if(r.length)for(let t=0;t<r.length;t++){let n=i[t],o=r[t].bindings;if(o)for(let t=0;t<o.length;t++){let i=o[t];yi(n,i),wi(n,e,i)}n.__dataHost=e}}(this,t),this.__dataClientsReady&&(this._runEffectsForTemplate(t,this.__data,null,!1),this._flushClients()),i}_removeBoundDom(e){const t=e.templateInfo,{previousSibling:i,nextSibling:r,parent:n}=t;i?i.nextSibling=r:n&&(n.firstChild=r),r?r.previousSibling=i:n&&(n.lastChild=i),t.nextSibling=t.previousSibling=null;let o=t.childNodes;for(let e=0;e<o.length;e++){let t=o[e];ft(ft(t).parentNode).removeChild(t)}}static _parseTemplateNode(e,i,r){let n=t._parseTemplateNode.call(this,e,i,r);if(e.nodeType===Node.TEXT_NODE){let t=this._parseBindings(e.textContent,i);t&&(e.textContent=Ci(t)||" ",gi(this,i,r,"text","textContent",t),n=!0)}return n}static _parseTemplateNodeAttribute(e,i,r,n,o){let s=this._parseBindings(o,i);if(s){let t=n,o="property";oi.test(n)?o="attribute":"$"==n[n.length-1]&&(n=n.slice(0,-1),o="attribute");let a=Ci(s);return a&&"attribute"==o&&("class"==n&&e.hasAttribute("class")&&(a+=" "+e.getAttribute(n)),e.setAttribute(n,a)),"attribute"==o&&"disable-upgrade$"==t&&e.setAttribute(n,""),"input"===e.localName&&"value"===t&&e.setAttribute(t,""),e.removeAttribute(t),"property"===o&&(n=Ct(n)),gi(this,i,r,o,n,s,a),!0}return t._parseTemplateNodeAttribute.call(this,e,i,r,n,o)}static _parseTemplateNestedTemplate(e,i,r){let n=t._parseTemplateNestedTemplate.call(this,e,i,r);const o=e.parentNode,s=r.templateInfo,a="dom-if"===o.localName;We&&(a||"dom-repeat"===o.localName)&&(o.removeChild(e),(r=r.parentInfo).templateInfo=s,r.noted=!0,n=!1);let l=s.hostProps;if(Ze&&a)l&&(i.hostProps=Object.assign(i.hostProps||{},l),We||(r.parentInfo.noted=!0));else{let e="{";for(let t in l)gi(this,i,r,"property","_host_"+t,[{mode:e,source:t,dependencies:[t],hostProp:!0}])}return n}static _parseBindings(e,t){let i,r=[],n=0;for(;null!==(i=Ti.exec(e));){i.index>n&&r.push({literal:e.slice(n,i.index)});let o=i[1][0],s=Boolean(i[2]),a=i[3].trim(),l=!1,h="",c=-1;"{"==o&&(c=a.indexOf("::"))>0&&(h=a.substring(c+2),a=a.substring(0,c),l=!0);let u=Di(a),d=[];if(u){let{args:e,methodName:i}=u;for(let t=0;t<e.length;t++){let i=e[t];i.literal||d.push(i)}let r=t.dynamicFns;(r&&r[i]||u.static)&&(d.push(i),u.dynamicFn=!0)}else d.push(a);r.push({source:a,mode:o,negate:s,customEvent:l,signature:u,dependencies:d,event:h}),n=Ti.lastIndex}if(n&&n<e.length){let t=e.substring(n);t&&r.push({literal:t})}return r.length?r:null}static _evaluateBinding(e,t,i,r,n,o){let s;return s=t.signature?xi(e,i,r,0,t.signature):i!=t.source?xt(e,t.source):o&&vt(i)?xt(e,i):e.__data[i],t.negate&&(s=!s),s}}})),Mi=[],Ui=tt((e=>{const t=Lt(e);function i(e){const t=Object.getPrototypeOf(e);return t.prototype instanceof n?t:null}function r(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){let t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){const i=e.properties;i&&(t=
962
+ */let ti=0;const ii=[],ri={COMPUTE:"__computeEffects",REFLECT:"__reflectEffects",NOTIFY:"__notifyEffects",PROPAGATE:"__propagateEffects",OBSERVE:"__observeEffects",READ_ONLY:"__readOnly"},ni="__computeInfo",oi=/[A-Z]/;function si(e,t,i){let r=e[t];if(r){if(!e.hasOwnProperty(t)&&(r=e[t]=Object.create(e[t]),i))for(let e in r){let t=r[e],i=r[e]=Array(t.length);for(let e=0;e<t.length;e++)i[e]=t[e]}}else r=e[t]={};return r}function ai(e,t,i,r,n,o){if(t){let s=!1;const a=ti++;for(let l in i){let h=t[n?gt(l):l];if(h)for(let t,c=0,u=h.length;c<u&&(t=h[c]);c++)t.info&&t.info.lastRun===a||n&&!hi(l,t.trigger)||(t.info&&(t.info.lastRun=a),t.fn(e,l,i,r,t.info,n,o),s=!0)}return s}return!1}function li(e,t,i,r,n,o,s,a){let l=!1,h=t[s?gt(r):r];if(h)for(let t,c=0,u=h.length;c<u&&(t=h[c]);c++)t.info&&t.info.lastRun===i||s&&!hi(r,t.trigger)||(t.info&&(t.info.lastRun=i),t.fn(e,r,n,o,t.info,s,a),l=!0);return l}function hi(e,t){if(t){let i=t.name;return i==e||!(!t.structured||!bt(i,e))||!(!t.wildcard||!Et(i,e))}return!0}function ci(e,t,i,r,n){let o="string"==typeof n.method?e[n.method]:n.method,s=n.property;o?o.call(e,e.__data[s],r[s]):n.dynamicFn||console.warn("observer method `"+n.method+"` not defined")}function ui(e,t,i){let r=gt(t);return r!==t&&(di(e,Dt(r)+"-changed",i[t],t),!0)}function di(e,t,i,r){let n={value:i,queueProperty:!0};r&&(n.path=r),ft(e).dispatchEvent(new CustomEvent(t,{detail:n}))}function mi(e,t,i,r,n,o){let s=(o?gt(t):t)!=t?t:null,a=s?xt(e,s):e.__data[t];s&&void 0===a&&(a=i[t]),di(e,n.eventName,a,s)}function pi(e,t,i,r,n){let o=e.__data[t];je&&(o=je(o,n.attrName,"attribute",e)),e._propertyToAttribute(t,n.attrName,o)}const _i=(e,t,i)=>{let r=0,n=t.length-1,o=-1;for(;r<=n;){const s=r+n>>1,a=i.get(t[s].methodInfo)-i.get(e.methodInfo);if(a<0)r=s+1;else{if(!(a>0)){o=s;break}n=s-1}}o<0&&(o=n+1),t.splice(o,0,e)},fi=(e,t,i,r,n)=>{const o=t[n?gt(e):e];if(o)for(let t=0;t<o.length;t++){const s=o[t];s.info.lastRun===ti||n&&!hi(e,s.trigger)||(s.info.lastRun=ti,_i(s.info,i,r))}};function vi(e,t,i,r,n){let o=xi(e,t,i,0,n);if(o===ii)return!1;let s=n.methodInfo;return e.__dataHasAccessor&&e.__dataHasAccessor[s]?e._setPendingProperty(s,o,!0):(e[s]=o,!1)}function gi(e,t,i,r,n,o,s){i.bindings=i.bindings||[];let a={kind:r,target:n,parts:o,literal:s,isCompound:1!==o.length};if(i.bindings.push(a),function(e){return Boolean(e.target)&&"attribute"!=e.kind&&"text"!=e.kind&&!e.isCompound&&"{"===e.parts[0].mode}(a)){let{event:e,negate:t}=a.parts[0];a.listenerEvent=e||Dt(n)+"-changed",a.listenerNegate=t}let l=t.nodeInfoList.length;for(let i=0;i<a.parts.length;i++){let r=a.parts[i];r.compoundIndex=i,bi(e,t,a,r,l)}}function bi(e,t,i,r,n){if(!r.literal)if("attribute"===i.kind&&"-"===i.target[0])console.warn("Cannot set attribute "+i.target+' because "-" is not a valid attribute starting character');else{let o=r.dependencies,s={index:n,binding:i,part:r,evaluator:e};for(let i=0;i<o.length;i++){let r=o[i];"string"==typeof r&&(r=Ri(r),r.wildcard=!0),e._addTemplatePropertyEffect(t,r.rootProperty,{fn:Ei,info:s,trigger:r})}}}function Ei(e,t,i,r,n,o,s){let a=s[n.index],l=n.binding,h=n.part;if(o&&h.source&&t.length>h.source.length&&"property"==l.kind&&!l.isCompound&&a.__isPropertyEffectsClient&&a.__dataHasAccessor&&a.__dataHasAccessor[l.target]){let r=i[t];t=yt(h.source,l.target,t),a._setPendingPropertyOrPath(t,r,!1,!0)&&e._enqueueClient(a)}else{let s=n.evaluator._evaluateBinding(e,h,t,i,r,o);s!==ii&&function(e,t,i,r,n){if(n=function(e,t,i,r){if(i.isCompound){let n=e.__dataCompoundStorage[i.target];n[r.compoundIndex]=t,t=n.join("")}return"attribute"!==i.kind&&("textContent"!==i.target&&("value"!==i.target||"input"!==e.localName&&"textarea"!==e.localName)||(t=null==t?"":t)),t}(t,n,i,r),je&&(n=je(n,i.target,i.kind,t)),"attribute"==i.kind)e._valueToNodeAttribute(t,n,i.target);else{let r=i.target;t.__isPropertyEffectsClient&&t.__dataHasAccessor&&t.__dataHasAccessor[r]?t[ri.READ_ONLY]&&t[ri.READ_ONLY][r]||t._setPendingProperty(r,n)&&e._enqueueClient(t):e._setUnmanagedPropertyToNode(t,r,n)}}(e,a,l,h,s)}}function yi(e,t){if(t.isCompound){let i=e.__dataCompoundStorage||(e.__dataCompoundStorage={}),r=t.parts,n=new Array(r.length);for(let e=0;e<r.length;e++)n[e]=r[e].literal;let o=t.target;i[o]=n,t.literal&&"property"==t.kind&&("className"===o&&(e=ft(e)),e[o]=t.literal)}}function wi(e,t,i){if(i.listenerEvent){let r=i.parts[0];e.addEventListener(i.listenerEvent,(function(e){!function(e,t,i,r,n){let o,s=e.detail,a=s&&s.path;a?(r=yt(i,r,a),o=s&&s.value):o=e.currentTarget[i],o=n?!o:o,t[ri.READ_ONLY]&&t[ri.READ_ONLY][r]||!t._setPendingPropertyOrPath(r,o,!0,Boolean(a))||s&&s.queueProperty||t._invalidateProperties()}(e,t,i.target,r.source,r.negate)}))}}function ki(e,t,i,r,n,o){let s={methodName:t.methodName,args:t.args,methodInfo:n,dynamicFn:o=t.static||o&&("object"!=typeof o||o[t.methodName])};for(let n,o=0;o<t.args.length&&(n=t.args[o]);o++)n.literal||e._addPropertyEffect(n.rootProperty,i,{fn:r,info:s,trigger:n});return o&&e._addPropertyEffect(t.methodName,i,{fn:r,info:s}),s}function xi(e,t,i,r,n){let o=e._methodHost||e,s=o[n.methodName];if(s){let r=e._marshalArgs(n.args,t,i);return r===ii?ii:s.apply(o,r)}n.dynamicFn||console.warn("method `"+n.methodName+"` not defined")}const Si=[],Ai="(?:[a-zA-Z_$][\\w.:$\\-*]*)",Ii="(?:("+Ai+"|(?:[-+]?[0-9]*\\.?[0-9]+(?:[eE][-+]?[0-9]+)?)|(?:(?:'(?:[^'\\\\]|\\\\.)*')|(?:\"(?:[^\"\\\\]|\\\\.)*\")))\\s*)",Ci=new RegExp("(\\[\\[|{{)\\s*(?:(!)\\s*)?("+Ai+"\\s*(?:\\(\\s*(?:(?:"+Ii+"(?:,\\s*"+Ii+")*)?)\\)\\s*)?)(?:]]|}})","g");function Ti(e){let t="";for(let i=0;i<e.length;i++)t+=e[i].literal||"";return t}function Di(e){let t=e.match(/([^\s]+?)\(([\s\S]*)\)/);if(t){let e={methodName:t[1],static:!0,args:Si};return t[2].trim()?function(e,t){return t.args=e.map((function(e){let i=Ri(e);return i.literal||(t.static=!1),i}),this),t}(t[2].replace(/\\,/g,"&comma;").split(","),e):e}return null}function Ri(e){let t=e.trim().replace(/&comma;/g,",").replace(/\\(.)/g,"$1"),i={name:t,value:"",literal:!1},r=t[0];switch("-"===r&&(r=t[1]),r>="0"&&r<="9"&&(r="#"),r){case"'":case'"':i.value=t.slice(1,-1),i.literal=!0;break;case"#":i.value=Number(t),i.literal=!0}return i.literal||(i.rootProperty=gt(t),i.structured=vt(t),i.structured&&(i.wildcard=".*"==t.slice(-2),i.wildcard&&(i.name=t.slice(0,-2)))),i}function Ni(e,t,i){let r=xt(e,i);return void 0===r&&(r=t[i]),r}function Oi(e,t,i,r){const n={indexSplices:r};Ke&&!e._overrideLegacyUndefined&&(t.splices=n),e.notifyPath(i+".splices",n),e.notifyPath(i+".length",t.length),Ke&&!e._overrideLegacyUndefined&&(n.indexSplices=[])}function zi(e,t,i,r,n,o){Oi(e,t,i,[{index:r,addedCount:n,removed:o,object:t,type:"splice"}])}const Gi=tt((e=>{const t=ei(Ht(e));return class extends t{constructor(){super(),this.__isPropertyEffectsClient=!0}get PROPERTY_EFFECT_TYPES(){return ri}_initializeProperties(){super._initializeProperties(),this._registerHost(),this.__dataClientsReady=!1,this.__dataPendingClients=null,this.__dataToNotify=null,this.__dataLinkedPaths=null,this.__dataHasPaths=!1,this.__dataCompoundStorage=this.__dataCompoundStorage||null,this.__dataHost=this.__dataHost||null,this.__dataTemp={},this.__dataClientsInitialized=!1}_registerHost(){if(Mi.length){let e=Mi[Mi.length-1];e._enqueueClient(this),this.__dataHost=e}}_initializeProtoProperties(e){this.__data=Object.create(e),this.__dataPending=Object.create(e),this.__dataOld={}}_initializeInstanceProperties(e){let t=this[ri.READ_ONLY];for(let i in e)t&&t[i]||(this.__dataPending=this.__dataPending||{},this.__dataOld=this.__dataOld||{},this.__data[i]=this.__dataPending[i]=e[i])}_addPropertyEffect(e,t,i){this._createPropertyAccessor(e,t==ri.READ_ONLY);let r=si(this,t,!0)[e];r||(r=this[t][e]=[]),r.push(i)}_removePropertyEffect(e,t,i){let r=si(this,t,!0)[e],n=r.indexOf(i);n>=0&&r.splice(n,1)}_hasPropertyEffect(e,t){let i=this[t];return Boolean(i&&i[e])}_hasReadOnlyEffect(e){return this._hasPropertyEffect(e,ri.READ_ONLY)}_hasNotifyEffect(e){return this._hasPropertyEffect(e,ri.NOTIFY)}_hasReflectEffect(e){return this._hasPropertyEffect(e,ri.REFLECT)}_hasComputedEffect(e){return this._hasPropertyEffect(e,ri.COMPUTE)}_setPendingPropertyOrPath(e,t,i,r){if(r||gt(Array.isArray(e)?e[0]:e)!==e){if(!r){let i=xt(this,e);if(!(e=St(this,e,t))||!super._shouldPropertyChange(e,t,i))return!1}if(this.__dataHasPaths=!0,this._setPendingProperty(e,t,i))return function(e,t,i){let r=e.__dataLinkedPaths;if(r){let n;for(let o in r){let s=r[o];Et(o,t)?(n=yt(o,s,t),e._setPendingPropertyOrPath(n,i,!0,!0)):Et(s,t)&&(n=yt(s,o,t),e._setPendingPropertyOrPath(n,i,!0,!0))}}}(this,e,t),!0}else{if(this.__dataHasAccessor&&this.__dataHasAccessor[e])return this._setPendingProperty(e,t,i);this[e]=t}return!1}_setUnmanagedPropertyToNode(e,t,i){i===e[t]&&"object"!=typeof i||("className"===t&&(e=ft(e)),e[t]=i)}_setPendingProperty(e,t,i){let r=this.__dataHasPaths&&vt(e);return!!this._shouldPropertyChange(e,t,(r?this.__dataTemp:this.__data)[e])&&(this.__dataPending||(this.__dataPending={},this.__dataOld={}),e in this.__dataOld||(this.__dataOld[e]=this.__data[e]),r?this.__dataTemp[e]=t:this.__data[e]=t,this.__dataPending[e]=t,(r||this[ri.NOTIFY]&&this[ri.NOTIFY][e])&&(this.__dataToNotify=this.__dataToNotify||{},this.__dataToNotify[e]=i),!0)}_setProperty(e,t){this._setPendingProperty(e,t,!0)&&this._invalidateProperties()}_invalidateProperties(){this.__dataReady&&this._flushProperties()}_enqueueClient(e){this.__dataPendingClients=this.__dataPendingClients||[],e!==this&&this.__dataPendingClients.push(e)}_flushClients(){this.__dataClientsReady?this.__enableOrFlushClients():(this.__dataClientsReady=!0,this._readyClients(),this.__dataReady=!0)}__enableOrFlushClients(){let e=this.__dataPendingClients;if(e){this.__dataPendingClients=null;for(let t=0;t<e.length;t++){let i=e[t];i.__dataEnabled?i.__dataPending&&i._flushProperties():i._enableProperties()}}}_readyClients(){this.__enableOrFlushClients()}setProperties(e,t){for(let i in e)!t&&this[ri.READ_ONLY]&&this[ri.READ_ONLY][i]||this._setPendingPropertyOrPath(i,e[i],!0);this._invalidateProperties()}ready(){this._flushProperties(),this.__dataClientsReady||this._flushClients(),this.__dataPending&&this._flushProperties()}_propertiesChanged(e,t,i){let r,n=this.__dataHasPaths;this.__dataHasPaths=!1,function(e,t,i,r){let n=e[ri.COMPUTE];if(n)if(Ye){ti++;const o=function(e){let t=e.constructor.__orderedComputedDeps;if(!t){t=new Map;const i=e[ri.COMPUTE];let r,{counts:n,ready:o,total:s}=function(e){const t=e[ni],i={},r=e[ri.COMPUTE],n=[];let o=0;for(let e in t){const r=t[e];o+=i[e]=r.args.filter((e=>!e.literal)).length+(r.dynamicFn?1:0)}for(let e in r)t[e]||n.push(e);return{counts:i,ready:n,total:o}}(e);for(;r=o.shift();){t.set(r,t.size);const e=i[r];e&&e.forEach((e=>{const t=e.info.methodInfo;--s,0==--n[t]&&o.push(t)}))}0!==s&&console.warn(`Computed graph for ${e.localName} incomplete; circular?`),e.constructor.__orderedComputedDeps=t}return t}(e),s=[];for(let e in t)fi(e,n,s,o,r);let a;for(;a=s.shift();)vi(e,"",t,0,a)&&fi(a.methodInfo,n,s,o,r);Object.assign(i,e.__dataOld),Object.assign(t,e.__dataPending),e.__dataPending=null}else{let o=t;for(;ai(e,n,o,i,r);)Object.assign(i,e.__dataOld),Object.assign(t,e.__dataPending),o=e.__dataPending,e.__dataPending=null}}(this,t,i,n),r=this.__dataToNotify,this.__dataToNotify=null,this._propagatePropertyChanges(t,i,n),this._flushClients(),ai(this,this[ri.REFLECT],t,i,n),ai(this,this[ri.OBSERVE],t,i,n),r&&function(e,t,i,r,n){let o,s,a=e[ri.NOTIFY],l=ti++;for(let s in t)t[s]&&(a&&li(e,a,l,s,i,r,n)||n&&ui(e,s,i))&&(o=!0);o&&(s=e.__dataHost)&&s._invalidateProperties&&s._invalidateProperties()}(this,r,t,i,n),1==this.__dataCounter&&(this.__dataTemp={})}_propagatePropertyChanges(e,t,i){this[ri.PROPAGATE]&&ai(this,this[ri.PROPAGATE],e,t,i),this.__templateInfo&&this._runEffectsForTemplate(this.__templateInfo,e,t,i)}_runEffectsForTemplate(e,t,i,r){const n=(t,r)=>{ai(this,e.propertyEffects,t,i,r,e.nodeList);for(let n=e.firstChild;n;n=n.nextSibling)this._runEffectsForTemplate(n,t,i,r)};e.runEffects?e.runEffects(n,t,r):n(t,r)}linkPaths(e,t){e=wt(e),t=wt(t),this.__dataLinkedPaths=this.__dataLinkedPaths||{},this.__dataLinkedPaths[e]=t}unlinkPaths(e){e=wt(e),this.__dataLinkedPaths&&delete this.__dataLinkedPaths[e]}notifySplices(e,t){let i={path:""};Oi(this,xt(this,e,i),i.path,t)}get(e,t){return xt(t||this,e)}set(e,t,i){i?St(i,e,t):this[ri.READ_ONLY]&&this[ri.READ_ONLY][e]||this._setPendingPropertyOrPath(e,t,!0)&&this._invalidateProperties()}push(e,...t){let i={path:""},r=xt(this,e,i),n=r.length,o=r.push(...t);return t.length&&zi(this,r,i.path,n,t.length,[]),o}pop(e){let t={path:""},i=xt(this,e,t),r=Boolean(i.length),n=i.pop();return r&&zi(this,i,t.path,i.length,0,[n]),n}splice(e,t,i,...r){let n,o={path:""},s=xt(this,e,o);return t<0?t=s.length-Math.floor(-t):t&&(t=Math.floor(t)),n=2===arguments.length?s.splice(t):s.splice(t,i,...r),(r.length||n.length)&&zi(this,s,o.path,t,r.length,n),n}shift(e){let t={path:""},i=xt(this,e,t),r=Boolean(i.length),n=i.shift();return r&&zi(this,i,t.path,0,0,[n]),n}unshift(e,...t){let i={path:""},r=xt(this,e,i),n=r.unshift(...t);return t.length&&zi(this,r,i.path,0,t.length,[]),n}notifyPath(e,t){let i;if(1==arguments.length){let r={path:""};t=xt(this,e,r),i=r.path}else i=Array.isArray(e)?wt(e):e;this._setPendingPropertyOrPath(i,t,!0,!0)&&this._invalidateProperties()}_createReadOnlyProperty(e,t){var i;this._addPropertyEffect(e,ri.READ_ONLY),t&&(this["_set"+(i=e,i[0].toUpperCase()+i.substring(1))]=function(t){this._setProperty(e,t)})}_createPropertyObserver(e,t,i){let r={property:e,method:t,dynamicFn:Boolean(i)};this._addPropertyEffect(e,ri.OBSERVE,{fn:ci,info:r,trigger:{name:e}}),i&&this._addPropertyEffect(t,ri.OBSERVE,{fn:ci,info:r,trigger:{name:t}})}_createMethodObserver(e,t){let i=Di(e);if(!i)throw new Error("Malformed observer expression '"+e+"'");ki(this,i,ri.OBSERVE,xi,null,t)}_createNotifyingProperty(e){this._addPropertyEffect(e,ri.NOTIFY,{fn:mi,info:{eventName:Dt(e)+"-changed",property:e}})}_createReflectedProperty(e){let t=this.constructor.attributeNameForProperty(e);"-"===t[0]?console.warn("Property "+e+" cannot be reflected to attribute "+t+' because "-" is not a valid starting attribute name. Use a lowercase first letter for the property instead.'):this._addPropertyEffect(e,ri.REFLECT,{fn:pi,info:{attrName:t}})}_createComputedProperty(e,t,i){let r=Di(t);if(!r)throw new Error("Malformed computed expression '"+t+"'");const n=ki(this,r,ri.COMPUTE,vi,e,i);si(this,ni)[e]=n}_marshalArgs(e,t,i){const r=this.__data,n=[];for(let o=0,s=e.length;o<s;o++){let{name:s,structured:a,wildcard:l,value:h,literal:c}=e[o];if(!c)if(l){const e=Et(s,t),n=Ni(r,i,e?t:s);h={path:e?t:s,value:n,base:e?xt(r,s):n}}else h=a?Ni(r,i,s):r[s];if(Ke&&!this._overrideLegacyUndefined&&void 0===h&&e.length>1)return ii;n[o]=h}return n}static addPropertyEffect(e,t,i){this.prototype._addPropertyEffect(e,t,i)}static createPropertyObserver(e,t,i){this.prototype._createPropertyObserver(e,t,i)}static createMethodObserver(e,t){this.prototype._createMethodObserver(e,t)}static createNotifyingProperty(e){this.prototype._createNotifyingProperty(e)}static createReadOnlyProperty(e,t){this.prototype._createReadOnlyProperty(e,t)}static createReflectedProperty(e){this.prototype._createReflectedProperty(e)}static createComputedProperty(e,t,i){this.prototype._createComputedProperty(e,t,i)}static bindTemplate(e){return this.prototype._bindTemplate(e)}_bindTemplate(e,t){let i=this.constructor._parseTemplate(e),r=this.__preBoundTemplateInfo==i;if(!r)for(let e in i.propertyEffects)this._createPropertyAccessor(e);if(t)if(i=Object.create(i),i.wasPreBound=r,this.__templateInfo){const t=e._parentTemplateInfo||this.__templateInfo,r=t.lastChild;i.parent=t,t.lastChild=i,i.previousSibling=r,r?r.nextSibling=i:t.firstChild=i}else this.__templateInfo=i;else this.__preBoundTemplateInfo=i;return i}static _addTemplatePropertyEffect(e,t,i){(e.hostProps=e.hostProps||{})[t]=!0;let r=e.propertyEffects=e.propertyEffects||{};(r[t]=r[t]||[]).push(i)}_stampTemplate(e,t){t=t||this._bindTemplate(e,!0),Mi.push(this);let i=super._stampTemplate(e,t);if(Mi.pop(),t.nodeList=i.nodeList,!t.wasPreBound){let e=t.childNodes=[];for(let t=i.firstChild;t;t=t.nextSibling)e.push(t)}return i.templateInfo=t,function(e,t){let{nodeList:i,nodeInfoList:r}=t;if(r.length)for(let t=0;t<r.length;t++){let n=i[t],o=r[t].bindings;if(o)for(let t=0;t<o.length;t++){let i=o[t];yi(n,i),wi(n,e,i)}n.__dataHost=e}}(this,t),this.__dataClientsReady&&(this._runEffectsForTemplate(t,this.__data,null,!1),this._flushClients()),i}_removeBoundDom(e){const t=e.templateInfo,{previousSibling:i,nextSibling:r,parent:n}=t;i?i.nextSibling=r:n&&(n.firstChild=r),r?r.previousSibling=i:n&&(n.lastChild=i),t.nextSibling=t.previousSibling=null;let o=t.childNodes;for(let e=0;e<o.length;e++){let t=o[e];ft(ft(t).parentNode).removeChild(t)}}static _parseTemplateNode(e,i,r){let n=t._parseTemplateNode.call(this,e,i,r);if(e.nodeType===Node.TEXT_NODE){let t=this._parseBindings(e.textContent,i);t&&(e.textContent=Ti(t)||" ",gi(this,i,r,"text","textContent",t),n=!0)}return n}static _parseTemplateNodeAttribute(e,i,r,n,o){let s=this._parseBindings(o,i);if(s){let t=n,o="property";oi.test(n)?o="attribute":"$"==n[n.length-1]&&(n=n.slice(0,-1),o="attribute");let a=Ti(s);return a&&"attribute"==o&&("class"==n&&e.hasAttribute("class")&&(a+=" "+e.getAttribute(n)),e.setAttribute(n,a)),"attribute"==o&&"disable-upgrade$"==t&&e.setAttribute(n,""),"input"===e.localName&&"value"===t&&e.setAttribute(t,""),e.removeAttribute(t),"property"===o&&(n=Tt(n)),gi(this,i,r,o,n,s,a),!0}return t._parseTemplateNodeAttribute.call(this,e,i,r,n,o)}static _parseTemplateNestedTemplate(e,i,r){let n=t._parseTemplateNestedTemplate.call(this,e,i,r);const o=e.parentNode,s=r.templateInfo,a="dom-if"===o.localName;We&&(a||"dom-repeat"===o.localName)&&(o.removeChild(e),(r=r.parentInfo).templateInfo=s,r.noted=!0,n=!1);let l=s.hostProps;if(Ze&&a)l&&(i.hostProps=Object.assign(i.hostProps||{},l),We||(r.parentInfo.noted=!0));else{let e="{";for(let t in l)gi(this,i,r,"property","_host_"+t,[{mode:e,source:t,dependencies:[t],hostProp:!0}])}return n}static _parseBindings(e,t){let i,r=[],n=0;for(;null!==(i=Ci.exec(e));){i.index>n&&r.push({literal:e.slice(n,i.index)});let o=i[1][0],s=Boolean(i[2]),a=i[3].trim(),l=!1,h="",c=-1;"{"==o&&(c=a.indexOf("::"))>0&&(h=a.substring(c+2),a=a.substring(0,c),l=!0);let u=Di(a),d=[];if(u){let{args:e,methodName:i}=u;for(let t=0;t<e.length;t++){let i=e[t];i.literal||d.push(i)}let r=t.dynamicFns;(r&&r[i]||u.static)&&(d.push(i),u.dynamicFn=!0)}else d.push(a);r.push({source:a,mode:o,negate:s,customEvent:l,signature:u,dependencies:d,event:h}),n=Ci.lastIndex}if(n&&n<e.length){let t=e.substring(n);t&&r.push({literal:t})}return r.length?r:null}static _evaluateBinding(e,t,i,r,n,o){let s;return s=t.signature?xi(e,i,r,0,t.signature):i!=t.source?xt(e,t.source):o&&vt(i)?xt(e,i):e.__data[i],t.negate&&(s=!s),s}}})),Mi=[],Ui=tt((e=>{const t=Lt(e);function i(e){const t=Object.getPrototypeOf(e);return t.prototype instanceof n?t:null}function r(e){if(!e.hasOwnProperty(JSCompiler_renameProperty("__ownProperties",e))){let t=null;if(e.hasOwnProperty(JSCompiler_renameProperty("properties",e))){const i=e.properties;i&&(t=
963
963
  /**
964
964
  @license
965
965
  Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
@@ -1503,7 +1503,7 @@ The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
1503
1503
  The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
1504
1504
  Code distributed by Google as part of the polymer project is also
1505
1505
  subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
1506
- */const xr=!1,Sr=e=>e,Ar="string"==typeof document.head.style.touchAction,Ir="__polymerGestures",Tr="__polymerGesturesHandled",Cr="__polymerGesturesTouchAction",Dr=["mousedown","mousemove","mouseup","click"],Rr=[0,1,4,2],Nr=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(e){return!1}}();function Or(e){return Dr.indexOf(e)>-1}let zr=!1;function Gr(e){if(!Or(e)&&"touchend"!==e)return Ar&&zr&&xr?{passive:!0}:void 0}!function(){try{const e=Object.defineProperty({},"passive",{get(){zr=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}}();const Mr=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),Ur={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Br(e){const t=e.type;if(!Or(t))return!1;if("mousemove"===t){let t=void 0===e.buttons?1:e.buttons;return e instanceof window.MouseEvent&&!Nr&&(t=Rr[e.which]||0),Boolean(1&t)}return 0===(void 0===e.button?0:e.button)}const Pr={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function Lr(e,t,i){e.movefn=t,e.upfn=i,document.addEventListener("mousemove",t),document.addEventListener("mouseup",i)}function Fr(e){document.removeEventListener("mousemove",e.movefn),document.removeEventListener("mouseup",e.upfn),e.movefn=null,e.upfn=null}const jr=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:e=>e.composedPath&&e.composedPath()||[],qr={},Hr=[];function Vr(e){const t=jr(e);return t.length>0?t[0]:e.target}function $r(e){const t=e.type,i=e.currentTarget[Ir];if(!i)return;const r=i[t];if(!r)return;if(!e[Tr]&&(e[Tr]={},t.startsWith("touch"))){const i=e.changedTouches[0];if("touchstart"===t&&1===e.touches.length&&(Pr.touch.id=i.identifier),Pr.touch.id!==i.identifier)return;Ar||"touchstart"!==t&&"touchmove"!==t||function(e){const t=e.changedTouches[0],i=e.type;if("touchstart"===i)Pr.touch.x=t.clientX,Pr.touch.y=t.clientY,Pr.touch.scrollDecided=!1;else if("touchmove"===i){if(Pr.touch.scrollDecided)return;Pr.touch.scrollDecided=!0;const i=function(e){let t="auto";const i=jr(e);for(let e,r=0;r<i.length;r++)if(e=i[r],e[Cr]){t=e[Cr];break}return t}(e);let r=!1;const n=Math.abs(Pr.touch.x-t.clientX),o=Math.abs(Pr.touch.y-t.clientY);e.cancelable&&("none"===i?r=!0:"pan-x"===i?r=o>n:"pan-y"===i&&(r=n>o)),r?e.preventDefault():Zr("track")}}(e)}const n=e[Tr];if(!n.skip){for(let t,i=0;i<Hr.length;i++)t=Hr[i],r[t.name]&&!n[t.name]&&t.flow&&t.flow.start.indexOf(e.type)>-1&&t.reset&&t.reset();for(let i,o=0;o<Hr.length;o++)i=Hr[o],r[i.name]&&!n[i.name]&&(n[i.name]=!0,i[t](e))}}function Xr(e,t,i){return!!qr[t]&&(function(e,t,i){const r=qr[t],n=r.deps,o=r.name;let s=e[Ir];s||(e[Ir]=s={});for(let t,i,r=0;r<n.length;r++)t=n[r],Mr&&Or(t)&&"click"!==t||(i=s[t],i||(s[t]=i={_count:0}),0===i._count&&e.addEventListener(t,$r,Gr(t)),i[o]=(i[o]||0)+1,i._count=(i._count||0)+1);e.addEventListener(t,i),r.touchAction&&Yr(e,r.touchAction)}(e,t,i),!0)}function Kr(e){Hr.push(e),e.emits.forEach((t=>{qr[t]=e}))}function Yr(e,t){Ar&&e instanceof HTMLElement&&rr.run((()=>{e.style.touchAction=t})),e[Cr]=t}function Wr(e,t,i){const r=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(r.detail=i,Sr(e).dispatchEvent(r),r.defaultPrevented){const e=i.preventer||i.sourceEvent;e&&e.preventDefault&&e.preventDefault()}}function Zr(e){const t=function(e){for(let t,i=0;i<Hr.length;i++){t=Hr[i];for(let i,r=0;r<t.emits.length;r++)if(i=t.emits[r],i===e)return t}return null}(e);t.info&&(t.info.prevent=!0)}function Qr(e,t,i,r){t&&Wr(t,e,{x:i.clientX,y:i.clientY,sourceEvent:i,preventer:r,prevent:e=>Zr(e)})}function Jr(e,t,i){if(e.prevent)return!1;if(e.started)return!0;const r=Math.abs(e.x-t),n=Math.abs(e.y-i);return r>=5||n>=5}function en(e,t,i){if(!t)return;const r=e.moves[e.moves.length-2],n=e.moves[e.moves.length-1];let o,s=0;r&&(o=n.x-r.x,s=n.y-r.y),Wr(t,"track",{state:e.state,x:i.clientX,y:i.clientY,dx:n.x-e.x,dy:n.y-e.y,ddx:o,ddy:s,sourceEvent:i,hover:()=>function(e,t){let i=document.elementFromPoint(e,t),r=i;for(;r&&r.shadowRoot&&!window.ShadyDOM;){const n=r;if(r=r.shadowRoot.elementFromPoint(e,t),n===r)break;r&&(i=r)}return i}(i.clientX,i.clientY)})}function tn(e,t,i){const r=Math.abs(t.clientX-e.x),n=Math.abs(t.clientY-e.y),o=Vr(i||t);!o||Ur[o.localName]&&o.hasAttribute("disabled")||(isNaN(r)||isNaN(n)||r<=25&&n<=25||function(e){if("click"===e.type){if(0===e.detail)return!0;const t=Vr(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;const i=t.getBoundingClientRect(),r=e.pageX,n=e.pageY;return!(r>=i.left&&r<=i.right&&n>=i.top&&n<=i.bottom)}return!1}(t))&&(e.prevent||Wr(o,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:i}))}
1506
+ */const xr=!1,Sr=e=>e,Ar="string"==typeof document.head.style.touchAction,Ir="__polymerGestures",Cr="__polymerGesturesHandled",Tr="__polymerGesturesTouchAction",Dr=["mousedown","mousemove","mouseup","click"],Rr=[0,1,4,2],Nr=function(){try{return 1===new MouseEvent("test",{buttons:1}).buttons}catch(e){return!1}}();function Or(e){return Dr.indexOf(e)>-1}let zr=!1;function Gr(e){if(!Or(e)&&"touchend"!==e)return Ar&&zr&&xr?{passive:!0}:void 0}!function(){try{const e=Object.defineProperty({},"passive",{get(){zr=!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(e){}}();const Mr=navigator.userAgent.match(/iP(?:[oa]d|hone)|Android/u),Ur={button:!0,command:!0,fieldset:!0,input:!0,keygen:!0,optgroup:!0,option:!0,select:!0,textarea:!0};function Br(e){const t=e.type;if(!Or(t))return!1;if("mousemove"===t){let t=void 0===e.buttons?1:e.buttons;return e instanceof window.MouseEvent&&!Nr&&(t=Rr[e.which]||0),Boolean(1&t)}return 0===(void 0===e.button?0:e.button)}const Pr={mouse:{target:null,mouseIgnoreJob:null},touch:{x:0,y:0,id:-1,scrollDecided:!1}};function Lr(e,t,i){e.movefn=t,e.upfn=i,document.addEventListener("mousemove",t),document.addEventListener("mouseup",i)}function Fr(e){document.removeEventListener("mousemove",e.movefn),document.removeEventListener("mouseup",e.upfn),e.movefn=null,e.upfn=null}const jr=window.ShadyDOM&&window.ShadyDOM.noPatch?window.ShadyDOM.composedPath:e=>e.composedPath&&e.composedPath()||[],qr={},Hr=[];function Vr(e){const t=jr(e);return t.length>0?t[0]:e.target}function $r(e){const t=e.type,i=e.currentTarget[Ir];if(!i)return;const r=i[t];if(!r)return;if(!e[Cr]&&(e[Cr]={},t.startsWith("touch"))){const i=e.changedTouches[0];if("touchstart"===t&&1===e.touches.length&&(Pr.touch.id=i.identifier),Pr.touch.id!==i.identifier)return;Ar||"touchstart"!==t&&"touchmove"!==t||function(e){const t=e.changedTouches[0],i=e.type;if("touchstart"===i)Pr.touch.x=t.clientX,Pr.touch.y=t.clientY,Pr.touch.scrollDecided=!1;else if("touchmove"===i){if(Pr.touch.scrollDecided)return;Pr.touch.scrollDecided=!0;const i=function(e){let t="auto";const i=jr(e);for(let e,r=0;r<i.length;r++)if(e=i[r],e[Tr]){t=e[Tr];break}return t}(e);let r=!1;const n=Math.abs(Pr.touch.x-t.clientX),o=Math.abs(Pr.touch.y-t.clientY);e.cancelable&&("none"===i?r=!0:"pan-x"===i?r=o>n:"pan-y"===i&&(r=n>o)),r?e.preventDefault():Zr("track")}}(e)}const n=e[Cr];if(!n.skip){for(let t,i=0;i<Hr.length;i++)t=Hr[i],r[t.name]&&!n[t.name]&&t.flow&&t.flow.start.indexOf(e.type)>-1&&t.reset&&t.reset();for(let i,o=0;o<Hr.length;o++)i=Hr[o],r[i.name]&&!n[i.name]&&(n[i.name]=!0,i[t](e))}}function Xr(e,t,i){return!!qr[t]&&(function(e,t,i){const r=qr[t],n=r.deps,o=r.name;let s=e[Ir];s||(e[Ir]=s={});for(let t,i,r=0;r<n.length;r++)t=n[r],Mr&&Or(t)&&"click"!==t||(i=s[t],i||(s[t]=i={_count:0}),0===i._count&&e.addEventListener(t,$r,Gr(t)),i[o]=(i[o]||0)+1,i._count=(i._count||0)+1);e.addEventListener(t,i),r.touchAction&&Yr(e,r.touchAction)}(e,t,i),!0)}function Kr(e){Hr.push(e),e.emits.forEach((t=>{qr[t]=e}))}function Yr(e,t){Ar&&e instanceof HTMLElement&&rr.run((()=>{e.style.touchAction=t})),e[Tr]=t}function Wr(e,t,i){const r=new Event(t,{bubbles:!0,cancelable:!0,composed:!0});if(r.detail=i,Sr(e).dispatchEvent(r),r.defaultPrevented){const e=i.preventer||i.sourceEvent;e&&e.preventDefault&&e.preventDefault()}}function Zr(e){const t=function(e){for(let t,i=0;i<Hr.length;i++){t=Hr[i];for(let i,r=0;r<t.emits.length;r++)if(i=t.emits[r],i===e)return t}return null}(e);t.info&&(t.info.prevent=!0)}function Qr(e,t,i,r){t&&Wr(t,e,{x:i.clientX,y:i.clientY,sourceEvent:i,preventer:r,prevent:e=>Zr(e)})}function Jr(e,t,i){if(e.prevent)return!1;if(e.started)return!0;const r=Math.abs(e.x-t),n=Math.abs(e.y-i);return r>=5||n>=5}function en(e,t,i){if(!t)return;const r=e.moves[e.moves.length-2],n=e.moves[e.moves.length-1];let o,s=0;r&&(o=n.x-r.x,s=n.y-r.y),Wr(t,"track",{state:e.state,x:i.clientX,y:i.clientY,dx:n.x-e.x,dy:n.y-e.y,ddx:o,ddy:s,sourceEvent:i,hover:()=>function(e,t){let i=document.elementFromPoint(e,t),r=i;for(;r&&r.shadowRoot&&!window.ShadyDOM;){const n=r;if(r=r.shadowRoot.elementFromPoint(e,t),n===r)break;r&&(i=r)}return i}(i.clientX,i.clientY)})}function tn(e,t,i){const r=Math.abs(t.clientX-e.x),n=Math.abs(t.clientY-e.y),o=Vr(i||t);!o||Ur[o.localName]&&o.hasAttribute("disabled")||(isNaN(r)||isNaN(n)||r<=25&&n<=25||function(e){if("click"===e.type){if(0===e.detail)return!0;const t=Vr(e);if(!t.nodeType||t.nodeType!==Node.ELEMENT_NODE)return!0;const i=t.getBoundingClientRect(),r=e.pageX,n=e.pageY;return!(r>=i.left&&r<=i.right&&n>=i.top&&n<=i.bottom)}return!1}(t))&&(e.prevent||Wr(o,"tap",{x:t.clientX,y:t.clientY,sourceEvent:t,preventer:i}))}
1507
1507
  /**
1508
1508
  * @license
1509
1509
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
@@ -1550,28 +1550,28 @@ class Sn{constructor(e){this.host=e,this.__required=!1}setTarget(e){this.__targe
1550
1550
  * @license
1551
1551
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
1552
1552
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1553
- */let Tn;In.style.position="fixed",In.style.clip="rect(0px, 0px, 0px, 0px)",In.setAttribute("aria-live","polite"),document.body.appendChild(In);
1553
+ */let Cn;In.style.position="fixed",In.style.clip="rect(0px, 0px, 0px, 0px)",In.setAttribute("aria-live","polite"),document.body.appendChild(In);
1554
1554
  /**
1555
1555
  * @license
1556
1556
  * Copyright (c) 2022 - 2024 Vaadin Ltd.
1557
1557
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1558
1558
  */
1559
- class Cn extends wr{constructor(e,t,i,r={}){super(e,t,i,{...r,useUniqueId:!0})}initCustomNode(e){this.__updateNodeId(e),this.__notifyChange(e)}teardownNode(e){const t=this.getSlotChild();t&&t!==this.defaultNode?this.__notifyChange(t):(this.restoreDefaultNode(),this.updateDefaultNode(this.node))}attachDefaultNode(){const e=super.attachDefaultNode();return e&&this.__updateNodeId(e),e}restoreDefaultNode(){}updateDefaultNode(e){this.__notifyChange(e)}observeNode(e){this.__nodeObserver&&this.__nodeObserver.disconnect(),this.__nodeObserver=new MutationObserver((e=>{e.forEach((e=>{const t=e.target,i=t===this.node;"attributes"===e.type?i&&this.__updateNodeId(t):(i||t.parentElement===this.node)&&this.__notifyChange(this.node)}))})),this.__nodeObserver.observe(e,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__hasContent(e){return!!e&&(e.nodeType===Node.ELEMENT_NODE&&(customElements.get(e.localName)||e.children.length>0)||e.textContent&&""!==e.textContent.trim())}__notifyChange(e){this.dispatchEvent(new CustomEvent("slot-content-changed",{detail:{hasContent:this.__hasContent(e),node:e}}))}__updateNodeId(e){e.nodeType!==Node.ELEMENT_NODE||this.multiple&&this.nodes&&e!==this.nodes[0]||e.id||(e.id=this.defaultId)}}
1559
+ class Tn extends wr{constructor(e,t,i,r={}){super(e,t,i,{...r,useUniqueId:!0})}initCustomNode(e){this.__updateNodeId(e),this.__notifyChange(e)}teardownNode(e){const t=this.getSlotChild();t&&t!==this.defaultNode?this.__notifyChange(t):(this.restoreDefaultNode(),this.updateDefaultNode(this.node))}attachDefaultNode(){const e=super.attachDefaultNode();return e&&this.__updateNodeId(e),e}restoreDefaultNode(){}updateDefaultNode(e){this.__notifyChange(e)}observeNode(e){this.__nodeObserver&&this.__nodeObserver.disconnect(),this.__nodeObserver=new MutationObserver((e=>{e.forEach((e=>{const t=e.target,i=t===this.node;"attributes"===e.type?i&&this.__updateNodeId(t):(i||t.parentElement===this.node)&&this.__notifyChange(this.node)}))})),this.__nodeObserver.observe(e,{attributes:!0,attributeFilter:["id"],childList:!0,subtree:!0,characterData:!0})}__hasContent(e){return!!e&&(e.nodeType===Node.ELEMENT_NODE&&(customElements.get(e.localName)||e.children.length>0)||e.textContent&&""!==e.textContent.trim())}__notifyChange(e){this.dispatchEvent(new CustomEvent("slot-content-changed",{detail:{hasContent:this.__hasContent(e),node:e}}))}__updateNodeId(e){e.nodeType!==Node.ELEMENT_NODE||this.multiple&&this.nodes&&e!==this.nodes[0]||e.id||(e.id=this.defaultId)}}
1560
1560
  /**
1561
1561
  * @license
1562
1562
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1563
1563
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1564
- */class Dn extends Cn{constructor(e){super(e,"error-message","div")}setErrorMessage(e){this.errorMessage=e,this.updateDefaultNode(this.node)}setInvalid(e){this.invalid=e,this.updateDefaultNode(this.node)}initAddedNode(e){e!==this.defaultNode&&this.initCustomNode(e)}initNode(e){this.updateDefaultNode(e)}initCustomNode(e){e.textContent&&!this.errorMessage&&(this.errorMessage=e.textContent.trim()),super.initCustomNode(e)}restoreDefaultNode(){this.attachDefaultNode()}updateDefaultNode(e){const{errorMessage:t,invalid:i}=this,r=Boolean(i&&t&&""!==t.trim());e&&(e.textContent=r?t:"",e.hidden=!r,r&&function(e,t={}){const i=t.mode||"polite",r=void 0===t.timeout?150:t.timeout;"alert"===i?(In.removeAttribute("aria-live"),In.removeAttribute("role"),Tn=or.debounce(Tn,tr,(()=>{In.setAttribute("role","alert")}))):(Tn&&Tn.cancel(),In.removeAttribute("role"),In.setAttribute("aria-live",i)),In.textContent="",setTimeout((()=>{In.textContent=e}),r)}(t,{mode:"assertive"})),super.updateDefaultNode(e)}}
1564
+ */class Dn extends Tn{constructor(e){super(e,"error-message","div")}setErrorMessage(e){this.errorMessage=e,this.updateDefaultNode(this.node)}setInvalid(e){this.invalid=e,this.updateDefaultNode(this.node)}initAddedNode(e){e!==this.defaultNode&&this.initCustomNode(e)}initNode(e){this.updateDefaultNode(e)}initCustomNode(e){e.textContent&&!this.errorMessage&&(this.errorMessage=e.textContent.trim()),super.initCustomNode(e)}restoreDefaultNode(){this.attachDefaultNode()}updateDefaultNode(e){const{errorMessage:t,invalid:i}=this,r=Boolean(i&&t&&""!==t.trim());e&&(e.textContent=r?t:"",e.hidden=!r,r&&function(e,t={}){const i=t.mode||"polite",r=void 0===t.timeout?150:t.timeout;"alert"===i?(In.removeAttribute("aria-live"),In.removeAttribute("role"),Cn=or.debounce(Cn,tr,(()=>{In.setAttribute("role","alert")}))):(Cn&&Cn.cancel(),In.removeAttribute("role"),In.setAttribute("aria-live",i)),In.textContent="",setTimeout((()=>{In.textContent=e}),r)}(t,{mode:"assertive"})),super.updateDefaultNode(e)}}
1565
1565
  /**
1566
1566
  * @license
1567
1567
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1568
1568
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1569
- */class Rn extends Cn{constructor(e){super(e,"helper",null)}setHelperText(e){this.helperText=e,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{helperText:e}=this;if(e&&""!==e.trim()){this.tagName="div";const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(e){e&&(e.textContent=this.helperText),super.updateDefaultNode(e)}initCustomNode(e){super.initCustomNode(e),this.observeNode(e)}}
1569
+ */class Rn extends Tn{constructor(e){super(e,"helper",null)}setHelperText(e){this.helperText=e,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{helperText:e}=this;if(e&&""!==e.trim()){this.tagName="div";const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(e){e&&(e.textContent=this.helperText),super.updateDefaultNode(e)}initCustomNode(e){super.initCustomNode(e),this.observeNode(e)}}
1570
1570
  /**
1571
1571
  * @license
1572
1572
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
1573
1573
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
1574
- */class Nn extends Cn{constructor(e){super(e,"label","label")}setLabel(e){this.label=e,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{label:e}=this;if(e&&""!==e.trim()){const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(e){e&&(e.textContent=this.label),super.updateDefaultNode(e)}initCustomNode(e){super.initCustomNode(e),this.observeNode(e)}}
1574
+ */class Nn extends Tn{constructor(e){super(e,"label","label")}setLabel(e){this.label=e,this.getSlotChild()||this.restoreDefaultNode(),this.node===this.defaultNode&&this.updateDefaultNode(this.node)}restoreDefaultNode(){const{label:e}=this;if(e&&""!==e.trim()){const e=this.attachDefaultNode();this.observeNode(e)}}updateDefaultNode(e){e&&(e.textContent=this.label),super.updateDefaultNode(e)}initCustomNode(e){super.initCustomNode(e),this.observeNode(e)}}
1575
1575
  /**
1576
1576
  * @license
1577
1577
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
@@ -1695,7 +1695,7 @@ xe("vaadin-checkbox",_`
1695
1695
  outline-width: 2px;
1696
1696
  }
1697
1697
  }
1698
- `,{moduleId:"vaadin-checkbox-styles"});class Pn extends(Bn(_r(Ce(Vi)))){static get is(){return"vaadin-checkbox"}static get template(){return qi`
1698
+ `,{moduleId:"vaadin-checkbox-styles"});class Pn extends(Bn(_r(Te(Vi)))){static get is(){return"vaadin-checkbox"}static get template(){return qi`
1699
1699
  <div class="vaadin-checkbox-container">
1700
1700
  <div part="checkbox" aria-hidden="true"></div>
1701
1701
  <slot name="input"></slot>
@@ -1979,7 +1979,7 @@ xe("vaadin-checkbox-group",_`
1979
1979
  :host(:not([has-label])) [part='label'] {
1980
1980
  display: none;
1981
1981
  }
1982
- `,{moduleId:"vaadin-checkbox-group-styles"});class qn extends(jn(_r(Ce(Vi)))){static get is(){return"vaadin-checkbox-group"}static get template(){return qi`
1982
+ `,{moduleId:"vaadin-checkbox-group-styles"});class qn extends(jn(_r(Te(Vi)))){static get is(){return"vaadin-checkbox-group"}static get template(){return qi`
1983
1983
  <div class="vaadin-group-field-container">
1984
1984
  <div part="label">
1985
1985
  <slot name="label"></slot>
@@ -2000,7 +2000,7 @@ xe("vaadin-checkbox-group",_`
2000
2000
  </div>
2001
2001
 
2002
2002
  <slot name="tooltip"></slot>
2003
- `}}l(qn);const Hn=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.selectedValues=[],this.value=null,this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value,type:"checkboxgroup"})}setValue(){this.value=this.options.reduce(((e,t)=>(e[t.name]=this.selectedValues.includes(t.name),e)),{}),this.emitValueHandler(!0)}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"checkboxgroup"})}valueHandler(e){this.sendInputValue.emit(e)}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.isValid=this.setValidity(),this.defaultValue&&(this.selectedValues=this.options.map((e=>e.name)),this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"checkboxgroup__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}handleParentCheckbox(e){this.selectedValues=e.target.checked?this.options.map((e=>e.name)):[]}renderLabel(){return i("label",{class:"checkbox__label",htmlFor:`${this.name}__input`,slot:"label"},i("div",{class:"checkbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}render(){return i("div",{key:"fa45026502fd8d46aa537aee03210ad68d30e577",class:`checkboxgroup__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"15ded4fd896920c6244806e49f300c124c27186d",class:"checkboxgroup__wrapper--flex"},i("vaadin-checkbox",{key:"d7eaa205877f8f12c9ef7d4f77018665806f5c7c",class:"checkbox__input",checked:this.selectedValues.length===this.options.length||"true"===this.defaultValue,indeterminate:this.selectedValues.length>0&&this.selectedValues.length<this.options.length,onChange:e=>this.handleParentCheckbox(e)},this.renderLabel()),this.tooltip&&i("img",{key:"aca39ed398415a6e2cef861be40dad33e0398759",class:"checkboxgroup__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),i("small",{key:"a1a6e1c3c02edcca572b8826ffba06835ca451c3",class:"checkboxgroup__error-message"},this.errorMessage),i("vaadin-checkbox-group",{key:"9f5f8a945e4ba13d7d0da6d362c15d00a7796b71",theme:"vertical",value:this.selectedValues,"on-value-changed":e=>{this.selectedValues=e.detail.value}},this.options.map((e=>i("vaadin-checkbox",{class:"checkbox__input",name:e.name,value:e.name,label:e.displayName})))))}get element(){return r(this)}static get watchers(){return{isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}}};Hn.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:"Roboto";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}';const Vn=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.value="",this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}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.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}handleClick(){this.value=this.inputReference.checked.toString(),this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderLabel(){return i("label",{class:"checkbox__label",htmlFor:`${this.name}__input`},i("div",{class:"checkbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?i("div",{class:"checkbox__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("div",{key:"0aae00d291d1da02adae1bc91e79ccd579aa5c7f",class:`checkbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("input",{key:"4b8c61d322b5065d8abe4e2687e270511fadc97f",class:"checkbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.inputReference=e,name:this.name,checked:"true"===this.defaultValue,readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel(),i("small",{key:"934263cb58a0d379e8b7dc1f5004ad7e61c63ce0",class:"checkbox__error-message"},this.errorMessage),i("div",{key:"88cc71329d88b6325d792226e64ff7f93e940178",class:"checkbox__wrapper--relative"},this.tooltip&&i("img",{key:"3708dc613dc920bac6557f2a8020bbafd97d9127",class:"checkbox__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()))}static get watchers(){return{isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};Vn.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:"Roboto";font-style:normal}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--relative{position:relative}.checkbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.checkbox__label-text{font-size:16px}.checkbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkbox__tooltip-icon{width:16px;height:auto}.checkbox__tooltip{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkbox__tooltip.visible{opacity:1}';
2003
+ `}}l(qn);const Hn=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.selectedValues=[],this.value=null,this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value,type:"checkboxgroup"})}setValue(){this.value=this.options.reduce(((e,t)=>(e[t.name]=this.selectedValues.includes(t.name),e)),{}),this.emitValueHandler(!0)}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"checkboxgroup"})}valueHandler(e){this.sendInputValue.emit(e)}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.isValid=this.setValidity(),this.defaultValue&&(this.selectedValues=this.options.map((e=>e.name)),this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"checkboxgroup__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}handleParentCheckbox(e){this.selectedValues=e.target.checked?this.options.map((e=>e.name)):[]}renderLabel(){return i("label",{class:"checkbox__label",htmlFor:`${this.name}__input`,slot:"label"},i("div",{class:"checkbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}render(){return i("div",{key:"c25b0a1ac187ea0abf1fe8c69d584eee00568177",class:`checkboxgroup__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"daf512e7f98d20bae65e43ab869e45babc008e90",class:"checkboxgroup__wrapper--flex"},i("vaadin-checkbox",{key:"08e31269cf2ace61c4c929a6a597486555667197",class:"checkbox__input",checked:this.selectedValues.length===this.options.length||"true"===this.defaultValue,indeterminate:this.selectedValues.length>0&&this.selectedValues.length<this.options.length,onChange:e=>this.handleParentCheckbox(e)},this.renderLabel()),this.tooltip&&i("img",{key:"ed4c3efd6b7e30ae0b68de11093b8faf2cb0a845",class:"checkboxgroup__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),i("small",{key:"5b95c4059a2de898c04bf147e89c5a2ad035dddf",class:"checkboxgroup__error-message"},this.errorMessage),i("vaadin-checkbox-group",{key:"2b73ac73d52c6185358e50eda4c9706643f55384",theme:"vertical",value:this.selectedValues,"on-value-changed":e=>{this.selectedValues=e.detail.value}},this.options.map((e=>i("vaadin-checkbox",{class:"checkbox__input",name:e.name,value:e.name,label:e.displayName})))))}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}}};Hn.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:"Roboto";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}';const Vn=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.value="",this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}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.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}handleClick(){this.value=this.inputReference.checked.toString(),this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderLabel(){return i("label",{class:"checkbox__label",htmlFor:`${this.name}__input`},i("div",{class:"checkbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?i("div",{class:"checkbox__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("div",{key:"8c80c955bb052558165a4c5b1020d0582ed0af36",class:`checkbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("input",{key:"89401d543cb30b72ec614b0cd4e95b2e82b2522d",class:"checkbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.inputReference=e,name:this.name,checked:"true"===this.defaultValue,readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel(),i("small",{key:"d007d8c02dd014a363e2fcc1a0e8df6ffda34bcb",class:"checkbox__error-message"},this.errorMessage),i("div",{key:"c511c07684173359663d4907371efb82289f0433",class:"checkbox__wrapper--relative"},this.tooltip&&i("img",{key:"dd263ce86efd89f34078f3cc24729f43f40e89a6",class:"checkbox__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};Vn.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:"Roboto";font-style:normal}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--relative{position:relative}.checkbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.checkbox__label-text{font-size:16px}.checkbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkbox__tooltip-icon{width:16px;height:auto}.checkbox__tooltip{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkbox__tooltip.visible{opacity:1}';
2004
2004
  /**
2005
2005
  * @license
2006
2006
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
@@ -3263,7 +3263,7 @@ xe("vaadin-input-container",_`
3263
3263
  /* Override default opacity in Firefox */
3264
3264
  opacity: 1;
3265
3265
  }
3266
- `,{moduleId:"vaadin-input-container-styles"});class Jn extends(Qn(Ce(dr(Vi)))){static get is(){return"vaadin-input-container"}static get template(){return qi`
3266
+ `,{moduleId:"vaadin-input-container-styles"});class Jn extends(Qn(Te(dr(Vi)))){static get is(){return"vaadin-input-container"}static get template(){return qi`
3267
3267
  <slot name="prefix"></slot>
3268
3268
  <slot></slot>
3269
3269
  <slot name="suffix"></slot>
@@ -3383,22 +3383,22 @@ class Eo{constructor(e,t){this.host=e,this.callback="function"==typeof t?t:()=>e
3383
3383
  * @license
3384
3384
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
3385
3385
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3386
- */,To=e=>class extends(xo(Io(e))){static get properties(){return{opened:{type:Boolean,notify:!0,observer:"_openedChanged",reflectToAttribute:!0},owner:{type:Object},model:{type:Object},renderer:{type:Object},modeless:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_modelessChanged"},hidden:{type:Boolean,reflectToAttribute:!0,observer:"_hiddenChanged"},withBackdrop:{type:Boolean,value:!1,reflectToAttribute:!0}}}static get observers(){return["_rendererOrDataChanged(renderer, owner, model, opened)"]}constructor(){super(),this._boundMouseDownListener=this._mouseDownListener.bind(this),this._boundMouseUpListener=this._mouseUpListener.bind(this),this._boundOutsideClickListener=this._outsideClickListener.bind(this),this._boundKeydownListener=this._keydownListener.bind(this),ho&&(this._boundIosResizeListener=()=>this._detectIosNavbar())}ready(){super.ready(),this.addEventListener("click",(()=>{})),this.$.backdrop.addEventListener("click",(()=>{})),this.addEventListener("mouseup",(()=>{document.activeElement===document.body&&"0"===this.$.overlay.getAttribute("tabindex")&&this.$.overlay.focus()}))}connectedCallback(){super.connectedCallback(),this._boundIosResizeListener&&(this._detectIosNavbar(),window.addEventListener("resize",this._boundIosResizeListener))}disconnectedCallback(){super.disconnectedCallback(),this._boundIosResizeListener&&window.removeEventListener("resize",this._boundIosResizeListener)}requestContentUpdate(){this.renderer&&this.renderer.call(this.owner,this,this.owner,this.model)}close(e){const t=new CustomEvent("vaadin-overlay-close",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(t),t.defaultPrevented||(this.opened=!1)}_detectIosNavbar(){if(!this.opened)return;const e=window.innerHeight,t=window.innerWidth,i=document.documentElement.clientHeight;this.style.setProperty("--vaadin-overlay-viewport-bottom",t>e&&i>e?i-e+"px":"0")}_addGlobalListeners(){document.addEventListener("mousedown",this._boundMouseDownListener),document.addEventListener("mouseup",this._boundMouseUpListener),document.documentElement.addEventListener("click",this._boundOutsideClickListener,!0)}_removeGlobalListeners(){document.removeEventListener("mousedown",this._boundMouseDownListener),document.removeEventListener("mouseup",this._boundMouseUpListener),document.documentElement.removeEventListener("click",this._boundOutsideClickListener,!0)}_rendererOrDataChanged(e,t,i,r){const n=this._oldOwner!==t||this._oldModel!==i;this._oldModel=i,this._oldOwner=t;const o=this._oldRenderer!==e,s=void 0!==this._oldRenderer;this._oldRenderer=e;const a=this._oldOpened!==r;this._oldOpened=r,o&&s&&(this.innerHTML="",delete this._$litPart$),r&&e&&(o||a||n)&&this.requestContentUpdate()}_modelessChanged(e){e?(this._removeGlobalListeners(),this._exitModalState()):this.opened&&(this._addGlobalListeners(),this._enterModalState())}_openedChanged(e,t){e?(this._saveFocus(),this._animatedOpening(),oo(this,(()=>{this._trapFocus();const e=new CustomEvent("vaadin-overlay-open",{bubbles:!0});this.dispatchEvent(e)})),document.addEventListener("keydown",this._boundKeydownListener),this.modeless||this._addGlobalListeners()):t&&(this._resetFocus(),this._animatedClosing(),document.removeEventListener("keydown",this._boundKeydownListener),this.modeless||this._removeGlobalListeners())}_hiddenChanged(e){e&&this.hasAttribute("closing")&&this._flushAnimation("closing")}_shouldAnimate(){const e=getComputedStyle(this),t=e.getPropertyValue("animation-name");return!("none"===e.getPropertyValue("display"))&&t&&"none"!==t}_enqueueAnimation(e,t){const i=`__${e}Handler`,r=e=>{e&&e.target!==this||(t(),this.removeEventListener("animationend",r),delete this[i])};this[i]=r,this.addEventListener("animationend",r)}_flushAnimation(e){const t=`__${e}Handler`;"function"==typeof this[t]&&this[t]()}_animatedOpening(){this.parentNode===document.body&&this.hasAttribute("closing")&&this._flushAnimation("closing"),this._attachOverlay(),this.modeless||this._enterModalState(),this.setAttribute("opening",""),this._shouldAnimate()?this._enqueueAnimation("opening",(()=>{this._finishOpening()})):this._finishOpening()}_attachOverlay(){this._placeholder=document.createComment("vaadin-overlay-placeholder"),this.parentNode.insertBefore(this._placeholder,this),document.body.appendChild(this),this.bringToFront()}_finishOpening(){this.removeAttribute("opening")}_finishClosing(){this._detachOverlay(),this.$.overlay.style.removeProperty("pointer-events"),this.removeAttribute("closing"),this.dispatchEvent(new CustomEvent("vaadin-overlay-closed"))}_animatedClosing(){this.hasAttribute("opening")&&this._flushAnimation("opening"),this._placeholder&&(this._exitModalState(),this.setAttribute("closing",""),this.dispatchEvent(new CustomEvent("vaadin-overlay-closing")),this._shouldAnimate()?this._enqueueAnimation("closing",(()=>{this._finishClosing()})):this._finishClosing())}_detachOverlay(){this._placeholder.parentNode.insertBefore(this,this._placeholder),this._placeholder.parentNode.removeChild(this._placeholder)}_mouseDownListener(e){this._mouseDownInside=e.composedPath().indexOf(this.$.overlay)>=0}_mouseUpListener(e){this._mouseUpInside=e.composedPath().indexOf(this.$.overlay)>=0}_shouldCloseOnOutsideClick(e){return this._last}_outsideClickListener(e){if(e.composedPath().includes(this.$.overlay)||this._mouseDownInside||this._mouseUpInside)return this._mouseDownInside=!1,void(this._mouseUpInside=!1);if(!this._shouldCloseOnOutsideClick(e))return;const t=new CustomEvent("vaadin-overlay-outside-click",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(t),this.opened&&!t.defaultPrevented&&this.close(e)}_keydownListener(e){if(this._last&&(!this.modeless||e.composedPath().includes(this.$.overlay))&&"Escape"===e.key){const t=new CustomEvent("vaadin-overlay-escape-press",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(t),this.opened&&!t.defaultPrevented&&this.close(e)}}}
3386
+ */,Co=e=>class extends(xo(Io(e))){static get properties(){return{opened:{type:Boolean,notify:!0,observer:"_openedChanged",reflectToAttribute:!0},owner:{type:Object},model:{type:Object},renderer:{type:Object},modeless:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_modelessChanged"},hidden:{type:Boolean,reflectToAttribute:!0,observer:"_hiddenChanged"},withBackdrop:{type:Boolean,value:!1,reflectToAttribute:!0}}}static get observers(){return["_rendererOrDataChanged(renderer, owner, model, opened)"]}constructor(){super(),this._boundMouseDownListener=this._mouseDownListener.bind(this),this._boundMouseUpListener=this._mouseUpListener.bind(this),this._boundOutsideClickListener=this._outsideClickListener.bind(this),this._boundKeydownListener=this._keydownListener.bind(this),ho&&(this._boundIosResizeListener=()=>this._detectIosNavbar())}ready(){super.ready(),this.addEventListener("click",(()=>{})),this.$.backdrop.addEventListener("click",(()=>{})),this.addEventListener("mouseup",(()=>{document.activeElement===document.body&&"0"===this.$.overlay.getAttribute("tabindex")&&this.$.overlay.focus()}))}connectedCallback(){super.connectedCallback(),this._boundIosResizeListener&&(this._detectIosNavbar(),window.addEventListener("resize",this._boundIosResizeListener))}disconnectedCallback(){super.disconnectedCallback(),this._boundIosResizeListener&&window.removeEventListener("resize",this._boundIosResizeListener)}requestContentUpdate(){this.renderer&&this.renderer.call(this.owner,this,this.owner,this.model)}close(e){const t=new CustomEvent("vaadin-overlay-close",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(t),t.defaultPrevented||(this.opened=!1)}_detectIosNavbar(){if(!this.opened)return;const e=window.innerHeight,t=window.innerWidth,i=document.documentElement.clientHeight;this.style.setProperty("--vaadin-overlay-viewport-bottom",t>e&&i>e?i-e+"px":"0")}_addGlobalListeners(){document.addEventListener("mousedown",this._boundMouseDownListener),document.addEventListener("mouseup",this._boundMouseUpListener),document.documentElement.addEventListener("click",this._boundOutsideClickListener,!0)}_removeGlobalListeners(){document.removeEventListener("mousedown",this._boundMouseDownListener),document.removeEventListener("mouseup",this._boundMouseUpListener),document.documentElement.removeEventListener("click",this._boundOutsideClickListener,!0)}_rendererOrDataChanged(e,t,i,r){const n=this._oldOwner!==t||this._oldModel!==i;this._oldModel=i,this._oldOwner=t;const o=this._oldRenderer!==e,s=void 0!==this._oldRenderer;this._oldRenderer=e;const a=this._oldOpened!==r;this._oldOpened=r,o&&s&&(this.innerHTML="",delete this._$litPart$),r&&e&&(o||a||n)&&this.requestContentUpdate()}_modelessChanged(e){e?(this._removeGlobalListeners(),this._exitModalState()):this.opened&&(this._addGlobalListeners(),this._enterModalState())}_openedChanged(e,t){e?(this._saveFocus(),this._animatedOpening(),oo(this,(()=>{this._trapFocus();const e=new CustomEvent("vaadin-overlay-open",{bubbles:!0});this.dispatchEvent(e)})),document.addEventListener("keydown",this._boundKeydownListener),this.modeless||this._addGlobalListeners()):t&&(this._resetFocus(),this._animatedClosing(),document.removeEventListener("keydown",this._boundKeydownListener),this.modeless||this._removeGlobalListeners())}_hiddenChanged(e){e&&this.hasAttribute("closing")&&this._flushAnimation("closing")}_shouldAnimate(){const e=getComputedStyle(this),t=e.getPropertyValue("animation-name");return!("none"===e.getPropertyValue("display"))&&t&&"none"!==t}_enqueueAnimation(e,t){const i=`__${e}Handler`,r=e=>{e&&e.target!==this||(t(),this.removeEventListener("animationend",r),delete this[i])};this[i]=r,this.addEventListener("animationend",r)}_flushAnimation(e){const t=`__${e}Handler`;"function"==typeof this[t]&&this[t]()}_animatedOpening(){this.parentNode===document.body&&this.hasAttribute("closing")&&this._flushAnimation("closing"),this._attachOverlay(),this.modeless||this._enterModalState(),this.setAttribute("opening",""),this._shouldAnimate()?this._enqueueAnimation("opening",(()=>{this._finishOpening()})):this._finishOpening()}_attachOverlay(){this._placeholder=document.createComment("vaadin-overlay-placeholder"),this.parentNode.insertBefore(this._placeholder,this),document.body.appendChild(this),this.bringToFront()}_finishOpening(){this.removeAttribute("opening")}_finishClosing(){this._detachOverlay(),this.$.overlay.style.removeProperty("pointer-events"),this.removeAttribute("closing"),this.dispatchEvent(new CustomEvent("vaadin-overlay-closed"))}_animatedClosing(){this.hasAttribute("opening")&&this._flushAnimation("opening"),this._placeholder&&(this._exitModalState(),this.setAttribute("closing",""),this.dispatchEvent(new CustomEvent("vaadin-overlay-closing")),this._shouldAnimate()?this._enqueueAnimation("closing",(()=>{this._finishClosing()})):this._finishClosing())}_detachOverlay(){this._placeholder.parentNode.insertBefore(this,this._placeholder),this._placeholder.parentNode.removeChild(this._placeholder)}_mouseDownListener(e){this._mouseDownInside=e.composedPath().indexOf(this.$.overlay)>=0}_mouseUpListener(e){this._mouseUpInside=e.composedPath().indexOf(this.$.overlay)>=0}_shouldCloseOnOutsideClick(e){return this._last}_outsideClickListener(e){if(e.composedPath().includes(this.$.overlay)||this._mouseDownInside||this._mouseUpInside)return this._mouseDownInside=!1,void(this._mouseUpInside=!1);if(!this._shouldCloseOnOutsideClick(e))return;const t=new CustomEvent("vaadin-overlay-outside-click",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(t),this.opened&&!t.defaultPrevented&&this.close(e)}_keydownListener(e){if(this._last&&(!this.modeless||e.composedPath().includes(this.$.overlay))&&"Escape"===e.key){const t=new CustomEvent("vaadin-overlay-escape-press",{bubbles:!0,cancelable:!0,detail:{sourceEvent:e}});this.dispatchEvent(t),this.opened&&!t.defaultPrevented&&this.close(e)}}}
3387
3387
  /**
3388
3388
  * @license
3389
3389
  * Copyright (c) 2024 Vaadin Ltd.
3390
3390
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3391
- */,Co={start:"top",end:"bottom"},Do={start:"left",end:"right"},Ro=new ResizeObserver((e=>{setTimeout((()=>{e.forEach((e=>{e.target.__overlay&&e.target.__overlay._updatePosition()}))}))})),No=e=>class extends e{static get properties(){return{positionTarget:{type:Object,value:null,sync:!0},horizontalAlign:{type:String,value:"start",sync:!0},verticalAlign:{type:String,value:"top",sync:!0},noHorizontalOverlap:{type:Boolean,value:!1,sync:!0},noVerticalOverlap:{type:Boolean,value:!1,sync:!0},requiredVerticalSpace:{type:Number,value:0,sync:!0}}}static get observers(){return["__positionSettingsChanged(horizontalAlign, verticalAlign, noHorizontalOverlap, noVerticalOverlap, requiredVerticalSpace)","__overlayOpenedChanged(opened, positionTarget)"]}constructor(){super(),this.__onScroll=this.__onScroll.bind(this),this._updatePosition=this._updatePosition.bind(this)}connectedCallback(){super.connectedCallback(),this.opened&&this.__addUpdatePositionEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.__removeUpdatePositionEventListeners()}__addUpdatePositionEventListeners(){window.visualViewport.addEventListener("resize",this._updatePosition),window.visualViewport.addEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes=function(e){const t=[];for(;e;){if(e.nodeType===Node.DOCUMENT_NODE){t.push(e);break}e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?e=e.assignedSlot?e.assignedSlot:e.parentNode:(t.push(e),e=e.host)}return t}(this.positionTarget),this.__positionTargetAncestorRootNodes.forEach((e=>{e.addEventListener("scroll",this.__onScroll,!0)})),this.positionTarget&&(this.__observePositionTargetMove=function(e,t){let i=null;const r=document.documentElement;function n(){i&&i.disconnect(),i=null}return function o(s=!1,a=1){n();const{left:l,top:h,width:c,height:u}=e.getBoundingClientRect();if(s||t(),!c||!u)return;const d={rootMargin:`${-Math.floor(h)}px ${-Math.floor(r.clientWidth-(l+c))}px ${-Math.floor(r.clientHeight-(h+u))}px ${-Math.floor(l)}px`,threshold:Math.max(0,Math.min(1,a))||1};let m=!0;i=new IntersectionObserver((function(e){let t=e[0].intersectionRatio;if(t!==a){if(!m)return o();0===t&&(t=1e-7),o(!1,t)}m=!1}),d),i.observe(e)}(!0),n}
3391
+ */,To={start:"top",end:"bottom"},Do={start:"left",end:"right"},Ro=new ResizeObserver((e=>{setTimeout((()=>{e.forEach((e=>{e.target.__overlay&&e.target.__overlay._updatePosition()}))}))})),No=e=>class extends e{static get properties(){return{positionTarget:{type:Object,value:null,sync:!0},horizontalAlign:{type:String,value:"start",sync:!0},verticalAlign:{type:String,value:"top",sync:!0},noHorizontalOverlap:{type:Boolean,value:!1,sync:!0},noVerticalOverlap:{type:Boolean,value:!1,sync:!0},requiredVerticalSpace:{type:Number,value:0,sync:!0}}}static get observers(){return["__positionSettingsChanged(horizontalAlign, verticalAlign, noHorizontalOverlap, noVerticalOverlap, requiredVerticalSpace)","__overlayOpenedChanged(opened, positionTarget)"]}constructor(){super(),this.__onScroll=this.__onScroll.bind(this),this._updatePosition=this._updatePosition.bind(this)}connectedCallback(){super.connectedCallback(),this.opened&&this.__addUpdatePositionEventListeners()}disconnectedCallback(){super.disconnectedCallback(),this.__removeUpdatePositionEventListeners()}__addUpdatePositionEventListeners(){window.visualViewport.addEventListener("resize",this._updatePosition),window.visualViewport.addEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes=function(e){const t=[];for(;e;){if(e.nodeType===Node.DOCUMENT_NODE){t.push(e);break}e.nodeType!==Node.DOCUMENT_FRAGMENT_NODE?e=e.assignedSlot?e.assignedSlot:e.parentNode:(t.push(e),e=e.host)}return t}(this.positionTarget),this.__positionTargetAncestorRootNodes.forEach((e=>{e.addEventListener("scroll",this.__onScroll,!0)})),this.positionTarget&&(this.__observePositionTargetMove=function(e,t){let i=null;const r=document.documentElement;function n(){i&&i.disconnect(),i=null}return function o(s=!1,a=1){n();const{left:l,top:h,width:c,height:u}=e.getBoundingClientRect();if(s||t(),!c||!u)return;const d={rootMargin:`${-Math.floor(h)}px ${-Math.floor(r.clientWidth-(l+c))}px ${-Math.floor(r.clientHeight-(h+u))}px ${-Math.floor(l)}px`,threshold:Math.max(0,Math.min(1,a))||1};let m=!0;i=new IntersectionObserver((function(e){let t=e[0].intersectionRatio;if(t!==a){if(!m)return o();0===t&&(t=1e-7),o(!1,t)}m=!1}),d),i.observe(e)}(!0),n}
3392
3392
  /**
3393
3393
  * @license
3394
3394
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
3395
3395
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3396
- */(this.positionTarget,(()=>{this._updatePosition()})))}__removeUpdatePositionEventListeners(){window.visualViewport.removeEventListener("resize",this._updatePosition),window.visualViewport.removeEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes&&(this.__positionTargetAncestorRootNodes.forEach((e=>{e.removeEventListener("scroll",this.__onScroll,!0)})),this.__positionTargetAncestorRootNodes=null),this.__observePositionTargetMove&&(this.__observePositionTargetMove(),this.__observePositionTargetMove=null)}__overlayOpenedChanged(e,t){if(this.__removeUpdatePositionEventListeners(),t&&(t.__overlay=null,Ro.unobserve(t),e&&(this.__addUpdatePositionEventListeners(),t.__overlay=this,Ro.observe(t))),e){const e=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach((t=>{this.__margins[t]=parseInt(e[t],10)}))),this._updatePosition(),requestAnimationFrame((()=>this._updatePosition()))}}__positionSettingsChanged(){this._updatePosition()}__onScroll(e){e.target instanceof Node&&this.contains(e.target)||this._updatePosition()}_updatePosition(){if(!this.positionTarget||!this.opened||!this.__margins)return;const e=this.positionTarget.getBoundingClientRect();if(0===e.width&&0===e.height&&this.opened)return void(this.opened=!1);const t=this.__shouldAlignStartVertically(e);this.style.justifyContent=t?"flex-start":"flex-end";const i=this.__isRTL,r=this.__shouldAlignStartHorizontally(e,i),n=!i&&r||i&&!r;this.style.alignItems=n?"flex-start":"flex-end";const o=this.getBoundingClientRect(),s=this.__calculatePositionInOneDimension(e,o,this.noVerticalOverlap,Co,this,t),a=this.__calculatePositionInOneDimension(e,o,this.noHorizontalOverlap,Do,this,r);Object.assign(this.style,s,a),this.toggleAttribute("bottom-aligned",!t),this.toggleAttribute("top-aligned",t),this.toggleAttribute("end-aligned",!n),this.toggleAttribute("start-aligned",n)}__shouldAlignStartHorizontally(e,t){const i=Math.max(this.__oldContentWidth||0,this.$.overlay.offsetWidth);this.__oldContentWidth=this.$.overlay.offsetWidth;const r=Math.min(window.innerWidth,document.documentElement.clientWidth);return this.__shouldAlignStart(e,i,r,this.__margins,!t&&"start"===this.horizontalAlign||t&&"end"===this.horizontalAlign,this.noHorizontalOverlap,Do)}__shouldAlignStartVertically(e){const t=this.requiredVerticalSpace||Math.max(this.__oldContentHeight||0,this.$.overlay.offsetHeight);this.__oldContentHeight=this.$.overlay.offsetHeight;const i=Math.min(window.innerHeight,document.documentElement.clientHeight);return this.__shouldAlignStart(e,t,i,this.__margins,"top"===this.verticalAlign,this.noVerticalOverlap,Co)}__shouldAlignStart(e,t,i,r,n,o,s){const a=i-e[o?s.end:s.start]-r[s.end],l=e[o?s.start:s.end]-r[s.start],h=n?a:l;return n===(h>(n?l:a)||h>t)}__adjustBottomProperty(e,t,i){let r;if(e===t.end){if(t.end===Co.end){const e=Math.min(window.innerHeight,document.documentElement.clientHeight);i>e&&this.__oldViewportHeight&&(r=i-(this.__oldViewportHeight-e)),this.__oldViewportHeight=e}if(t.end===Do.end){const e=Math.min(window.innerWidth,document.documentElement.clientWidth);i>e&&this.__oldViewportWidth&&(r=i-(this.__oldViewportWidth-e)),this.__oldViewportWidth=e}}return r}__calculatePositionInOneDimension(e,t,i,r,n,o){const s=o?r.start:r.end,a=o?r.end:r.start,l=parseFloat(n.style[s]||getComputedStyle(n)[s]),h=this.__adjustBottomProperty(s,r,l),c=h?`${h}px`:`${l+(t[o?r.start:r.end]-e[i===o?r.end:r.start])*(o?-1:1)}px`;return{[s]:c,[a]:""}}}
3396
+ */(this.positionTarget,(()=>{this._updatePosition()})))}__removeUpdatePositionEventListeners(){window.visualViewport.removeEventListener("resize",this._updatePosition),window.visualViewport.removeEventListener("scroll",this.__onScroll,!0),this.__positionTargetAncestorRootNodes&&(this.__positionTargetAncestorRootNodes.forEach((e=>{e.removeEventListener("scroll",this.__onScroll,!0)})),this.__positionTargetAncestorRootNodes=null),this.__observePositionTargetMove&&(this.__observePositionTargetMove(),this.__observePositionTargetMove=null)}__overlayOpenedChanged(e,t){if(this.__removeUpdatePositionEventListeners(),t&&(t.__overlay=null,Ro.unobserve(t),e&&(this.__addUpdatePositionEventListeners(),t.__overlay=this,Ro.observe(t))),e){const e=getComputedStyle(this);this.__margins||(this.__margins={},["top","bottom","left","right"].forEach((t=>{this.__margins[t]=parseInt(e[t],10)}))),this._updatePosition(),requestAnimationFrame((()=>this._updatePosition()))}}__positionSettingsChanged(){this._updatePosition()}__onScroll(e){e.target instanceof Node&&this.contains(e.target)||this._updatePosition()}_updatePosition(){if(!this.positionTarget||!this.opened||!this.__margins)return;const e=this.positionTarget.getBoundingClientRect();if(0===e.width&&0===e.height&&this.opened)return void(this.opened=!1);const t=this.__shouldAlignStartVertically(e);this.style.justifyContent=t?"flex-start":"flex-end";const i=this.__isRTL,r=this.__shouldAlignStartHorizontally(e,i),n=!i&&r||i&&!r;this.style.alignItems=n?"flex-start":"flex-end";const o=this.getBoundingClientRect(),s=this.__calculatePositionInOneDimension(e,o,this.noVerticalOverlap,To,this,t),a=this.__calculatePositionInOneDimension(e,o,this.noHorizontalOverlap,Do,this,r);Object.assign(this.style,s,a),this.toggleAttribute("bottom-aligned",!t),this.toggleAttribute("top-aligned",t),this.toggleAttribute("end-aligned",!n),this.toggleAttribute("start-aligned",n)}__shouldAlignStartHorizontally(e,t){const i=Math.max(this.__oldContentWidth||0,this.$.overlay.offsetWidth);this.__oldContentWidth=this.$.overlay.offsetWidth;const r=Math.min(window.innerWidth,document.documentElement.clientWidth);return this.__shouldAlignStart(e,i,r,this.__margins,!t&&"start"===this.horizontalAlign||t&&"end"===this.horizontalAlign,this.noHorizontalOverlap,Do)}__shouldAlignStartVertically(e){const t=this.requiredVerticalSpace||Math.max(this.__oldContentHeight||0,this.$.overlay.offsetHeight);this.__oldContentHeight=this.$.overlay.offsetHeight;const i=Math.min(window.innerHeight,document.documentElement.clientHeight);return this.__shouldAlignStart(e,t,i,this.__margins,"top"===this.verticalAlign,this.noVerticalOverlap,To)}__shouldAlignStart(e,t,i,r,n,o,s){const a=i-e[o?s.end:s.start]-r[s.end],l=e[o?s.start:s.end]-r[s.start],h=n?a:l;return n===(h>(n?l:a)||h>t)}__adjustBottomProperty(e,t,i){let r;if(e===t.end){if(t.end===To.end){const e=Math.min(window.innerHeight,document.documentElement.clientHeight);i>e&&this.__oldViewportHeight&&(r=i-(this.__oldViewportHeight-e)),this.__oldViewportHeight=e}if(t.end===Do.end){const e=Math.min(window.innerWidth,document.documentElement.clientWidth);i>e&&this.__oldViewportWidth&&(r=i-(this.__oldViewportWidth-e)),this.__oldViewportWidth=e}}return r}__calculatePositionInOneDimension(e,t,i,r,n,o){const s=o?r.start:r.end,a=o?r.end:r.start,l=parseFloat(n.style[s]||getComputedStyle(n)[s]),h=this.__adjustBottomProperty(s,r,l),c=h?`${h}px`:`${l+(t[o?r.start:r.end]-e[i===o?r.end:r.start])*(o?-1:1)}px`;return{[s]:c,[a]:""}}}
3397
3397
  /**
3398
3398
  * @license
3399
3399
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
3400
3400
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3401
- */,Oo=e=>class extends(No(To(e))){_shouldCloseOnOutsideClick(e){return!e.composedPath().includes(this.positionTarget)}_mouseDownListener(e){super._mouseDownListener(e),this._shouldCloseOnOutsideClick(e)&&!un(e.composedPath()[0])&&e.preventDefault()}}
3401
+ */,Oo=e=>class extends(No(Co(e))){_shouldCloseOnOutsideClick(e){return!e.composedPath().includes(this.positionTarget)}_mouseDownListener(e){super._mouseDownListener(e),this._shouldCloseOnOutsideClick(e)&&!un(e.composedPath()[0])&&e.preventDefault()}}
3402
3402
  /**
3403
3403
  * @license
3404
3404
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
@@ -3424,7 +3424,7 @@ xe("vaadin-date-picker-overlay",[eo,_`
3424
3424
  outline: 3px solid;
3425
3425
  }
3426
3426
  }
3427
- `],{moduleId:"vaadin-date-picker-overlay-styles"});class zo extends(Oo(dr(Ce(Vi)))){static get is(){return"vaadin-date-picker-overlay"}static get template(){return qi`
3427
+ `],{moduleId:"vaadin-date-picker-overlay-styles"});class zo extends(Oo(dr(Te(Vi)))){static get is(){return"vaadin-date-picker-overlay"}static get template(){return qi`
3428
3428
  <div id="backdrop" part="backdrop" hidden$="[[!withBackdrop]]"></div>
3429
3429
  <div part="overlay" id="overlay">
3430
3430
  <div part="content" id="content">
@@ -3502,7 +3502,7 @@ const Go=_`
3502
3502
  * @license
3503
3503
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
3504
3504
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3505
- */;xe("vaadin-button",Go,{moduleId:"vaadin-button-styles"});class Uo extends(Mo(_r(Ce(An(Vi))))){static get is(){return"vaadin-button"}static get template(){return(e=>e`
3505
+ */;xe("vaadin-button",Go,{moduleId:"vaadin-button-styles"});class Uo extends(Mo(_r(Te(An(Vi))))){static get is(){return"vaadin-button"}static get template(){return(e=>e`
3506
3506
  <div class="vaadin-button-container">
3507
3507
  <span part="prefix" aria-hidden="true">
3508
3508
  <slot name="prefix"></slot>
@@ -3552,7 +3552,7 @@ const Jo=e=>class extends e{static get properties(){return{year:{type:String,syn
3552
3552
  * @license
3553
3553
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3554
3554
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3555
- */;class es extends(Ce(Jo(Vi))){static get is(){return"vaadin-date-picker-year"}static get template(){return qi`
3555
+ */;class es extends(Te(Jo(Vi))){static get is(){return"vaadin-date-picker-year"}static get template(){return qi`
3556
3556
  <style>
3557
3557
  :host {
3558
3558
  display: block;
@@ -3680,7 +3680,7 @@ xe("vaadin-month-calendar",_`
3680
3680
  outline: 3px solid;
3681
3681
  }
3682
3682
  }
3683
- `,{moduleId:"vaadin-month-calendar-styles"});class bs extends(gs(Ce(Vi))){static get template(){return qi`
3683
+ `,{moduleId:"vaadin-month-calendar-styles"});class bs extends(gs(Te(Vi))){static get template(){return qi`
3684
3684
  <div part="month-header" id="month-header" aria-hidden="true">[[_getTitle(month, i18n)]]</div>
3685
3685
  <table
3686
3686
  id="monthGrid"
@@ -3804,7 +3804,7 @@ xe("vaadin-date-picker-overlay-content",_`
3804
3804
  z-index: 2;
3805
3805
  flex-shrink: 0;
3806
3806
  }
3807
- `,{moduleId:"vaadin-date-picker-overlay-content-styles"});class ws extends(ys(An(Ce(dr(Vi))))){static get template(){return qi`
3807
+ `,{moduleId:"vaadin-date-picker-overlay-content-styles"});class ws extends(ys(An(Te(dr(Vi))))){static get template(){return qi`
3808
3808
  <div part="overlay-header" on-touchend="_preventDefault" aria-hidden="true">
3809
3809
  <div part="label">[[_formatDisplayed(selectedDate, i18n, label)]]</div>
3810
3810
  <div part="clear-button" hidden$="[[!selectedDate]]"></div>
@@ -3840,7 +3840,7 @@ const ks=new WeakMap,xs=tt((e=>class extends e{get slotStyles(){return{}}connect
3840
3840
  * @license
3841
3841
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
3842
3842
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3843
- */,Ts=[_`
3843
+ */,Cs=[_`
3844
3844
  :host {
3845
3845
  display: inline-flex;
3846
3846
  outline: none;
@@ -3910,7 +3910,7 @@ const ks=new WeakMap,xs=tt((e=>class extends e{get slotStyles(){return{}}connect
3910
3910
  * @license
3911
3911
  * Copyright (c) 2021 - 2024 Vaadin Ltd..
3912
3912
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3913
- */],Cs=e=>class extends e{static get properties(){return{overlayClass:{type:String},_overlayElement:{type:Object}}}static get observers(){return["__updateOverlayClassNames(overlayClass, _overlayElement)"]}__updateOverlayClassNames(e,t){if(!t)return;if(void 0===e)return;const{classList:i}=t;if(this.__initialClasses||(this.__initialClasses=new Set(i)),Array.isArray(this.__previousClasses)){const e=this.__previousClasses.filter((e=>!this.__initialClasses.has(e)));e.length>0&&i.remove(...e)}const r="string"==typeof e?e.split(" ").filter(Boolean):[];r.length>0&&i.add(...r),this.__previousClasses=r}}
3913
+ */],Ts=e=>class extends e{static get properties(){return{overlayClass:{type:String},_overlayElement:{type:Object}}}static get observers(){return["__updateOverlayClassNames(overlayClass, _overlayElement)"]}__updateOverlayClassNames(e,t){if(!t)return;if(void 0===e)return;const{classList:i}=t;if(this.__initialClasses||(this.__initialClasses=new Set(i)),Array.isArray(this.__previousClasses)){const e=this.__previousClasses.filter((e=>!this.__initialClasses.has(e)));e.length>0&&i.remove(...e)}const r="string"==typeof e?e.split(" ").filter(Boolean):[];r.length>0&&i.add(...r),this.__previousClasses=r}}
3914
3914
  /**
3915
3915
  * @license
3916
3916
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
@@ -3920,7 +3920,7 @@ const ks=new WeakMap,xs=tt((e=>class extends e{get slotStyles(){return{}}connect
3920
3920
  * @license
3921
3921
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3922
3922
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3923
- */const Rs=e=>class extends(Cs(An(fn(As(nn(e)))))){static get properties(){return{_selectedDate:{type:Object,sync:!0},_focusedDate:{type:Object,sync:!0},value:{type:String,notify:!0,value:"",sync:!0},initialPosition:String,opened:{type:Boolean,reflectToAttribute:!0,notify:!0,observer:"_openedChanged",sync:!0},autoOpenDisabled:Boolean,showWeekNumbers:{type:Boolean,value:!1,sync:!0},_fullscreen:{type:Boolean,value:!1,sync:!0},_fullscreenMediaQuery:{value:"(max-width: 450px), (max-height: 450px)"},i18n:{type:Object,sync:!0,value:()=>({monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDayOfWeek:0,today:"Today",cancel:"Cancel",referenceDate:"",formatDate(e){const t=String(e.year).replace(/\d+/u,(e=>"0000".substr(e.length)+e));return[e.month+1,e.day,t].join("/")},parseDate(e){const t=e.split("/"),i=new Date;let r,n=i.getMonth(),o=i.getFullYear();if(3===t.length?(n=parseInt(t[0])-1,r=parseInt(t[1]),o=parseInt(t[2]),t[2].length<3&&o>=0&&(o=function(e,t,i=0,r=1){if(t>99)throw new Error("The provided year cannot have more than 2 digits.");if(t<0)throw new Error("The provided year cannot be negative.");let n=t+100*Math.floor(e.getFullYear()/100);return e<new Date(n-50,i,r)?n-=100:e>new Date(n+50,i,r)&&(n+=100),n}(this.referenceDate?Ho(this.referenceDate):new Date,o,n,r))):2===t.length?(n=parseInt(t[0])-1,r=parseInt(t[1])):1===t.length&&(r=parseInt(t[0])),void 0!==r)return{day:r,month:n,year:o}},formatTitle:(e,t)=>`${e} ${t}`})},min:{type:String,sync:!0},max:{type:String,sync:!0},isDateDisabled:{type:Function},_minDate:{type:Date,computed:"__computeMinOrMaxDate(min)",sync:!0},_maxDate:{type:Date,computed:"__computeMinOrMaxDate(max)",sync:!0},_noInput:{type:Boolean,computed:"_isNoInput(inputElement, _fullscreen, _ios, i18n, opened, autoOpenDisabled)"},_ios:{type:Boolean,value:ho},_focusOverlayOnOpen:Boolean,_overlayContent:{type:Object,sync:!0},_hasInputValue:{type:Boolean}}}static get observers(){return["_selectedDateChanged(_selectedDate, i18n)","_focusedDateChanged(_focusedDate, i18n)","__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled)","__updateOverlayContentTheme(_overlayContent, _theme)","__updateOverlayContentFullScreen(_overlayContent, _fullscreen)"]}static get constraints(){return[...super.constraints,"min","max"]}constructor(){super(),this._boundOnClick=this._onClick.bind(this),this._boundOnScroll=this._onScroll.bind(this),this._boundOverlayRenderer=this._overlayRenderer.bind(this)}get _inputElementValue(){return super._inputElementValue}set _inputElementValue(e){super._inputElementValue=e,this._hasInputValue=!1}get clearElement(){return null}get _nativeInput(){return this.inputElement?this.inputElement.focusElement||this.inputElement:null}get __unparsableValue(){return!this._inputElementValue||this.__parseDate(this._inputElementValue)?"":this._inputElementValue}_onFocus(e){super._onFocus(e),this._noInput&&!ln()&&e.target.blur()}_onBlur(e){super._onBlur(e),this.opened||(this.__commitParsedOrFocusedDate(),document.hasFocus()&&this.validate())}ready(){super.ready(),this.addEventListener("click",this._boundOnClick),this.addController(new Es(this._fullscreenMediaQuery,(e=>{this._fullscreen=e}))),this.addController(new Ds(this));const e=this.$.overlay;this._overlayElement=e,e.renderer=this._boundOverlayRenderer,this.addEventListener("mousedown",(()=>this.__bringToFront())),this.addEventListener("touchstart",(()=>this.__bringToFront()))}disconnectedCallback(){super.disconnectedCallback(),this.opened=!1}open(){this.disabled||this.readonly||(this.opened=!0)}close(){this.$.overlay.close()}_overlayRenderer(e){if(e.firstChild)return;const t=document.createElement("vaadin-date-picker-overlay-content");e.appendChild(t),this._overlayContent=t,t.addEventListener("close",(()=>{this._close()})),t.addEventListener("focus-input",this._focusAndSelect.bind(this)),t.addEventListener("date-tap",(e=>{this.__commitDate(e.detail.date),this._close()})),t.addEventListener("date-selected",(e=>{this.__commitDate(e.detail.date)})),t.addEventListener("focusin",(()=>{this._keyboardActive&&this._setFocused(!0)})),t.addEventListener("focusout",(e=>{this._shouldRemoveFocus(e)&&this._setFocused(!1)})),t.addEventListener("focused-date-changed",(e=>{this._focusedDate=e.detail.value})),t.addEventListener("click",(e=>e.stopPropagation()))}__parseDate(e){if(!this.i18n.parseDate)return;let t=this.i18n.parseDate(e);return t&&(t=Ho(`${t.year}-${t.month+1}-${t.day}`)),t&&!isNaN(t.getTime())?t:void 0}__formatDate(e){if(this.i18n.formatDate)return this.i18n.formatDate(Lo(e))}checkValidity(){const e=this._inputElementValue,t=!e||!!this._selectedDate&&e===this.__formatDate(this._selectedDate),i=!this._selectedDate||Fo(this._selectedDate,this._minDate,this._maxDate,this.isDateDisabled);let r=!0;return this.inputElement&&(this.inputElement.checkValidity?r=this.inputElement.checkValidity():this.inputElement.validate&&(r=this.inputElement.validate())),t&&i&&r}_shouldSetFocus(e){return!this._shouldKeepFocusRing}_shouldRemoveFocus(e){const{relatedTarget:t}=e;return!(!this.opened||null===t||t===document.body||this.contains(t)||this._overlayContent.contains(t))||!this.opened}_setFocused(e){super._setFocused(e),this._shouldKeepFocusRing=e&&this._keyboardActive}__commitValueChange(){const e=this.__unparsableValue;this.__committedValue!==this.value?(this.validate(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))):this.__committedUnparsableValue!==e&&(this.validate(),this.dispatchEvent(new CustomEvent("unparsable-change"))),this.__committedValue=this.value,this.__committedUnparsableValue=e}__commitDate(e){this.__keepCommittedValue=!0,this._selectedDate=e,this.__keepCommittedValue=!1,this.__commitValueChange()}_close(){this._focus(),this.close()}__bringToFront(){requestAnimationFrame((()=>{this.$.overlay.bringToFront()}))}_isNoInput(e,t,i,r,n,o){return!e||t&&(!o||n)||i&&n||!r.parseDate}_formatISO(e){return function(e){return e instanceof Date?function(e){const t=(e,t="00")=>(t+e).substr((t+e).length-t.length);let i="",r="0000",n=e.year;return n<0?(n=-n,i="-",r="000000"):e.year>=1e4&&(i="+",r="000000"),[i+t(n,r),t(e.month+1),t(e.day)].join("-")}({year:e.getFullYear(),month:e.getMonth(),day:e.getDate()}):""}(e)}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.autocomplete="off",e.setAttribute("role","combobox"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",!!this.opened),this._applyInputValue(this._selectedDate))}_openedChanged(e){this.inputElement&&this.inputElement.setAttribute("aria-expanded",e)}_selectedDateChanged(e,t){void 0!==e&&void 0!==t&&(this.__keepInputValue||this._applyInputValue(e),this.value=this._formatISO(e),this._ignoreFocusedDateChange=!0,this._focusedDate=e,this._ignoreFocusedDateChange=!1)}_focusedDateChanged(e,t){void 0!==e&&void 0!==t&&(this._ignoreFocusedDateChange||this._noInput||this._applyInputValue(e))}_valueChanged(e,t){const i=Ho(e);!e||i?(e?Po(this._selectedDate,i)||(this._selectedDate=i,void 0!==t&&this.validate()):this._selectedDate=null,this.__keepCommittedValue||(this.__committedValue=this.value,this.__committedUnparsableValue=""),this._toggleHasValue(this._hasValue)):this.value=t}__updateOverlayContent(e,t,i,r,n,o,s,a,l){e&&(e.i18n=t,e.label=i,e.minDate=r,e.maxDate=n,e.focusedDate=o,e.selectedDate=s,e.showWeekNumbers=a,e.isDateDisabled=l)}__updateOverlayContentTheme(e,t){e&&(t?e.setAttribute("theme",t):e.removeAttribute("theme"))}__updateOverlayContentFullScreen(e,t){e&&e.toggleAttribute("fullscreen",t)}_onOverlayEscapePress(){this._focusedDate=this._selectedDate,this._closedByEscape=!0,this._close(),this._closedByEscape=!1}_onOverlayOpened(){const e=this._overlayContent;e.reset();const t=this._getInitialPosition();e.initialPosition=t;const i=e.focusedDate||t;e.scrollToDate(i),this._ignoreFocusedDateChange=!0,e.focusedDate=i,this._ignoreFocusedDateChange=!1,window.addEventListener("scroll",this._boundOnScroll,!0),this._focusOverlayOnOpen?(e.focusDateElement(),this._focusOverlayOnOpen=!1):this._focus();const r=this._nativeInput;this._noInput&&r&&(r.blur(),this._overlayContent.focusDateElement()),this.__showOthers=bo(this._noInput?e:[r,e])}_getInitialPosition(){const e=Ho(this.initialPosition),t=this._selectedDate||this._overlayContent.initialPosition||e||new Date;return e||Fo(t,this._minDate,this._maxDate,this.isDateDisabled)?t:this._minDate||this._maxDate?jo(t,[this._minDate,this._maxDate]):new Date}__commitParsedOrFocusedDate(){if(this._ignoreFocusedDateChange=!0,this.i18n.parseDate){const e=this.__parseDate(this._inputElementValue||"");e?this.__commitDate(e):(this.__keepInputValue=!0,this.__commitDate(null),this.__keepInputValue=!1)}else this._focusedDate&&this.__commitDate(this._focusedDate);this._ignoreFocusedDateChange=!1}_onOverlayClosed(){this.__showOthers&&(this.__showOthers(),this.__showOthers=null),window.removeEventListener("scroll",this._boundOnScroll,!0),this._closedByEscape&&this._applyInputValue(this._selectedDate),this.__commitParsedOrFocusedDate(),this._nativeInput&&this._nativeInput.selectionStart&&(this._nativeInput.selectionStart=this._nativeInput.selectionEnd),this.value||this._keyboardActive||this.validate()}_onScroll(e){e.target!==window&&this._overlayContent.contains(e.target)||this._overlayContent._repositionYearScroller()}_focus(){this._noInput||this.inputElement.focus()}_focusAndSelect(){this._focus(),this._setSelectionRange(0,this._inputElementValue.length)}_applyInputValue(e){this._inputElementValue=e?this.__formatDate(e):""}_setSelectionRange(e,t){this._nativeInput&&this._nativeInput.setSelectionRange&&this._nativeInput.setSelectionRange(e,t)}_onChange(e){e.stopPropagation()}_onClick(e){this._isClearButton(e)||this._onHostClick(e)}_onHostClick(e){this.autoOpenDisabled&&!this._noInput||(e.preventDefault(),this.open())}_onClearButtonClick(e){e.preventDefault(),this.__commitDate(null)}_onKeyDown(e){switch(super._onKeyDown(e),this._noInput&&-1===[9].indexOf(e.keyCode)&&e.preventDefault(),e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.opened?this._overlayContent.focusDateElement():(this._focusOverlayOnOpen=!0,this.open());break;case"Tab":this.opened&&(e.preventDefault(),e.stopPropagation(),this._setSelectionRange(0,0),e.shiftKey?this._overlayContent.focusCancel():this._overlayContent.focusDateElement())}}_onEnter(e){this.opened?this.close():this.__commitParsedOrFocusedDate()}_onEscape(e){if(!this.opened)return this.clearButtonVisible&&this.value&&!this.readonly?(e.stopPropagation(),void this._onClearButtonClick(e)):void(""===this.inputElement.value?this.__commitDate(null):this._applyInputValue(this._selectedDate))}_isClearButton(e){return e.composedPath()[0]===this.clearElement}_onInput(){if(this.opened||!this._inputElementValue||this.autoOpenDisabled||this.open(),this._inputElementValue){const e=this.__parseDate(this._inputElementValue);e&&(this._ignoreFocusedDateChange=!0,Po(e,this._focusedDate)||(this._focusedDate=e),this._ignoreFocusedDateChange=!1)}}__computeMinOrMaxDate(e){return Ho(e)}}
3923
+ */const Rs=e=>class extends(Ts(An(fn(As(nn(e)))))){static get properties(){return{_selectedDate:{type:Object,sync:!0},_focusedDate:{type:Object,sync:!0},value:{type:String,notify:!0,value:"",sync:!0},initialPosition:String,opened:{type:Boolean,reflectToAttribute:!0,notify:!0,observer:"_openedChanged",sync:!0},autoOpenDisabled:Boolean,showWeekNumbers:{type:Boolean,value:!1,sync:!0},_fullscreen:{type:Boolean,value:!1,sync:!0},_fullscreenMediaQuery:{value:"(max-width: 450px), (max-height: 450px)"},i18n:{type:Object,sync:!0,value:()=>({monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],firstDayOfWeek:0,today:"Today",cancel:"Cancel",referenceDate:"",formatDate(e){const t=String(e.year).replace(/\d+/u,(e=>"0000".substr(e.length)+e));return[e.month+1,e.day,t].join("/")},parseDate(e){const t=e.split("/"),i=new Date;let r,n=i.getMonth(),o=i.getFullYear();if(3===t.length?(n=parseInt(t[0])-1,r=parseInt(t[1]),o=parseInt(t[2]),t[2].length<3&&o>=0&&(o=function(e,t,i=0,r=1){if(t>99)throw new Error("The provided year cannot have more than 2 digits.");if(t<0)throw new Error("The provided year cannot be negative.");let n=t+100*Math.floor(e.getFullYear()/100);return e<new Date(n-50,i,r)?n-=100:e>new Date(n+50,i,r)&&(n+=100),n}(this.referenceDate?Ho(this.referenceDate):new Date,o,n,r))):2===t.length?(n=parseInt(t[0])-1,r=parseInt(t[1])):1===t.length&&(r=parseInt(t[0])),void 0!==r)return{day:r,month:n,year:o}},formatTitle:(e,t)=>`${e} ${t}`})},min:{type:String,sync:!0},max:{type:String,sync:!0},isDateDisabled:{type:Function},_minDate:{type:Date,computed:"__computeMinOrMaxDate(min)",sync:!0},_maxDate:{type:Date,computed:"__computeMinOrMaxDate(max)",sync:!0},_noInput:{type:Boolean,computed:"_isNoInput(inputElement, _fullscreen, _ios, i18n, opened, autoOpenDisabled)"},_ios:{type:Boolean,value:ho},_focusOverlayOnOpen:Boolean,_overlayContent:{type:Object,sync:!0},_hasInputValue:{type:Boolean}}}static get observers(){return["_selectedDateChanged(_selectedDate, i18n)","_focusedDateChanged(_focusedDate, i18n)","__updateOverlayContent(_overlayContent, i18n, label, _minDate, _maxDate, _focusedDate, _selectedDate, showWeekNumbers, isDateDisabled)","__updateOverlayContentTheme(_overlayContent, _theme)","__updateOverlayContentFullScreen(_overlayContent, _fullscreen)"]}static get constraints(){return[...super.constraints,"min","max"]}constructor(){super(),this._boundOnClick=this._onClick.bind(this),this._boundOnScroll=this._onScroll.bind(this),this._boundOverlayRenderer=this._overlayRenderer.bind(this)}get _inputElementValue(){return super._inputElementValue}set _inputElementValue(e){super._inputElementValue=e,this._hasInputValue=!1}get clearElement(){return null}get _nativeInput(){return this.inputElement?this.inputElement.focusElement||this.inputElement:null}get __unparsableValue(){return!this._inputElementValue||this.__parseDate(this._inputElementValue)?"":this._inputElementValue}_onFocus(e){super._onFocus(e),this._noInput&&!ln()&&e.target.blur()}_onBlur(e){super._onBlur(e),this.opened||(this.__commitParsedOrFocusedDate(),document.hasFocus()&&this.validate())}ready(){super.ready(),this.addEventListener("click",this._boundOnClick),this.addController(new Es(this._fullscreenMediaQuery,(e=>{this._fullscreen=e}))),this.addController(new Ds(this));const e=this.$.overlay;this._overlayElement=e,e.renderer=this._boundOverlayRenderer,this.addEventListener("mousedown",(()=>this.__bringToFront())),this.addEventListener("touchstart",(()=>this.__bringToFront()))}disconnectedCallback(){super.disconnectedCallback(),this.opened=!1}open(){this.disabled||this.readonly||(this.opened=!0)}close(){this.$.overlay.close()}_overlayRenderer(e){if(e.firstChild)return;const t=document.createElement("vaadin-date-picker-overlay-content");e.appendChild(t),this._overlayContent=t,t.addEventListener("close",(()=>{this._close()})),t.addEventListener("focus-input",this._focusAndSelect.bind(this)),t.addEventListener("date-tap",(e=>{this.__commitDate(e.detail.date),this._close()})),t.addEventListener("date-selected",(e=>{this.__commitDate(e.detail.date)})),t.addEventListener("focusin",(()=>{this._keyboardActive&&this._setFocused(!0)})),t.addEventListener("focusout",(e=>{this._shouldRemoveFocus(e)&&this._setFocused(!1)})),t.addEventListener("focused-date-changed",(e=>{this._focusedDate=e.detail.value})),t.addEventListener("click",(e=>e.stopPropagation()))}__parseDate(e){if(!this.i18n.parseDate)return;let t=this.i18n.parseDate(e);return t&&(t=Ho(`${t.year}-${t.month+1}-${t.day}`)),t&&!isNaN(t.getTime())?t:void 0}__formatDate(e){if(this.i18n.formatDate)return this.i18n.formatDate(Lo(e))}checkValidity(){const e=this._inputElementValue,t=!e||!!this._selectedDate&&e===this.__formatDate(this._selectedDate),i=!this._selectedDate||Fo(this._selectedDate,this._minDate,this._maxDate,this.isDateDisabled);let r=!0;return this.inputElement&&(this.inputElement.checkValidity?r=this.inputElement.checkValidity():this.inputElement.validate&&(r=this.inputElement.validate())),t&&i&&r}_shouldSetFocus(e){return!this._shouldKeepFocusRing}_shouldRemoveFocus(e){const{relatedTarget:t}=e;return!(!this.opened||null===t||t===document.body||this.contains(t)||this._overlayContent.contains(t))||!this.opened}_setFocused(e){super._setFocused(e),this._shouldKeepFocusRing=e&&this._keyboardActive}__commitValueChange(){const e=this.__unparsableValue;this.__committedValue!==this.value?(this.validate(),this.dispatchEvent(new CustomEvent("change",{bubbles:!0}))):this.__committedUnparsableValue!==e&&(this.validate(),this.dispatchEvent(new CustomEvent("unparsable-change"))),this.__committedValue=this.value,this.__committedUnparsableValue=e}__commitDate(e){this.__keepCommittedValue=!0,this._selectedDate=e,this.__keepCommittedValue=!1,this.__commitValueChange()}_close(){this._focus(),this.close()}__bringToFront(){requestAnimationFrame((()=>{this.$.overlay.bringToFront()}))}_isNoInput(e,t,i,r,n,o){return!e||t&&(!o||n)||i&&n||!r.parseDate}_formatISO(e){return function(e){return e instanceof Date?function(e){const t=(e,t="00")=>(t+e).substr((t+e).length-t.length);let i="",r="0000",n=e.year;return n<0?(n=-n,i="-",r="000000"):e.year>=1e4&&(i="+",r="000000"),[i+t(n,r),t(e.month+1),t(e.day)].join("-")}({year:e.getFullYear(),month:e.getMonth(),day:e.getDate()}):""}(e)}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.autocomplete="off",e.setAttribute("role","combobox"),e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded",!!this.opened),this._applyInputValue(this._selectedDate))}_openedChanged(e){this.inputElement&&this.inputElement.setAttribute("aria-expanded",e)}_selectedDateChanged(e,t){void 0!==e&&void 0!==t&&(this.__keepInputValue||this._applyInputValue(e),this.value=this._formatISO(e),this._ignoreFocusedDateChange=!0,this._focusedDate=e,this._ignoreFocusedDateChange=!1)}_focusedDateChanged(e,t){void 0!==e&&void 0!==t&&(this._ignoreFocusedDateChange||this._noInput||this._applyInputValue(e))}_valueChanged(e,t){const i=Ho(e);!e||i?(e?Po(this._selectedDate,i)||(this._selectedDate=i,void 0!==t&&this.validate()):this._selectedDate=null,this.__keepCommittedValue||(this.__committedValue=this.value,this.__committedUnparsableValue=""),this._toggleHasValue(this._hasValue)):this.value=t}__updateOverlayContent(e,t,i,r,n,o,s,a,l){e&&(e.i18n=t,e.label=i,e.minDate=r,e.maxDate=n,e.focusedDate=o,e.selectedDate=s,e.showWeekNumbers=a,e.isDateDisabled=l)}__updateOverlayContentTheme(e,t){e&&(t?e.setAttribute("theme",t):e.removeAttribute("theme"))}__updateOverlayContentFullScreen(e,t){e&&e.toggleAttribute("fullscreen",t)}_onOverlayEscapePress(){this._focusedDate=this._selectedDate,this._closedByEscape=!0,this._close(),this._closedByEscape=!1}_onOverlayOpened(){const e=this._overlayContent;e.reset();const t=this._getInitialPosition();e.initialPosition=t;const i=e.focusedDate||t;e.scrollToDate(i),this._ignoreFocusedDateChange=!0,e.focusedDate=i,this._ignoreFocusedDateChange=!1,window.addEventListener("scroll",this._boundOnScroll,!0),this._focusOverlayOnOpen?(e.focusDateElement(),this._focusOverlayOnOpen=!1):this._focus();const r=this._nativeInput;this._noInput&&r&&(r.blur(),this._overlayContent.focusDateElement()),this.__showOthers=bo(this._noInput?e:[r,e])}_getInitialPosition(){const e=Ho(this.initialPosition),t=this._selectedDate||this._overlayContent.initialPosition||e||new Date;return e||Fo(t,this._minDate,this._maxDate,this.isDateDisabled)?t:this._minDate||this._maxDate?jo(t,[this._minDate,this._maxDate]):new Date}__commitParsedOrFocusedDate(){if(this._ignoreFocusedDateChange=!0,this.i18n.parseDate){const e=this.__parseDate(this._inputElementValue||"");e?this.__commitDate(e):(this.__keepInputValue=!0,this.__commitDate(null),this.__keepInputValue=!1)}else this._focusedDate&&this.__commitDate(this._focusedDate);this._ignoreFocusedDateChange=!1}_onOverlayClosed(){this.__showOthers&&(this.__showOthers(),this.__showOthers=null),window.removeEventListener("scroll",this._boundOnScroll,!0),this._closedByEscape&&this._applyInputValue(this._selectedDate),this.__commitParsedOrFocusedDate(),this._nativeInput&&this._nativeInput.selectionStart&&(this._nativeInput.selectionStart=this._nativeInput.selectionEnd),this.value||this._keyboardActive||this.validate()}_onScroll(e){e.target!==window&&this._overlayContent.contains(e.target)||this._overlayContent._repositionYearScroller()}_focus(){this._noInput||this.inputElement.focus()}_focusAndSelect(){this._focus(),this._setSelectionRange(0,this._inputElementValue.length)}_applyInputValue(e){this._inputElementValue=e?this.__formatDate(e):""}_setSelectionRange(e,t){this._nativeInput&&this._nativeInput.setSelectionRange&&this._nativeInput.setSelectionRange(e,t)}_onChange(e){e.stopPropagation()}_onClick(e){this._isClearButton(e)||this._onHostClick(e)}_onHostClick(e){this.autoOpenDisabled&&!this._noInput||(e.preventDefault(),this.open())}_onClearButtonClick(e){e.preventDefault(),this.__commitDate(null)}_onKeyDown(e){switch(super._onKeyDown(e),this._noInput&&-1===[9].indexOf(e.keyCode)&&e.preventDefault(),e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),this.opened?this._overlayContent.focusDateElement():(this._focusOverlayOnOpen=!0,this.open());break;case"Tab":this.opened&&(e.preventDefault(),e.stopPropagation(),this._setSelectionRange(0,0),e.shiftKey?this._overlayContent.focusCancel():this._overlayContent.focusDateElement())}}_onEnter(e){this.opened?this.close():this.__commitParsedOrFocusedDate()}_onEscape(e){if(!this.opened)return this.clearButtonVisible&&this.value&&!this.readonly?(e.stopPropagation(),void this._onClearButtonClick(e)):void(""===this.inputElement.value?this.__commitDate(null):this._applyInputValue(this._selectedDate))}_isClearButton(e){return e.composedPath()[0]===this.clearElement}_onInput(){if(this.opened||!this._inputElementValue||this.autoOpenDisabled||this.open(),this._inputElementValue){const e=this.__parseDate(this._inputElementValue);e&&(this._ignoreFocusedDateChange=!0,Po(e,this._focusedDate)||(this._focusedDate=e),this._ignoreFocusedDateChange=!1)}}__computeMinOrMaxDate(e){return Ho(e)}}
3924
3924
  /**
3925
3925
  * @license
3926
3926
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
@@ -3931,7 +3931,7 @@ const ks=new WeakMap,xs=tt((e=>class extends e{get slotStyles(){return{}}connect
3931
3931
  * Copyright (c) 2016 - 2024 Vaadin Ltd.
3932
3932
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
3933
3933
  */
3934
- xe("vaadin-date-picker",[Ts,_`
3934
+ xe("vaadin-date-picker",[Cs,_`
3935
3935
  :host([opened]) {
3936
3936
  pointer-events: auto;
3937
3937
  }
@@ -3944,7 +3944,7 @@ xe("vaadin-date-picker",[Ts,_`
3944
3944
  direction: rtl;
3945
3945
  text-align: left;
3946
3946
  }
3947
- `],{moduleId:"vaadin-date-picker-styles"});class Ns extends(Rs(Is(Ce(_r(Vi))))){static get is(){return"vaadin-date-picker"}static get template(){return qi`
3947
+ `],{moduleId:"vaadin-date-picker-styles"});class Ns extends(Rs(Is(Te(_r(Vi))))){static get is(){return"vaadin-date-picker"}static get template(){return qi`
3948
3948
  <div class="vaadin-date-picker-container">
3949
3949
  <div part="label">
3950
3950
  <slot name="label"></slot>
@@ -3986,7 +3986,7 @@ xe("vaadin-date-picker",[Ts,_`
3986
3986
  ></vaadin-date-picker-overlay>
3987
3987
 
3988
3988
  <slot name="tooltip"></slot>
3989
- `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Mn(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}),{uniqueIdPrefix:"search-input"})),this.addController(new Un(this.inputElement,this._labelController)),this._tooltipController=new kr(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((e=>!e.opened)),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",(e=>e.preventDefault())),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(e){e.detail.sourceEvent&&e.detail.sourceEvent.composedPath().includes(this)&&e.preventDefault()}_toggle(e){e.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(e){super._openedChanged(e),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}function Os(e){return Os="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Os(e)}function zs(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Gs(e){zs(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===Os(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function Ms(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Us(e,t){return zs(2,arguments),function(e,t){zs(2,arguments);var i=Gs(e).getTime(),r=Ms(t);return new Date(i+r)}(e,-Ms(t))}function Bs(e){zs(1,arguments);var t=Gs(e),i=t.getUTCDay(),r=(i<1?7:0)+i-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function Ps(e){zs(1,arguments);var t=Gs(e),i=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(i+1,0,4),r.setUTCHours(0,0,0,0);var n=Bs(r),o=new Date(0);o.setUTCFullYear(i,0,4),o.setUTCHours(0,0,0,0);var s=Bs(o);return t.getTime()>=n.getTime()?i+1:t.getTime()>=s.getTime()?i:i-1}l(Ns);function Ls(e){zs(1,arguments);var t=Gs(e),i=Bs(t).getTime()-function(e){zs(1,arguments);var t=Ps(e),i=new Date(0);return i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0),Bs(i)}(t).getTime();return Math.round(i/6048e5)+1}var Fs={};function js(){return Fs}function qs(e,t){var i,r,n,o,s,a,l,h;zs(1,arguments);var c=js(),u=Ms(null!==(i=null!==(r=null!==(n=null!==(o=null==t?void 0:t.weekStartsOn)&&void 0!==o?o:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==n?n:c.weekStartsOn)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=Gs(e),m=d.getUTCDay(),p=(m<u?7:0)+m-u;return d.setUTCDate(d.getUTCDate()-p),d.setUTCHours(0,0,0,0),d}function Hs(e,t){var i,r,n,o,s,a,l,h;zs(1,arguments);var c=Gs(e),u=c.getUTCFullYear(),d=js(),m=Ms(null!==(i=null!==(r=null!==(n=null!==(o=null==t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==n?n:d.firstWeekContainsDate)&&void 0!==r?r:null===(l=d.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(u+1,0,m),p.setUTCHours(0,0,0,0);var _=qs(p,t),f=new Date(0);f.setUTCFullYear(u,0,m),f.setUTCHours(0,0,0,0);var v=qs(f,t);return c.getTime()>=_.getTime()?u+1:c.getTime()>=v.getTime()?u:u-1}function Vs(e,t){zs(1,arguments);var i=Gs(e),r=qs(i,t).getTime()-function(e,t){var i,r,n,o,s,a,l,h;zs(1,arguments);var c=js(),u=Ms(null!==(i=null!==(r=null!==(n=null!==(o=null==t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==n?n:c.firstWeekContainsDate)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1),d=Hs(e,t),m=new Date(0);return m.setUTCFullYear(d,0,u),m.setUTCHours(0,0,0,0),qs(m,t)}(i,t).getTime();return Math.round(r/6048e5)+1}function $s(e,t){for(var i=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return i+r}const Xs=function(e,t){var i=e.getUTCFullYear(),r=i>0?i:1-i;return $s("yy"===t?r%100:r,t.length)},Ks=function(e,t){var i=e.getUTCMonth();return"M"===t?String(i+1):$s(i+1,2)},Ys=function(e,t){return $s(e.getUTCDate(),t.length)},Ws=function(e,t){return $s(e.getUTCHours()%12||12,t.length)},Zs=function(e,t){return $s(e.getUTCHours(),t.length)},Qs=function(e,t){return $s(e.getUTCMinutes(),t.length)},Js=function(e,t){return $s(e.getUTCSeconds(),t.length)},ea=function(e,t){var i=t.length,r=e.getUTCMilliseconds();return $s(Math.floor(r*Math.pow(10,i-3)),t.length)};function ta(e,t){var i=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),o=r%60;if(0===o)return i+String(n);var s=t||"";return i+String(n)+s+$s(o,2)}function ia(e,t){return e%60==0?(e>0?"-":"+")+$s(Math.abs(e)/60,2):ra(e,t)}function ra(e,t){var i=t||"",r=e>0?"-":"+",n=Math.abs(e);return r+$s(Math.floor(n/60),2)+i+$s(n%60,2)}const na={G:function(e,t,i){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})}},y:function(e,t,i){if("yo"===t){var r=e.getUTCFullYear();return i.ordinalNumber(r>0?r:1-r,{unit:"year"})}return Xs(e,t)},Y:function(e,t,i,r){var n=Hs(e,r),o=n>0?n:1-n;return"YY"===t?$s(o%100,2):"Yo"===t?i.ordinalNumber(o,{unit:"year"}):$s(o,t.length)},R:function(e,t){return $s(Ps(e),t.length)},u:function(e,t){return $s(e.getUTCFullYear(),t.length)},Q:function(e,t,i){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return $s(r,2);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,i){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return $s(r,2);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,i){var r=e.getUTCMonth();switch(t){case"M":case"MM":return Ks(e,t);case"Mo":return i.ordinalNumber(r+1,{unit:"month"});case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,i){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return $s(r+1,2);case"Lo":return i.ordinalNumber(r+1,{unit:"month"});case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,i,r){var n=Vs(e,r);return"wo"===t?i.ordinalNumber(n,{unit:"week"}):$s(n,t.length)},I:function(e,t,i){var r=Ls(e);return"Io"===t?i.ordinalNumber(r,{unit:"week"}):$s(r,t.length)},d:function(e,t,i){return"do"===t?i.ordinalNumber(e.getUTCDate(),{unit:"date"}):Ys(e,t)},D:function(e,t,i){var r=function(e){zs(1,arguments);var t=Gs(e),i=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime();return Math.floor((i-r)/864e5)+1}(e);return"Do"===t?i.ordinalNumber(r,{unit:"dayOfYear"}):$s(r,t.length)},E:function(e,t,i){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,i,r){var n=e.getUTCDay(),o=(n-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return $s(o,2);case"eo":return i.ordinalNumber(o,{unit:"day"});case"eee":return i.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,i,r){var n=e.getUTCDay(),o=(n-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return $s(o,t.length);case"co":return i.ordinalNumber(o,{unit:"day"});case"ccc":return i.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(n,{width:"narrow",context:"standalone"});case"cccccc":return i.day(n,{width:"short",context:"standalone"});default:return i.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,i){var r=e.getUTCDay(),n=0===r?7:r;switch(t){case"i":return String(n);case"ii":return $s(n,t.length);case"io":return i.ordinalNumber(n,{unit:"day"});case"iii":return i.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,i){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,i){var r,n=e.getUTCHours();switch(r=12===n?"noon":0===n?"midnight":n/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,i){var r,n=e.getUTCHours();switch(r=n>=17?"evening":n>=12?"afternoon":n>=4?"morning":"night",t){case"B":case"BB":case"BBB":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,i){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),i.ordinalNumber(r,{unit:"hour"})}return Ws(e,t)},H:function(e,t,i){return"Ho"===t?i.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Zs(e,t)},K:function(e,t,i){var r=e.getUTCHours()%12;return"Ko"===t?i.ordinalNumber(r,{unit:"hour"}):$s(r,t.length)},k:function(e,t,i){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?i.ordinalNumber(r,{unit:"hour"}):$s(r,t.length)},m:function(e,t,i){return"mo"===t?i.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Qs(e,t)},s:function(e,t,i){return"so"===t?i.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Js(e,t)},S:function(e,t){return ea(e,t)},X:function(e,t,i,r){var n=(r._originalDate||e).getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return ia(n);case"XXXX":case"XX":return ra(n);default:return ra(n,":")}},x:function(e,t,i,r){var n=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return ia(n);case"xxxx":case"xx":return ra(n);default:return ra(n,":")}},O:function(e,t,i,r){var n=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ta(n,":");default:return"GMT"+ra(n,":")}},z:function(e,t,i,r){var n=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ta(n,":");default:return"GMT"+ra(n,":")}},t:function(e,t,i,r){return $s(Math.floor((r._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,i,r){return $s((r._originalDate||e).getTime(),t.length)}};var oa=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},sa=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},aa={p:sa,P:function(e,t){var i,r=e.match(/(P+)(p+)?/)||[],n=r[1],o=r[2];if(!o)return oa(e,t);switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",oa(n,t)).replace("{{time}}",sa(o,t))}};const la=aa;function ha(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var ca=["D","DD"],ua=["YY","YYYY"];function da(e){return-1!==ca.indexOf(e)}function ma(e){return-1!==ua.indexOf(e)}function pa(e,t,i){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var _a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function fa(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var va,ga={date:fa({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:fa({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:fa({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ba={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Ea(e){return function(t,i){var r;if("formatting"===(null!=i&&i.context?String(i.context):"standalone")&&e.formattingValues){var n=e.defaultFormattingWidth||e.defaultWidth,o=null!=i&&i.width?String(i.width):n;r=e.formattingValues[o]||e.formattingValues[n]}else{var s=e.defaultWidth,a=null!=i&&i.width?String(i.width):e.defaultWidth;r=e.values[a]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function ya(e){return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.width,n=t.match(r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth]);if(!n)return null;var o,s=n[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?function(e){for(var t=0;t<e.length;t++)if(e[t].test(s))return t}(a):function(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t].test(s))return t}(a);return o=e.valueCallback?e.valueCallback(l):l,{value:o=i.valueCallback?i.valueCallback(o):o,rest:t.slice(s.length)}}}const wa={code:"en-US",formatDistance:function(e,t,i){var r,n=_a[e];return r="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",t.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+r:r+" ago":r},formatLong:ga,formatRelative:function(e){return ba[e]},localize:{ordinalNumber:function(e){var t=Number(e),i=t%100;if(i>20||i<10)switch(i%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:Ea({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Ea({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Ea({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Ea({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Ea({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(va={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.match(va.matchPattern);if(!i)return null;var r=i[0],n=e.match(va.parsePattern);if(!n)return null;var o=va.valueCallback?va.valueCallback(n[0]):n[0];return{value:o=t.valueCallback?t.valueCallback(o):o,rest:e.slice(r.length)}}),era:ya({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ya({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ya({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ya({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ya({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var ka=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xa=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Sa=/^'([^]*?)'?$/,Aa=/''/g,Ia=/[a-zA-Z]/;function Ta(e,t,i){var r,n,o,s,a,l,h,c,u,d,m,p,_,f,v,g,b,E;zs(2,arguments);var y=String(t),w=js(),k=null!==(r=null!==(n=null==i?void 0:i.locale)&&void 0!==n?n:w.locale)&&void 0!==r?r:wa,x=Ms(null!==(o=null!==(s=null!==(a=null!==(l=null==i?void 0:i.firstWeekContainsDate)&&void 0!==l?l:null==i||null===(h=i.locale)||void 0===h||null===(c=h.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==a?a:w.firstWeekContainsDate)&&void 0!==s?s:null===(u=w.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==o?o:1);if(!(x>=1&&x<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=Ms(null!==(m=null!==(p=null!==(_=null!==(f=null==i?void 0:i.weekStartsOn)&&void 0!==f?f:null==i||null===(v=i.locale)||void 0===v||null===(g=v.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==_?_:w.weekStartsOn)&&void 0!==p?p:null===(b=w.locale)||void 0===b||null===(E=b.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==m?m:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var A=Gs(e);if(!function(e){if(zs(1,arguments),!function(e){return zs(1,arguments),e instanceof Date||"object"===Os(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=Gs(e);return!isNaN(Number(t))}(A))throw new RangeError("Invalid time value");var I=Us(A,ha(A)),T={firstWeekContainsDate:x,weekStartsOn:S,locale:k,_originalDate:A};return y.match(xa).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,la[t])(e,k.formatLong):e})).join("").match(ka).map((function(r){if("''"===r)return"'";var n,o,s=r[0];if("'"===s)return(o=(n=r).match(Sa))?o[1].replace(Aa,"'"):n;var a=na[s];if(a)return null!=i&&i.useAdditionalWeekYearTokens||!ma(r)||pa(r,t,String(e)),null!=i&&i.useAdditionalDayOfYearTokens||!da(r)||pa(r,t,String(e)),a(I,r,k.localize,T);if(s.match(Ia))throw new RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");return r})).join("")}function Ca(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=Array(t);i<t;i++)r[i]=e[i];return r}function Da(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return Ca(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ca(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==i.return||i.return()}finally{if(a)throw o}}}}function Ra(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}function Na(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oa(e,t){return Oa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oa(e,t)}function za(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oa(e,t)}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ga(e)}function Ma(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ma=function(){return!!e})()}function Ua(e){var t=Ma();return function(){var i,r=Ga(e);if(t){var n=Ga(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return function(e,t){if(t&&("object"==Os(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Na(e)}(this,i)}}function Ba(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(e){var t=function(e){if("object"!=Os(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=Os(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Os(t)?t:t+""}function La(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Pa(r.key),r)}}function Fa(e,t,i){return t&&La(e.prototype,t),i&&La(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function ja(e,t,i){return(t=Pa(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var qa=function(){function e(){Ba(this,e),ja(this,"priority",void 0),ja(this,"subPriority",0)}return Fa(e,[{key:"validate",value:function(){return!0}}]),e}(),Ha=function(){za(t,qa);var e=Ua(t);function t(i,r,n,o,s){var a;return Ba(this,t),(a=e.call(this)).value=i,a.validateValue=r,a.setValue=n,a.priority=o,s&&(a.subPriority=s),a}return Fa(t,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,i){return this.setValue(e,t,this.value,i)}}]),t}(),Va=function(){za(t,qa);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",10),ja(Na(i),"subPriority",-1),i}return Fa(t,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var i=new Date(0);return i.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),i.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),i}}]),t}(),$a=function(){function e(){Ba(this,e),ja(this,"incompatibleTokens",void 0),ja(this,"priority",void 0),ja(this,"subPriority",void 0)}return Fa(e,[{key:"run",value:function(e,t,i,r){var n=this.parse(e,t,i,r);return n?{setter:new Ha(n.value,this.validate,this.set,this.priority,this.subPriority),rest:n.rest}:null}},{key:"validate",value:function(){return!0}}]),e}(),Xa=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",140),ja(Na(i),"incompatibleTokens",["R","u","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"G":case"GG":case"GGG":return i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"});case"GGGGG":return i.era(e,{width:"narrow"});default:return i.era(e,{width:"wide"})||i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,i){return t.era=i,e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Ka=/^(1[0-2]|0?\d)/,Ya=/^(3[0-1]|[0-2]?\d)/,Wa=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Za=/^(5[0-3]|[0-4]?\d)/,Qa=/^(2[0-3]|[0-1]?\d)/,Ja=/^(2[0-4]|[0-1]?\d)/,el=/^(1[0-1]|0?\d)/,tl=/^(1[0-2]|0?\d)/,il=/^[0-5]?\d/,rl=/^[0-5]?\d/,nl=/^\d/,ol=/^\d{1,2}/,sl=/^\d{1,3}/,al=/^\d{1,4}/,ll=/^-?\d+/,hl=/^-?\d/,cl=/^-?\d{1,2}/,ul=/^-?\d{1,3}/,dl=/^-?\d{1,4}/,ml=/^([+-])(\d{2})(\d{2})?|Z/,pl=/^([+-])(\d{2})(\d{2})|Z/,_l=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,fl=/^([+-])(\d{2}):(\d{2})|Z/,vl=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function gl(e,t){return e?{value:t(e.value),rest:e.rest}:e}function bl(e,t){var i=t.match(e);return i?{value:parseInt(i[0],10),rest:t.slice(i[0].length)}:null}function El(e,t){var i=t.match(e);return i?"Z"===i[0]?{value:0,rest:t.slice(1)}:{value:("+"===i[1]?1:-1)*(36e5*(i[2]?parseInt(i[2],10):0)+6e4*(i[3]?parseInt(i[3],10):0)+1e3*(i[5]?parseInt(i[5],10):0)),rest:t.slice(i[0].length)}:null}function yl(e){return bl(ll,e)}function wl(e,t){switch(e){case 1:return bl(nl,t);case 2:return bl(ol,t);case 3:return bl(sl,t);case 4:return bl(al,t);default:return bl(new RegExp("^\\d{1,"+e+"}"),t)}}function kl(e,t){switch(e){case 1:return bl(hl,t);case 2:return bl(cl,t);case 3:return bl(ul,t);case 4:return bl(dl,t);default:return bl(new RegExp("^-?\\d{1,"+e+"}"),t)}}function xl(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Sl(e,t){var i,r=t>0,n=r?t:1-t;if(n<=50)i=e||100;else{var o=n+50;i=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return r?i:1-i}function Al(e){return e%400==0||e%4==0&&e%100!=0}var Il=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",130),ja(Na(i),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return gl(wl(4,e),r);case"yo":return gl(i.ordinalNumber(e,{unit:"year"}),r);default:return gl(wl(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,i){var r=e.getUTCFullYear();if(i.isTwoDigitYear){var n=Sl(i.year,r);return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}return e.setUTCFullYear("era"in t&&1!==t.era?1-i.year:i.year,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Tl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",130),ja(Na(i),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return gl(wl(4,e),r);case"Yo":return gl(i.ordinalNumber(e,{unit:"year"}),r);default:return gl(wl(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,i,r){var n=Hs(e,r);if(i.isTwoDigitYear){var o=Sl(i.year,n);return e.setUTCFullYear(o,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),qs(e,r)}return e.setUTCFullYear("era"in t&&1!==t.era?1-i.year:i.year,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),qs(e,r)}}]),t}(),Cl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",130),ja(Na(i),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return kl("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,i){var r=new Date(0);return r.setUTCFullYear(i,0,4),r.setUTCHours(0,0,0,0),Bs(r)}}]),t}(),Dl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",130),ja(Na(i),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return kl("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,i){return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Rl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",120),ja(Na(i),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"Q":case"QQ":return wl(t.length,e);case"Qo":return i.ordinalNumber(e,{unit:"quarter"});case"QQQ":return i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(e,{width:"narrow",context:"formatting"});default:return i.quarter(e,{width:"wide",context:"formatting"})||i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth(3*(i-1),1),e.setUTCHours(0,0,0,0),e}}]),t}(),Nl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",120),ja(Na(i),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"q":case"qq":return wl(t.length,e);case"qo":return i.ordinalNumber(e,{unit:"quarter"});case"qqq":return i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(e,{width:"narrow",context:"standalone"});default:return i.quarter(e,{width:"wide",context:"standalone"})||i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth(3*(i-1),1),e.setUTCHours(0,0,0,0),e}}]),t}(),Ol=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),ja(Na(i),"priority",110),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return e-1};switch(t){case"M":return gl(bl(Ka,e),r);case"MM":return gl(wl(2,e),r);case"Mo":return gl(i.ordinalNumber(e,{unit:"month"}),r);case"MMM":return i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(e,{width:"narrow",context:"formatting"});default:return i.month(e,{width:"wide",context:"formatting"})||i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),t}(),zl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",110),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return e-1};switch(t){case"L":return gl(bl(Ka,e),r);case"LL":return gl(wl(2,e),r);case"Lo":return gl(i.ordinalNumber(e,{unit:"month"}),r);case"LLL":return i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(e,{width:"narrow",context:"standalone"});default:return i.month(e,{width:"wide",context:"standalone"})||i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Gl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",100),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"w":return bl(Za,e);case"wo":return i.ordinalNumber(e,{unit:"week"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,i,r){return qs(function(e,t,i){zs(2,arguments);var r=Gs(e),n=Ms(t),o=Vs(r,i)-n;return r.setUTCDate(r.getUTCDate()-7*o),r}(e,i,r),r)}}]),t}(),Ml=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",100),ja(Na(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"I":return bl(Za,e);case"Io":return i.ordinalNumber(e,{unit:"week"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,i){return Bs(function(e,t){zs(2,arguments);var i=Gs(e),r=Ms(t),n=Ls(i)-r;return i.setUTCDate(i.getUTCDate()-7*n),i}(e,i))}}]),t}(),Ul=[31,28,31,30,31,30,31,31,30,31,30,31],Bl=[31,29,31,30,31,30,31,31,30,31,30,31],Pl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"subPriority",1),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"d":return bl(Ya,e);case"do":return i.ordinalNumber(e,{unit:"date"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){var i=Al(e.getUTCFullYear()),r=e.getUTCMonth();return i?t>=1&&t<=Bl[r]:t>=1&&t<=Ul[r]}},{key:"set",value:function(e,t,i){return e.setUTCDate(i),e.setUTCHours(0,0,0,0),e}}]),t}(),Ll=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"subpriority",1),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"D":case"DD":return bl(Wa,e);case"Do":return i.ordinalNumber(e,{unit:"date"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return Al(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,i){return e.setUTCMonth(0,i),e.setUTCHours(0,0,0,0),e}}]),t}();function Fl(e,t,i){var r,n,o,s,a,l,h,c;zs(2,arguments);var u=js(),d=Ms(null!==(r=null!==(n=null!==(o=null!==(s=null==i?void 0:i.weekStartsOn)&&void 0!==s?s:null==i||null===(a=i.locale)||void 0===a||null===(l=a.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:u.weekStartsOn)&&void 0!==n?n:null===(h=u.locale)||void 0===h||null===(c=h.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==r?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=Gs(e),p=Ms(t),_=((p%7+7)%7<d?7:0)+p-m.getUTCDay();return m.setUTCDate(m.getUTCDate()+_),m}var jl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"incompatibleTokens",["D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"E":case"EE":case"EEE":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),ql=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i,r){var n=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return gl(wl(t.length,e),n);case"eo":return gl(i.ordinalNumber(e,{unit:"day"}),n);case"eee":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"eeeee":return i.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),Hl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i,r){var n=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return gl(wl(t.length,e),n);case"co":return gl(i.ordinalNumber(e,{unit:"day"}),n);case"ccc":return i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});case"ccccc":return i.day(e,{width:"narrow",context:"standalone"});case"cccccc":return i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});default:return i.day(e,{width:"wide",context:"standalone"})||i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),Vl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return wl(t.length,e);case"io":return i.ordinalNumber(e,{unit:"day"});case"iii":return gl(i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return gl(i.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return gl(i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r);default:return gl(i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,i){return e=function(e,t){zs(2,arguments);var i=Ms(t);i%7==0&&(i-=7);var r=Gs(e),n=((i%7+7)%7<1?7:0)+i-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+n),r}(e,i),e.setUTCHours(0,0,0,0),e}}]),t}(),$l=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",80),ja(Na(i),"incompatibleTokens",["b","B","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"a":case"aa":case"aaa":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Xl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",80),ja(Na(i),"incompatibleTokens",["a","B","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"b":case"bb":case"bbb":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Kl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",80),ja(Na(i),"incompatibleTokens",["a","b","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"B":case"BB":case"BBB":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Yl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",70),ja(Na(i),"incompatibleTokens",["H","K","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"h":return bl(tl,e);case"ho":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,i){var r=e.getUTCHours()>=12;return e.setUTCHours(r&&i<12?i+12:r||12!==i?i:0,0,0,0),e}}]),t}(),Wl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",70),ja(Na(i),"incompatibleTokens",["a","b","h","K","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"H":return bl(Qa,e);case"Ho":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,i){return e.setUTCHours(i,0,0,0),e}}]),t}(),Zl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",70),ja(Na(i),"incompatibleTokens",["h","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"K":return bl(el,e);case"Ko":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){var r=e.getUTCHours()>=12;return e.setUTCHours(r&&i<12?i+12:i,0,0,0),e}}]),t}(),Ql=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",70),ja(Na(i),"incompatibleTokens",["a","b","h","H","K","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"k":return bl(Ja,e);case"ko":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,i){return e.setUTCHours(i<=24?i%24:i,0,0,0),e}}]),t}(),Jl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",60),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"m":return bl(il,e);case"mo":return i.ordinalNumber(e,{unit:"minute"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCMinutes(i,0,0),e}}]),t}(),eh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",50),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"s":return bl(rl,e);case"so":return i.ordinalNumber(e,{unit:"second"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCSeconds(i,0),e}}]),t}(),th=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",30),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return gl(wl(t.length,e),(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))}},{key:"set",value:function(e,t,i){return e.setUTCMilliseconds(i),e}}]),t}(),ih=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",10),ja(Na(i),"incompatibleTokens",["t","T","x"]),i}return Fa(t,[{key:"parse",value:function(e,t){switch(t){case"X":return El(ml,e);case"XX":return El(pl,e);case"XXXX":return El(_l,e);case"XXXXX":return El(vl,e);default:return El(fl,e)}}},{key:"set",value:function(e,t,i){return t.timestampIsSet?e:new Date(e.getTime()-i)}}]),t}(),rh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",10),ja(Na(i),"incompatibleTokens",["t","T","X"]),i}return Fa(t,[{key:"parse",value:function(e,t){switch(t){case"x":return El(ml,e);case"xx":return El(pl,e);case"xxxx":return El(_l,e);case"xxxxx":return El(vl,e);default:return El(fl,e)}}},{key:"set",value:function(e,t,i){return t.timestampIsSet?e:new Date(e.getTime()-i)}}]),t}(),nh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",40),ja(Na(i),"incompatibleTokens","*"),i}return Fa(t,[{key:"parse",value:function(e){return yl(e)}},{key:"set",value:function(e,t,i){return[new Date(1e3*i),{timestampIsSet:!0}]}}]),t}(),oh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",20),ja(Na(i),"incompatibleTokens","*"),i}return Fa(t,[{key:"parse",value:function(e){return yl(e)}},{key:"set",value:function(e,t,i){return[new Date(i),{timestampIsSet:!0}]}}]),t}(),sh={G:new Xa,y:new Il,Y:new Tl,R:new Cl,u:new Dl,Q:new Rl,q:new Nl,M:new Ol,L:new zl,w:new Gl,I:new Ml,d:new Pl,D:new Ll,E:new jl,e:new ql,c:new Hl,i:new Vl,a:new $l,b:new Xl,B:new Kl,h:new Yl,H:new Wl,K:new Zl,k:new Ql,m:new Jl,s:new eh,S:new th,X:new ih,x:new rh,t:new nh,T:new oh},ah=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,lh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,hh=/^'([^]*?)'?$/,ch=/''/g,uh=/\S/,dh=/[a-zA-Z]/;function mh(e,t,i,r){var n,o,s,a,l,h,c,u,d,m,p,_,f,v,g,b,E,y;zs(3,arguments);var w=String(e),k=String(t),x=js(),S=null!==(n=null!==(o=null==r?void 0:r.locale)&&void 0!==o?o:x.locale)&&void 0!==n?n:wa;if(!S.match)throw new RangeError("locale must contain match property");var A=Ms(null!==(s=null!==(a=null!==(l=null!==(h=null==r?void 0:r.firstWeekContainsDate)&&void 0!==h?h:null==r||null===(c=r.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==l?l:x.firstWeekContainsDate)&&void 0!==a?a:null===(d=x.locale)||void 0===d||null===(m=d.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==s?s:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=Ms(null!==(p=null!==(_=null!==(f=null!==(v=null==r?void 0:r.weekStartsOn)&&void 0!==v?v:null==r||null===(g=r.locale)||void 0===g||null===(b=g.options)||void 0===b?void 0:b.weekStartsOn)&&void 0!==f?f:x.weekStartsOn)&&void 0!==_?_:null===(E=x.locale)||void 0===E||null===(y=E.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==p?p:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===k)return""===w?Gs(i):new Date(NaN);var T,C={firstWeekContainsDate:A,weekStartsOn:I,locale:S},D=[new Va],R=k.match(lh).map((function(e){var t=e[0];return t in la?(0,la[t])(e,S.formatLong):e})).join("").match(ah),N=[],O=Da(R);try{var z=function(){var t=T.value;null!=r&&r.useAdditionalWeekYearTokens||!ma(t)||pa(t,k,e),null!=r&&r.useAdditionalDayOfYearTokens||!da(t)||pa(t,k,e);var i=t[0],n=sh[i];if(n){var o=n.incompatibleTokens;if(Array.isArray(o)){var s=N.find((function(e){return o.includes(e.token)||e.token===i}));if(s)throw new RangeError("The format string mustn't contain `".concat(s.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===n.incompatibleTokens&&N.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));N.push({token:i,fullToken:t});var a=n.run(w,t,S.match,C);if(!a)return{v:new Date(NaN)};D.push(a.setter),w=a.rest}else{if(i.match(dh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===t?t="'":"'"===i&&(t=t.match(hh)[1].replace(ch,"'")),0!==w.indexOf(t))return{v:new Date(NaN)};w=w.slice(t.length)}};for(O.s();!(T=O.n()).done;){var G=z();if("object"===Os(G))return G.v}}catch(e){O.e(e)}finally{O.f()}if(w.length>0&&uh.test(w))return new Date(NaN);var M=D.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,i){return i.indexOf(e)===t})).map((function(e){return D.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),U=Gs(i);if(isNaN(U.getTime()))return new Date(NaN);var B,P=Us(U,ha(U)),L={},F=Da(M);try{for(F.s();!(B=F.n()).done;){var j=B.value;if(!j.validate(P,C))return new Date(NaN);var q=j.set(P,L,C);Array.isArray(q)?(P=q[0],Ra(L,q[1])):P=q}}catch(e){F.e(e)}finally{F.f()}return P}function ph(e,t){zs(2,arguments);var i=Gs(e),r=Gs(t);return i.getTime()>r.getTime()}function _h(e,t){zs(2,arguments);var i=Gs(e),r=Gs(t);return i.getTime()<r.getTime()}const fh=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.clientStyling="",this.emitOnClick=!1,this.limitStylingAppends=!1,this.showTooltip=!1,this.touched=!1,this.formatDate=e=>{const{year:t,month:i,day:r}=e;return Ta(new Date(t,i,r),this.dateFormat||"yyyy-MM-dd")},this.parseDate=e=>{const t=mh(e,this.dateFormat||"yyyy-MM-dd",new Date);return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){var e,t;this.minDate=mh((null===(e=this.validation.min)||void 0===e?void 0:e.toString())||"","yyyy-MM-dd",new Date),this.maxDate=mh((null===(t=this.validation.max)||void 0===t?void 0:t.toString())||"","yyyy-MM-dd",new Date)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){if(this.datePicker=this.element.shadowRoot.querySelector("vaadin-date-picker"),this.inputReference=this.element.shadowRoot.querySelector("input"),this.datePicker){const e=this.datePicker.shadowRoot.querySelector('[part="toggle-button"]');e&&e.addEventListener("click",(()=>this.handleCalendarIconClick()))}this.datePicker.i18n=Object.assign(Object.assign({},this.datePicker.i18n),{formatDate:this.formatDate,parseDate:this.parseDate}),this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}handleCalendarIconClick(){this.datePicker.opened&&this.emitOnClick&&window.postMessage({type:`registration${this.name}Clicked`},window.location.href)}handleInput(e){this.value=e.target.value,this.touched=!0,this.valueAsDate=mh(this.value||"","yyyy-MM-dd",new Date),this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}setValidity(){return!_h(this.valueAsDate,this.minDate)&&!ph(this.valueAsDate,this.maxDate)&&this.inputReference.validity.valid}setErrorMessage(){return _h(this.valueAsDate,this.minDate)||ph(this.valueAsDate,this.maxDate)?s("dateError2",this.language):this.inputReference.validity.rangeUnderflow||this.inputReference.validity.rangeOverflow?s("dateError",this.language,{values:{min:this.validation.min,max:this.validation.max}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"date__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"fc9cd0a618c7b6e62962c0800399a470fffa1fc4",class:`date__wrapper ${this.autofilled?"date__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("label",{key:"abc7c1715dd2d0c60dd2ac6d028355de910be501",class:`date__label ${this.validation.mandatory?"date__label--required":""}}`,htmlFor:`${this.name}__input`},this.displayName," ",this.validation.mandatory?"*":""),i("vaadin-date-picker",{key:"a6b40a978b573d41490457d708f9a7ac78622a6f",id:`${this.name}__input`,type:"date",class:`date__input ${e}`,value:this.defaultValue,readOnly:this.autofilled,placeholder:`${this.placeholder}`,required:this.validation.mandatory,max:this.validation.max,min:this.validation.min,onChange:e=>this.handleInput(e),onBlur:this.handleBlur}),i("small",{key:"d802ea7b25a64802aca3a7491107fcee7af2a23c",class:"date__error-message"},this.errorMessage),this.tooltip&&i("img",{key:"46edd200a9ce9eba27414a6434c6b3d5e9dc9964",class:"date__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())}get element(){return r(this)}static get watchers(){return{isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};fh.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:"Roboto";font-style:normal}.date__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.date__wrapper--autofilled{pointer-events:none}.date__wrapper--autofilled .date__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__wrapper--autofilled .date__input::part(input-field){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.date__input{border:none;width:inherit;position:relative}.date__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.date__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.date__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.date__input>input{padding:5px 15px}.date__input::part(toggle-button){position:relative;right:10px}.date__error-message{position:absolute;top:calc(100% + 5px);left:0;color:rgba(204, 0, 0, 0.7019607843)}.date__tooltip-icon{position:absolute;right:0;bottom:10px}.date__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.date__tooltip.visible{opacity:1}';const vh=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value)}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"email__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"23ac67984ab7a0f4db01e5fe01f4f326b4c6a912",class:`email__wrapper ${this.autofilled?"number__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"aa2405e435aea20f1678dd74776a8ce4094bc95b",class:"email__wrapper--flex"},i("label",{key:"970b83bbcf082d1721c1647993fecd076939b65d",class:"email__label "+(this.validation.mandatory?"email__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"2f03eaf161aab9b45282c1bc0de15bea8455427c",class:"email__wrapper--relative"},this.tooltip&&i("img",{key:"3c34b91f0b478cf04f5aabc5fdd33a8ed73d091b",class:"email__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"491f83c0f562893c02e3425b4d54eecc214e3c95",id:`${this.name}__input`,type:"email",class:`email__input ${e}`,value:this.defaultValue,readOnly:this.autofilled,placeholder:`${this.placeholder}`,ref:e=>this.inputReference=e,pattern:this.validationPattern,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"edb6660d958cc5d0cb41b0db195bd7e847ecbefe",class:"email__error-message"},this.errorMessage))}static get watchers(){return{isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};vh.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:"Roboto";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__wrapper--autofilled .email__input{color:var(--emw--color-black, #000000)}.email__wrapper--flex{display:flex;gap:5px}.email__wrapper--relative{position:relative}.email__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.email__input{font-family:inherit;border-radius:4px;width:100%;height:40px;border:2px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;font-size:16px;font-weight:300;line-height:1.5;padding:10px}.email__input:focus{outline-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.email__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__input::placeholder{color:var(--emw--color-gray-150, #828282)}.email__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__tooltip-icon{width:16px;height:auto}.email__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.email__tooltip.visible{opacity:1}';const gh=class{constructor(t){e(this,t),this.type="text",this.clientStyling="",this.translationUrl="",this.emitOnClick=!1,this.handleClick=e=>{this.emitOnClick&&(e.stopPropagation(),window.postMessage({type:`registration${this.name}Clicked`},window.location.href))}}connectedCallback(){var e;this.translationUrl&&(e=this.translationUrl,new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{for(let i in e[t])o[t][i]=e[t][i]})),t(!0)}))})))}renderInput(){var e;switch(null===(e=this.type)||void 0===e?void 0:e.toLowerCase()){case"text":return i("text-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"email":return i("email-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"number":return i("number-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"checkbox":return i("checkbox-input",{name:this.name,displayName:this.displayName,validation:this.validation,emitValue:this.emitValue,defaultValue:this.defaultValue,autofilled:this.autofilled,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip});case"checkboxgroup":return i("checkbox-group-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,options:this.options});case"togglecheckbox":return i("toggle-checkbox-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,options:this.options,"emit-on-click":this.emitOnClick});case"datetime":return i("date-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder,dateFormat:this.dateFormat,"emit-on-click":this.emitOnClick});case"password":return i("password-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"radio":return i("radio-input",{name:this.name,displayName:this.displayName,optionsGroup:this.options,validation:this.validation,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling});case"tel":return i("tel-input",{name:this.name,action:this.action,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,emitValue:this.emitValue,language:this.language,autofilled:this.autofilled,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"dropdown":return i("select-input",{name:this.name,action:this.action,defaultValue:this.defaultValue,displayName:this.displayName,options:this.options,validation:this.validation,emitValue:this.emitValue,autofilled:this.autofilled,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});default:return i("p",null,"The ",this.type," input type is not valid")}}render(){return i(n,{key:"e1c49fc91ead165c05b30c21ac568486e55c8096",class:`general-input--${this.name}`,onClick:this.handleClick},this.renderInput())}};gh.style=":host{display:block;height:100%}";const bh={en:{GmErr_AMOUNT_INVALID:"The specified amount is invalid.",GmErr_REGISTER_OVERAGE:"The registration has exceeded the allowable limit.",GmErr_REGISTER_UNDERAGE:"The registration is under the allowable limit.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"User authentication failed due to too many unsuccessful attempts.",GmErr_USER_ACCOUNT_BLOCKED:"The user account is blocked.",GmErr_USER_NOT_VERIFIED:"The user has not been verified.",GmErr_USER_NOT_FOUND:"No user found with the provided information.",GmErr_USER_ID_INVALID:"The user ID provided is invalid.",GmErr_USER_AUTH_FAILED:"User authentication failed.",GmErr_USER_DUPLICATED:"The user already exists in the system.",GmErr_USER_NOT_ACTIVATED:"The user account has not been activated.",GmErr_PASSWORD_CONTAINS_EMAIL:"The password cannot contain the email address.",GmErr_PASSWORD_CONTAINS_USERNAME:"The password cannot contain the username.",GmErr_PASSWORD_CONTAINS_SPACES:"The password cannot contain spaces.",GmErr_USER_4TS_CHECK_EXISTS:"The user 4TS check already exists.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"The user is excluded from registration.",GmErr_USER_NAV_EXCLUDED_LOGIN:"The user is excluded from login.",GmErr_USERNAME_REQUIRED:"A username is required.",GmErr_USER_EMAIL_NOT_VERIFIED:"The user's email address has not been verified.",GmErr_EMAIL_ALREADY_EXISTS:"User with same email already exists",GmErr_EMAIL_REQUIRED:"An email address is required.",GmErr_USERNAME_ALREADY_EXISTS:"The username is already taken.",GmErr_DUPLICATE_PERSONAL_ID:"Duplicate personal ID found.",GmErr_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_INVALID_CODE:"The code provided is invalid.",GmErr_EXPIRED_TOKEN:"The token has expired.",GmErr_ATTEMPTS_EXCEEDED:"The maximum number of attempts has been exceeded.",GmErr_BLOCK_USER_INCORRECT_CODE:"The user has been blocked due to an incorrect code.",GmErr_TOKEN_NOT_FOUND:"The token was not found.",GmErr_INVALID_PHONE_NUMBER:"The phone number provided is invalid.",GmErr_CODE_MISSING:"The code is missing.",GmErr_UNREGISTERED_USER:"The user is not registered.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Maximum attempts to generate a code have been exceeded.",GmErr_UNEXPECTED_EXCEPTION:"An unexpected exception occurred.",GmErr_INVALID_USER_ID:"The user ID provided is invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"This action is not allowed.",GmErr_CAN_NOT_FIND_ROLE:"Unable to find the specified role.",GmErr_NO_SESSION_PROVIDED:"No session was provided.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No active session found for this user.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"The user has already been anonymized.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No role has been set up to be assigned.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"The provided session does not belong to the user.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"The provided session does not exist.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"The role has already been assigned to the user.",GmErr_ASSIGN_USER_ROLE_FAILED:"Failed to assign a role to the user.",GmErr_BadRequest_1000:"There was a problem with the personal identification number",CountryRestricted:"Unfortunately, you are attempting to register from a country where we cannot accept gameplay. We are unable to process your registration for this reason.",nextButton:"Next",backButton:"Back",doneButton:"Done",generalError:"Something went wrong... Please try again.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"A user with this information already exists.",GmErr_BadRequest_PasswordContainsUsername:"The password cannot be the same as the username.",GmErr_BadRequest_PasswordContainsEmail:"The password cannot be the same as the email.",GmErr_BadRequest_Duplicate_PersonalId:"There is already a registration with the data you entered or you entered your data in an incorrect format.",GmErr_Forbidden_UserAccount_NavExcluded:"User is NAV Excluded. Registration was denied.",GmErr_BadRequest_ModelValidationFailed:"Something went wrong... Please try again.",GmErr_BadInternalConfigs:"Something went wrong... Please try again.",GmErr_Unauthorized:"Something went wrong... Please try again.",GmErr_NotFound:"Something went wrong... Please try again.",BadRequest_Duplicate_User:"User with same username already exists.",BadRequest:"The request is invalid, please check the API.",Unauthorized:"The player account number, e-mail address or password is incorrect",Forbidden_TooManyAttempts:"You have made too many invalid login attempts, your account has been blocked, please try again later.",Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service.",GmErr_BadRequest_ExpiredToken:"The token you are using is expired.",GmErr_BadRequest_INVALID_CODE:"The code you are using is invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"You have made too many attempts to validate your code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"You have made too many attempts to generate your code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"You have been blocked due to an invalid code.",GmErr_BadRequest_CODE_MISSING:"The token is missing for your reqest.",GmErr_BadRequest_TOKEN_NOT_FOUND:"The token is not found for your request.",GmErr_BadRequest_USER_NOT_REGISTERED:"The user is not register. Please register first.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"The phone number you are using is invalid.",GmErr_BadRequest_INVALID_USER_ID:"The user ID is invalid.",GmErr_UnexpectedException:"Something went wrong... Please try again.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF response confirms player IS underaged or IS NOT a Croatian resident.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF fails to return a response.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: Internal error."},hu:{GmErr_AMOUNT_INVALID:"A megadott összeg érvénytelen.",GmErr_REGISTER_OVERAGE:"A regisztráció túllépte a megengedett határt.",GmErr_REGISTER_UNDERAGE:"A regisztráció a megengedett határ alatt van.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"A felhasználó hitelesítése túl sok sikertelen próbálkozás miatt meghiúsult.",GmErr_USER_ACCOUNT_BLOCKED:"A felhasználói fiók le van tiltva.",GmErr_USER_NOT_VERIFIED:"A felhasználó nincs ellenőrizve.",GmErr_USER_NOT_FOUND:"A megadott adatokkal nem található felhasználó.",GmErr_USER_ID_INVALID:"A megadott felhasználói azonosító érvénytelen.",GmErr_USER_AUTH_FAILED:"A felhasználó hitelesítése meghiúsult.",GmErr_USER_DUPLICATED:"A felhasználó már létezik a rendszerben.",GmErr_USER_NOT_ACTIVATED:"A felhasználó fiókja nincs aktiválva.",GmErr_PASSWORD_CONTAINS_EMAIL:"A jelszó nem tartalmazhat e-mail címet.",GmErr_PASSWORD_CONTAINS_USERNAME:"A jelszó nem tartalmazhat felhasználónevet.",GmErr_PASSWORD_CONTAINS_SPACES:"A jelszó nem tartalmazhat szóközöket.",GmErr_USER_4TS_CHECK_EXISTS:"A felhasználó 4TS ellenőrzése már létezik.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"A felhasználó kizárva a regisztrációból.",GmErr_USER_NAV_EXCLUDED_LOGIN:"A felhasználó kizárva a bejelentkezésből.",GmErr_USERNAME_REQUIRED:"Felhasználónév megadása szükséges.",GmErr_USER_EMAIL_NOT_VERIFIED:"A felhasználó e-mail címe nincs megerősítve.",GmErr_EMAIL_ALREADY_EXISTS:"A megadott e-mail címmel már létezik felhasználó",GmErr_EMAIL_REQUIRED:"E-mail cím megadása szükséges.",GmErr_USERNAME_ALREADY_EXISTS:"A felhasználónév már foglalt.",GmErr_DUPLICATE_PERSONAL_ID:"Már létező személyes azonosító.",GmErr_INVALID_USER_DOCUMENT:"A felhasználói dokumentum érvénytelen.",GmErr_INVALID_CODE:"A megadott kód érvénytelen.",GmErr_EXPIRED_TOKEN:"A token lejárt.",GmErr_ATTEMPTS_EXCEEDED:"A megengedett próbálkozások száma túllépve.",GmErr_BLOCK_USER_INCORRECT_CODE:"A felhasználó blokkolva lett a hibás kód miatt.",GmErr_TOKEN_NOT_FOUND:"A token nem található.",GmErr_INVALID_PHONE_NUMBER:"A megadott telefonszám érvénytelen.",GmErr_CODE_MISSING:"A szükséges kód hiányzik.",GmErr_UNREGISTERED_USER:"A felhasználó nincs regisztrálva.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Túllépték a kódgenerálási próbálkozások számát.",GmErr_UNEXPECTED_EXCEPTION:"Váratlan kivétel történt.",GmErr_INVALID_USER_ID:"A felhasználói azonosító érvénytelen.",GmErr_NOT_ALLOWED_EXCEPTION:"Ez a művelet nem engedélyezett.",GmErr_CAN_NOT_FIND_ROLE:"A megadott szerepkör nem található.",GmErr_NO_SESSION_PROVIDED:"Nem került megadásra munkamenet.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nincs aktív munkamenet ehhez a felhasználóhoz.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"A felhasználó már anonimizálva lett.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nincs beállítva hozzárendelhető szerepkör.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A megadott munkamenet nem tartozik a felhasználóhoz.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A megadott munkamenet nem létezik.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A szerepkör már hozzá lett rendelve a felhasználóhoz.",GmErr_ASSIGN_USER_ROLE_FAILED:"Nem sikerült a felhasználói szerepkört hozzárendelni.",GmErr_BadRequest_1000:"Probléma volt a személyi azonosító számmal",CountryRestricted:"Sajnálatos módon olyan országból próbál regisztrálni, ahonnan nem fogadhatunk játékot. Emiatt nem tudjuk feldolgozni a regisztrációját.",nextButton:"Következő",backButton:"Vissza",doneButton:"Kész",generalError:"Valami hiba történt... Próbáld újra.",successMessage:"Sikeres regisztráció",GmErr_BadRequest_Duplicate_User:"Egy ilyen információval rendelkező felhasználó már létezik.",GmErr_BadRequest_PasswordContainsUsername:"A jelszó nem lehet azonos a felhasználónévvel.",GmErr_BadRequest_PasswordContainsEmail:"A jelszó nem lehet azonos az e-mail címmel.",GmErr_BadRequest_Duplicate_PersonalId:"Már létezik egy regisztráció az Ön által megadott adatokkal, vagy helytelen formátumban adta meg az adatokat.",GmErr_Forbidden_UserAccount_NavExcluded:"A felhasználó NAV kizárt. A regisztrációt elutasították.",GmErr_BadRequest_ModelValidationFailed:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_BadInternalConfigs:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_Unauthorized:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_NotFound:"Valami hiba történt... Kérjük, próbálja újra.",BadRequest_Duplicate_User:"Már létezik egy felhasználó ugyanazzal a felhasználónévvel.",BadRequest:"A kérés érvénytelen, kérjük, ellenőrizze az API-t.",Unauthorized:"A játékos számlaszáma, e-mail címe vagy jelszava helytelen",Forbidden_TooManyAttempts:"Túl sok érvénytelen bejelentkezési kísérletet tett, fiókját zárolták, kérjük, próbálja újra később.",Forbidden_UserAccount_NotActive:"Úgy tűnik, még nem erősítette meg e-mail címét. A regisztráció befejezéséhez és fiókjához való hozzáféréshez kérjük, ellenőrizze e-mail fiókját egy megerősítő üzenetért. Ha nem kapta meg az e-mailt, kérjük, ellenőrizze a spam mappát is. Ha segítségre van szüksége, kérhet segítséget az ügyfélszolgálaton keresztül.",GmErr_BadRequest_ExpiredToken:"A használt token lejárt.",GmErr_BadRequest_INVALID_CODE:"A használt kód érvénytelen.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Túl sok kísérletet tett a kód érvényesítésére.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Túl sok kísérletet tett a kód generálására.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Érvénytelen kód miatt zárolták.",GmErr_BadRequest_CODE_MISSING:"A kéréshez hiányzik a token.",GmErr_BadRequest_TOKEN_NOT_FOUND:"A kéréshez nem található token.",GmErr_BadRequest_USER_NOT_REGISTERED:"A felhasználó nincs regisztrálva. Kérjük, regisztráljon először.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"A használt telefonszám érvénytelen.",GmErr_BadRequest_INVALID_USER_ID:"A felhasználói azonosító érvénytelen.",GmErr_UnexpectedException:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"A felhasználói dokumentum érvénytelen.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF válasza megerősíti, hogy a játékos kiskorú vagy nem horvát lakos.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF nem ad választ.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: Belső hiba."},hr:{GmErr_AMOUNT_INVALID:"Navedeni iznos je nevažeći.",GmErr_REGISTER_OVERAGE:"Registracija je premašila dopušteni limit.",GmErr_REGISTER_UNDERAGE:"Registracija je ispod dopuštenog limita.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Neuspješno autentificiranje korisnika zbog previše pokušaja.",GmErr_USER_ACCOUNT_BLOCKED:"Korisnički račun je blokiran.",GmErr_USER_NOT_VERIFIED:"Korisnik nije verificiran.",GmErr_USER_NOT_FOUND:"Korisnik s navedenim podacima nije pronađen.",GmErr_USER_ID_INVALID:"Navedeni ID korisnika je nevažeći.",GmErr_USER_AUTH_FAILED:"Neuspješno autentificiranje korisnika.",GmErr_USER_DUPLICATED:"Korisnik već postoji u sustavu.",GmErr_USER_NOT_ACTIVATED:"Korisnički račun nije aktiviran.",GmErr_PASSWORD_CONTAINS_EMAIL:"Lozinka ne smije sadržavati e-mail adresu.",GmErr_PASSWORD_CONTAINS_USERNAME:"Lozinka ne smije sadržavati korisničko ime.",GmErr_PASSWORD_CONTAINS_SPACES:"Lozinka ne smije sadržavati razmake.",GmErr_USER_4TS_CHECK_EXISTS:"4TS provjera korisnika već postoji.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Korisnik je isključen iz registracije.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Korisnik je isključen iz prijave.",GmErr_USERNAME_REQUIRED:"Korisničko ime je obavezno.",GmErr_USER_EMAIL_NOT_VERIFIED:"E-mail adresa korisnika nije verificirana.",GmErr_EMAIL_ALREADY_EXISTS:"Korisnik s istom e-mail adresom već postoji",GmErr_EMAIL_REQUIRED:"E-mail adresa je obavezna.",GmErr_USERNAME_ALREADY_EXISTS:"Korisničko ime je već zauzeto.",GmErr_DUPLICATE_PERSONAL_ID:"Pronađen je duplicirani osobni ID.",GmErr_INVALID_USER_DOCUMENT:"Dokument korisnika je nevažeći.",GmErr_INVALID_CODE:"Navedeni kod je nevažeći.",GmErr_EXPIRED_TOKEN:"Token je istekao.",GmErr_ATTEMPTS_EXCEEDED:"Prekoračen je maksimalni broj pokušaja.",GmErr_BLOCK_USER_INCORRECT_CODE:"Korisnik je blokiran zbog pogrešnog koda.",GmErr_TOKEN_NOT_FOUND:"Token nije pronađen.",GmErr_INVALID_PHONE_NUMBER:"Navedeni broj telefona je nevažeći.",GmErr_CODE_MISSING:"Nedostaje potrebni kod.",GmErr_UNREGISTERED_USER:"Korisnik nije registriran.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Prekoračen je broj pokušaja generiranja koda.",GmErr_UNEXPECTED_EXCEPTION:"Došlo je do neočekivane iznimke.",GmErr_INVALID_USER_ID:"Navedeni ID korisnika je nevažeći.",GmErr_NOT_ALLOWED_EXCEPTION:"Ova radnja nije dopuštena.",GmErr_CAN_NOT_FIND_ROLE:"Navedena uloga nije pronađena.",GmErr_NO_SESSION_PROVIDED:"Nema pružene sesije.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nema aktivne sesije za ovog korisnika.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Korisnik je već anonimiziran.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nema postavljene uloge za dodjeljivanje.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Pružena sesija ne pripada korisniku.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Pružena sesija ne postoji.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Uloga je već dodijeljena korisniku.",GmErr_ASSIGN_USER_ROLE_FAILED:"Neuspješno dodjeljivanje uloge korisniku.",GmErr_BadRequest_1000:"Došlo je do problema s OIB-om",CountryRestricted:"Nažalost, prijavljujete se iz zemlje iz koje ne možemo prihvatiti igru. Nismo u mogućnosti obraditi registraciju iz navedenog razloga.",nextButton:"Sljedeće",backButton:"Nazad",doneButton:"Gotovo",generalError:"Korisnik s ovim podacima već postoji.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"Korisnik s ovim informacijama već postoji.",GmErr_BadRequest_PasswordContainsUsername:"Lozinka ne može biti ista kao korisničko ime.",GmErr_BadRequest_PasswordContainsEmail:"Lozinka ne može biti ista kao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Već postoji registracija s podacima koje ste unijeli ili ste unijeli podatke u pogrešnom formatu.",GmErr_Forbidden_UserAccount_NavExcluded:"Korisnik je NAV isključen. Registracija je odbijena.",GmErr_BadRequest_ModelValidationFailed:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_BadInternalConfigs:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_Unauthorized:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_NotFound:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",BadRequest_Duplicate_User:"Korisnik s istim korisničkim imenom već postoji.",BadRequest:"Zahtjev je nevažeći, molimo provjerite API.",Unauthorized:"Broj računa igrača, e-mail adresa ili lozinka su netočni",Forbidden_TooManyAttempts:"Napravili ste previše nevažećih pokušaja prijave, vaš račun je blokiran, molimo pokušajte ponovno kasnije.",Forbidden_UserAccount_NotActive:"Čini se da još niste potvrdili svoju e-mail adresu. Da biste dovršili registraciju i pristupili svom računu, provjerite svoju e-mail poštu za poruku s potvrdom. Ako niste primili e-mail, provjerite i mapu neželjene pošte. Ako trebate pomoć, možete zatražiti pomoć putem korisničke službe.",GmErr_BadRequest_ExpiredToken:"Token koji koristite je istekao.",GmErr_BadRequest_INVALID_CODE:"Kod koji koristite je nevažeći.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Napravili ste previše pokušaja za validaciju koda.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Napravili ste previše pokušaja za generiranje koda.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Blokirani ste zbog nevažećeg koda.",GmErr_BadRequest_CODE_MISSING:"Token nedostaje za vaš zahtjev.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Token nije pronađen za vaš zahtjev.",GmErr_BadRequest_USER_NOT_REGISTERED:"Korisnik nije registriran. Molimo registrirajte se prvo.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Broj telefona koji koristite je nevažeći.",GmErr_BadRequest_INVALID_USER_ID:"Korisnički ID je nevažeći.",GmErr_UnexpectedException:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Korisnički dokument je nevažeći.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: Odgovor MoF-a potvrđuje da je igrač maloljetan ili nije stanovnik Hrvatske.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: MoF ne daje odgovor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: Interna greška."},"pt-br":{GmErr_AMOUNT_INVALID:"O valor especificado é inválido.",GmErr_REGISTER_OVERAGE:"A inscrição excedeu o limite permitido.",GmErr_REGISTER_UNDERAGE:"A inscrição está abaixo do limite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Falha na autenticação do usuário devido a muitas tentativas sem sucesso.",GmErr_USER_ACCOUNT_BLOCKED:"A conta do usuário está bloqueada.",GmErr_USER_NOT_VERIFIED:"O usuário não foi verificado.",GmErr_USER_NOT_FOUND:"Nenhum usuário encontrado com as informações fornecidas.",GmErr_USER_ID_INVALID:"O ID do usuário fornecido é inválido.",GmErr_USER_AUTH_FAILED:"Falha na autenticação do usuário.",GmErr_USER_DUPLICATED:"O usuário já existe no sistema.",GmErr_USER_NOT_ACTIVATED:"A conta do usuário não está ativada.",GmErr_PASSWORD_CONTAINS_EMAIL:"A senha não pode conter o endereço de e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"A senha não pode conter o nome de usuário.",GmErr_PASSWORD_CONTAINS_SPACES:"A senha não pode conter espaços.",GmErr_USER_4TS_CHECK_EXISTS:"A verificação 4TS do usuário já existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"O usuário está excluído da inscrição.",GmErr_USER_NAV_EXCLUDED_LOGIN:"O usuário está excluído do login.",GmErr_USERNAME_REQUIRED:"O nome de usuário é obrigatório.",GmErr_USER_EMAIL_NOT_VERIFIED:"O e-mail do usuário não foi verificado.",GmErr_EMAIL_ALREADY_EXISTS:"Usuário com o mesmo e-mail já existe",GmErr_EMAIL_REQUIRED:"Um endereço de e-mail é obrigatório.",GmErr_USERNAME_ALREADY_EXISTS:"O nome de usuário já está em uso.",GmErr_DUPLICATE_PERSONAL_ID:"ID pessoal duplicado encontrado.",GmErr_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_INVALID_CODE:"O código fornecido é inválido.",GmErr_EXPIRED_TOKEN:"O token expirou.",GmErr_ATTEMPTS_EXCEEDED:"O número máximo de tentativas foi excedido.",GmErr_BLOCK_USER_INCORRECT_CODE:"O usuário foi bloqueado devido a um código incorreto.",GmErr_TOKEN_NOT_FOUND:"O token não foi encontrado.",GmErr_INVALID_PHONE_NUMBER:"O número de telefone fornecido é inválido.",GmErr_CODE_MISSING:"O código necessário está faltando.",GmErr_UNREGISTERED_USER:"O usuário não está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"O número máximo de tentativas para gerar um código foi excedido.",GmErr_UNEXPECTED_EXCEPTION:"Ocorreu uma exceção inesperada.",GmErr_INVALID_USER_ID:"O ID do usuário fornecido é inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta ação não é permitida.",GmErr_CAN_NOT_FIND_ROLE:"Não foi possível encontrar a função especificada.",GmErr_NO_SESSION_PROVIDED:"Nenhuma sessão foi fornecida.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nenhuma sessão ativa encontrada para este usuário.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"O usuário já foi anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nenhuma função foi configurada para ser atribuída.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A sessão fornecida não pertence ao usuário.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A sessão fornecida não existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A função já foi atribuída ao usuário.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falha ao atribuir a função ao usuário.",GmErr_BadRequest_1000:"Houve um problema com o número de identificação pessoal",CountryRestricted:"Infelizmente, você está tentando se registrar a partir de um país onde não podemos aceitar jogos. Não podemos processar seu registro por esse motivo.",nextButton:"Seguindo",backButton:"Voltar",doneButton:"Terminar",generalError:"Alguma coisa deu errado. Por favor tente outra vez",successMessage:"Registro bem-sucedido",GmErr_BadRequest_Duplicate_User:"Um usuário com essas informações já existe.",GmErr_BadRequest_PasswordContainsUsername:"A senha não pode ser igual ao nome de usuário.",GmErr_BadRequest_PasswordContainsEmail:"A senha não pode ser igual ao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Já existe um registro com os dados que você inseriu ou você inseriu seus dados em um formato incorreto.",GmErr_Forbidden_UserAccount_NavExcluded:"Usuário está NAV Excluído. Registro foi negado.",GmErr_BadRequest_ModelValidationFailed:"Algo deu errado... Por favor, tente novamente.",GmErr_BadInternalConfigs:"Algo deu errado... Por favor, tente novamente.",GmErr_Unauthorized:"Algo deu errado... Por favor, tente novamente.",GmErr_NotFound:"Algo deu errado... Por favor, tente novamente.",BadRequest_Duplicate_User:"Usuário com o mesmo nome de usuário já existe.",BadRequest:"A solicitação é inválida, por favor, verifique a API.",Unauthorized:"O número da conta do jogador, endereço de e-mail ou senha estão incorretos",Forbidden_TooManyAttempts:"Você fez muitas tentativas de login inválidas, sua conta foi bloqueada, por favor, tente novamente mais tarde.",Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu registro e acessar sua conta, verifique sua caixa de entrada de e-mail para uma mensagem de confirmação. Se você não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, você pode solicitar ajuda através do serviço de atendimento ao cliente.",GmErr_BadRequest_ExpiredToken:"O token que você está usando está expirado.",GmErr_BadRequest_INVALID_CODE:"O código que você está usando é inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Você fez muitas tentativas de validar seu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Você fez muitas tentativas de gerar seu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Você foi bloqueado devido a um código inválido.",GmErr_BadRequest_CODE_MISSING:"O token está faltando para sua solicitação.",GmErr_BadRequest_TOKEN_NOT_FOUND:"O token não foi encontrado para sua solicitação.",GmErr_BadRequest_USER_NOT_REGISTERED:"O usuário não está registrado. Por favor, registre-se primeiro.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"O número de telefone que você está usando é inválido.",GmErr_BadRequest_INVALID_USER_ID:"O ID do usuário é inválido.",GmErr_UnexpectedException:"Algo deu errado... Por favor, tente novamente.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: A resposta do MoF confirma que o jogador é menor de idade ou não é residente da Croácia.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: O MoF não retorna uma resposta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: Erro interno."},"es-mx":{GmErr_AMOUNT_INVALID:"El monto especificado es inválido.",GmErr_REGISTER_OVERAGE:"La inscripción ha excedido el límite permitido.",GmErr_REGISTER_UNDERAGE:"La inscripción está por debajo del límite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Autenticación de usuario fallida debido a demasiados intentos fallidos.",GmErr_USER_ACCOUNT_BLOCKED:"La cuenta del usuario está bloqueada.",GmErr_USER_NOT_VERIFIED:"El usuario no ha sido verificado.",GmErr_USER_NOT_FOUND:"No se encontró ningún usuario con la información proporcionada.",GmErr_USER_ID_INVALID:"El ID de usuario proporcionado es inválido.",GmErr_USER_AUTH_FAILED:"La autenticación del usuario falló.",GmErr_USER_DUPLICATED:"El usuario ya existe en el sistema.",GmErr_USER_NOT_ACTIVATED:"La cuenta del usuario no está activada.",GmErr_PASSWORD_CONTAINS_EMAIL:"La contraseña no puede contener la dirección de correo electrónico.",GmErr_PASSWORD_CONTAINS_USERNAME:"La contraseña no puede contener el nombre de usuario.",GmErr_PASSWORD_CONTAINS_SPACES:"La contraseña no puede contener espacios.",GmErr_USER_4TS_CHECK_EXISTS:"La verificación 4TS del usuario ya existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"El usuario está excluido del registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"El usuario está excluido del inicio de sesión.",GmErr_USERNAME_REQUIRED:"Se requiere un nombre de usuario.",GmErr_USER_EMAIL_NOT_VERIFIED:"La dirección de correo electrónico del usuario no ha sido verificada.",GmErr_EMAIL_ALREADY_EXISTS:"Ya existe un usuario con el mismo correo electrónico",GmErr_EMAIL_REQUIRED:"Se requiere una dirección de correo electrónico.",GmErr_USERNAME_ALREADY_EXISTS:"El nombre de usuario ya está en uso.",GmErr_DUPLICATE_PERSONAL_ID:"Se encontró un ID personal duplicado.",GmErr_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_INVALID_CODE:"El código proporcionado es inválido.",GmErr_EXPIRED_TOKEN:"El token ha expirado.",GmErr_ATTEMPTS_EXCEEDED:"Se ha excedido el número máximo de intentos.",GmErr_BLOCK_USER_INCORRECT_CODE:"El usuario ha sido bloqueado debido a un código incorrecto.",GmErr_TOKEN_NOT_FOUND:"No se encontró el token.",GmErr_INVALID_PHONE_NUMBER:"El número de teléfono proporcionado es inválido.",GmErr_CODE_MISSING:"Falta el código necesario.",GmErr_UNREGISTERED_USER:"El usuario no está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Se ha excedido el número máximo de intentos para generar un código.",GmErr_UNEXPECTED_EXCEPTION:"Ocurrió una excepción inesperada.",GmErr_INVALID_USER_ID:"El ID de usuario proporcionado es inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta acción no está permitida.",GmErr_CAN_NOT_FIND_ROLE:"No se pudo encontrar el rol especificado.",GmErr_NO_SESSION_PROVIDED:"No se proporcionó ninguna sesión.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No se encontró ninguna sesión activa para este usuario.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"El usuario ya ha sido anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No se ha configurado ningún rol para ser asignado.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La sesión proporcionada no pertenece al usuario.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La sesión proporcionada no existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"El rol ya ha sido asignado al usuario.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falló la asignación del rol al usuario.",GmErr_BadRequest_1000:"Hubo un problema con el número de identificación personal",CountryRestricted:"Desafortunadamente, estás intentando registrarte desde un país donde no podemos aceptar juegos. No podemos procesar tu registro por esta razón.",nextButton:"Siguiente",backButton:"Atrás",doneButton:"Terminar",generalError:"Algo salió mal... Por favor intente de nuevo",successMessage:"Registro exitoso",GmErr_BadRequest_Duplicate_User:"Ya existe un usuario con esta información.",GmErr_BadRequest_PasswordContainsUsername:"La contraseña no puede ser la misma que el nombre de usuario.",GmErr_BadRequest_PasswordContainsEmail:"La contraseña no puede ser la misma que el correo electrónico.",GmErr_BadRequest_Duplicate_PersonalId:"Ya existe un registro con los datos que ingresaste o ingresaste tus datos en un formato incorrecto.",GmErr_Forbidden_UserAccount_NavExcluded:"El usuario está excluido de NAV. El registro fue denegado.",GmErr_BadRequest_ModelValidationFailed:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_BadInternalConfigs:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_Unauthorized:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_NotFound:"Algo salió mal... Por favor, inténtalo de nuevo.",BadRequest_Duplicate_User:"Ya existe un usuario con el mismo nombre de usuario.",BadRequest:"La solicitud es inválida, por favor verifica la API.",Unauthorized:"El número de cuenta del jugador, la dirección de correo electrónico o la contraseña son incorrectos",Forbidden_TooManyAttempts:"Has realizado demasiados intentos de inicio de sesión inválidos, tu cuenta ha sido bloqueada, por favor inténtalo de nuevo más tarde.",Forbidden_UserAccount_NotActive:"Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, verifica tu bandeja de entrada de correo electrónico para un mensaje de confirmación. Si no has recibido el correo electrónico, verifica también tu carpeta de spam. Si necesitas ayuda, puedes solicitar ayuda a través del servicio de atención al cliente.",GmErr_BadRequest_ExpiredToken:"El token que estás utilizando ha expirado.",GmErr_BadRequest_INVALID_CODE:"El código que estás utilizando es inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Has realizado demasiados intentos de validar tu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Has realizado demasiados intentos de generar tu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Has sido bloqueado debido a un código inválido.",GmErr_BadRequest_CODE_MISSING:"Falta el token para tu solicitud.",GmErr_BadRequest_TOKEN_NOT_FOUND:"No se encontró el token para tu solicitud.",GmErr_BadRequest_USER_NOT_REGISTERED:"El usuario no está registrado. Por favor, regístrate primero.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"El número de teléfono que estás utilizando es inválido.",GmErr_BadRequest_INVALID_USER_ID:"El ID de usuario es inválido.",GmErr_UnexpectedException:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: La respuesta del MoF confirma que el jugador es menor de edad o no es residente croata.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: El MoF no devuelve una respuesta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: Error interno."},tr:{GmErr_AMOUNT_INVALID:"Belirtilen miktar geçersiz.",GmErr_REGISTER_OVERAGE:"Kayıt izin verilen sınırı aştı.",GmErr_REGISTER_UNDERAGE:"Kayıt izin verilen sınırın altında.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Çok fazla başarısız deneme nedeniyle kullanıcı kimlik doğrulaması başarısız oldu.",GmErr_USER_ACCOUNT_BLOCKED:"Kullanıcı hesabı engellendi.",GmErr_USER_NOT_VERIFIED:"Kullanıcı doğrulanmadı.",GmErr_USER_NOT_FOUND:"Sağlanan bilgilerle kullanıcı bulunamadı.",GmErr_USER_ID_INVALID:"Sağlanan kullanıcı kimliği geçersiz.",GmErr_USER_AUTH_FAILED:"Kullanıcı kimlik doğrulaması başarısız oldu.",GmErr_USER_DUPLICATED:"Kullanıcı sistemde zaten mevcut.",GmErr_USER_NOT_ACTIVATED:"Kullanıcı hesabı etkinleştirilmedi.",GmErr_PASSWORD_CONTAINS_EMAIL:"Parola e-posta adresini içeremez.",GmErr_PASSWORD_CONTAINS_USERNAME:"Parola kullanıcı adını içeremez.",GmErr_PASSWORD_CONTAINS_SPACES:"Parola boşluk içeremez.",GmErr_USER_4TS_CHECK_EXISTS:"Kullanıcı 4TS kontrolü zaten mevcut.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Kullanıcı kayıttan hariç tutuldu.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Kullanıcı girişten hariç tutuldu.",GmErr_USERNAME_REQUIRED:"Bir kullanıcı adı gereklidir.",GmErr_USER_EMAIL_NOT_VERIFIED:"Kullanıcının e-posta adresi doğrulanmadı.",GmErr_EMAIL_ALREADY_EXISTS:"Aynı e-posta ile kullanıcı zaten mevcut.",GmErr_EMAIL_REQUIRED:"Bir e-posta adresi gereklidir.",GmErr_USERNAME_ALREADY_EXISTS:"Kullanıcı adı zaten alınmış.",GmErr_DUPLICATE_PERSONAL_ID:"Çift kişisel kimlik bulundu.",GmErr_INVALID_USER_DOCUMENT:"Kullanıcı belgesi geçersiz.",GmErr_INVALID_CODE:"Sağlanan kod geçersiz.",GmErr_EXPIRED_TOKEN:"Token süresi dolmuş.",GmErr_ATTEMPTS_EXCEEDED:"Maksimum deneme sayısı aşıldı.",GmErr_BLOCK_USER_INCORRECT_CODE:"Yanlış kod nedeniyle kullanıcı engellendi.",GmErr_TOKEN_NOT_FOUND:"Token bulunamadı.",GmErr_INVALID_PHONE_NUMBER:"Sağlanan telefon numarası geçersiz.",GmErr_CODE_MISSING:"Kod eksik.",GmErr_UNREGISTERED_USER:"Kullanıcı kayıtlı değil.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Kod oluşturma denemeleri maksimuma ulaştı.",GmErr_UNEXPECTED_EXCEPTION:"Beklenmeyen bir istisna oluştu.",GmErr_INVALID_USER_ID:"Sağlanan kullanıcı kimliği geçersiz.",GmErr_NOT_ALLOWED_EXCEPTION:"Bu işlem izin verilmiyor.",GmErr_CAN_NOT_FIND_ROLE:"Belirtilen rol bulunamıyor.",GmErr_NO_SESSION_PROVIDED:"Oturum sağlanmadı.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Bu kullanıcı için aktif oturum bulunamadı.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Kullanıcı zaten anonimleştirilmiş.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Atanacak bir rol ayarlanmadı.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Sağlanan oturum kullanıcıya ait değil.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Sağlanan oturum mevcut değil.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Rol zaten kullanıcıya atanmış.",GmErr_ASSIGN_USER_ROLE_FAILED:"Kullanıcıya rol atama başarısız oldu.",GmErr_BadRequest_1000:"Kişisel kimlik numarası ile ilgili bir sorun var.",CountryRestricted:"Maalesef, oyun oynayamayacağımız bir ülkeden kayıt yapmaya çalışıyorsunuz. Bu nedenle kaydınızı işleyemiyoruz.",nextButton:"İleri",backButton:"Geri",doneButton:"Tamam",generalError:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",successMessage:"Kayıt başarılı",GmErr_BadRequest_Duplicate_User:"Bu bilgilerle bir kullanıcı zaten mevcut.",GmErr_BadRequest_PasswordContainsUsername:"Parola kullanıcı adı ile aynı olamaz.",GmErr_BadRequest_PasswordContainsEmail:"Parola e-posta ile aynı olamaz.",GmErr_BadRequest_Duplicate_PersonalId:"Girdiğiniz verilerle zaten bir kayıt var veya verilerinizi yanlış formatta girdiniz.",GmErr_Forbidden_UserAccount_NavExcluded:"Kullanıcı NAV hariç tutuldu. Kayıt reddedildi.",GmErr_BadRequest_ModelValidationFailed:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_BadInternalConfigs:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_Unauthorized:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_NotFound:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",BadRequest_Duplicate_User:"Aynı kullanıcı adı ile kullanıcı zaten mevcut.",BadRequest:"İstek geçersiz, lütfen API'yi kontrol edin.",Unauthorized:"Oyuncu hesap numarası, e-posta adresi veya parola yanlış",Forbidden_TooManyAttempts:"Çok fazla geçersiz giriş denemesi yaptınız, hesabınız bloke edildi, lütfen daha sonra tekrar deneyin.",Forbidden_UserAccount_NotActive:"E-posta adresinizi henüz doğrulamadığınız görünüyor. Kaydınızı tamamlamak ve hesabınıza erişmek için e-posta gelen kutunuzu bir onay mesajı için kontrol edin. E-postayı almadıysanız, spam klasörünüzü de kontrol edin. Yardıma ihtiyacınız varsa, müşteri hizmetleri aracılığıyla yardım isteyebilirsiniz.",GmErr_BadRequest_ExpiredToken:"Kullandığınız token süresi dolmuş.",GmErr_BadRequest_INVALID_CODE:"Kullandığınız kod geçersiz.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Kodunuzu doğrulamak için çok fazla deneme yaptınız.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Kodunuzu oluşturmak için çok fazla deneme yaptınız.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Geçersiz kod nedeniyle engellendiniz.",GmErr_BadRequest_CODE_MISSING:"İsteğiniz için token eksik.",GmErr_BadRequest_TOKEN_NOT_FOUND:"İsteğiniz için token bulunamadı.",GmErr_BadRequest_USER_NOT_REGISTERED:"Kullanıcı kayıtlı değil. Lütfen önce kayıt olun.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Kullandığınız telefon numarası geçersiz.",GmErr_BadRequest_INVALID_USER_ID:"Kullanıcı kimliği geçersiz.",GmErr_UnexpectedException:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Kullanıcı belgesi geçersiz.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: MoF yanıtı, oyuncunun reşit olmadığını veya Hırvatistan sakini olmadığını doğruluyor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: MoF yanıt vermiyor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: İç hata."},"en-us":{GmErr_AMOUNT_INVALID:"The specified amount is invalid.",GmErr_REGISTER_OVERAGE:"The registration has exceeded the allowable limit.",GmErr_REGISTER_UNDERAGE:"The registration is under the allowable limit.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"User authentication failed due to too many unsuccessful attempts.",GmErr_USER_ACCOUNT_BLOCKED:"The user account is blocked.",GmErr_USER_NOT_VERIFIED:"The user has not been verified.",GmErr_USER_NOT_FOUND:"No user found with the provided information.",GmErr_USER_ID_INVALID:"The user ID provided is invalid.",GmErr_USER_AUTH_FAILED:"User authentication failed.",GmErr_USER_DUPLICATED:"The user already exists in the system.",GmErr_USER_NOT_ACTIVATED:"The user account has not been activated.",GmErr_PASSWORD_CONTAINS_EMAIL:"The password cannot contain the email address.",GmErr_PASSWORD_CONTAINS_USERNAME:"The password cannot contain the username.",GmErr_PASSWORD_CONTAINS_SPACES:"The password cannot contain spaces.",GmErr_USER_4TS_CHECK_EXISTS:"The user 4TS check already exists.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"The user is excluded from registration.",GmErr_USER_NAV_EXCLUDED_LOGIN:"The user is excluded from login.",GmErr_USERNAME_REQUIRED:"A username is required.",GmErr_USER_EMAIL_NOT_VERIFIED:"The user's email address has not been verified.",GmErr_EMAIL_ALREADY_EXISTS:"User with same email already exists",GmErr_EMAIL_REQUIRED:"An email address is required.",GmErr_USERNAME_ALREADY_EXISTS:"The username is already taken.",GmErr_DUPLICATE_PERSONAL_ID:"Duplicate personal ID found.",GmErr_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_INVALID_CODE:"The code provided is invalid.",GmErr_EXPIRED_TOKEN:"The token has expired.",GmErr_ATTEMPTS_EXCEEDED:"The maximum number of attempts has been exceeded.",GmErr_BLOCK_USER_INCORRECT_CODE:"The user has been blocked due to an incorrect code.",GmErr_TOKEN_NOT_FOUND:"The token was not found.",GmErr_INVALID_PHONE_NUMBER:"The phone number provided is invalid.",GmErr_CODE_MISSING:"The code is missing.",GmErr_UNREGISTERED_USER:"The user is not registered.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Maximum attempts to generate a code have been exceeded.",GmErr_UNEXPECTED_EXCEPTION:"An unexpected exception occurred.",GmErr_INVALID_USER_ID:"The user ID provided is invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"This action is not allowed.",GmErr_CAN_NOT_FIND_ROLE:"Unable to find the specified role.",GmErr_NO_SESSION_PROVIDED:"No session was provided.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No active session found for this user.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"The user has already been anonymized.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No role has been set up to be assigned.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"The provided session does not belong to the user.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"The provided session does not exist.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"The role has already been assigned to the user.",GmErr_ASSIGN_USER_ROLE_FAILED:"Failed to assign a role to the user.",GmErr_BadRequest_1000:"There was a problem with the personal identification number",CountryRestricted:"Unfortunately, you are attempting to register from a country where we cannot accept gameplay. We are unable to process your registration for this reason.",nextButton:"Next",backButton:"Back",doneButton:"Done",generalError:"Something went wrong... Please try again.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"A user with this information already exists.",GmErr_BadRequest_PasswordContainsUsername:"The password cannot be the same as the username.",GmErr_BadRequest_PasswordContainsEmail:"The password cannot be the same as the email.",GmErr_BadRequest_Duplicate_PersonalId:"There is already a registration with the data you entered or you entered your data in an incorrect format.",GmErr_Forbidden_UserAccount_NavExcluded:"User is NAV Excluded. Registration was denied.",GmErr_BadRequest_ModelValidationFailed:"Something went wrong... Please try again.",GmErr_BadInternalConfigs:"Something went wrong... Please try again.",GmErr_Unauthorized:"Something went wrong... Please try again.",GmErr_NotFound:"Something went wrong... Please try again.",BadRequest_Duplicate_User:"User with same username already exists.",BadRequest:"The request is invalid, please check the API.",Unauthorized:"The player account number, e-mail address or password is incorrect",Forbidden_TooManyAttempts:"You have made too many invalid login attempts, your account has been blocked, please try again later.",Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service.",GmErr_BadRequest_ExpiredToken:"The token you are using is expired.",GmErr_BadRequest_INVALID_CODE:"The code you are using is invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"You have made too many attempts to validate your code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"You have made too many attempts to generate your code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"You have been blocked due to an invalid code.",GmErr_BadRequest_CODE_MISSING:"The token is missing for your request.",GmErr_BadRequest_TOKEN_NOT_FOUND:"The token is not found for your request.",GmErr_BadRequest_USER_NOT_REGISTERED:"The user is not registered. Please register first.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"The phone number you are using is invalid.",GmErr_BadRequest_INVALID_USER_ID:"The user ID is invalid.",GmErr_UnexpectedException:"Something went wrong... Please try again.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF response confirms player IS underaged or IS NOT a Croatian resident.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF fails to return a response.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: Internal error."},ro:{GmErr_AMOUNT_INVALID:"Suma specificată este invalidă.",GmErr_REGISTER_OVERAGE:"Înregistrarea a depășit limita permisă.",GmErr_REGISTER_UNDERAGE:"Înregistrarea este sub limita permisă.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Autentificarea utilizatorului a eșuat din cauza prea multor încercări nereușite.",GmErr_USER_ACCOUNT_BLOCKED:"Contul utilizatorului este blocat.",GmErr_USER_NOT_VERIFIED:"Utilizatorul nu a fost verificat.",GmErr_USER_NOT_FOUND:"Nu s-a găsit niciun utilizator cu informațiile furnizate.",GmErr_USER_ID_INVALID:"ID-ul utilizatorului furnizat este invalid.",GmErr_USER_AUTH_FAILED:"Autentificarea utilizatorului a eșuat.",GmErr_USER_DUPLICATED:"Utilizatorul există deja în sistem.",GmErr_USER_NOT_ACTIVATED:"Contul utilizatorului nu a fost activat.",GmErr_PASSWORD_CONTAINS_EMAIL:"Parola nu poate conține adresa de email.",GmErr_PASSWORD_CONTAINS_USERNAME:"Parola nu poate conține numele de utilizator.",GmErr_PASSWORD_CONTAINS_SPACES:"Parola nu poate conține spații.",GmErr_USER_4TS_CHECK_EXISTS:"Verificarea utilizatorului 4TS există deja.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Utilizatorul este exclus de la înregistrare.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Utilizatorul este exclus de la autentificare.",GmErr_USERNAME_REQUIRED:"Este necesar un nume de utilizator.",GmErr_USER_EMAIL_NOT_VERIFIED:"Adresa de email a utilizatorului nu a fost verificată.",GmErr_EMAIL_ALREADY_EXISTS:"Un utilizator cu același email există deja.",GmErr_EMAIL_REQUIRED:"Este necesară o adresă de email.",GmErr_USERNAME_ALREADY_EXISTS:"Numele de utilizator este deja utilizat.",GmErr_DUPLICATE_PERSONAL_ID:"S-a găsit un ID personal duplicat.",GmErr_INVALID_USER_DOCUMENT:"Documentul utilizatorului este invalid.",GmErr_INVALID_CODE:"Codul furnizat este invalid.",GmErr_EXPIRED_TOKEN:"Token-ul a expirat.",GmErr_ATTEMPTS_EXCEEDED:"Numărul maxim de încercări a fost depășit.",GmErr_BLOCK_USER_INCORRECT_CODE:"Utilizatorul a fost blocat din cauza unui cod incorect.",GmErr_TOKEN_NOT_FOUND:"Token-ul nu a fost găsit.",GmErr_INVALID_PHONE_NUMBER:"Numărul de telefon furnizat este invalid.",GmErr_CODE_MISSING:"Lipsește codul.",GmErr_UNREGISTERED_USER:"Utilizatorul nu este înregistrat.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"S-a depășit numărul maxim de încercări pentru generarea unui cod.",GmErr_UNEXPECTED_EXCEPTION:"A apărut o eroare neașteptată.",GmErr_INVALID_USER_ID:"ID-ul utilizatorului furnizat este invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"Acțiunea nu este permisă.",GmErr_CAN_NOT_FIND_ROLE:"Nu s-a găsit rolul specificat.",GmErr_NO_SESSION_PROVIDED:"Nu a fost furnizată nicio sesiune.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nu a fost găsită nicio sesiune activă pentru acest utilizator.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Utilizatorul a fost deja anonimizat.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nu a fost configurat niciun rol de atribuit.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Sesiunea furnizată nu aparține utilizatorului.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Sesiunea furnizată nu există.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Rolul a fost deja atribuit utilizatorului.",GmErr_ASSIGN_USER_ROLE_FAILED:"Atribuirea rolului utilizatorului a eșuat.",GmErr_BadRequest_1000:"A apărut o problemă cu numărul de identificare personal.",CountryRestricted:"Din păcate, încercați să vă înregistrați dintr-o țară unde nu putem accepta jocuri. Din acest motiv, nu vă putem procesa înregistrarea.",nextButton:"Următorul",backButton:"Înapoi",doneButton:"Finalizat",generalError:"Ceva a mers prost... Vă rugăm să încercați din nou.",successMessage:"Înregistrare reușită",GmErr_BadRequest_Duplicate_User:"Un utilizator cu aceste informații există deja.",GmErr_BadRequest_PasswordContainsUsername:"Parola nu poate fi aceeași cu numele de utilizator.",GmErr_BadRequest_PasswordContainsEmail:"Parola nu poate fi aceeași cu e-mailul.",GmErr_BadRequest_Duplicate_PersonalId:"Există deja o înregistrare cu datele pe care le-ați introdus sau ați introdus datele într-un format incorect.",GmErr_Forbidden_UserAccount_NavExcluded:"Utilizatorul este exclus NAV. Înregistrarea a fost refuzată.",GmErr_BadRequest_ModelValidationFailed:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_BadInternalConfigs:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_Unauthorized:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_NotFound:"Ceva a mers prost... Vă rugăm să încercați din nou.",BadRequest_Duplicate_User:"Există deja un utilizator cu același nume de utilizator.",BadRequest:"Cererea este invalidă, vă rugăm să verificați API-ul.",Unauthorized:"Numărul contului jucătorului, adresa de e-mail sau parola sunt incorecte",Forbidden_TooManyAttempts:"Ați făcut prea multe încercări de conectare invalide, contul dvs. a fost blocat, vă rugăm să încercați din nou mai târziu.",Forbidden_UserAccount_NotActive:"Se pare că nu v-ați confirmat încă adresa de e-mail. Pentru a finaliza înregistrarea și a accesa contul dvs., verificați căsuța de e-mail pentru un mesaj de confirmare. Dacă nu ați primit e-mailul, verificați și folderul de spam. Dacă aveți nevoie de asistență, puteți solicita ajutor prin serviciul de asistență pentru clienți.",GmErr_BadRequest_ExpiredToken:"Tokenul pe care îl utilizați este expirat.",GmErr_BadRequest_INVALID_CODE:"Codul pe care îl utilizați este invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Ați făcut prea multe încercări de validare a codului.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Ați făcut prea multe încercări de generare a codului.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Ați fost blocat din cauza unui cod invalid.",GmErr_BadRequest_CODE_MISSING:"Tokenul lipsește pentru solicitarea dvs.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Tokenul nu a fost găsit pentru solicitarea dvs.",GmErr_BadRequest_USER_NOT_REGISTERED:"Utilizatorul nu este înregistrat. Vă rugăm să vă înregistrați mai întâi.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Numărul de telefon pe care îl utilizați este invalid.",GmErr_BadRequest_INVALID_USER_ID:"ID-ul utilizatorului este invalid.",GmErr_UnexpectedException:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Documentul utilizatorului este invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: Răspunsul MoF confirmă că jucătorul este minor sau nu este rezident croat.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: MoF nu returnează un răspuns.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: Eroare internă."},fr:{GmErr_AMOUNT_INVALID:"Le montant spécifié est invalide.",GmErr_REGISTER_OVERAGE:"L'inscription a dépassé la limite autorisée.",GmErr_REGISTER_UNDERAGE:"L'inscription est en dessous de la limite autorisée.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Échec de l'authentification utilisateur en raison de trop nombreuses tentatives infructueuses.",GmErr_USER_ACCOUNT_BLOCKED:"Le compte utilisateur est bloqué.",GmErr_USER_NOT_VERIFIED:"L'utilisateur n'a pas été vérifié.",GmErr_USER_NOT_FOUND:"Aucun utilisateur trouvé avec les informations fournies.",GmErr_USER_ID_INVALID:"L'identifiant utilisateur fourni est invalide.",GmErr_USER_AUTH_FAILED:"Échec de l'authentification utilisateur.",GmErr_USER_DUPLICATED:"L'utilisateur existe déjà dans le système.",GmErr_USER_NOT_ACTIVATED:"Le compte utilisateur n'a pas été activé.",GmErr_PASSWORD_CONTAINS_EMAIL:"Le mot de passe ne peut pas contenir l'adresse e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"Le mot de passe ne peut pas contenir le nom d'utilisateur.",GmErr_PASSWORD_CONTAINS_SPACES:"Le mot de passe ne peut pas contenir d'espaces.",GmErr_USER_4TS_CHECK_EXISTS:"La vérification utilisateur 4TS existe déjà.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"L'utilisateur est exclu de l'enregistrement.",GmErr_USER_NAV_EXCLUDED_LOGIN:"L'utilisateur est exclu de la connexion.",GmErr_USERNAME_REQUIRED:"Un nom d'utilisateur est requis.",GmErr_USER_EMAIL_NOT_VERIFIED:"L'adresse e-mail de l'utilisateur n'a pas été vérifiée.",GmErr_EMAIL_ALREADY_EXISTS:"Un utilisateur avec la même adresse e-mail existe déjà.",GmErr_EMAIL_REQUIRED:"Une adresse e-mail est requise.",GmErr_USERNAME_ALREADY_EXISTS:"Le nom d'utilisateur est déjà pris.",GmErr_DUPLICATE_PERSONAL_ID:"Un identifiant personnel dupliqué a été trouvé.",GmErr_INVALID_USER_DOCUMENT:"Le document utilisateur est invalide.",GmErr_INVALID_CODE:"Le code fourni est invalide.",GmErr_EXPIRED_TOKEN:"Le jeton a expiré.",GmErr_ATTEMPTS_EXCEEDED:"Le nombre maximum de tentatives a été dépassé.",GmErr_BLOCK_USER_INCORRECT_CODE:"L'utilisateur a été bloqué en raison d'un code incorrect.",GmErr_TOKEN_NOT_FOUND:"Le jeton n'a pas été trouvé.",GmErr_INVALID_PHONE_NUMBER:"Le numéro de téléphone fourni est invalide.",GmErr_CODE_MISSING:"Le code est manquant.",GmErr_UNREGISTERED_USER:"L'utilisateur n'est pas enregistré.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Le nombre maximum de tentatives pour générer un code a été dépassé.",GmErr_UNEXPECTED_EXCEPTION:"Une exception inattendue s'est produite.",GmErr_INVALID_USER_ID:"L'identifiant utilisateur fourni est invalide.",GmErr_NOT_ALLOWED_EXCEPTION:"Cette action n'est pas autorisée.",GmErr_CAN_NOT_FIND_ROLE:"Impossible de trouver le rôle spécifié.",GmErr_NO_SESSION_PROVIDED:"Aucune session n'a été fournie.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Aucune session active n'a été trouvée pour cet utilisateur.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"L'utilisateur a déjà été anonymisé.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Aucun rôle n'a été configuré pour être attribué.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La session fournie n'appartient pas à l'utilisateur.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La session fournie n'existe pas.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Le rôle a déjà été attribué à l'utilisateur.",GmErr_ASSIGN_USER_ROLE_FAILED:"Échec de l'attribution d'un rôle à l'utilisateur.",GmErr_BadRequest_1000:"Un problème est survenu avec le numéro d'identification personnel.",CountryRestricted:"Malheureusement, vous essayez de vous inscrire depuis un pays où nous ne pouvons pas accepter les jeux. Nous ne pouvons pas traiter votre inscription pour cette raison.",nextButton:"Suivant",backButton:"Retour",GmErr_BadRequest_Duplicate_User:"Un utilisateur avec ces informations existe déjà.",GmErr_BadRequest_PasswordContainsUsername:"Le mot de passe ne peut pas être le même que le nom d'utilisateur.",GmErr_BadRequest_PasswordContainsEmail:"Le mot de passe ne peut pas être le même que l'e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Il existe déjà une inscription avec les données que vous avez saisies ou vous avez saisi vos données dans un format incorrect.",GmErr_Forbidden_UserAccount_NavExcluded:"L'utilisateur est exclu NAV. L'inscription a été refusée.",GmErr_BadRequest_ModelValidationFailed:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_BadInternalConfigs:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_Unauthorized:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_NotFound:"Quelque chose a mal tourné... Veuillez réessayer.",BadRequest_Duplicate_User:"Un utilisateur avec le même nom d'utilisateur existe déjà.",BadRequest:"La demande est invalide, veuillez vérifier l'API.",Unauthorized:"Le numéro de compte du joueur, l'adresse e-mail ou le mot de passe est incorrect",Forbidden_TooManyAttempts:"Vous avez fait trop de tentatives de connexion invalides, votre compte a été bloqué, veuillez réessayer plus tard.",Forbidden_UserAccount_NotActive:"Il semble que vous n'avez pas encore confirmé votre adresse e-mail. Pour compléter votre inscription et accéder à votre compte, veuillez vérifier votre boîte de réception pour un message de confirmation. Si vous n'avez pas reçu l'e-mail, veuillez également vérifier votre dossier de spam. Si vous avez besoin d'aide, vous pouvez demander de l'aide via le service client.",GmErr_BadRequest_ExpiredToken:"Le jeton que vous utilisez est expiré.",GmErr_BadRequest_INVALID_CODE:"Le code que vous utilisez est invalide.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Vous avez fait trop de tentatives pour valider votre code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Vous avez fait trop de tentatives pour générer votre code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Vous avez été bloqué en raison d'un code invalide.",GmErr_BadRequest_CODE_MISSING:"Le jeton est manquant pour votre demande.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Le jeton n'a pas été trouvé pour votre demande.",GmErr_BadRequest_USER_NOT_REGISTERED:"L'utilisateur n'est pas enregistré. Veuillez vous inscrire d'abord.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Le numéro de téléphone que vous utilisez est invalide.",GmErr_BadRequest_INVALID_USER_ID:"L'ID utilisateur est invalide.",GmErr_UnexpectedException:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Le document utilisateur est invalide.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : La réponse du MoF confirme que le joueur est mineur ou n'est pas résident croate.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : Le MoF ne renvoie pas de réponse.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : Erreur interne."},es:{GmErr_AMOUNT_INVALID:"El monto especificado no es válido.",GmErr_REGISTER_OVERAGE:"El registro ha excedido el límite permitido.",GmErr_REGISTER_UNDERAGE:"El registro está por debajo del límite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"La autenticación del usuario falló debido a demasiados intentos fallidos.",GmErr_USER_ACCOUNT_BLOCKED:"La cuenta del usuario está bloqueada.",GmErr_USER_NOT_VERIFIED:"El usuario no ha sido verificado.",GmErr_USER_NOT_FOUND:"No se encontró un usuario con la información proporcionada.",GmErr_USER_ID_INVALID:"El ID de usuario proporcionado no es válido.",GmErr_USER_AUTH_FAILED:"La autenticación del usuario falló.",GmErr_USER_DUPLICATED:"El usuario ya existe en el sistema.",GmErr_USER_NOT_ACTIVATED:"La cuenta del usuario no ha sido activada.",GmErr_PASSWORD_CONTAINS_EMAIL:"La contraseña no puede contener la dirección de correo electrónico.",GmErr_PASSWORD_CONTAINS_USERNAME:"La contraseña no puede contener el nombre de usuario.",GmErr_PASSWORD_CONTAINS_SPACES:"La contraseña no puede contener espacios.",GmErr_USER_4TS_CHECK_EXISTS:"La verificación del usuario 4TS ya existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"El usuario está excluido del registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"El usuario está excluido del inicio de sesión.",GmErr_USERNAME_REQUIRED:"Se requiere un nombre de usuario.",GmErr_USER_EMAIL_NOT_VERIFIED:"La dirección de correo electrónico del usuario no ha sido verificada.",GmErr_EMAIL_ALREADY_EXISTS:"Un usuario con el mismo correo electrónico ya existe.",GmErr_EMAIL_REQUIRED:"Se requiere una dirección de correo electrónico.",GmErr_USERNAME_ALREADY_EXISTS:"El nombre de usuario ya está en uso.",GmErr_DUPLICATE_PERSONAL_ID:"Se encontró un ID personal duplicado.",GmErr_INVALID_USER_DOCUMENT:"El documento del usuario no es válido.",GmErr_INVALID_CODE:"El código proporcionado no es válido.",GmErr_EXPIRED_TOKEN:"El token ha expirado.",GmErr_ATTEMPTS_EXCEEDED:"Se ha superado el número máximo de intentos.",GmErr_BLOCK_USER_INCORRECT_CODE:"El usuario ha sido bloqueado debido a un código incorrecto.",GmErr_TOKEN_NOT_FOUND:"No se encontró el token.",GmErr_INVALID_PHONE_NUMBER:"El número de teléfono proporcionado no es válido.",GmErr_CODE_MISSING:"Falta el código.",GmErr_UNREGISTERED_USER:"El usuario no está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Se ha superado el número máximo de intentos para generar un código.",GmErr_UNEXPECTED_EXCEPTION:"Ocurrió una excepción inesperada.",GmErr_INVALID_USER_ID:"El ID de usuario proporcionado no es válido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta acción no está permitida.",GmErr_CAN_NOT_FIND_ROLE:"No se pudo encontrar el rol especificado.",GmErr_NO_SESSION_PROVIDED:"No se proporcionó ninguna sesión.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No se encontró ninguna sesión activa para este usuario.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"El usuario ya ha sido anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No se ha configurado ningún rol para asignar.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La sesión proporcionada no pertenece al usuario.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La sesión proporcionada no existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"El rol ya ha sido asignado al usuario.",GmErr_ASSIGN_USER_ROLE_FAILED:"No se pudo asignar un rol al usuario.",GmErr_BadRequest_1000:"Hubo un problema con el número de identificación personal.",CountryRestricted:"Lamentablemente, estás intentando registrarte desde un país donde no podemos aceptar el juego. No podemos procesar tu registro por esta razón.",nextButton:"Siguiente",backButton:"Atrás",doneButton:"Hecho",generalError:"Algo salió mal... Por favor, inténtalo de nuevo.",successMessage:"Registro exitoso",GmErr_BadRequest_Duplicate_User:"Ya existe un usuario con esta información.",GmErr_BadRequest_PasswordContainsUsername:"La contraseña no puede ser la misma que el nombre de usuario.",GmErr_BadRequest_PasswordContainsEmail:"La contraseña no puede ser la misma que el correo electrónico.",GmErr_BadRequest_Duplicate_PersonalId:"Ya existe un registro con los datos que ingresó o ingresó sus datos en un formato incorrecto.",GmErr_Forbidden_UserAccount_NavExcluded:"El usuario está excluido de NAV. El registro fue denegado.",GmErr_BadRequest_ModelValidationFailed:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_BadInternalConfigs:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_Unauthorized:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_NotFound:"Algo salió mal... Por favor, inténtelo de nuevo.",BadRequest_Duplicate_User:"Ya existe un usuario con el mismo nombre de usuario.",BadRequest:"La solicitud es inválida, por favor verifique la API.",Unauthorized:"El número de cuenta del jugador, la dirección de correo electrónico o la contraseña son incorrectos",Forbidden_TooManyAttempts:"Ha realizado demasiados intentos de inicio de sesión inválidos, su cuenta ha sido bloqueada, por favor intente de nuevo más tarde.",Forbidden_UserAccount_NotActive:"Parece que aún no ha confirmado su dirección de correo electrónico. Para completar su registro y acceder a su cuenta, verifique su bandeja de entrada de correo electrónico para un mensaje de confirmación. Si no ha recibido el correo electrónico, verifique también su carpeta de spam. Si necesita ayuda, puede solicitar ayuda a través del servicio de atención al cliente.",GmErr_BadRequest_ExpiredToken:"El token que está utilizando ha expirado.",GmErr_BadRequest_INVALID_CODE:"El código que está utilizando es inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Ha realizado demasiados intentos de validar su código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Ha realizado demasiados intentos de generar su código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Ha sido bloqueado debido a un código inválido.",GmErr_BadRequest_CODE_MISSING:"Falta el token para su solicitud.",GmErr_BadRequest_TOKEN_NOT_FOUND:"No se encontró el token para su solicitud.",GmErr_BadRequest_USER_NOT_REGISTERED:"El usuario no está registrado. Por favor, regístrese primero.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"El número de teléfono que está utilizando es inválido.",GmErr_BadRequest_INVALID_USER_ID:"El ID de usuario es inválido.",GmErr_UnexpectedException:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: La respuesta del MoF confirma que el jugador es menor de edad o no es residente croata.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: El MoF no devuelve una respuesta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: Error interno."},pt:{GmErr_AMOUNT_INVALID:"O valor especificado é inválido.",GmErr_REGISTER_OVERAGE:"O registro excedeu o limite permitido.",GmErr_REGISTER_UNDERAGE:"O registro está abaixo do limite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"A autenticação do usuário falhou devido a muitas tentativas malsucedidas.",GmErr_USER_ACCOUNT_BLOCKED:"A conta do usuário está bloqueada.",GmErr_USER_NOT_VERIFIED:"O usuário não foi verificado.",GmErr_USER_NOT_FOUND:"Nenhum usuário encontrado com as informações fornecidas.",GmErr_USER_ID_INVALID:"O ID de usuário fornecido é inválido.",GmErr_USER_AUTH_FAILED:"A autenticação do usuário falhou.",GmErr_USER_DUPLICATED:"O usuário já existe no sistema.",GmErr_USER_NOT_ACTIVATED:"A conta do usuário não foi ativada.",GmErr_PASSWORD_CONTAINS_EMAIL:"A senha não pode conter o endereço de e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"A senha não pode conter o nome de usuário.",GmErr_PASSWORD_CONTAINS_SPACES:"A senha não pode conter espaços.",GmErr_USER_4TS_CHECK_EXISTS:"A verificação do usuário 4TS já existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"O usuário está excluído do registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"O usuário está excluído do login.",GmErr_USERNAME_REQUIRED:"É necessário um nome de usuário.",GmErr_USER_EMAIL_NOT_VERIFIED:"O endereço de e-mail do usuário não foi verificado.",GmErr_EMAIL_ALREADY_EXISTS:"Um usuário com o mesmo e-mail já existe.",GmErr_EMAIL_REQUIRED:"É necessário um endereço de e-mail.",GmErr_USERNAME_ALREADY_EXISTS:"O nome de usuário já está em uso.",GmErr_DUPLICATE_PERSONAL_ID:"ID pessoal duplicado encontrado.",GmErr_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_INVALID_CODE:"O código fornecido é inválido.",GmErr_EXPIRED_TOKEN:"O token expirou.",GmErr_ATTEMPTS_EXCEEDED:"O número máximo de tentativas foi excedido.",GmErr_BLOCK_USER_INCORRECT_CODE:"O usuário foi bloqueado devido a um código incorreto.",GmErr_TOKEN_NOT_FOUND:"O token não foi encontrado.",GmErr_INVALID_PHONE_NUMBER:"O número de telefone fornecido é inválido.",GmErr_CODE_MISSING:"O código está ausente.",GmErr_UNREGISTERED_USER:"O usuário não está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"O número máximo de tentativas para gerar um código foi excedido.",GmErr_UNEXPECTED_EXCEPTION:"Ocorreu uma exceção inesperada.",GmErr_INVALID_USER_ID:"O ID de usuário fornecido é inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Essa ação não é permitida.",GmErr_CAN_NOT_FIND_ROLE:"Não foi possível encontrar a função especificada.",GmErr_NO_SESSION_PROVIDED:"Nenhuma sessão foi fornecida.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nenhuma sessão ativa encontrada para este usuário.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"O usuário já foi anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nenhuma função foi configurada para ser atribuída.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A sessão fornecida não pertence ao usuário.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A sessão fornecida não existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A função já foi atribuída ao usuário.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falha ao atribuir uma função ao usuário.",GmErr_BadRequest_1000:"Houve um problema com o número de identificação pessoal.",CountryRestricted:"Infelizmente, você está tentando se registrar de um país onde não podemos aceitar jogos. Não podemos processar seu registro por este motivo.",nextButton:"Próximo",backButton:"Voltar",doneButton:"Concluído",generalError:"Algo deu errado... Por favor, tente novamente.",successMessage:"Registro bem-sucedido",GmErr_BadRequest_Duplicate_User:"Um usuário com essas informações já existe.",GmErr_BadRequest_PasswordContainsUsername:"A senha não pode ser igual ao nome de usuário.",GmErr_BadRequest_PasswordContainsEmail:"A senha não pode ser igual ao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Já existe um registro com os dados que você inseriu ou você inseriu seus dados em um formato incorreto.",GmErr_Forbidden_UserAccount_NavExcluded:"Usuário está NAV Excluído. Registro foi negado.",GmErr_BadRequest_ModelValidationFailed:"Algo deu errado... Por favor, tente novamente.",GmErr_BadInternalConfigs:"Algo deu errado... Por favor, tente novamente.",GmErr_Unauthorized:"Algo deu errado... Por favor, tente novamente.",GmErr_NotFound:"Algo deu errado... Por favor, tente novamente.",BadRequest_Duplicate_User:"Usuário com o mesmo nome de usuário já existe.",BadRequest:"A solicitação é inválida, por favor, verifique a API.",Unauthorized:"O número da conta do jogador, endereço de e-mail ou senha estão incorretos",Forbidden_TooManyAttempts:"Você fez muitas tentativas de login inválidas, sua conta foi bloqueada, por favor, tente novamente mais tarde.",Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu registro e acessar sua conta, verifique sua caixa de entrada de e-mail para uma mensagem de confirmação. Se você não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, você pode solicitar ajuda através do serviço de atendimento ao cliente.",GmErr_BadRequest_ExpiredToken:"O token que você está usando está expirado.",GmErr_BadRequest_INVALID_CODE:"O código que você está usando é inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Você fez muitas tentativas de validar seu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Você fez muitas tentativas de gerar seu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Você foi bloqueado devido a um código inválido.",GmErr_BadRequest_CODE_MISSING:"O token está faltando para sua solicitação.",GmErr_BadRequest_TOKEN_NOT_FOUND:"O token não foi encontrado para sua solicitação.",GmErr_BadRequest_USER_NOT_REGISTERED:"O usuário não está registrado. Por favor, registre-se primeiro.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"O número de telefone que você está usando é inválido.",GmErr_BadRequest_INVALID_USER_ID:"O ID do usuário é inválido.",GmErr_UnexpectedException:"Algo deu errado... Por favor, tente novamente.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: A resposta do MoF confirma que o jogador é menor de idade ou não é residente da Croácia.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: O MoF não retorna uma resposta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: Erro interno."},de:{GmErr_AMOUNT_INVALID:"Der angegebene Betrag ist ungültig.",GmErr_REGISTER_OVERAGE:"Die Registrierung hat das zulässige Limit überschritten.",GmErr_REGISTER_UNDERAGE:"Die Registrierung liegt unterhalb des zulässigen Limits.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Die Benutzeranmeldung ist aufgrund zu vieler fehlgeschlagener Versuche fehlgeschlagen.",GmErr_USER_ACCOUNT_BLOCKED:"Das Benutzerkonto ist gesperrt.",GmErr_USER_NOT_VERIFIED:"Der Benutzer wurde nicht verifiziert.",GmErr_USER_NOT_FOUND:"Kein Benutzer mit den angegebenen Informationen gefunden.",GmErr_USER_ID_INVALID:"Die angegebene Benutzer-ID ist ungültig.",GmErr_USER_AUTH_FAILED:"Die Benutzeranmeldung ist fehlgeschlagen.",GmErr_USER_DUPLICATED:"Der Benutzer ist bereits im System vorhanden.",GmErr_USER_NOT_ACTIVATED:"Das Benutzerkonto wurde nicht aktiviert.",GmErr_PASSWORD_CONTAINS_EMAIL:"Das Passwort darf keine E-Mail-Adresse enthalten.",GmErr_PASSWORD_CONTAINS_USERNAME:"Das Passwort darf keinen Benutzernamen enthalten.",GmErr_PASSWORD_CONTAINS_SPACES:"Das Passwort darf keine Leerzeichen enthalten.",GmErr_USER_4TS_CHECK_EXISTS:"Die 4TS-Überprüfung des Benutzers existiert bereits.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Der Benutzer ist von der Registrierung ausgeschlossen.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Der Benutzer ist vom Login ausgeschlossen.",GmErr_USERNAME_REQUIRED:"Ein Benutzername ist erforderlich.",GmErr_USER_EMAIL_NOT_VERIFIED:"Die E-Mail-Adresse des Benutzers wurde nicht verifiziert.",GmErr_EMAIL_ALREADY_EXISTS:"Ein Benutzer mit derselben E-Mail-Adresse existiert bereits.",GmErr_EMAIL_REQUIRED:"Eine E-Mail-Adresse ist erforderlich.",GmErr_USERNAME_ALREADY_EXISTS:"Der Benutzername ist bereits vergeben.",GmErr_DUPLICATE_PERSONAL_ID:"Doppelte persönliche ID gefunden.",GmErr_INVALID_USER_DOCUMENT:"Das Benutzerdokument ist ungültig.",GmErr_INVALID_CODE:"Der angegebene Code ist ungültig.",GmErr_EXPIRED_TOKEN:"Das Token ist abgelaufen.",GmErr_ATTEMPTS_EXCEEDED:"Die maximale Anzahl an Versuchen wurde überschritten.",GmErr_BLOCK_USER_INCORRECT_CODE:"Der Benutzer wurde aufgrund eines falschen Codes gesperrt.",GmErr_TOKEN_NOT_FOUND:"Das Token wurde nicht gefunden.",GmErr_INVALID_PHONE_NUMBER:"Die angegebene Telefonnummer ist ungültig.",GmErr_CODE_MISSING:"Der Code fehlt.",GmErr_UNREGISTERED_USER:"Der Benutzer ist nicht registriert.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Die maximale Anzahl an Versuchen, einen Code zu generieren, wurde überschritten.",GmErr_UNEXPECTED_EXCEPTION:"Es ist ein unerwarteter Fehler aufgetreten.",GmErr_INVALID_USER_ID:"Die angegebene Benutzer-ID ist ungültig.",GmErr_NOT_ALLOWED_EXCEPTION:"Diese Aktion ist nicht erlaubt.",GmErr_CAN_NOT_FIND_ROLE:"Die angegebene Rolle konnte nicht gefunden werden.",GmErr_NO_SESSION_PROVIDED:"Es wurde keine Sitzung bereitgestellt.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Es wurde keine aktive Sitzung für diesen Benutzer gefunden.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Der Benutzer wurde bereits anonymisiert.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Es wurde keine Rolle zur Zuweisung eingerichtet.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Die bereitgestellte Sitzung gehört nicht dem Benutzer.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Die bereitgestellte Sitzung existiert nicht.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Die Rolle wurde dem Benutzer bereits zugewiesen.",GmErr_ASSIGN_USER_ROLE_FAILED:"Die Zuweisung einer Rolle an den Benutzer ist fehlgeschlagen.",GmErr_BadRequest_1000:"Es gab ein Problem mit der persönlichen Identifikationsnummer.",CountryRestricted:"Leider versuchen Sie, sich aus einem Land zu registrieren, in dem wir kein Spiel zulassen können. Aus diesem Grund können wir Ihre Registrierung nicht verarbeiten.",nextButton:"Weiter",backButton:"Zurück",doneButton:"Fertig",generalError:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",successMessage:"Registrierung erfolgreich",GmErr_BadRequest_Duplicate_User:"Ein Benutzer mit diesen Informationen existiert bereits.",GmErr_BadRequest_PasswordContainsUsername:"Das Passwort darf nicht mit dem Benutzernamen übereinstimmen.",GmErr_BadRequest_PasswordContainsEmail:"Das Passwort darf nicht mit der E-Mail-Adresse übereinstimmen.",GmErr_BadRequest_Duplicate_PersonalId:"Es gibt bereits eine Registrierung mit den eingegebenen Daten oder Sie haben Ihre Daten in einem falschen Format eingegeben.",GmErr_Forbidden_UserAccount_NavExcluded:"Benutzer ist NAV ausgeschlossen. Registrierung wurde abgelehnt.",GmErr_BadRequest_ModelValidationFailed:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_BadInternalConfigs:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_Unauthorized:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_NotFound:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",BadRequest_Duplicate_User:"Ein Benutzer mit demselben Benutzernamen existiert bereits.",BadRequest:"Die Anfrage ist ungültig, bitte überprüfen Sie die API.",Unauthorized:"Die Kontonummer des Spielers, die E-Mail-Adresse oder das Passwort ist falsch",Forbidden_TooManyAttempts:"Sie haben zu viele ungültige Anmeldeversuche unternommen, Ihr Konto wurde gesperrt, bitte versuchen Sie es später erneut.",Forbidden_UserAccount_NotActive:"Es scheint, dass Sie Ihre E-Mail-Adresse noch nicht bestätigt haben. Um Ihre Registrierung abzuschließen und auf Ihr Konto zuzugreifen, überprüfen Sie bitte Ihr E-Mail-Postfach auf eine Bestätigungsnachricht. Wenn Sie die E-Mail nicht erhalten haben, überprüfen Sie bitte auch Ihren Spam-Ordner. Wenn Sie Hilfe benötigen, können Sie über den Kundenservice Hilfe anfordern.",GmErr_BadRequest_ExpiredToken:"Das von Ihnen verwendete Token ist abgelaufen.",GmErr_BadRequest_INVALID_CODE:"Der von Ihnen verwendete Code ist ungültig.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Sie haben zu viele Versuche unternommen, Ihren Code zu validieren.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Sie haben zu viele Versuche unternommen, Ihren Code zu generieren.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Sie wurden aufgrund eines ungültigen Codes gesperrt.",GmErr_BadRequest_CODE_MISSING:"Das Token fehlt für Ihre Anfrage.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Das Token wurde für Ihre Anfrage nicht gefunden.",GmErr_BadRequest_USER_NOT_REGISTERED:"Der Benutzer ist nicht registriert. Bitte registrieren Sie sich zuerst.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Die von Ihnen verwendete Telefonnummer ist ungültig.",GmErr_BadRequest_INVALID_USER_ID:"Die Benutzer-ID ist ungültig.",GmErr_UnexpectedException:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Das Benutzerdokument ist ungültig.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Die Antwort des MoF bestätigt, dass der Spieler minderjährig ist oder kein kroatischer Einwohner ist.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Das MoF gibt keine Antwort.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Interner Fehler."}},Eh=(e,t,i)=>{let r=bh[bh[t]?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");r=r.replace(i,t)}return r};function yh(){}function wh(e){return e()}function kh(){return Object.create(null)}function xh(e){e.forEach(wh)}function Sh(e){return"function"==typeof e}function Ah(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function Ih(e,...t){if(null==e){for(const e of t)e(void 0);return yh}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Th(e,t,i){e.$$.on_destroy.push(Ih(t,i))}function Ch(e,t){e.appendChild(t)}function Dh(e,t,i){const r=function(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}(e);if(!r.getElementById(t)){const e=zh("style");e.id=t,e.textContent=i,function(e,t){Ch(e.head||e,t)}(r,e)}}function Rh(e,t,i){e.insertBefore(t,i||null)}function Nh(e){e.parentNode&&e.parentNode.removeChild(e)}function Oh(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function zh(e){return document.createElement(e)}function Gh(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Mh(e){return document.createTextNode(e)}function Uh(){return Mh(" ")}function Bh(){return Mh("")}function Ph(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function Lh(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function Fh(e,t,i){const r=t.toLowerCase();r in e?e[r]="boolean"==typeof e[r]&&""===i||i:t in e?e[t]="boolean"==typeof e[t]&&""===i||i:Lh(e,t,i)}function jh(e,t){e.data!==(t=""+t)&&(e.data=t)}class qh{is_svg=!1;e=void 0;n=void 0;t=void 0;a=void 0;constructor(e=!1){this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,i=null){this.e||(this.e=this.is_svg?Gh(t.nodeName):zh(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)Rh(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(Nh)}}let Hh;function Vh(e){Hh=e}function $h(e){(function(){if(!Hh)throw new Error("Function called outside component initialization");return Hh})().$$.on_mount.push(e)}const Xh=[],Kh=[];let Yh=[];const Wh=[],Zh=Promise.resolve();let Qh=!1;function Jh(e){Yh.push(e)}const ec=new Set;let tc=0;function ic(){if(0!==tc)return;const e=Hh;do{try{for(;tc<Xh.length;){const e=Xh[tc];tc++,Vh(e),rc(e.$$)}}catch(e){throw Xh.length=0,tc=0,e}for(Vh(null),Xh.length=0,tc=0;Kh.length;)Kh.pop()();for(let e=0;e<Yh.length;e+=1){const t=Yh[e];ec.has(t)||(ec.add(t),t())}Yh.length=0}while(Xh.length);for(;Wh.length;)Wh.pop()();Qh=!1,ec.clear(),Vh(e)}function rc(e){if(null!==e.fragment){e.update(),xh(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Jh)}}const nc=new Set;function oc(e){return void 0!==e?.length?e:Array.from(e)}function sc(e,t,i,r,n,o,s=null,a=[-1]){const l=Hh;Vh(e);const h=e.$$={fragment:null,ctx:[],props:o,update:yh,not_equal:n,bound:kh(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:kh(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(h.root);let c=!1;if(h.ctx=i?i(e,t.props||{},((t,i,...r)=>{const o=r.length?r[0]:i;return h.ctx&&n(h.ctx[t],h.ctx[t]=o)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](o),c&&function(e,t){-1===e.$$.dirty[0]&&(Xh.push(e),Qh||(Qh=!0,Zh.then(ic)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),i})):[],h.update(),c=!0,xh(h.before_update),h.fragment=!!r&&r(h.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);h.fragment&&h.fragment.l(e),e.forEach(Nh)}else h.fragment&&h.fragment.c();t.intro&&function(e){e&&e.i&&(nc.delete(e),e.i(void 0))}(e.$$.fragment),function(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),Jh((()=>{const t=e.$$.on_mount.map(wh).filter(Sh);e.$$.on_destroy?e.$$.on_destroy.push(...t):xh(t),e.$$.on_mount=[]})),n.forEach(Jh)}(e,t.target,t.anchor),ic()}Vh(l)}let ac;function lc(e,t,i,r){const n=i[e]?.type;if(t="Boolean"===n&&"boolean"!=typeof t?null!=t:t,!r||!i[e])return t;if("toAttribute"===r)switch(n){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":default:return t;case"Number":return null!=t?+t:t}}function hc(e,t,i,r,n){let o=class extends ac{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map((e=>(t[e].attribute||e).toLowerCase()))}};return Object.keys(t).forEach((e=>{Object.defineProperty(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(i){i=lc(e,i,t),this.$$d[e]=i,this.$$c?.$set({[e]:i})}})})),r.forEach((e=>{Object.defineProperty(o.prototype,e,{get(){return this.$$c?.[e]}})})),e.element=o,o}"function"==typeof HTMLElement&&(ac=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(e,t,i){super(),this.$$ctor=e,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(e,t,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,i)}removeEventListener(e,t,i){if(super.removeEventListener(e,t,i),this.$$c){const e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(e){return()=>{let t;return{c:function(){t=zh("slot"),"default"!==e&&Lh(t,"name",e)},m:function(e,i){Rh(e,t,i)},d:function(e){e&&Nh(t)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=function(e){const t={};return e.childNodes.forEach((e=>{t[e.slot||"default"]=!0})),t}(this);for(const r of this.$$s)r in i&&(t[r]=[e(r)]);for(const e of this.attributes){const t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=lc(t,e.value,this.$$p_d,"toProp"))}for(const e in this.$$p_d)!(e in this.$$d)&&void 0!==this[e]&&(this.$$d[e]=this[e],delete this[e]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$scope:{ctx:[]}}});const r=()=>{this.$$r=!0;for(const e in this.$$p_d)if(this.$$d[e]=this.$$c.$$.ctx[this.$$c.$$.props[e]],this.$$p_d[e].reflect){const t=lc(e,this.$$d[e],this.$$p_d,"toAttribute");null==t?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const e in this.$$l)for(const t of this.$$l[e]){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}this.$$l={}}}attributeChangedCallback(e,t,i){this.$$r||(e=this.$$g_p(e),this.$$d[e]=lc(e,i,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(e){return Object.keys(this.$$p_d).find((t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e))||e}});class cc{$$=void 0;$$set=void 0;$destroy(){(function(e,t){const i=e.$$;null!==i.fragment&&(function(e){const t=[],i=[];Yh.forEach((r=>-1===e.indexOf(r)?t.push(r):i.push(r))),i.forEach((e=>e())),Yh=t}(i.after_update),xh(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])})(this,1),this.$destroy=yh}$on(e,t){if(!Sh(t))return yh;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&!function(e){return 0===Object.keys(e).length}(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function uc(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function dc(e,t){const i=new URL(t);fetch(i.href).then((e=>e.text())).then((t=>{const i=document.createElement("style");i.innerHTML=t,e&&e.appendChild(i)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}function mc(e,t){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,(t=>{i.innerHTML=t,e&&e.appendChild(i)}))}}function pc(e){Dh(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function _c(e){let t;return{c(){t=zh("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(i,r){Rh(i,t,r),e[4](t)},p:yh,i:yh,o:yh,d(i){i&&Nh(t),e[4](null)}}}function fc(e,t,i){let r,{clientstyling:n=""}=t,{clientstylingurl:o=""}=t,{mbsource:s}=t;return $h((()=>()=>{})),e.$$set=e=>{"clientstyling"in e&&i(1,n=e.clientstyling),"clientstylingurl"in e&&i(2,o=e.clientstylingurl),"mbsource"in e&&i(3,s=e.mbsource)},e.$$.update=()=>{3&e.$$.dirty&&n&&r&&uc(r,n),5&e.$$.dirty&&o&&r&&dc(r,o),9&e.$$.dirty&&s&&r&&mc(r,`${s}.Style`)},[r,n,o,s,function(e){Kh[e?"unshift":"push"]((()=>{r=e,i(0,r)}))}]}typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class vc extends cc{constructor(e){super(),sc(this,e,fc,_c,Ah,{clientstyling:1,clientstylingurl:2,mbsource:3},pc)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),ic()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),ic()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),ic()}}hc(vc,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);const gc=Object.freeze(Object.defineProperty({__proto__:null,default:vc},Symbol.toStringTag,{value:"Module"})),bc=Object.freeze({__proto__:null,A:function(e){return e},B:uc,C:dc,D:mc,G:gc,H:qh,S:cc,a:Ih,b:sc,c:hc,d:Nh,e:Rh,f:Ch,g:Gh,h:Lh,i:Sh,j:ic,k:Dh,l:zh,m:Th,n:yh,o:$h,p:Kh,q:Fh,r:xh,s:Ah,t:jh,u:Mh,v:oc,w:Oh,x:Ph,y:Uh,z:Bh}),Ec=[];function yc(e,t=yh){let i;const r=new Set;function n(t){if(Ah(e,t)&&(e=t,i)){const t=!Ec.length;for(const t of r)t[1](),Ec.push(t,e);if(t){for(let e=0;e<Ec.length;e+=2)Ec[e][0](Ec[e+1]);Ec.length=0}}}function o(t){n(t(e))}return{set:n,update:o,subscribe:function(s,a=yh){const l=[s,a];return r.add(l),1===r.size&&(i=t(n,o)||yh),s(e),()=>{r.delete(l),0===r.size&&i&&(i(),i=null)}}}}function wc(e,t,i){const r=!Array.isArray(e),n=r?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return function(e,t){return{subscribe:yc(e,t).subscribe}}(i,((e,i)=>{let s=!1;const a=[];let l=0,h=yh;const c=()=>{if(l)return;h();const n=t(r?a[0]:a,e,i);o?e(n):h=Sh(n)?n:yh},u=n.map(((e,t)=>Ih(e,(e=>{a[t]=e,l&=~(1<<t),s&&c()}),(()=>{l|=1<<t}))));return s=!0,c(),function(){xh(u),h(),s=!1}}))}function kc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xc=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Sc}(e)}(e)},Sc="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ac(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Dc(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function Ic(e,t,i){return e.concat(t).map((function(e){return Ac(e,i)}))}function Tc(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Cc(e,t){try{return t in e}catch{return!1}}function Dc(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Ic,i.isMergeableObject=i.isMergeableObject||xc,i.cloneUnlessOtherwiseSpecified=Ac;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):function(e,t,i){var r={};return i.isMergeableObject(e)&&Tc(e).forEach((function(t){r[t]=Ac(e[t],i)})),Tc(t).forEach((function(n){(function(e,t){return Cc(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(r[n]=Cc(e,n)&&i.isMergeableObject(t[n])?function(e,t){if(!t.customMerge)return Dc;var i=t.customMerge(e);return"function"==typeof i?i:Dc}(n,i)(e[n],t[n],i):Ac(t[n],i))})),r}(e,t,i):Ac(t,i)}Dc.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return Dc(e,i,t)}),{})};const Rc=kc(Dc);var Nc=function(e,t){return Nc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},Nc(e,t)};function Oc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Nc(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var zc=function(){return zc=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},zc.apply(this,arguments)};function Gc(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)(r||!(n in t))&&(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function Mc(e,t){return(t&&t.strategy?t.strategy:Lc)(e,{cache:t&&t.cache?t.cache:$c,serializer:t&&t.serializer?t.serializer:Hc})}function Uc(e,t,i,r){var n=function(e){return null==e||"number"==typeof e||"boolean"==typeof e}(r)?r:i(r),o=t.get(n);return typeof o>"u"&&(o=e.call(this,r),t.set(n,o)),o}function Bc(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),o=t.get(n);return typeof o>"u"&&(o=e.apply(this,r),t.set(n,o)),o}function Pc(e,t,i,r,n){return i.bind(t,e,r,n)}function Lc(e,t){return Pc(e,this,1===e.length?Uc:Bc,t.cache.create(),t.serializer)}var Fc,jc,qc,Hc=function(){return JSON.stringify(arguments)},Vc=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),$c={create:function(){return new Vc}},Xc={variadic:function(e,t){return Pc(e,this,Bc,t.cache.create(),t.serializer)}};function Kc(e){return e.type===jc.literal}function Yc(e){return e.type===jc.argument}function Wc(e){return e.type===jc.number}function Zc(e){return e.type===jc.date}function Qc(e){return e.type===jc.time}function Jc(e){return e.type===jc.select}function eu(e){return e.type===jc.plural}function tu(e){return e.type===jc.pound}function iu(e){return e.type===jc.tag}function ru(e){return!(!e||"object"!=typeof e||e.type!==qc.number)}function nu(e){return!(!e||"object"!=typeof e||e.type!==qc.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Fc||(Fc={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(jc||(jc={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(qc||(qc={}));var ou=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,su=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function au(e){var t={};return e.replace(su,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===i?"long":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var lu=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function hu(e){return e.replace(/^(.*?)-/,"")}var cu=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,uu=/^(@+)?(\+|#+)?[rs]?$/g,du=/(\*)(0+)|(#+)(0+)|(0+)/g,mu=/^(0+)$/;function pu(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(uu,(function(e,i,r){return"string"!=typeof r?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===r?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""})),t}function _u(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function fu(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!mu.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function vu(e){return _u(e)||{}}function gu(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=hu(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=zc(zc(zc({},t),{notation:"scientific"}),n.options.reduce((function(e,t){return zc(zc({},e),vu(t))}),{}));continue;case"engineering":t=zc(zc(zc({},t),{notation:"engineering"}),n.options.reduce((function(e,t){return zc(zc({},e),vu(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(du,(function(e,i,r,n,o,s){if(i)t.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(mu.test(n.stem))t.minimumIntegerDigits=n.stem.length;else if(cu.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(cu,(function(e,i,r,n,o,s){return"*"===r?t.minimumFractionDigits=i.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var o=n.options[0];"w"===o?t=zc(zc({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=zc(zc({},t),pu(o)))}else if(uu.test(n.stem))t=zc(zc({},t),pu(n.stem));else{var s=_u(n.stem);s&&(t=zc(zc({},t),s));var a=fu(n.stem);a&&(t=zc(zc({},t),a))}}return t}var bu={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Eu(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i,r=e.language;return"root"!==r&&(i=e.maximize().region),(bu[i||""]||bu[r||""]||bu["".concat(r,"-001")]||bu["001"])[0]}var yu,wu=new RegExp("^".concat(ou.source,"*")),ku=new RegExp("".concat(ou.source,"*$"));function xu(e,t){return{start:e,end:t}}var Su=!!String.prototype.startsWith&&"_a".startsWith("a",1),Au=!!String.fromCodePoint,Iu=!!Object.fromEntries,Tu=!!String.prototype.codePointAt,Cu=!!String.prototype.trimStart,Du=!!String.prototype.trimEnd,Ru=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Nu=!0;try{Nu="a"===(null===(yu=Lu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===yu?void 0:yu[0])}catch{Nu=!1}var Ou,zu=Su?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Gu=Au?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",n=e.length,o=0;n>o;){if((i=e[o++])>1114111)throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},Mu=Iu?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];t[n[0]]=n[1]}return t},Uu=Tu?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var r,n=e.charCodeAt(t);return n<55296||n>56319||t+1===i||(r=e.charCodeAt(t+1))<56320||r>57343?n:r-56320+(n-55296<<10)+65536}},Bu=Cu?function(e){return e.trimStart()}:function(e){return e.replace(wu,"")},Pu=Du?function(e){return e.trimEnd()}:function(e){return e.replace(ku,"")};function Lu(e,t){return new RegExp(e,t)}if(Nu){var Fu=Lu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ou=function(e,t){var i;return Fu.lastIndex=t,null!==(i=Fu.exec(e)[1])&&void 0!==i?i:""}}else Ou=function(e,t){for(var i=[];;){var r=Uu(e,t);if(void 0===r||$u(r)||Xu(r))break;i.push(r),t+=r>=65536?2:1}return Gu.apply(void 0,i)};var ju,qu=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var r=[];!this.isEOF();){var n=this.char();if(123===n){if((o=this.parseArgument(e,i)).err)return o;r.push(o.val)}else{if(125===n&&e>0)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(Fc.UNMATCHED_CLOSING_TAG,xu(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Hu(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:jc.pound,location:xu(s,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:jc.literal,value:"<".concat(r,"/>"),location:xu(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,!0);if(n.err)return n;var o=n.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Hu(this.char()))return this.error(Fc.INVALID_TAG,xu(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(Fc.UNMATCHED_CLOSING_TAG,xu(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:jc.tag,value:r,children:o,location:xu(i,this.clonePosition())},err:null}:this.error(Fc.INVALID_TAG,xu(s,this.clonePosition())))}return this.error(Fc.UNCLOSED_TAG,xu(i,this.clonePosition()))}return this.error(Fc.INVALID_TAG,xu(i,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Vu(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),r="";;){var n=this.tryParseQuote(t);if(n)r+=n;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=xu(i,this.clonePosition());return{val:{type:jc.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&function(e){return Hu(e)||47===e}(this.peek()||0)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return Gu.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),Gu(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xu(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Fc.EMPTY_ARGUMENT,xu(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Fc.MALFORMED_ARGUMENT,xu(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xu(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:jc.argument,value:r,location:xu(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xu(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(Fc.MALFORMED_ARGUMENT,xu(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Ou(this.message,t);return this.bumpTo(t+i.length),{value:i,location:xu(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,r){var n,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Fc.EXPECT_ARGUMENT_TYPE,xu(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((v=this.parseSimpleArgStyleIfPossible()).err)return v;if(0===(m=Pu(v.val)).length)return this.error(Fc.EXPECT_ARGUMENT_STYLE,xu(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:xu(h,this.clonePosition())}}if((g=this.tryParseArgumentClose(r)).err)return g;var c=xu(r,this.clonePosition());if(l&&zu(l?.style,"::",0)){var u=Bu(l.style.slice(2));if("number"===s)return(v=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?v:{val:{type:jc.number,value:i,location:c,style:v.val},err:null};if(0===u.length)return this.error(Fc.EXPECT_DATE_TIME_SKELETON,c);var d=u;this.locale&&(d=function(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if("j"===n){for(var o=0;r+1<e.length&&e.charAt(r+1)===n;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Eu(t);for(("H"==l||"k"==l)&&(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===n?"H":n}return i}(u,this.locale));var m={type:qc.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?au(d):{}};return{val:{type:"date"===s?jc.date:jc.time,value:i,location:c,style:m},err:null}}return{val:{type:"number"===s?jc.number:"date"===s?jc.date:jc.time,value:i,location:c,style:null!==(n=l?.style)&&void 0!==n?n:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Fc.EXPECT_SELECT_ARGUMENT_OPTIONS,xu(p,zc({},p)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),f=0;if("select"!==s&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(Fc.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,xu(this.clonePosition(),this.clonePosition()));var v;if(this.bumpSpace(),(v=this.tryParseDecimalInteger(Fc.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Fc.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return v;this.bumpSpace(),_=this.parseIdentifierIfPossible(),f=v.val}var g,b=this.tryParsePluralOrSelectOptions(e,s,t,_);if(b.err)return b;if((g=this.tryParseArgumentClose(r)).err)return g;var E=xu(r,this.clonePosition());return"select"===s?{val:{type:jc.select,value:i,options:Mu(b.val),location:E},err:null}:{val:{type:jc.plural,value:i,options:Mu(b.val),offset:f,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(Fc.INVALID_ARGUMENT_TYPE,xu(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xu(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Fc.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,xu(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(lu).filter((function(e){return e.length>0})),i=[],r=0,n=t;r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,h=a;l<h.length;l++)if(0===h[l].length)throw new Error("Invalid number skeleton");i.push({stem:s,options:a})}return i}(e)}catch{return this.error(Fc.INVALID_NUMBER_SKELETON,t)}return{val:{type:qc.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?gu(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var n,o=!1,s=[],a=new Set,l=r.value,h=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Fc.EXPECT_PLURAL_ARGUMENT_SELECTOR,Fc.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=xu(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?Fc.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Fc.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===l&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Fc.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Fc.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,xu(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var p=this.tryParseArgumentClose(d);if(p.err)return p;s.push([l,{value:m.val,location:xu(d,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(n=this.parseIdentifierIfPossible()).value,h=n.location}return 0===s.length?this.error("select"===t?Fc.EXPECT_SELECT_ARGUMENT_SELECTOR:Fc.EXPECT_PLURAL_ARGUMENT_SELECTOR,xu(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Fc.MISSING_OTHER_CLAUSE,xu(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var n=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;n=!0,o=10*o+(s-48),this.bump()}var a=xu(r,this.clonePosition());return n?Ru(o*=i)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Uu(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(zu(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&$u(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null},e}();function Hu(e){return e>=97&&e<=122||e>=65&&e<=90}function Vu(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function $u(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Xu(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Ku(e){e.forEach((function(e){if(delete e.location,Jc(e)||eu(e))for(var t in e.options)delete e.options[t].location,Ku(e.options[t].value);else Wc(e)&&ru(e.style)||(Zc(e)||Qc(e))&&nu(e.style)?delete e.style.location:iu(e)&&Ku(e.children)}))}function Yu(e,t){void 0===t&&(t={}),t=zc({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new qu(e,t).parse();if(i.err){var r=SyntaxError(Fc[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t?.captureLocation||Ku(i.val),i.val}!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ju||(ju={}));var Wu,Zu=function(e){function t(t,i,r){var n=e.call(this,t)||this;return n.code=i,n.originalMessage=r,n}return Oc(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Qu=function(e){function t(t,i,r,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ju.INVALID_VALUE,n)||this}return Oc(t,e),t}(Zu),Ju=function(e){function t(t,i,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),ju.INVALID_VALUE,r)||this}return Oc(t,e),t}(Zu),ed=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),ju.MISSING_VALUE,i)||this}return Oc(t,e),t}(Zu);function td(e){return"function"==typeof e}function id(e,t,i,r,n,o,s){if(1===e.length&&Kc(e[0]))return[{type:Wu.literal,value:e[0].value}];for(var a=[],l=0,h=e;l<h.length;l++){var c=h[l];if(Kc(c))a.push({type:Wu.literal,value:c.value});else if(tu(c))"number"==typeof o&&a.push({type:Wu.literal,value:i.getNumberFormat(t).format(o)});else{var u=c.value;if(!n||!(u in n))throw new ed(u,s);var d=n[u];if(Yc(c))(!d||"string"==typeof d||"number"==typeof d)&&(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?Wu.literal:Wu.object,value:d});else if(Zc(c)){var m="string"==typeof c.style?r.date[c.style]:nu(c.style)?c.style.parsedOptions:void 0;a.push({type:Wu.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(Qc(c))m="string"==typeof c.style?r.time[c.style]:nu(c.style)?c.style.parsedOptions:r.time.medium,a.push({type:Wu.literal,value:i.getDateTimeFormat(t,m).format(d)});else if(Wc(c))(m="string"==typeof c.style?r.number[c.style]:ru(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(d*=m.scale||1),a.push({type:Wu.literal,value:i.getNumberFormat(t,m).format(d)});else{if(iu(c)){var p=c.children,_=c.value,f=n[_];if(!td(f))throw new Ju(_,"function",s);var v=f(id(p,t,i,r,n,o).map((function(e){return e.value})));Array.isArray(v)||(v=[v]),a.push.apply(a,v.map((function(e){return{type:"string"==typeof e?Wu.literal:Wu.object,value:e}})))}if(Jc(c)){if(!(g=c.options[d]||c.options.other))throw new Qu(c.value,d,Object.keys(c.options),s);a.push.apply(a,id(g.value,t,i,r,n))}else if(eu(c)){var g;if(!(g=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new Zu('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ju.MISSING_INTL_API,s);var b=i.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));g=c.options[b]||c.options.other}if(!g)throw new Qu(c.value,d,Object.keys(c.options),s);a.push.apply(a,id(g.value,t,i,r,n,d-(c.offset||0)))}}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===Wu.literal&&t.type===Wu.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function rd(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Wu||(Wu={}));var nd=function(){function e(t,i,r,n){void 0===i&&(i=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===Wu.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return id(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=o.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=function(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]])}return i}(n||{},["formatters"]);this.ast=e.__parse(t,zc(zc({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((function(i,r){return i[r]=function(e,t){return t?zc(zc(zc({},e||{}),t||{}),Object.keys(e).reduce((function(i,r){return i[r]=zc(zc({},e[r]),t[r]||{}),i}),{})):e}(e[r],t[r]),i}),zc({},e)):e}(e.formats,r),this.formatters=n&&n.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Mc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Gc([void 0],t,!1)))}),{cache:rd(e.number),strategy:Xc.variadic}),getDateTimeFormat:Mc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Gc([void 0],t,!1)))}),{cache:rd(e.dateTime),strategy:Xc.variadic}),getPluralRules:Mc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Gc([void 0],t,!1)))}),{cache:rd(e.pluralRules),strategy:Xc.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(!(typeof Intl.Locale>"u")){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Yu,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const od={},sd=(e,t,i)=>i&&(t in od||(od[t]={}),e in od[t]||(od[t][e]=i),i),ad=(e,t)=>{if(null==t)return;if(t in od&&e in od[t])return od[t][e];const i=Rd(t);for(let r=0;r<i.length;r++){const n=ud(i[r],e);if(n)return sd(e,t,n)}};let ld;const hd=yc({});function cd(e){return e in ld}function ud(e,t){if(!cd(e))return null;const i=function(e){return ld[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let e=0;e<i.length;e++)if("object"==typeof r){if(e>0){const t=i.slice(e,i.length).join(".");if(t in r){r=r[t];break}}r=r[i[e]]}else r=void 0;return r}(i,t)}function dd(e,...t){delete od[e],hd.update((i=>(i[e]=Rc.all([i[e]||{},...t]),i)))}wc([hd],(([e])=>Object.keys(e))),hd.subscribe((e=>ld=e));const md={};function pd(e){return md[e]}function _d(e){return null!=e&&Rd(e).some((e=>{var t;return null==(t=pd(e))?void 0:t.size}))}const fd={};function vd(e){if(!_d(e))return e in fd?fd[e]:Promise.resolve();const t=function(e){return Rd(e).map((e=>{const t=pd(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return fd[e]=Promise.all(t.map((([e,t])=>function(e,t){return Promise.all(t.map((t=>(function(e,t){md[e].delete(t),0===md[e].size&&delete md[e]}(e,t),t().then((e=>e.default||e)))))).then((t=>dd(e,...t)))}(e,t)))).then((()=>{if(_d(e))return vd(e);delete fd[e]})),fd[e]}const gd={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function bd(){return gd}const Ed=yc(!1);var yd=Object.defineProperty,wd=Object.defineProperties,kd=Object.getOwnPropertyDescriptors,xd=Object.getOwnPropertySymbols,Sd=Object.prototype.hasOwnProperty,Ad=Object.prototype.propertyIsEnumerable,Id=(e,t,i)=>t in e?yd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let Td;const Cd=yc(null);function Dd(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function Rd(e,t=bd().fallbackLocale){const i=Dd(e);return t?[...new Set([...i,...Dd(t)])]:i}function Nd(){return Td??void 0}Cd.subscribe((e=>{Td=e??void 0,typeof window<"u"&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Od=((e,t)=>wd(e,kd(t)))(((e,t)=>{for(var i in t||(t={}))Sd.call(t,i)&&Id(e,i,t[i]);if(xd)for(var i of xd(t))Ad.call(t,i)&&Id(e,i,t[i]);return e})({},Cd),{set:e=>{if(e&&function(e){if(null==e)return;const t=Rd(e);for(let e=0;e<t.length;e++){const i=t[e];if(cd(i))return i}}(e)&&_d(e)){const{loadingDelay:t}=bd();let i;return typeof window<"u"&&null!=Nd()&&t?i=window.setTimeout((()=>Ed.set(!0)),t):Ed.set(!0),vd(e).then((()=>{Cd.set(e)})).finally((()=>{clearTimeout(i),Ed.set(!1)}))}return Cd.set(e)}}),zd=e=>{const t=Object.create(null);return i=>{const r=JSON.stringify(i);return r in t?t[r]:t[r]=e(i)}};var Gd=Object.defineProperty,Md=Object.getOwnPropertySymbols,Ud=Object.prototype.hasOwnProperty,Bd=Object.prototype.propertyIsEnumerable,Pd=(e,t,i)=>t in e?Gd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Ld=(e,t)=>{for(var i in t||(t={}))Ud.call(t,i)&&Pd(e,i,t[i]);if(Md)for(var i of Md(t))Bd.call(t,i)&&Pd(e,i,t[i]);return e},Fd=(e,t)=>{var i={};for(var r in e)Ud.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&Md)for(var r of Md(e))t.indexOf(r)<0&&Bd.call(e,r)&&(i[r]=e[r]);return i};const jd=(e,t)=>{const{formats:i}=bd();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qd=zd((e=>{var t=e,{locale:i,format:r}=t,n=Fd(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=jd("number",r)),new Intl.NumberFormat(i,n)})),Hd=zd((e=>{var t=e,{locale:i,format:r}=t,n=Fd(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=jd("date",r):0===Object.keys(n).length&&(n=jd("date","short")),new Intl.DateTimeFormat(i,n)})),Vd=zd((e=>{var t=e,{locale:i,format:r}=t,n=Fd(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=jd("time",r):0===Object.keys(n).length&&(n=jd("time","short")),new Intl.DateTimeFormat(i,n)})),$d=zd(((e,t=Nd())=>new nd(e,t,bd().formats,{ignoreTag:bd().ignoreTag}))),Xd=(e,t={})=>{var i,r,n,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Nd(),default:h}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=ad(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(n=null==(r=(i=bd()).handleMissingMessage)?void 0:r.call(i,{locale:l,id:e,defaultValue:h}))?n:h)?o:e;if(!a)return c;let u=c;try{u=$d(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Kd=(e,t)=>((e={})=>{var t=e,{locale:i=Nd()}=t,r=Fd(t,["locale"]);return Vd(Ld({locale:i},r))})(t).format(e),Yd=(e,t)=>((e={})=>{var t=e,{locale:i=Nd()}=t,r=Fd(t,["locale"]);return Hd(Ld({locale:i},r))})(t).format(e),Wd=(e,t)=>((e={})=>{var t=e,{locale:i=Nd()}=t,r=Fd(t,["locale"]);return qd(Ld({locale:i},r))})(t).format(e),Zd=(e,t=Nd())=>ad(e,t),Qd=wc([Od,hd],(()=>Xd));function Jd(e,t){dd(e,t)}wc([Od],(()=>Kd)),wc([Od],(()=>Yd)),wc([Od],(()=>Wd)),wc([Od,hd],(()=>Zd));const em={en:{invalidUrl:"Failed to construct 'URL': Invalid URL",fetchConsentsError:"Error: Could not fetch consents.",fetchPlayerConsentsError:"Error: Could not fetch player consents.",fetchConsentsCategoriesError:"Error: Could not fetch consents categories",updateConsentsError:"Error: Could not update consents.",saveChangesError:"Error: Could not save changes.",mustAcceptError:"Mandatory consents must be accepted.",title:"Consents",saveButtonContent:"Save Consents",description:"Here, you can explore and manage your preferences regarding how we collect and utilize your data. Your privacy matters to us, and this tool empowers you to make informed choices about your online experience.",marketing__category:"Marketing",Other__category:"Other",privacy__category:"Privacy and Data Sharing",dataSharing__name:"Data Sharing",dataSharing__description:"Data Sharing consent",emailMarketing__name:"Email Marketing",emailMarketing__description:"Email Marketing consent",smsMarketing__name:"SMS Marketing",smsMarketing__description:"SMS Marketing consent",cookiesAndTracking__name:"Cookies and Tracking",cookiesAndTracking__description:"Cookies and Tracking consent",termsandconditions__description:"Needed to prove user accepted terms and conditions.",emailmarketing__description:"Needed to prove email marketing consent.",sms__description:"Needed to prove sms marketing consent.","3rdparty__description":"Needed to prove 3rd party marketing consent.",noDataFound:"No data found for consents.",loading:"Loading...please wait",requiredError:"This field is mandatory",wrongModalConfig:"There was an error with the config! No expired consents found."},"zh-hk":{invalidUrl:"無法構建 'URL': 無效的URL",fetchConsentsError:"錯誤: 無法獲取同意。",fetchPlayerConsentsError:"錯誤: 無法獲取玩家同意。",fetchConsentsCategoriesError:"錯誤: 無法獲取同意類別。",updateConsentsError:"錯誤: 無法更新同意。",saveChangesError:"錯誤: 無法保存更改。",mustAcceptError:"必須接受強制性同意。",title:"同意",saveButtonContent:"保存同意",description:"在此,您可以探索和管理有關我們如何收集和使用您的數據的偏好。您的隱私對我們非常重要,這個工具可幫助您對您的在線體驗做出知情選擇。",marketing__category:"市場推廣",Other__category:"其他",privacy__category:"隱私與數據共享",dataSharing__name:"數據共享",dataSharing__description:"數據共享同意",emailMarketing__name:"電子郵件市場推廣",emailMarketing__description:"電子郵件市場推廣同意",smsMarketing__name:"短信市場推廣",smsMarketing__description:"短信市場推廣同意",cookiesAndTracking__name:"Cookies與追蹤",cookiesAndTracking__description:"Cookies與追蹤同意",termsandconditions__description:"用於證明用戶接受條款和條件。",emailmarketing__description:"用於證明電子郵件市場推廣同意。",sms__description:"用於證明短信市場推廣同意。","3rdparty__description":"用於證明第三方市場推廣同意。",noDataFound:"未找到同意數據。",loading:"加載中...請稍候",requiredError:"此字段為必填項",wrongModalConfig:"配置出錯!未找到過期的同意。"},de:{invalidUrl:"Fehler beim Erstellen von 'URL': Ungültige URL",fetchConsentsError:"Fehler: Konnte Einwilligungen nicht abrufen.",fetchPlayerConsentsError:"Fehler: Konnte Spielereinwilligungen nicht abrufen.",fetchConsentsCategoriesError:"Fehler: Konnte Einwilligungskategorien nicht abrufen.",updateConsentsError:"Fehler: Konnte Einwilligungen nicht aktualisieren.",saveChangesError:"Fehler: Änderungen konnten nicht gespeichert werden.",mustAcceptError:"Pflicht-Einwilligungen müssen akzeptiert werden.",title:"Einwilligungen",saveButtonContent:"Einwilligungen speichern",description:"Hier können Sie Ihre Präferenzen dazu verwalten, wie wir Ihre Daten sammeln und nutzen. Ihre Privatsphäre ist uns wichtig, und dieses Tool ermöglicht es Ihnen, informierte Entscheidungen über Ihr Online-Erlebnis zu treffen.",marketing__category:"Marketing",Other__category:"Sonstiges",privacy__category:"Datenschutz und Datenfreigabe",dataSharing__name:"Datenfreigabe",dataSharing__description:"Einwilligung zur Datenfreigabe",emailMarketing__name:"E-Mail-Marketing",emailMarketing__description:"Einwilligung für E-Mail-Marketing",smsMarketing__name:"SMS-Marketing",smsMarketing__description:"Einwilligung für SMS-Marketing",cookiesAndTracking__name:"Cookies und Tracking",cookiesAndTracking__description:"Einwilligung für Cookies und Tracking",termsandconditions__description:"Erforderlich, um nachzuweisen, dass der Benutzer die Bedingungen akzeptiert hat.",emailmarketing__description:"Erforderlich, um die Einwilligung für E-Mail-Marketing nachzuweisen.",sms__description:"Erforderlich, um die Einwilligung für SMS-Marketing nachzuweisen.","3rdparty__description":"Erforderlich, um die Einwilligung für Drittanbieter-Marketing nachzuweisen.",noDataFound:"Keine Daten zu Einwilligungen gefunden.",loading:"Wird geladen... bitte warten",requiredError:"Dieses Feld ist erforderlich",wrongModalConfig:"Ein Fehler in der Konfiguration ist aufgetreten! Keine abgelaufenen Einwilligungen gefunden."},it:{invalidUrl:"Impossibile costruire 'URL': URL non valido",fetchConsentsError:"Errore: Impossibile recuperare i consensi.",fetchPlayerConsentsError:"Errore: Impossibile recuperare i consensi del giocatore.",fetchConsentsCategoriesError:"Errore: Impossibile recuperare le categorie di consenso.",updateConsentsError:"Errore: Impossibile aggiornare i consensi.",saveChangesError:"Errore: Impossibile salvare le modifiche.",mustAcceptError:"I consensi obbligatori devono essere accettati.",title:"Consensi",saveButtonContent:"Salva Consensi",description:"Qui puoi esplorare e gestire le tue preferenze su come raccogliamo e utilizziamo i tuoi dati. La tua privacy è importante per noi e questo strumento ti consente di fare scelte informate sulla tua esperienza online.",marketing__category:"Marketing",Other__category:"Altro",privacy__category:"Privacy e Condivisione dei Dati",dataSharing__name:"Condivisione dei Dati",dataSharing__description:"Consenso alla condivisione dei dati",emailMarketing__name:"Email Marketing",emailMarketing__description:"Consenso all'email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Consenso all'SMS marketing",cookiesAndTracking__name:"Cookies e Tracciamento",cookiesAndTracking__description:"Consenso ai cookies e tracciamento",termsandconditions__description:"Necessario per dimostrare che l'utente ha accettato i termini e le condizioni.",emailmarketing__description:"Necessario per dimostrare il consenso all'email marketing.",sms__description:"Necessario per dimostrare il consenso all'SMS marketing.","3rdparty__description":"Necessario per dimostrare il consenso al marketing di terze parti.",noDataFound:"Nessun dato trovato per i consensi.",loading:"Caricamento... attendere",requiredError:"Questo campo è obbligatorio",wrongModalConfig:"Si è verificato un errore con la configurazione! Nessun consenso scaduto trovato."},fr:{invalidUrl:"Impossible de construire 'URL' : URL invalide",fetchConsentsError:"Erreur : Impossible de récupérer les consentements.",fetchPlayerConsentsError:"Erreur : Impossible de récupérer les consentements des joueurs.",fetchConsentsCategoriesError:"Erreur : Impossible de récupérer les catégories de consentement.",updateConsentsError:"Erreur : Impossible de mettre à jour les consentements.",saveChangesError:"Erreur : Impossible d'enregistrer les modifications.",mustAcceptError:"Les consentements obligatoires doivent être acceptés.",title:"Consentements",saveButtonContent:"Enregistrer les Consentements",description:"Ici, vous pouvez explorer et gérer vos préférences concernant la manière dont nous collectons et utilisons vos données. Votre vie privée est importante pour nous, et cet outil vous permet de faire des choix éclairés sur votre expérience en ligne.",marketing__category:"Marketing",Other__category:"Autre",privacy__category:"Confidentialité et Partage des Données",dataSharing__name:"Partage des Données",dataSharing__description:"Consentement au partage des données",emailMarketing__name:"Marketing par Email",emailMarketing__description:"Consentement au marketing par email",smsMarketing__name:"Marketing par SMS",smsMarketing__description:"Consentement au marketing par SMS",cookiesAndTracking__name:"Cookies et Suivi",cookiesAndTracking__description:"Consentement aux cookies et au suivi",termsandconditions__description:"Nécessaire pour prouver que l'utilisateur a accepté les termes et conditions.",emailmarketing__description:"Nécessaire pour prouver le consentement au marketing par email.",sms__description:"Nécessaire pour prouver le consentement au marketing par SMS.","3rdparty__description":"Nécessaire pour prouver le consentement au marketing tiers.",noDataFound:"Aucune donnée trouvée pour les consentements.",loading:"Chargement... veuillez patienter",requiredError:"Ce champ est obligatoire",wrongModalConfig:"Une erreur s'est produite avec la configuration ! Aucun consentement expiré trouvé."},es:{invalidUrl:"Error al construir 'URL': URL no válida",fetchConsentsError:"Error: No se pudieron obtener los consentimientos.",fetchPlayerConsentsError:"Error: No se pudieron obtener los consentimientos del jugador.",fetchConsentsCategoriesError:"Error: No se pudieron obtener las categorías de consentimiento.",updateConsentsError:"Error: No se pudieron actualizar los consentimientos.",saveChangesError:"Error: No se pudieron guardar los cambios.",mustAcceptError:"Se deben aceptar los consentimientos obligatorios.",title:"Consentimientos",saveButtonContent:"Guardar Consentimientos",description:"Aquí puedes explorar y gestionar tus preferencias sobre cómo recopilamos y utilizamos tus datos. Tu privacidad es importante para nosotros y esta herramienta te permite tomar decisiones informadas sobre tu experiencia en línea.",marketing__category:"Marketing",Other__category:"Otro",privacy__category:"Privacidad y Compartir Datos",dataSharing__name:"Compartir Datos",dataSharing__description:"Consentimiento para compartir datos",emailMarketing__name:"Email Marketing",emailMarketing__description:"Consentimiento para email marketing",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimiento para marketing por SMS",cookiesAndTracking__name:"Cookies y Seguimiento",cookiesAndTracking__description:"Consentimiento para cookies y seguimiento",termsandconditions__description:"Necesario para demostrar que el usuario aceptó los términos y condiciones.",emailmarketing__description:"Necesario para demostrar el consentimiento para email marketing.",sms__description:"Necesario para demostrar el consentimiento para marketing por SMS.","3rdparty__description":"Necesario para demostrar el consentimiento para marketing de terceros.",noDataFound:"No se encontraron datos para los consentimientos.",loading:"Cargando... por favor espera",requiredError:"Este campo es obligatorio",wrongModalConfig:"¡Hubo un error con la configuración! No se encontraron consentimientos expirados."},el:{invalidUrl:"Αποτυχία δημιουργίας 'URL': Μη έγκυρη διεύθυνση URL",fetchConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των συναινέσεων.",fetchPlayerConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των συναινέσεων παικτών.",fetchConsentsCategoriesError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των κατηγοριών συναινέσεων.",updateConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ενημέρωση των συναινέσεων.",saveChangesError:"Σφάλμα: Δεν ήταν δυνατή η αποθήκευση των αλλαγών.",mustAcceptError:"Πρέπει να αποδεχτείτε τις υποχρεωτικές συναινέσεις.",title:"Συναινέσεις",saveButtonContent:"Αποθήκευση Συναινέσεων",description:"Εδώ μπορείτε να εξερευνήσετε και να διαχειριστείτε τις προτιμήσεις σας σχετικά με το πώς συλλέγουμε και χρησιμοποιούμε τα δεδομένα σας. Η ιδιωτικότητά σας έχει σημασία για εμάς και αυτό το εργαλείο σας δίνει τη δυνατότητα να κάνετε ενημερωμένες επιλογές για την εμπειρία σας στο διαδίκτυο.",marketing__category:"Μάρκετινγκ",Other__category:"Άλλο",privacy__category:"Ιδιωτικότητα και Κοινοποίηση Δεδομένων",dataSharing__name:"Κοινοποίηση Δεδομένων",dataSharing__description:"Συναίνεση για κοινοποίηση δεδομένων",emailMarketing__name:"Email Marketing",emailMarketing__description:"Συναίνεση για email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Συναίνεση για SMS marketing",cookiesAndTracking__name:"Cookies και Παρακολούθηση",cookiesAndTracking__description:"Συναίνεση για cookies και παρακολούθηση",termsandconditions__description:"Απαιτείται για να αποδειχθεί ότι ο χρήστης αποδέχτηκε τους όρους και τις προϋποθέσεις.",emailmarketing__description:"Απαιτείται για να αποδειχθεί η συναίνεση για email marketing.",sms__description:"Απαιτείται για να αποδειχθεί η συναίνεση για SMS marketing.","3rdparty__description":"Απαιτείται για να αποδειχθεί η συναίνεση για marketing τρίτων.",noDataFound:"Δεν βρέθηκαν δεδομένα για τις συναινέσεις.",loading:"Φόρτωση... παρακαλώ περιμένετε",requiredError:"Αυτό το πεδίο είναι υποχρεωτικό",wrongModalConfig:"Παρουσιάστηκε σφάλμα με τη ρύθμιση! Δεν βρέθηκαν ληγμένες συναινέσεις."},tr:{invalidUrl:"'URL' oluşturulamadı: Geçersiz URL",fetchConsentsError:"Hata: Onaylar alınamadı.",fetchPlayerConsentsError:"Hata: Oyuncu onayları alınamadı.",fetchConsentsCategoriesError:"Hata: Onay kategorileri alınamadı.",updateConsentsError:"Hata: Onaylar güncellenemedi.",saveChangesError:"Hata: Değişiklikler kaydedilemedi.",mustAcceptError:"Zorunlu onaylar kabul edilmelidir.",title:"Onaylar",saveButtonContent:"Onayları Kaydet",description:"Burada, verilerinizi nasıl topladığımız ve kullandığımızla ilgili tercihlerinizi keşfedebilir ve yönetebilirsiniz. Gizliliğiniz bizim için önemlidir ve bu araç, çevrimiçi deneyiminiz hakkında bilinçli seçimler yapmanızı sağlar.",marketing__category:"Pazarlama",Other__category:"Diğer",privacy__category:"Gizlilik ve Veri Paylaşımı",dataSharing__name:"Veri Paylaşımı",dataSharing__description:"Veri paylaşımı onayı",emailMarketing__name:"E-posta Pazarlama",emailMarketing__description:"E-posta pazarlama onayı",smsMarketing__name:"SMS Pazarlama",smsMarketing__description:"SMS pazarlama onayı",cookiesAndTracking__name:"Çerezler ve İzleme",cookiesAndTracking__description:"Çerezler ve izleme onayı",termsandconditions__description:"Kullanıcının şartları ve koşulları kabul ettiğini kanıtlamak için gereklidir.",emailmarketing__description:"E-posta pazarlama onayı kanıtlamak için gereklidir.",sms__description:"SMS pazarlama onayı kanıtlamak için gereklidir.","3rdparty__description":"Üçüncü taraf pazarlama onayı kanıtlamak için gereklidir.",noDataFound:"Onaylarla ilgili veri bulunamadı.",loading:"Yükleniyor... lütfen bekleyin",requiredError:"Bu alan zorunludur",wrongModalConfig:"Yapılandırmada bir hata oluştu! Süresi dolmuş onay bulunamadı."},ru:{invalidUrl:"Не удалось создать 'URL': недопустимый URL",fetchConsentsError:"Ошибка: не удалось получить согласия.",fetchPlayerConsentsError:"Ошибка: не удалось получить согласия игроков.",fetchConsentsCategoriesError:"Ошибка: не удалось получить категории согласий.",updateConsentsError:"Ошибка: не удалось обновить согласия.",saveChangesError:"Ошибка: не удалось сохранить изменения.",mustAcceptError:"Обязательные согласия должны быть приняты.",title:"Согласия",saveButtonContent:"Сохранить согласия",description:"Здесь вы можете изучить и управлять своими предпочтениями относительно того, как мы собираем и используем ваши данные. Ваша конфиденциальность важна для нас, и этот инструмент помогает вам делать осознанный выбор о вашем онлайн-опыте.",marketing__category:"Маркетинг",Other__category:"Другое",privacy__category:"Конфиденциальность и Обмен Данными",dataSharing__name:"Обмен Данными",dataSharing__description:"Согласие на обмен данными",emailMarketing__name:"Email-Маркетинг",emailMarketing__description:"Согласие на email-маркетинг",smsMarketing__name:"SMS-Маркетинг",smsMarketing__description:"Согласие на SMS-маркетинг",cookiesAndTracking__name:"Cookies и Отслеживание",cookiesAndTracking__description:"Согласие на использование cookies и отслеживания",termsandconditions__description:"Необходимо для подтверждения принятия условий и положений.",emailmarketing__description:"Необходимо для подтверждения согласия на email-маркетинг.",sms__description:"Необходимо для подтверждения согласия на SMS-маркетинг.","3rdparty__description":"Необходимо для подтверждения согласия на маркетинг третьих лиц.",noDataFound:"Данные о согласиях не найдены.",loading:"Загрузка... пожалуйста, подождите",requiredError:"Это поле обязательно для заполнения",wrongModalConfig:"Произошла ошибка конфигурации! Истекшие согласия не найдены."},ro:{invalidUrl:"Nu s-a putut construi 'URL': URL invalid",fetchConsentsError:"Eroare: Nu s-au putut prelua consimțămintele.",fetchPlayerConsentsError:"Eroare: Nu s-au putut prelua consimțămintele utilizatorilor.",fetchConsentsCategoriesError:"Eroare: Nu s-au putut prelua categoriile de consimțământ.",updateConsentsError:"Eroare: Nu s-au putut actualiza consimțămintele.",saveChangesError:"Eroare: Nu s-au putut salva modificările.",mustAcceptError:"Consimțămintele obligatorii trebuie acceptate.",title:"Consimțăminte",saveButtonContent:"Salvează Consimțămintele",description:"Aici puteți explora și gestiona preferințele legate de modul în care colectăm și utilizăm datele dumneavoastră. Confidențialitatea dumneavoastră este importantă pentru noi, iar acest instrument vă ajută să luați decizii informate despre experiența dumneavoastră online.",marketing__category:"Marketing",Other__category:"Altele",privacy__category:"Confidențialitate și Partajare Date",dataSharing__name:"Partajare Date",dataSharing__description:"Consimțământ pentru partajarea datelor",emailMarketing__name:"Marketing prin Email",emailMarketing__description:"Consimțământ pentru marketing prin email",smsMarketing__name:"Marketing prin SMS",smsMarketing__description:"Consimțământ pentru marketing prin SMS",cookiesAndTracking__name:"Cookies și Urmărire",cookiesAndTracking__description:"Consimțământ pentru cookies și urmărire",termsandconditions__description:"Necesar pentru a demonstra acceptarea termenilor și condițiilor.",emailmarketing__description:"Necesar pentru a demonstra consimțământul pentru marketing prin email.",sms__description:"Necesar pentru a demonstra consimțământul pentru marketing prin SMS.","3rdparty__description":"Necesar pentru a demonstra consimțământul pentru marketing de la terți.",noDataFound:"Nu s-au găsit date pentru consimțăminte.",loading:"Se încarcă... vă rugăm să așteptați",requiredError:"Acest câmp este obligatoriu",wrongModalConfig:"A apărut o eroare în configurație! Nu s-au găsit consimțăminte expirate."},hr:{invalidUrl:"Nije moguće izraditi 'URL': Nevažeći URL",fetchConsentsError:"Greška: Nije moguće dohvatiti privole.",fetchPlayerConsentsError:"Greška: Nije moguće dohvatiti korisničke privole.",fetchConsentsCategoriesError:"Greška: Nije moguće dohvatiti kategorije privola.",updateConsentsError:"Greška: Nije moguće ažurirati privole.",saveChangesError:"Greška: Nije moguće spremiti promjene.",mustAcceptError:"Obavezne privole moraju biti prihvaćene.",title:"Privole",saveButtonContent:"Spremi Privole",description:"Ovdje možete istražiti i upravljati svojim preferencijama o tome kako prikupljamo i koristimo vaše podatke. Vaša privatnost nam je važna, a ovaj alat vam omogućuje donošenje informiranih odluka o vašem online iskustvu.",marketing__category:"Marketing",Other__category:"Ostalo",privacy__category:"Privatnost i Dijeljenje Podataka",dataSharing__name:"Dijeljenje Podataka",dataSharing__description:"Privola za dijeljenje podataka",emailMarketing__name:"Email Marketing",emailMarketing__description:"Privola za email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Privola za SMS marketing",cookiesAndTracking__name:"Kolačići i Praćenje",cookiesAndTracking__description:"Privola za kolačiće i praćenje",termsandconditions__description:"Potrebno za dokazivanje prihvaćanja uvjeta korištenja.",emailmarketing__description:"Potrebno za dokazivanje privole za email marketing.",sms__description:"Potrebno za dokazivanje privole za SMS marketing.","3rdparty__description":"Potrebno za dokazivanje privole za marketing treće strane.",noDataFound:"Nema podataka o privolama.",loading:"Učitavanje... molimo pričekajte",requiredError:"Ovo polje je obavezno",wrongModalConfig:"Došlo je do pogreške u konfiguraciji! Nisu pronađene istekle privole."},hu:{invalidUrl:"Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",fetchConsentsError:"Hiba: Nem sikerült lekérni a hozzájárulásokat.",fetchPlayerConsentsError:"Hiba: Nem sikerült lekérni a játékosok hozzájárulásait.",fetchConsentsCategoriesError:"Hiba: Nem sikerült lekérni a hozzájárulások kategóriáit.",updateConsentsError:"Hiba: Nem sikerült frissíteni a hozzájárulásokat.",saveChangesError:"Hiba: Nem sikerült menteni a módosításokat.",mustAcceptError:"A kötelező hozzájárulásokat el kell fogadni.",title:"Hozzájárulások",saveButtonContent:"Hozzájárulások Mentése",description:"Itt kezelheti és megismerheti azokat a preferenciákat, amelyek meghatározzák, hogyan gyűjtjük és használjuk fel az adatait. Az Ön adatvédelme fontos számunkra, és ez az eszköz lehetővé teszi, hogy tájékozott döntéseket hozzon az online élményéről.",marketing__category:"Marketing",Other__category:"Egyéb",privacy__category:"Adatvédelem és Adatmegosztás",dataSharing__name:"Adatmegosztás",dataSharing__description:"Hozzájárulás az adatmegosztáshoz",emailMarketing__name:"E-mail Marketing",emailMarketing__description:"Hozzájárulás az e-mail marketinghez",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Hozzájárulás az SMS marketinghez",cookiesAndTracking__name:"Sütik és Követés",cookiesAndTracking__description:"Hozzájárulás a sütikhez és a követéshez",termsandconditions__description:"Szükséges az Általános Szerződési Feltételek elfogadásának igazolásához.",emailmarketing__description:"Szükséges az e-mail marketing hozzájárulásának igazolásához.",sms__description:"Szükséges az SMS marketing hozzájárulásának igazolásához.","3rdparty__description":"Szükséges a harmadik felek marketingjéhez való hozzájárulás igazolásához.",noDataFound:"Nem található adat a hozzájárulásokról.",loading:"Betöltés... kérjük, várjon",requiredError:"Ez a mező kötelező",wrongModalConfig:"Hiba történt a konfigurációval! Nem található lejárt hozzájárulás."},pl:{invalidUrl:"Nie udało się utworzyć 'URL': Nieprawidłowy URL",fetchConsentsError:"Błąd: Nie udało się pobrać zgód.",fetchPlayerConsentsError:"Błąd: Nie udało się pobrać zgód użytkowników.",fetchConsentsCategoriesError:"Błąd: Nie udało się pobrać kategorii zgód.",updateConsentsError:"Błąd: Nie udało się zaktualizować zgód.",saveChangesError:"Błąd: Nie udało się zapisać zmian.",mustAcceptError:"Obowiązkowe zgody muszą zostać zaakceptowane.",title:"Zgody",saveButtonContent:"Zapisz Zgody",description:"Tutaj możesz eksplorować i zarządzać swoimi preferencjami dotyczącymi tego, jak zbieramy i wykorzystujemy Twoje dane. Twoja prywatność jest dla nas ważna, a to narzędzie pozwala podejmować świadome decyzje dotyczące Twojego doświadczenia online.",marketing__category:"Marketing",Other__category:"Inne",privacy__category:"Prywatność i Udostępnianie Danych",dataSharing__name:"Udostępnianie Danych",dataSharing__description:"Zgoda na udostępnianie danych",emailMarketing__name:"E-mail Marketing",emailMarketing__description:"Zgoda na e-mail marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Zgoda na SMS marketing",cookiesAndTracking__name:"Pliki Cookie i Śledzenie",cookiesAndTracking__description:"Zgoda na pliki cookie i śledzenie",termsandconditions__description:"Wymagane do potwierdzenia akceptacji warunków i zasad.",emailmarketing__description:"Wymagane do potwierdzenia zgody na e-mail marketing.",sms__description:"Wymagane do potwierdzenia zgody na SMS marketing.","3rdparty__description":"Wymagane do potwierdzenia zgody na marketing podmiotów trzecich.",noDataFound:"Nie znaleziono danych dotyczących zgód.",loading:"Ładowanie... proszę czekać",requiredError:"To pole jest wymagane",wrongModalConfig:"Wystąpił błąd konfiguracji! Nie znaleziono wygasłych zgód."},pt:{invalidUrl:"Não foi possível criar 'URL': URL inválido",fetchConsentsError:"Erro: Não foi possível obter os consentimentos.",fetchPlayerConsentsError:"Erro: Não foi possível obter os consentimentos dos utilizadores.",fetchConsentsCategoriesError:"Erro: Não foi possível obter as categorias de consentimento.",updateConsentsError:"Erro: Não foi possível atualizar os consentimentos.",saveChangesError:"Erro: Não foi possível salvar as alterações.",mustAcceptError:"Os consentimentos obrigatórios devem ser aceitos.",title:"Consentimentos",saveButtonContent:"Salvar Consentimentos",description:"Aqui, pode explorar e gerir as suas preferências relativamente à forma como recolhemos e utilizamos os seus dados. A sua privacidade é importante para nós e esta ferramenta permite-lhe tomar decisões informadas sobre a sua experiência online.",marketing__category:"Marketing",Other__category:"Outros",privacy__category:"Privacidade e Partilha de Dados",dataSharing__name:"Partilha de Dados",dataSharing__description:"Consentimento para partilha de dados",emailMarketing__name:"Marketing por Email",emailMarketing__description:"Consentimento para marketing por email",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimento para marketing por SMS",cookiesAndTracking__name:"Cookies e Rastreamento",cookiesAndTracking__description:"Consentimento para cookies e rastreamento",termsandconditions__description:"Necessário para comprovar a aceitação dos termos e condições.",emailmarketing__description:"Necessário para comprovar o consentimento para marketing por email.",sms__description:"Necessário para comprovar o consentimento para marketing por SMS.","3rdparty__description":"Necessário para comprovar o consentimento para marketing de terceiros.",noDataFound:"Nenhum dado encontrado para consentimentos.",loading:"Carregando... por favor, aguarde",requiredError:"Este campo é obrigatório",wrongModalConfig:"Ocorreu um erro na configuração! Nenhum consentimento expirado encontrado."},sl:{invalidUrl:"Ni bilo mogoče ustvariti 'URL': Neveljaven URL",fetchConsentsError:"Napaka: Ni bilo mogoče pridobiti soglasij.",fetchPlayerConsentsError:"Napaka: Ni bilo mogoče pridobiti uporabniških soglasij.",fetchConsentsCategoriesError:"Napaka: Ni bilo mogoče pridobiti kategorij soglasij.",updateConsentsError:"Napaka: Ni bilo mogoče posodobiti soglasij.",saveChangesError:"Napaka: Ni bilo mogoče shraniti sprememb.",mustAcceptError:"Obvezna soglasja je treba sprejeti.",title:"Soglasja",saveButtonContent:"Shrani Soglasja",description:"Tukaj lahko raziskujete in upravljate svoje nastavitve glede tega, kako zbiramo in uporabljamo vaše podatke. Vaša zasebnost je za nas pomembna, ta orodje pa vam omogoča informirane odločitve o vaši spletni izkušnji.",marketing__category:"Trženje",Other__category:"Drugo",privacy__category:"Zasebnost in Deljenje Podatkov",dataSharing__name:"Deljenje Podatkov",dataSharing__description:"Soglasje za deljenje podatkov",emailMarketing__name:"E-poštno Trženje",emailMarketing__description:"Soglasje za e-poštno trženje",smsMarketing__name:"SMS Trženje",smsMarketing__description:"Soglasje za SMS trženje",cookiesAndTracking__name:"Piškotki in Sledenje",cookiesAndTracking__description:"Soglasje za uporabo piškotkov in sledenja",termsandconditions__description:"Potrebno za potrditev sprejema pogojev in določil.",emailmarketing__description:"Potrebno za potrditev soglasja za e-poštno trženje.",sms__description:"Potrebno za potrditev soglasja za SMS trženje.","3rdparty__description":"Potrebno za potrditev soglasja za trženje tretjih oseb.",noDataFound:"Za soglasja ni bilo najdenih podatkov.",loading:"Nalaganje... prosimo, počakajte",requiredError:"To polje je obvezno",wrongModalConfig:"Prišlo je do napake v konfiguraciji! Potečena soglasja niso bila najdena."},sr:{invalidUrl:"Nije moguće kreirati 'URL': Nevažeći URL",fetchConsentsError:"Greška: Nije moguće dohvatiti saglasnosti.",fetchPlayerConsentsError:"Greška: Nije moguće dohvatiti korisničke saglasnosti.",fetchConsentsCategoriesError:"Greška: Nije moguće dohvatiti kategorije saglasnosti.",updateConsentsError:"Greška: Nije moguće ažurirati saglasnosti.",saveChangesError:"Greška: Nije moguće sačuvati promene.",mustAcceptError:"Obavezne saglasnosti moraju biti prihvaćene.",title:"Saglasnosti",saveButtonContent:"Sačuvaj Saglasnosti",description:"Ovde možete istražiti i upravljati svojim preferencijama o tome kako prikupljamo i koristimo vaše podatke. Vaša privatnost nam je važna, a ovaj alat vam omogućava donošenje informisanih odluka o vašem online iskustvu.",marketing__category:"Marketing",Other__category:"Ostalo",privacy__category:"Privatnost i Deljenje Podataka",dataSharing__name:"Deljenje Podataka",dataSharing__description:"Saglasnost za deljenje podataka",emailMarketing__name:"Email Marketing",emailMarketing__description:"Saglasnost za email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Saglasnost za SMS marketing",cookiesAndTracking__name:"Kolačići i Praćenje",cookiesAndTracking__description:"Saglasnost za kolačiće i praćenje",termsandconditions__description:"Potrebno za potvrdu prihvatanja uslova i pravila.",emailmarketing__description:"Potrebno za potvrdu saglasnosti za email marketing.",sms__description:"Potrebno za potvrdu saglasnosti za SMS marketing.","3rdparty__description":"Potrebno za potvrdu saglasnosti za marketing trećih lica.",noDataFound:"Nema podataka o saglasnostima.",loading:"Učitavanje... molimo sačekajte",requiredError:"Ovo polje je obavezno",wrongModalConfig:"Došlo je do greške u konfiguraciji! Nema pronađenih istekao saglasnosti."},"es-mx":{invalidUrl:"No se pudo construir 'URL': URL no válida",fetchConsentsError:"Error: No se pudieron obtener los consentimientos.",fetchPlayerConsentsError:"Error: No se pudieron obtener los consentimientos de los usuarios.",fetchConsentsCategoriesError:"Error: No se pudieron obtener las categorías de consentimiento.",updateConsentsError:"Error: No se pudieron actualizar los consentimientos.",saveChangesError:"Error: No se pudieron guardar los cambios.",mustAcceptError:"Se deben aceptar los consentimientos obligatorios.",title:"Consentimientos",saveButtonContent:"Guardar Consentimientos",description:"Aquí puedes explorar y administrar tus preferencias respecto a cómo recopilamos y utilizamos tus datos. Tu privacidad es importante para nosotros, y esta herramienta te permite tomar decisiones informadas sobre tu experiencia en línea.",marketing__category:"Marketing",Other__category:"Otros",privacy__category:"Privacidad y Compartición de Datos",dataSharing__name:"Compartición de Datos",dataSharing__description:"Consentimiento para la compartición de datos",emailMarketing__name:"Marketing por Correo Electrónico",emailMarketing__description:"Consentimiento para marketing por correo electrónico",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimiento para marketing por SMS",cookiesAndTracking__name:"Cookies y Rastreo",cookiesAndTracking__description:"Consentimiento para cookies y rastreo",termsandconditions__description:"Necesario para demostrar que se aceptaron los términos y condiciones.",emailmarketing__description:"Necesario para demostrar consentimiento para marketing por correo electrónico.",sms__description:"Necesario para demostrar consentimiento para marketing por SMS.","3rdparty__description":"Necesario para demostrar consentimiento para marketing de terceros.",noDataFound:"No se encontraron datos para consentimientos.",loading:"Cargando... por favor espera",requiredError:"Este campo es obligatorio",wrongModalConfig:"¡Hubo un error en la configuración! No se encontraron consentimientos vencidos."},"pt-br":{invalidUrl:"Não foi possível construir 'URL': URL inválida",fetchConsentsError:"Erro: Não foi possível buscar os consentimentos.",fetchPlayerConsentsError:"Erro: Não foi possível buscar os consentimentos dos usuários.",fetchConsentsCategoriesError:"Erro: Não foi possível buscar as categorias de consentimento.",updateConsentsError:"Erro: Não foi possível atualizar os consentimentos.",saveChangesError:"Erro: Não foi possível salvar as alterações.",mustAcceptError:"Os consentimentos obrigatórios devem ser aceitos.",title:"Consentimentos",saveButtonContent:"Salvar Consentimentos",description:"Aqui você pode explorar e gerenciar suas preferências sobre como coletamos e utilizamos seus dados. Sua privacidade é importante para nós, e esta ferramenta permite que você tome decisões informadas sobre sua experiência online.",marketing__category:"Marketing",Other__category:"Outros",privacy__category:"Privacidade e Compartilhamento de Dados",dataSharing__name:"Compartilhamento de Dados",dataSharing__description:"Consentimento para compartilhamento de dados",emailMarketing__name:"Marketing por E-mail",emailMarketing__description:"Consentimento para marketing por e-mail",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimento para marketing por SMS",cookiesAndTracking__name:"Cookies e Rastreamento",cookiesAndTracking__description:"Consentimento para cookies e rastreamento",termsandconditions__description:"Necessário para comprovar a aceitação dos termos e condições.",emailmarketing__description:"Necessário para comprovar consentimento para marketing por e-mail.",sms__description:"Necessário para comprovar consentimento para marketing por SMS.","3rdparty__description":"Necessário para comprovar consentimento para marketing de terceiros.",noDataFound:"Nenhum dado encontrado para consentimentos.",loading:"Carregando... por favor aguarde",requiredError:"Este campo é obrigatório",wrongModalConfig:"Houve um erro na configuração! Nenhum consentimento expirado encontrado."}};if(typeof window<"u"){let e=function(e){return function(...t){try{return e.apply(this,t)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=e(customElements.define),Promise.resolve().then((function(){return bc})).then((e=>e.G)).then((({default:e})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",e.element)}))}function tm(){let e,t;return{c(){e=Gh("svg"),t=Gh("path"),Lh(t,"d","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"),Lh(e,"xmlns","http://www.w3.org/2000/svg"),Lh(e,"viewBox","0 0 512 512")},m(i,r){Rh(i,e,r),Ch(e,t)},p:yh,i:yh,o:yh,d(t){t&&Nh(e)}}}function im(e){Dh(e,"svelte-ltb9q9",'.DisplayNone.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:none}.ContainerCenter.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:30px}.AccordionHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:10px}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;padding:10px 0}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{padding-bottom:0}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{margin-bottom:0}.ConsentItem.svelte-ltb9q9 .ConsentName.svelte-ltb9q9.svelte-ltb9q9{margin:0}.ConsentItem.svelte-ltb9q9 .ConsentDescription.svelte-ltb9q9.svelte-ltb9q9{font-size:0.8rem}.ToggleSwitch.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:53px;height:30px}.ToggleSwitch.Big.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9.svelte-ltb9q9{opacity:0;width:0;height:0}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9{background-color:var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:disabled+.Slider.svelte-ltb9q9{opacity:0.1}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:focus+.Slider.svelte-ltb9q9{box-shadow:0 0 1px var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9{border-radius:34px}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9:before{border-radius:50%}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:disabled{background:var(--emw--color-pale, var(--emw--color-gray-50, #707070))}.ConsentErrorContainer.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-ltb9q9 circle-exclamation-icon.svelte-ltb9q9.svelte-ltb9q9{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox.svelte-ltb9q9.svelte-ltb9q9{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-ltb9q9.svelte-ltb9q9{position:relative}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__input.svelte-ltb9q9.svelte-ltb9q9{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label.svelte-ltb9q9.svelte-ltb9q9{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-ltb9q9.svelte-ltb9q9{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__error-message.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-ltb9q9.svelte-ltb9q9{width:16px;height:auto}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-ltb9q9.svelte-ltb9q9{opacity:1}')}function rm(e,t,i){const r=e.slice();return r[64]=t[i],r}function nm(e,t,i){const r=e.slice();return r[61]=t[i],r[62]=t,r[63]=i,r}function om(e,t,i){const r=e.slice();return r[64]=t[i],r}function sm(e){let t,i,r=oc(e[9]),n=[];for(let t=0;t<r.length;t+=1)n[t]=cm(rm(e,r,t));return{c(){t=zh("div"),i=zh("form");for(let e=0;e<n.length;e+=1)n[e].c();Lh(i,"class","checkbox svelte-ltb9q9"),Lh(t,"class","legacyStyle")},m(r,o){Rh(r,t,o),Ch(t,i);for(let e=0;e<n.length;e+=1)n[e]&&n[e].m(i,null);e[31](i)},p(e,t){if(590336&t[0]){let o;for(r=oc(e[9]),o=0;o<r.length;o+=1){const s=rm(e,r,o);n[o]?n[o].p(s,t):(n[o]=cm(s),n[o].c(),n[o].m(i,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(i){i&&Nh(t),Oh(n,i),e[31](null)}}}function am(e){let t,i,r,n,o,s,a,l,h=e[16]("title")||e[16]("description"),c=(e[16]("saveButtonContent")||"Save Consents")+"",u=h&&um(e),d=oc(e[8]),m=[];for(let t=0;t<d.length;t+=1)m[t]=vm(nm(e,d,t));let p=e[6]&&gm(e);return{c(){u&&u.c(),t=Uh();for(let e=0;e<m.length;e+=1)m[e].c();i=Uh(),r=zh("button"),o=Uh(),p&&p.c(),s=Bh(),Lh(r,"class","SaveConsentsButton svelte-ltb9q9"),r.disabled=n=!e[14]},m(n,h){u&&u.m(n,h),Rh(n,t,h);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(n,h);Rh(n,i,h),Rh(n,r,h),r.innerHTML=c,Rh(n,o,h),p&&p.m(n,h),Rh(n,s,h),a||(l=Ph(r,"click",e[17]),a=!0)},p(e,o){if(65536&o[0]&&(h=e[16]("title")||e[16]("description")),h?u?u.p(e,o):(u=um(e),u.c(),u.m(t.parentNode,t)):u&&(u.d(1),u=null),867088&o[0]){let t;for(d=oc(e[8]),t=0;t<d.length;t+=1){const r=nm(e,d,t);m[t]?m[t].p(r,o):(m[t]=vm(r),m[t].c(),m[t].m(i.parentNode,i))}for(;t<m.length;t+=1)m[t].d(1);m.length=d.length}65536&o[0]&&c!==(c=(e[16]("saveButtonContent")||"Save Consents")+"")&&(r.innerHTML=c),16384&o[0]&&n!==(n=!e[14])&&(r.disabled=n),e[6]?p?p.p(e,o):(p=gm(e),p.c(),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},d(e){e&&(Nh(t),Nh(i),Nh(r),Nh(o),Nh(s)),u&&u.d(e),Oh(m,e),p&&p.d(e),a=!1,l()}}}function lm(e){let t,i,r;return{c(){t=zh("div"),i=zh("strong"),r=Mh(e[7]),Lh(i,"class","ErrorMessage svelte-ltb9q9"),Lh(t,"class","ContainerCenter svelte-ltb9q9")},m(e,n){Rh(e,t,n),Ch(t,i),Ch(i,r)},p(e,t){128&t[0]&&jh(r,e[7])},d(e){e&&Nh(t)}}}function hm(e){let t;return{c(){t=zh("general-animation-loading"),Fh(t,"clientstyling",e[1]),Fh(t,"clientstylingurl",e[2]),Fh(t,"mbsource",e[3])},m(e,i){Rh(e,t,i)},p(e,i){2&i[0]&&Fh(t,"clientstyling",e[1]),4&i[0]&&Fh(t,"clientstylingurl",e[2]),8&i[0]&&Fh(t,"mbsource",e[3])},d(e){e&&Nh(t)}}}function cm(e){let t,i,r,n,o,s,a,l,h,c,u,d,m,p,_,f,v,g=(e[16](`${e[64].tagCode}__description`)||e[64].tagCode)+"",b=e[64].mustAccept?" *":"";function E(...t){return e[30](e[64],...t)}return{c(){t=zh("div"),i=zh("input"),o=Uh(),s=zh("label"),a=zh("div"),l=new qh(!1),h=Mh(b),u=Uh(),d=zh("small"),p=Uh(),Lh(i,"class","checkbox__input svelte-ltb9q9"),Lh(i,"type","checkbox"),i.checked=r="1"===e[64].status,Lh(i,"id",n=`${e[64].tagCode}__input`),l.a=h,Lh(a,"class","checkbox__label-text svelte-ltb9q9"),Lh(s,"class","checkbox__label svelte-ltb9q9"),Lh(s,"for",c=`${e[64].tagCode}__input`),Lh(d,"class","checkbox__error-message svelte-ltb9q9"),Lh(d,"id",m="checkBoxError__"+e[64].tagCode),Lh(t,"class",_="checkbox__wrapper "+e[64].tagCode+"__input svelte-ltb9q9")},m(e,r){Rh(e,t,r),Ch(t,i),Ch(t,o),Ch(t,s),Ch(s,a),l.m(g,a),Ch(a,h),Ch(t,u),Ch(t,d),Ch(t,p),f||(v=Ph(i,"input",E),f=!0)},p(o,a){e=o,512&a[0]&&r!==(r="1"===e[64].status)&&(i.checked=r),512&a[0]&&n!==(n=`${e[64].tagCode}__input`)&&Lh(i,"id",n),66048&a[0]&&g!==(g=(e[16](`${e[64].tagCode}__description`)||e[64].tagCode)+"")&&l.p(g),512&a[0]&&b!==(b=e[64].mustAccept?" *":"")&&jh(h,b),512&a[0]&&c!==(c=`${e[64].tagCode}__input`)&&Lh(s,"for",c),512&a[0]&&m!==(m="checkBoxError__"+e[64].tagCode)&&Lh(d,"id",m),512&a[0]&&_!==(_="checkbox__wrapper "+e[64].tagCode+"__input svelte-ltb9q9")&&Lh(t,"class",_)},d(e){e&&Nh(t),f=!1,v()}}}function um(e){let t,i,r=e[16]("title"),n=e[16]("description"),o=r&&dm(e),s=n&&mm(e);return{c(){t=zh("div"),o&&o.c(),i=Uh(),s&&s.c(),Lh(t,"class","PlayerConsentsHeader svelte-ltb9q9")},m(e,r){Rh(e,t,r),o&&o.m(t,null),Ch(t,i),s&&s.m(t,null)},p(e,a){65536&a[0]&&(r=e[16]("title")),r?o?o.p(e,a):(o=dm(e),o.c(),o.m(t,i)):o&&(o.d(1),o=null),65536&a[0]&&(n=e[16]("description")),n?s?s.p(e,a):(s=mm(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(e){e&&Nh(t),o&&o.d(),s&&s.d()}}}function dm(e){let t,i,r=e[16]("title")+"";return{c(){t=zh("h2"),i=Mh(r),Lh(t,"class","PlayerConsentsTitle")},m(e,r){Rh(e,t,r),Ch(t,i)},p(e,t){65536&t[0]&&r!==(r=e[16]("title")+"")&&jh(i,r)},d(e){e&&Nh(t)}}}function mm(e){let t,i,r=e[16]("description")+"";return{c(){t=zh("p"),i=Mh(r),Lh(t,"class","PlayerConsentsDescription")},m(e,r){Rh(e,t,r),Ch(t,i)},p(e,t){65536&t[0]&&r!==(r=e[16]("description")+"")&&jh(i,r)},d(e){e&&Nh(t)}}}function pm(){let e;return{c(){e=zh("sup"),e.textContent="*",Lh(e,"class","ConsentRequired svelte-ltb9q9")},m(t,i){Rh(t,e,i)},d(t){t&&Nh(e)}}}function _m(e){let t,i=(e[16](`${e[64].tagCode}__description`)||e[64].description)+"";return{c(){t=zh("p"),Lh(t,"class","ConsentDescription svelte-ltb9q9")},m(e,r){Rh(e,t,r),t.innerHTML=i},p(e,r){66304&r[0]&&i!==(i=(e[16](`${e[64].tagCode}__description`)||e[64].description)+"")&&(t.innerHTML=i)},d(e){e&&Nh(t)}}}function fm(e){let t,i,r,n,o,s,a,l,h,c,u,d,m,p,_,f=(e[16](`${e[64].tagCode}__name`)||e[64].friendlyName)+"",v=!0===e[64].mustAccept&&pm(),g="true"===e[4]&&_m(e);function b(...t){return e[29](e[64],...t)}return{c(){t=zh("div"),i=zh("div"),r=zh("h4"),n=new qh(!1),o=Uh(),v&&v.c(),s=Uh(),g&&g.c(),a=Uh(),l=zh("label"),h=zh("input"),d=Uh(),m=zh("span"),n.a=o,Lh(r,"class","ConsentName svelte-ltb9q9"),Lh(i,"class","ConsentContent"),Lh(h,"type","checkbox"),h.disabled=c=!0===e[64].mustAccept&&!0===e[12][e[64].tagCode],h.checked=u=e[13][e[64].tagCode],Lh(h,"class","svelte-ltb9q9"),Lh(m,"class","Slider Round svelte-ltb9q9"),Lh(l,"class","ToggleSwitch svelte-ltb9q9"),Lh(t,"class","ConsentItem svelte-ltb9q9")},m(e,c){Rh(e,t,c),Ch(t,i),Ch(i,r),n.m(f,r),Ch(r,o),v&&v.m(r,null),Ch(i,s),g&&g.m(i,null),Ch(t,a),Ch(t,l),Ch(l,h),Ch(l,d),Ch(l,m),p||(_=Ph(h,"input",b),p=!0)},p(t,o){e=t,66304&o[0]&&f!==(f=(e[16](`${e[64].tagCode}__name`)||e[64].friendlyName)+"")&&n.p(f),!0===e[64].mustAccept?v||(v=pm(),v.c(),v.m(r,null)):v&&(v.d(1),v=null),"true"===e[4]?g?g.p(e,o):(g=_m(e),g.c(),g.m(i,null)):g&&(g.d(1),g=null),4864&o[0]&&c!==(c=!0===e[64].mustAccept&&!0===e[12][e[64].tagCode])&&(h.disabled=c),8960&o[0]&&u!==(u=e[13][e[64].tagCode])&&(h.checked=u)},d(e){e&&Nh(t),v&&v.d(),g&&g.d(),p=!1,_()}}}function vm(e){let t,i,r,n,o,s,a,l,h,c,u,d,m=(e[16](`${e[61].categoryTagCode}__category`)||e[61].friendlyName)+"";function p(){e[26].call(s,e[61])}function _(){return e[27](e[61])}function f(...t){return e[28](e[61],...t)}let v=oc(e[9].filter(f)),g=[];for(let t=0;t<v.length;t+=1)g[t]=fm(om(e,v,t));return{c(){t=zh("div"),i=zh("div"),r=zh("h3"),n=Uh(),o=zh("label"),s=zh("input"),a=Uh(),l=zh("span"),h=Uh(),c=zh("div");for(let e=0;e<g.length;e+=1)g[e].c();Lh(s,"type","checkbox"),Lh(s,"class","svelte-ltb9q9"),Lh(l,"class","Slider Round svelte-ltb9q9"),Lh(o,"class","ToggleSwitch Big svelte-ltb9q9"),Lh(i,"class","AccordionHeader svelte-ltb9q9"),Lh(c,"class","AccordionContent svelte-ltb9q9"),Lh(t,"class","AccordionItem svelte-ltb9q9")},m(f,v){Rh(f,t,v),Ch(t,i),Ch(i,r),r.innerHTML=m,Ch(i,n),Ch(i,o),Ch(o,s),s.checked=e[11][e[61].categoryTagCode],Ch(o,a),Ch(o,l),Ch(t,h),Ch(t,c);for(let e=0;e<g.length;e+=1)g[e]&&g[e].m(c,null);u||(d=[Ph(s,"change",p),Ph(s,"change",_)],u=!0)},p(t,i){if(e=t,65792&i[0]&&m!==(m=(e[16](`${e[61].categoryTagCode}__category`)||e[61].friendlyName)+"")&&(r.innerHTML=m),2304&i[0]&&(s.checked=e[11][e[61].categoryTagCode]),602896&i[0]){let t;for(v=oc(e[9].filter(f)),t=0;t<v.length;t+=1){const r=om(e,v,t);g[t]?g[t].p(r,i):(g[t]=fm(r),g[t].c(),g[t].m(c,null))}for(;t<g.length;t+=1)g[t].d(1);g.length=v.length}},d(e){e&&Nh(t),Oh(g,e),u=!1,xh(d)}}}function gm(e){let t,i,r,n,o;return{c(){t=zh("div"),i=zh("circle-exclamation-icon"),r=Uh(),n=zh("strong"),o=Mh(e[6]),Fh(i,"class","svelte-ltb9q9"),Lh(n,"class","ErrorMessage svelte-ltb9q9"),Lh(t,"class","ConsentErrorContainer svelte-ltb9q9")},m(e,s){Rh(e,t,s),Ch(t,i),Ch(t,r),Ch(t,n),Ch(n,o)},p(e,t){64&t[0]&&jh(o,e[6])},d(e){e&&Nh(t)}}}function bm(e){let t,i;function r(e){return e[10]?hm:e[7]?lm:e[0]?am:e[0]?void 0:sm}let n=r(e),o=n&&n(e);return{c(){t=zh("div"),i=zh("div"),o&&o.c(),Lh(i,"class","ConsentsContainer svelte-ltb9q9"),Lh(t,"class"," svelte-ltb9q9")},m(r,n){Rh(r,t,n),Ch(t,i),o&&o.m(i,null),e[32](i)},p(e,t){n===(n=r(e))&&o?o.p(e,t):(o&&o.d(1),o=n&&n(e),o&&(o.c(),o.m(i,null)))},i:yh,o:yh,d(i){i&&Nh(t),o&&o.d(),e[32](null)}}}function Em(e,t,i){let r;Th(e,Qd,(e=>i(16,r=e)));let n,o,s,{session:a=""}=t,{userid:l=""}=t,{endpoint:h=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{mbsource:d}=t,{lang:m="en"}=t,{displayconsentdescription:p=""}=t,{translationurl:_=""}=t,{modalconsents:f="false"}=t,v=!1,g=!1,b="",E="",y="",w="",k=[],x=[],S=[],A=!0,I=!0,T={},C={},D={},R={},N={none:{key:"0",value:"None"},accepted:{key:"1",value:"Accepted"},expired:{key:"2",value:"Expired"},denied:{key:"3",value:"Denied"},suspended:{key:"4",value:"Suspended"}},O=!1;Object.keys(em).forEach((e=>{Jd(e,em[e])}));const z=(e,t=!1)=>{t?i(7,w=e):(U(),i(6,y=e))},G=async(e,t,i,n=!1)=>{try{const n=await fetch(e,i);if(!n.ok)throw new Error(r(t));const o=await n.json();return g?o:o.filter((e=>!0===e.showOnRegister))}catch(e){throw z(e instanceof TypeError?r(t):e.message,n),e}},M=async()=>{const e=new URL(`${h}/api/v1/gm/consents`);if(e.searchParams.append("Status","Active"),!g)return await G(e.href,"fetchConsentsError",{method:"GET"},!0);const t=new URL(`${h}/api/v1/gm/user-consents/${E}`);return await Promise.all([G(e.href,"fetchConsentsError",{method:"GET"},!0),G(t.href,"fetchPlayerConsentsError",{method:"GET",headers:{"X-SessionId":b,"Content-Type":"application/json"}})])},U=()=>{i(13,R={...D}),i(11,T={...C})},B=e=>{S.filter((t=>t.category.categoryTagCode===e)).forEach((t=>{t.status=t.status===N.denied.value?N.accepted.value:N.denied.value,i(13,R[t.tagCode]=T[e]||!1,R)})),i(14,o=j())},P=(e,t,n)=>{const o=S.find((e=>e.id===n)),a=t?"value":"key";let l;if(!t&&o.mustAccept){const e=Array.from(s.children);for(const t of e)if(l=Array.from(t.children).find((e=>e.getAttribute("id")===`checkBoxError__${o.tagCode}`)),l)break}if(o.status===N.accepted[a]?(o.status=N.denied[a],l&&(l.innerHTML=r("requiredError"))):(o.status=N.accepted[a],l&&(l.innerHTML="")),t){i(13,R[o.tagCode]=!R[o.tagCode],R);const e=S.filter((e=>e.category.categoryTagCode===t.categoryTagCode)).every((e=>e.status!==N.denied.value));i(11,T[t.categoryTagCode]=e,T)}L()},L=(e=>{let t;return function(...i){const r=this;clearTimeout(t),t=setTimeout((()=>{e.apply(r,i)}),500)}})((()=>F())),F=()=>{i(14,o=j()),a||(window.postMessage({type:"isConsentsValid",isValid:o}),localStorage.setItem("playerConsents",JSON.stringify(S)))},j=()=>0===S.filter((e=>S.some((t=>e.tagCode===t.tagCode&&t.mustAccept&&(e.status===N.denied.key||e.status===N.denied.value))))).length,q=e=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:e}},window.location.href)};return $h((()=>{setTimeout((()=>{i(25,v=!0)}),50);const e=e=>(e=>{e.data&&"setUpPlayerConsents"!==e.data.type||(e=>{const t=new URL(`${h}/api/v2/gm/legislation/consents`),r={method:"POST",body:JSON.stringify({playerConsents:S,registrationId:e}),headers:{"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,r).then((e=>{e.ok||(O=!0)})).catch((e=>(console.error(e),q(e)))).finally((()=>{i(10,A=!1)}))})(e.data.registerid)})(e);return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}})),e.$$set=e=>{"session"in e&&i(0,a=e.session),"userid"in e&&i(20,l=e.userid),"endpoint"in e&&i(21,h=e.endpoint),"clientstyling"in e&&i(1,c=e.clientstyling),"clientstylingurl"in e&&i(2,u=e.clientstylingurl),"mbsource"in e&&i(3,d=e.mbsource),"lang"in e&&i(22,m=e.lang),"displayconsentdescription"in e&&i(4,p=e.displayconsentdescription),"translationurl"in e&&i(23,_=e.translationurl),"modalconsents"in e&&i(24,f=e.modalconsents)},e.$$.update=()=>{33554433&e.$$.dirty[0]&&v&&a&&(a&&(b=a,g=!0),l&&(E=l),(async()=>{try{let e=[],t=[];if(g?[e,t]=await M():e=await M(),i(10,A=!1),x=[...e],i(8,k=(e=>{const t=new Map;return e.forEach((e=>{t.has(e.category.categoryTagCode)||t.set(e.category.categoryTagCode,e.category)})),Array.from(t.values())})(x).sort(((e,t)=>e.categoryTagCode.localeCompare(t.categoryTagCode)))),i(11,T=(e=>{const t=localStorage.getItem("categoryToggle"+E);if(null===t){const t=e.reduce(((e,t)=>(e[t.categoryTagCode]=!1,e)),{});return localStorage.setItem("categoryToggle"+E,JSON.stringify(t)),t}return JSON.parse(t)})(k)),C={...T},i(9,S=[...t]),x.forEach((e=>{let t=S.find((t=>t.tagCode===e.tagCode));t||(t={...e,status:N.denied.value},S.push(t)),t.description=e.description,t.orderNumber=e.orderNumber})),"true"===f){if(i(9,S=S.filter((e=>e.status===N.expired.value))),0!==S.length)return;z(r("wrongModalConfig"),!0)}S.forEach((e=>{i(12,D[e.tagCode]=e.status===N.accepted.value,D)})),i(13,R={...D})}catch(e){throw i(10,A=!1),z(e instanceof TypeError?r("invalidUrl"):e.message,!0),e}})()),1&e.$$.dirty[0]&&(a||(()=>{O=!1;const e=new URL(`${h}/api/v2/gm/legislation/consents`);fetch(e.href,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then((e=>e.ok?e.json():(O=!0,e.json().then((e=>(console.error(e),q(e))))))).then((e=>{if(!O){if(x=e,localStorage.getItem("playerConsents")){try{i(9,S=JSON.parse(localStorage.getItem("playerConsents")))}catch(e){return console.error(e),q(e)}return}return i(9,S=x.map((e=>({id:e.id,status:N.denied.key,friendlyName:e.friendlyName,tagCode:e.tagCode,selected:null,mustAccept:e.mustAccept})))),localStorage.setItem("playerConsents",JSON.stringify(S)),S}})).catch((e=>(console.error(e),q(e)))).finally((()=>{i(10,A=!1)}))})()),34&e.$$.dirty[0]&&c&&n&&uc(n,c),36&e.$$.dirty[0]&&u&&n&&dc(n,u),40&e.$$.dirty[0]&&d&&n&&mc(n,`${d}.Style`),4194304&e.$$.dirty[0]&&m&&function(e){Od.set(e)}(m),8388608&e.$$.dirty[0]&&_&&(()=>{let e=new URL(_);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Jd(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[a,c,u,d,p,n,y,w,k,S,A,T,D,R,o,s,r,async()=>{if(!I)return;I=!1;const e=[],t=[];if(Object.keys(R).forEach((i=>{const r=S.find((e=>e.tagCode===i));R[i]!==D[i]&&(r?e.push({tagCode:i,status:R[i]?N.accepted.value:N.denied.value}):t.push({tagCode:i,status:R[i]?N.accepted.value:N.denied.value}))})),!g)return localStorage.setItem("categoryToggle"+E,JSON.stringify(T)),C={...T},window.postMessage({type:"NewPlayerConsentData",data:JSON.stringify(t)},window.location.href),void(I=!0);const n=new URL(`${h}/api/v1/gm/user-consents/${E}`);try{const r=await Promise.allSettled([t.length>0&&G(n.href,"updateConsentsError",{method:"POST",headers:{"X-SessionId":b,"Content-Type":"application/json"},body:JSON.stringify({userConsents:t})}),e.length>0&&G(n.href,"updateConsentsError",{method:"PATCH",headers:{"X-SessionId":b,"Content-Type":"application/json"},body:JSON.stringify({userConsents:e})})]);r.forEach(((r,n)=>{if("rejected"===r.status||!1===r.value.ok){const r=n<t.length?t[n]:e[n-t.length];i(13,R[r.tagCode]=D[r.tagCode],R)}})),r.every((e=>"fulfilled"===e.status))&&(localStorage.setItem("categoryToggle"+E,JSON.stringify(T)),C={...T},window.postMessage({type:"PlayerConsentUpdated",success:!0},window.location.href),i(12,D={...R}))}catch(e){z(e instanceof TypeError?r("saveChangesError"):e.message),window.postMessage({type:"PlayerConsentUpdated",success:!1},window.location.href)}finally{I=!0,i(14,o=!1)}},B,P,l,h,m,_,f,v,function(e){T[e.categoryTagCode]=this.checked,i(11,T)},e=>B(e.categoryTagCode),(e,t)=>t.category.categoryTagCode===e.categoryTagCode,e=>P(0,e.category,e.id),e=>P(0,null,e.id),function(e){Kh[e?"unshift":"push"]((()=>{s=e,i(15,s)}))},function(e){Kh[e?"unshift":"push"]((()=>{n=e,i(5,n)}))}]}customElements.define("circle-exclamation-icon",hc(class extends cc{constructor(e){super(),sc(this,e,null,tm,Ah,{})}},{},[],[],!0));class ym extends cc{constructor(e){super(),sc(this,e,Em,bm,Ah,{session:0,userid:20,endpoint:21,clientstyling:1,clientstylingurl:2,mbsource:3,lang:22,displayconsentdescription:4,translationurl:23,modalconsents:24},im,[-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),ic()}get userid(){return this.$$.ctx[20]}set userid(e){this.$$set({userid:e}),ic()}get endpoint(){return this.$$.ctx[21]}set endpoint(e){this.$$set({endpoint:e}),ic()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),ic()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),ic()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),ic()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),ic()}get displayconsentdescription(){return this.$$.ctx[4]}set displayconsentdescription(e){this.$$set({displayconsentdescription:e}),ic()}get translationurl(){return this.$$.ctx[23]}set translationurl(e){this.$$set({translationurl:e}),ic()}get modalconsents(){return this.$$.ctx[24]}set modalconsents(e){this.$$set({modalconsents:e}),ic()}}hc(ym,{session:{},userid:{},endpoint:{},clientstyling:{},clientstylingurl:{},mbsource:{},lang:{},displayconsentdescription:{},translationurl:{},modalconsents:{}},[],[],!0),customElements.define=function(e){return function(...t){try{return e.apply(this,t)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}}(customElements.define),!customElements.get("player-consents")&&customElements.define("player-consents",ym.element);const wm=class{constructor(i){e(this,i),this.registrationWidgetLoaded=t(this,"registrationWidgetLoaded",7),this.registrationStepUpdated=t(this,"registrationStepUpdated",7),this.language="en",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.btag=null,this.emitOnClick=!1,this.isConsentValid=!1,this.isConsentReady=!1,this.isLoading=!0,this.forms=[],this.limitStylingAppends=!1,this.autofilled=!1,this.listOfInputValues=[],this.listOfInputValidity=[],this.listOfActions=[],this.listOfInputs=[],this.emitValue=!1,this.backButtonPressed=!1,this.registerErrors=!1,this.extraActions=[],this.registrationStepsState={regId:null},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.host.shadowRoot.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,this.clientStyling=e,setTimeout((()=>{this.host.shadowRoot.prepend(t)}),1)}))}}sendStep(){this.registrationStepUpdated.emit(this.registrationStep),window.postMessage({type:"registrationStepUpdated",step:this.registrationStep},window.location.href)}handleStylingChange(e,t){e!==t&&this.setClientStyling()}handleStylingUrlChange(e,t){e!==t&&this.setClientStylingURL()}setFormValidity(){this.errorMessage="",this.listOfInputValidity&&(this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)),this.listOfInputs.some((e=>e.autofill))&&(this.autofilled=!0)}addBtag(){this.addBtagValue()}checkInputsValidityHandler(e){this.listOfInputValidity.find((t=>t.name==e.detail.name)).isValid=e.detail.valid,this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)}getInputsValueHandler(e){this.listOfInputValues.find((t=>{t.name==e.detail.name&&(t.value=e.detail.value,t.type=e.detail.type||null)})),this.stepsStateMachine({event:"set",type:"values"})}componentWillLoad(){return this.getRegisterConfig().then((e=>{this.formatConfig(e),this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity),this.stepsStateMachine({event:"set",type:"inputs"})}))}componentDidLoad(){this.registrationWidgetLoaded.emit(),window.postMessage({type:"registrationWidgetLoaded"},window.location.href),!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}messageHandler(e){e.data&&"isConsentsValid"!=e.data.type||(this.listOfInputValidity.find((e=>"Consents"===e.name)).isValid=!!e.data.isValid,this.isConsentValid=!!e.data.isValid,this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity))}nextHandler(e){e.preventDefault(),this.emitValue=!0,this.setRegisterStep()}backHandler(e){e.preventDefault(),this.registrationStep=this.stepChange("decrement"),this.stepsStateMachine({event:"get",type:"inputs"}),this.stepsStateMachine({event:"get",type:"values"})}dispatchRegisterCredentialsEvent(){let e="",t="";Object.keys(this.registrationStepsState).forEach((i=>{this.registrationStepsState[i].registerUserData&&(e||(e=this.registrationStepsState[i].registerUserData.Email?this.registrationStepsState[i].registerUserData.Email.value:e),t||(t=this.registrationStepsState[i].registerUserData.Password?this.registrationStepsState[i].registerUserData.Password.value:t))})),this.registerCredentialsEvent=new CustomEvent("RegisterCredentials",{bubbles:!0,detail:{userNameEmail:e,userPassword:t}}),window.dispatchEvent(this.registerCredentialsEvent)}stepsStateMachine(e){const t=()=>{localStorage.setItem("registrationStepsState",JSON.stringify(this.registrationStepsState))};switch(e.event){case"set":if("inputs"==e.type){const e=this.registrationStepsState[this.registrationStep];e.fields=this.listOfInputs,e.actions=this.listOfActions,e.fieldsValidity=this.listOfInputValidity}"values"==e.type&&(this.registrationStepsState[this.registrationStep].registerUserData=this.listOfInputValues.reduce(((e,t)=>(e[t.name]={value:t.value,isDuplicate:t.isDuplicate},e)),{})),t();break;case"get":const i=JSON.parse(localStorage.getItem("registrationStepsState"));if(!i)return;if("inputs"==e.type){const e=this.registrationStepsState[this.registrationStep];this.listOfInputs=e.fields,this.listOfActions=e.actions,this.listOfInputValidity=e.fieldsValidity}if("values"==e.type){const e=i[this.registrationStep].registerUserData;this.listOfInputValues=Object.keys(e).map((t=>({name:t,value:e[t].value,isDuplicate:e[t].isDuplicate}))),this.listOfInputValues.forEach((e=>{const t=this.listOfInputs.find((t=>t.name===e.name));t&&(t.defaultValue=e.value,"togglecheckbox"===t.inputType&&t.data.subFields.forEach((e=>{const t=this.listOfInputValues.find((t=>t.name===e.name));e.defaultValue=t.value})))}))}this.isConsentReady=this.listOfActions.some((e=>"/Consents"===e)),this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)}}getRegisterConfig(e){const t=new URL(`${this.endpoint}/v1/player/legislation/registration/config`),i=new Headers;i.append("Content-Type","application/json"),i.append("Accept","application/json"),e&&t.searchParams.append("registrationId",e);const r={method:"GET",headers:i};return new Promise(((e,i)=>{this.isLoading=!0,fetch(t.href,r).then((e=>e.json())).then((t=>{this.isLoading=!1,e(t)})).catch((e=>{this.isLoading=!1,console.error(e),i(e)})).finally((()=>{this.isLoading=!1}))}))}setRegisterStep(){this.isLoadingPOST=!0;const e=new URL(`${this.endpoint}/v1/player/legislation/registration/step`),t={registrationId:this.registrationID,registerUserDto:this.listOfInputValues.filter((e=>!e.isDuplicate)).reduce(((e,t)=>("TypeOfPublicArea"===t.name?e[t.name]=t.value.toLowerCase():"tel"===t.type?(e.MobilePrefix=t.value.prefix,e[t.name]=t.value.phone):"checkboxgroup"===t.type?null!==t.value&&Object.entries(t.value).forEach((([t,i])=>{e[t]=i?"true":"false"})):e[t.name]="toggle"===t.type?t.value?"true":"false":t.value,e)),{}),step:this.registrationStep},i=new Headers;i.append("Content-Type","application/json"),i.append("Accept","application/json");const r={method:"POST",body:JSON.stringify(t),headers:i};fetch(e.href,r).then((e=>e.ok?e.json():e.json().then((e=>{this.errorCode=e.thirdPartyResponse.errorCode,this.errorMessage="GmErr_BadRequest_IdomsoftVerification_ShouldRetry"==this.errorCode?e.thirdPartyResponse.message:"GmErr_Forbidden_UserAccount_NavExcluded"===this.errorCode?Eh(`${this.errorCode}`,this.language):"GmErr_BadRequest"==this.errorCode?e.thirdPartyResponse.message:Eh(`${this.errorCode}`,this.language)||Eh("generalError",this.language)})))).then((e=>{this.isLoadingPOST=!1,this.registrationID=e.registrationId,this.listOfActions.some((e=>"/register"==e))?(this.listOfActions.some((e=>"/generate-2FA-code/Generate2FACode"==e))&&this.extraActions.push("2fa"),localStorage.getItem("playerConsents")&&localStorage.removeItem("playerConsents"),this.setRegister()):(this.isConsentValid&&window.postMessage({type:"setUpPlayerConsents",registerid:this.registrationID}),this.registrationStep=this.stepChange("increment"),Object.keys(this.registrationStepsState).find((e=>e==this.registrationStep))?(this.stepsStateMachine({event:"get",type:"inputs"}),this.stepsStateMachine({event:"get",type:"values"})):this.getRegisterConfig(this.registrationID).then((e=>{this.formatConfig(e),this.stepsStateMachine({event:"set",type:"inputs"})})))})).catch((e=>{this.isLoadingPOST=!1,console.error(e)})).finally((()=>{this.isLoadingPOST=!1}))}setRegister(){this.isLoading=!0,this.registerErrors=!1;const e=new URL(`${this.endpoint}/v1/player/legislation/register`),t=new Headers;t.append("Content-Type","application/json"),t.append("Accept","application/json");const i={method:"PUT",body:JSON.stringify({registrationId:this.registrationID}),headers:t};fetch(e.href,i).then((e=>e.ok?e.json():(this.registerErrors=!0,e.json().then((e=>{this.errorCode=e.thirdPartyResponse.errorCode,this.errorMessage="GmErr_BadRequest_IdomsoftVerification_ShouldRetry"==this.errorCode||"GmErr_BadRequest"==this.errorCode?e.thirdPartyResponse.message:Eh(`${this.errorCode}`,this.language)||Eh("generalError",this.language),window.postMessage({type:"registrationFailed",errorMessage:null==e?void 0:e.thirdPartyResponse.message},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMessage}},window.location.href)}))))).then((e=>{this.isLoading=!1,this.registerErrors||(this.dispatchRegisterCredentialsEvent(),window.postMessage({type:"registrationSuccessful",userId:null==e?void 0:e.userId,extraActions:this.extraActions},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"success",message:Eh("successMessage",this.language)}},window.location.href))})).catch((e=>{this.isLoading=!1,console.error(e)})).finally((()=>{this.isLoading=!1}))}formatConfig(e){if(this.listOfInputs=e.content.fields.flatMap((e=>{const t=e.validate.custom.find((e=>"duplicate-input"===e.rule)),i=Object.assign({},e);return t?[i,Object.assign(Object.assign({},e),{name:`${e.name}Duplicate`,displayName:t.displayName,isDuplicateInput:!0})]:[i]})),this.listOfInputValidity=this.listOfInputs.reduce(((e,t)=>{var i;return"togglecheckbox"===(null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase())?t.data.subFields.forEach((t=>{e.push({name:t.name,isValid:this.setInitialValidStatus(t)})})):e.push({name:t.name,isValid:this.setInitialValidStatus(t)}),e}),[]),this.listOfInputValues=this.listOfInputs.reduce(((e,t)=>{var i;const r=null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase();return"togglecheckbox"===r&&t.data.subFields.forEach((t=>{var i;e.push({name:t.name,value:"checkbox"==(null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase())?"false":null,isDuplicate:t.isDuplicateInput||!1,type:"togglecheckbox"===r?"togglecheckbox":null})})),e.push({name:t.name,value:"checkbox"===r||"togglecheckbox"===r?"false":null,isDuplicate:t.isDuplicateInput||!1,type:"checkboxgroup"===r?"checkboxgroup":"togglecheckbox"===r?"toggle":null}),e}),[]),this.btag&&this.addBtagValue(),this.listOfActions=e.content.actions.map((e=>e)),this.registrationID=e.content.registrationID,this.registrationStep=e.content.step,this.listOfActions.some((e=>"/register"==e))&&(this.lastStep=this.registrationStep),this.listOfActions.some((e=>"/Consents"==e))){if(this.isConsentReady)return this.listOfInputValidity.find((e=>"Consents"===e.name)).isValid=!1,void(this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity));this.listOfInputValidity.push({name:"Consents",isValid:!1}),this.isConsentReady=!0}else this.isConsentReady=!1;var t;this.translationUrl?(t=this.translationUrl,new Promise((e=>{fetch(t).then((e=>e.json())).then((t=>{Object.keys(t).forEach((e=>{for(let i in t[e])bh[e][i]=t[e][i]})),e(!0)}))}))).then((()=>{this.listOfInputs.forEach((e=>{var t,i;return this.addTranslation(e),"togglecheckbox"===(null===(t=e.inputType)||void 0===t?void 0:t.toLowerCase())&&e.data.subFields.forEach((e=>this.addTranslation(e))),"checkboxgroup"===(null===(i=e.inputType)||void 0===i?void 0:i.toLowerCase())&&(this.addTranslation(e),e.data.subFields.forEach((e=>this.addTranslation(e)))),e}))})).catch((e=>{console.error("Failed to fetch translations:",e)})).finally((()=>{this.forms=[...this.forms,{[this.registrationStep]:this.listOfInputs}]})):this.forms=[...this.forms,{[this.registrationStep]:this.listOfInputs}],this.registrationStepsState.regId=this.registrationID,this.registrationStepsState[this.registrationStep]||(this.registrationStepsState[this.registrationStep]={fields:[],fieldsValidity:[],registerUserData:{},actions:[]})}addBtagValue(){const e=this.listOfInputs.find((e=>"btag"===e.name.toLowerCase()));e&&(e.defaultValue=this.btag);const t=this.listOfInputValues.find((e=>"btag"===e.name.toLowerCase()));t&&(t.value=this.btag)}addTranslation(e){bh[bh[this.language]?this.language:"en"][e.name]&&Object.keys(bh[this.language][e.name]).forEach((t=>{e[t]=bh[this.language][e.name][t]}))}setInitialValidStatus(e){var t,i,r,n;return"checkbox"==(null===(t=e.inputType)||void 0===t?void 0:t.toLowerCase())&&0==(null===(i=e.validate)||void 0===i?void 0:i.mandatory)||("checkbox"!==(null===(r=e.inputType)||void 0===r?void 0:r.toLowerCase())||!(null===(n=e.validate)||void 0===n?void 0:n.mandatory)||"true"===e.defaultValue)&&null!==e.defaultValue}stepChange(e){const t=parseInt(this.registrationStep.replace("Step",""));return"increment"===e?"Step"+(t+1):"decrement"===e?"Step"+(t-1):void 0}getInvalidStatus(e){return e.filter((e=>0==e.isValid)).length>0}renderForm(){return this.forms.map(((e,t)=>i("form",{action:".",id:`RegistrationForm${this.registrationStep}`,class:"registration__form "+(this.registrationStep!==`Step${t+1}`?"hidden":""),ref:e=>this.form=e},e[this.registrationStep]&&e[this.registrationStep].map((e=>i("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,options:e.data?"checkboxgroup"==e.inputType.toLowerCase()||"togglecheckbox"==e.inputType.toLowerCase()?e.data.subFields:e.data.values:[],defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,isDuplicateInput:e.isDuplicateInput,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:null==e.placeholder?"":e.placeholder,dateFormat:this.dateFormat,"translation-url":this.translationUrl,emitOnClick:this.emitOnClick}))),this.isConsentReady&&this.renderConsents(),this.buttonInsideForm&&this.renderButtons(),i("div",{class:"registration__wrapper--flex"},i("p",{class:"registration__error-message",innerHTML:this.errorMessage})))))}renderConsents(){return i("div",{class:"consentsContainer"},i("player-consents",{endpoint:this.endpoint}))}renderButtons(){return i("div",{class:"registration__buttons-wrapper "+(this.autofilled?"registration__buttons-wrapper--autofilled":"")},this.isLoadingPOST&&i("slot",{name:"spinner"})&&i("svg",{class:"spinner",viewBox:"0 0 50 50"},i("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"})),!this.isLoadingPOST&&i("button",{class:"registration__button registration__button--next "+(this.isFormValid?"":"registration__button--disabled"),type:"submit",form:`RegistrationForm${this.registrationStep}`,onClick:e=>this.nextHandler(e),disabled:!this.isFormValid},Eh(this.lastStep===this.registrationStep?"doneButton":"nextButton",this.language)),i("button",{class:"registration__button registration__button--back "+("Step1"==this.registrationStep?"registration__button--first-step":""),onClick:e=>this.backHandler(e)},Eh("backButton",this.language)))}render(){return this.isLoading?i("p",null,"Please wait, loading ..."):i("div",{class:`registration registration__${this.registrationStep}`},this.renderForm(),!this.buttonInsideForm&&this.renderButtons())}get host(){return r(this)}static get watchers(){return{registrationStep:["sendStep"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],forms:["setFormValidity"],btag:["addBtag"]}}};wm.style='*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.registration__form.hidden {\n display: none;\n}\n\n.registration {\n font-family: "Roboto";\n font-style: normal;\n font-family: sans-serif;\n display: flex;\n flex-direction: column;\n gap: 24px;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n}\n.registration__wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.registration__error-message {\n color: var(--emw--color-error, var(--emw--color-red, #ed0909));\n font-size: 13px;\n display: block;\n justify-content: center;\n text-align: center;\n}\n.registration__form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.registration__buttons-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n position: relative;\n}\n.registration__button {\n border-radius: 5px;\n background: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n border: 1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n color: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));\n text-transform: uppercase;\n font-size: 20px;\n height: 44px;\n width: 100%;\n margin: 0px auto;\n padding: 10px 20px;\n font-weight: normal;\n box-shadow: none;\n cursor: pointer;\n}\n.registration__button--disabled {\n background: var(--emw--color-gray-100, #E6E6E6);\n border: 1px solid var(--emw--color-gray-150, #828282);\n pointer-events: none;\n box-shadow: none;\n}\n.registration__button--first-step {\n display: none;\n}\n\n@container (min-width: 450px) {\n .registration__form {\n grid-template-columns: repeat(2, 1fr);\n }\n .registration__buttons-wrapper {\n flex-direction: row-reverse;\n gap: 15px;\n }\n}\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n width: 50px;\n height: 50px;\n}\n.spinner .path {\n stroke: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}';const km=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}return this.inputReference.validity.rangeUnderflow||this.inputReference.validity.rangeOverflow?s("numberLengthError",this.language,{values:{min:this.validation.min,max:this.validation.max}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"number__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"2032f77ca52b330ae2e8f484d7a0aba60ee7b9d5",class:`number__wrapper ${this.autofilled?"number__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"0786901cd928bba86597180f058bff43fba522b6",class:"number__wrapper--flex"},i("label",{key:"ff7f39306cef7aeba3e0e4508df03c5a945e748b",class:"number__label "+(this.validation.mandatory?"number__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"dced91223621551472fee374d56f1ad7476f4191",class:"number__wrapper--relative"},this.tooltip&&i("img",{key:"a804a983e342e4d117126720a32c4c34a2b267dc",class:"number__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"fd59afaedf7d9f761684b057a1809474d735cc26",ref:e=>this.inputReference=e,type:"number",value:this.defaultValue,readOnly:this.autofilled,id:`${this.name}__input`,class:`number__input ${e}`,pattern:this.validationPattern,placeholder:`${this.placeholder}`,required:this.validation.mandatory,max:this.validation.max,min:this.validation.min,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"ca11558b5704b69311626736ab84a298449b98d7",class:"number__error-message"},this.errorMessage))}static get watchers(){return{isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};km.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:"Roboto";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__wrapper--autofilled .number__input{color:var(--emw--color-black, #000000)}.number__wrapper--flex{display:flex;gap:5px}.number__wrapper--relative{position:relative}.number__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.number__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative;-moz-appearance:textfield;}.number__input:focus{outline-color:#3E3E3E}.number__input::-webkit-outer-spin-button,.number__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__input::placeholder{color:#979797}.number__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__tooltip-icon{width:16px;height:auto}.number__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.number__tooltip.visible{opacity:1}',
3989
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Mn(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}),{uniqueIdPrefix:"search-input"})),this.addController(new Un(this.inputElement,this._labelController)),this._tooltipController=new kr(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((e=>!e.opened)),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",(e=>e.preventDefault())),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(e){e.detail.sourceEvent&&e.detail.sourceEvent.composedPath().includes(this)&&e.preventDefault()}_toggle(e){e.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(e){super._openedChanged(e),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}function Os(e){return Os="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Os(e)}function zs(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Gs(e){zs(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===Os(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function Ms(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Us(e,t){return zs(2,arguments),function(e,t){zs(2,arguments);var i=Gs(e).getTime(),r=Ms(t);return new Date(i+r)}(e,-Ms(t))}function Bs(e){zs(1,arguments);var t=Gs(e),i=t.getUTCDay(),r=(i<1?7:0)+i-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function Ps(e){zs(1,arguments);var t=Gs(e),i=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(i+1,0,4),r.setUTCHours(0,0,0,0);var n=Bs(r),o=new Date(0);o.setUTCFullYear(i,0,4),o.setUTCHours(0,0,0,0);var s=Bs(o);return t.getTime()>=n.getTime()?i+1:t.getTime()>=s.getTime()?i:i-1}l(Ns);function Ls(e){zs(1,arguments);var t=Gs(e),i=Bs(t).getTime()-function(e){zs(1,arguments);var t=Ps(e),i=new Date(0);return i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0),Bs(i)}(t).getTime();return Math.round(i/6048e5)+1}var Fs={};function js(){return Fs}function qs(e,t){var i,r,n,o,s,a,l,h;zs(1,arguments);var c=js(),u=Ms(null!==(i=null!==(r=null!==(n=null!==(o=null==t?void 0:t.weekStartsOn)&&void 0!==o?o:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==n?n:c.weekStartsOn)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var d=Gs(e),m=d.getUTCDay(),p=(m<u?7:0)+m-u;return d.setUTCDate(d.getUTCDate()-p),d.setUTCHours(0,0,0,0),d}function Hs(e,t){var i,r,n,o,s,a,l,h;zs(1,arguments);var c=Gs(e),u=c.getUTCFullYear(),d=js(),m=Ms(null!==(i=null!==(r=null!==(n=null!==(o=null==t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==n?n:d.firstWeekContainsDate)&&void 0!==r?r:null===(l=d.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(u+1,0,m),p.setUTCHours(0,0,0,0);var _=qs(p,t),f=new Date(0);f.setUTCFullYear(u,0,m),f.setUTCHours(0,0,0,0);var v=qs(f,t);return c.getTime()>=_.getTime()?u+1:c.getTime()>=v.getTime()?u:u-1}function Vs(e,t){zs(1,arguments);var i=Gs(e),r=qs(i,t).getTime()-function(e,t){var i,r,n,o,s,a,l,h;zs(1,arguments);var c=js(),u=Ms(null!==(i=null!==(r=null!==(n=null!==(o=null==t?void 0:t.firstWeekContainsDate)&&void 0!==o?o:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==n?n:c.firstWeekContainsDate)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1),d=Hs(e,t),m=new Date(0);return m.setUTCFullYear(d,0,u),m.setUTCHours(0,0,0,0),qs(m,t)}(i,t).getTime();return Math.round(r/6048e5)+1}function $s(e,t){for(var i=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return i+r}const Xs=function(e,t){var i=e.getUTCFullYear(),r=i>0?i:1-i;return $s("yy"===t?r%100:r,t.length)},Ks=function(e,t){var i=e.getUTCMonth();return"M"===t?String(i+1):$s(i+1,2)},Ys=function(e,t){return $s(e.getUTCDate(),t.length)},Ws=function(e,t){return $s(e.getUTCHours()%12||12,t.length)},Zs=function(e,t){return $s(e.getUTCHours(),t.length)},Qs=function(e,t){return $s(e.getUTCMinutes(),t.length)},Js=function(e,t){return $s(e.getUTCSeconds(),t.length)},ea=function(e,t){var i=t.length,r=e.getUTCMilliseconds();return $s(Math.floor(r*Math.pow(10,i-3)),t.length)};function ta(e,t){var i=e>0?"-":"+",r=Math.abs(e),n=Math.floor(r/60),o=r%60;if(0===o)return i+String(n);var s=t||"";return i+String(n)+s+$s(o,2)}function ia(e,t){return e%60==0?(e>0?"-":"+")+$s(Math.abs(e)/60,2):ra(e,t)}function ra(e,t){var i=t||"",r=e>0?"-":"+",n=Math.abs(e);return r+$s(Math.floor(n/60),2)+i+$s(n%60,2)}const na={G:function(e,t,i){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})}},y:function(e,t,i){if("yo"===t){var r=e.getUTCFullYear();return i.ordinalNumber(r>0?r:1-r,{unit:"year"})}return Xs(e,t)},Y:function(e,t,i,r){var n=Hs(e,r),o=n>0?n:1-n;return"YY"===t?$s(o%100,2):"Yo"===t?i.ordinalNumber(o,{unit:"year"}):$s(o,t.length)},R:function(e,t){return $s(Ps(e),t.length)},u:function(e,t){return $s(e.getUTCFullYear(),t.length)},Q:function(e,t,i){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return $s(r,2);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,i){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return $s(r,2);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,i){var r=e.getUTCMonth();switch(t){case"M":case"MM":return Ks(e,t);case"Mo":return i.ordinalNumber(r+1,{unit:"month"});case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,i){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return $s(r+1,2);case"Lo":return i.ordinalNumber(r+1,{unit:"month"});case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,i,r){var n=Vs(e,r);return"wo"===t?i.ordinalNumber(n,{unit:"week"}):$s(n,t.length)},I:function(e,t,i){var r=Ls(e);return"Io"===t?i.ordinalNumber(r,{unit:"week"}):$s(r,t.length)},d:function(e,t,i){return"do"===t?i.ordinalNumber(e.getUTCDate(),{unit:"date"}):Ys(e,t)},D:function(e,t,i){var r=function(e){zs(1,arguments);var t=Gs(e),i=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime();return Math.floor((i-r)/864e5)+1}(e);return"Do"===t?i.ordinalNumber(r,{unit:"dayOfYear"}):$s(r,t.length)},E:function(e,t,i){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,i,r){var n=e.getUTCDay(),o=(n-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return $s(o,2);case"eo":return i.ordinalNumber(o,{unit:"day"});case"eee":return i.day(n,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},c:function(e,t,i,r){var n=e.getUTCDay(),o=(n-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return $s(o,t.length);case"co":return i.ordinalNumber(o,{unit:"day"});case"ccc":return i.day(n,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(n,{width:"narrow",context:"standalone"});case"cccccc":return i.day(n,{width:"short",context:"standalone"});default:return i.day(n,{width:"wide",context:"standalone"})}},i:function(e,t,i){var r=e.getUTCDay(),n=0===r?7:r;switch(t){case"i":return String(n);case"ii":return $s(n,t.length);case"io":return i.ordinalNumber(n,{unit:"day"});case"iii":return i.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,i){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,i){var r,n=e.getUTCHours();switch(r=12===n?"noon":0===n?"midnight":n/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,i){var r,n=e.getUTCHours();switch(r=n>=17?"evening":n>=12?"afternoon":n>=4?"morning":"night",t){case"B":case"BB":case"BBB":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,i){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),i.ordinalNumber(r,{unit:"hour"})}return Ws(e,t)},H:function(e,t,i){return"Ho"===t?i.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Zs(e,t)},K:function(e,t,i){var r=e.getUTCHours()%12;return"Ko"===t?i.ordinalNumber(r,{unit:"hour"}):$s(r,t.length)},k:function(e,t,i){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?i.ordinalNumber(r,{unit:"hour"}):$s(r,t.length)},m:function(e,t,i){return"mo"===t?i.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Qs(e,t)},s:function(e,t,i){return"so"===t?i.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Js(e,t)},S:function(e,t){return ea(e,t)},X:function(e,t,i,r){var n=(r._originalDate||e).getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return ia(n);case"XXXX":case"XX":return ra(n);default:return ra(n,":")}},x:function(e,t,i,r){var n=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return ia(n);case"xxxx":case"xx":return ra(n);default:return ra(n,":")}},O:function(e,t,i,r){var n=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ta(n,":");default:return"GMT"+ra(n,":")}},z:function(e,t,i,r){var n=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ta(n,":");default:return"GMT"+ra(n,":")}},t:function(e,t,i,r){return $s(Math.floor((r._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,i,r){return $s((r._originalDate||e).getTime(),t.length)}};var oa=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},sa=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},aa={p:sa,P:function(e,t){var i,r=e.match(/(P+)(p+)?/)||[],n=r[1],o=r[2];if(!o)return oa(e,t);switch(n){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",oa(n,t)).replace("{{time}}",sa(o,t))}};const la=aa;function ha(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var ca=["D","DD"],ua=["YY","YYYY"];function da(e){return-1!==ca.indexOf(e)}function ma(e){return-1!==ua.indexOf(e)}function pa(e,t,i){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var _a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function fa(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var va,ga={date:fa({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:fa({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:fa({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ba={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Ea(e){return function(t,i){var r;if("formatting"===(null!=i&&i.context?String(i.context):"standalone")&&e.formattingValues){var n=e.defaultFormattingWidth||e.defaultWidth,o=null!=i&&i.width?String(i.width):n;r=e.formattingValues[o]||e.formattingValues[n]}else{var s=e.defaultWidth,a=null!=i&&i.width?String(i.width):e.defaultWidth;r=e.values[a]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function ya(e){return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.width,n=t.match(r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth]);if(!n)return null;var o,s=n[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?function(e){for(var t=0;t<e.length;t++)if(e[t].test(s))return t}(a):function(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t].test(s))return t}(a);return o=e.valueCallback?e.valueCallback(l):l,{value:o=i.valueCallback?i.valueCallback(o):o,rest:t.slice(s.length)}}}const wa={code:"en-US",formatDistance:function(e,t,i){var r,n=_a[e];return r="string"==typeof n?n:1===t?n.one:n.other.replace("{{count}}",t.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+r:r+" ago":r},formatLong:ga,formatRelative:function(e){return ba[e]},localize:{ordinalNumber:function(e){var t=Number(e),i=t%100;if(i>20||i<10)switch(i%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:Ea({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Ea({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Ea({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Ea({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Ea({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(va={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.match(va.matchPattern);if(!i)return null;var r=i[0],n=e.match(va.parsePattern);if(!n)return null;var o=va.valueCallback?va.valueCallback(n[0]):n[0];return{value:o=t.valueCallback?t.valueCallback(o):o,rest:e.slice(r.length)}}),era:ya({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ya({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ya({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ya({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ya({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var ka=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xa=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Sa=/^'([^]*?)'?$/,Aa=/''/g,Ia=/[a-zA-Z]/;function Ca(e,t,i){var r,n,o,s,a,l,h,c,u,d,m,p,_,f,v,g,b,E;zs(2,arguments);var y=String(t),w=js(),k=null!==(r=null!==(n=null==i?void 0:i.locale)&&void 0!==n?n:w.locale)&&void 0!==r?r:wa,x=Ms(null!==(o=null!==(s=null!==(a=null!==(l=null==i?void 0:i.firstWeekContainsDate)&&void 0!==l?l:null==i||null===(h=i.locale)||void 0===h||null===(c=h.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==a?a:w.firstWeekContainsDate)&&void 0!==s?s:null===(u=w.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==o?o:1);if(!(x>=1&&x<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=Ms(null!==(m=null!==(p=null!==(_=null!==(f=null==i?void 0:i.weekStartsOn)&&void 0!==f?f:null==i||null===(v=i.locale)||void 0===v||null===(g=v.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==_?_:w.weekStartsOn)&&void 0!==p?p:null===(b=w.locale)||void 0===b||null===(E=b.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==m?m:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var A=Gs(e);if(!function(e){if(zs(1,arguments),!function(e){return zs(1,arguments),e instanceof Date||"object"===Os(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=Gs(e);return!isNaN(Number(t))}(A))throw new RangeError("Invalid time value");var I=Us(A,ha(A)),C={firstWeekContainsDate:x,weekStartsOn:S,locale:k,_originalDate:A};return y.match(xa).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,la[t])(e,k.formatLong):e})).join("").match(ka).map((function(r){if("''"===r)return"'";var n,o,s=r[0];if("'"===s)return(o=(n=r).match(Sa))?o[1].replace(Aa,"'"):n;var a=na[s];if(a)return null!=i&&i.useAdditionalWeekYearTokens||!ma(r)||pa(r,t,String(e)),null!=i&&i.useAdditionalDayOfYearTokens||!da(r)||pa(r,t,String(e)),a(I,r,k.localize,C);if(s.match(Ia))throw new RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");return r})).join("")}function Ta(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=Array(t);i<t;i++)r[i]=e[i];return r}function Da(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return Ta(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ta(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0,n=function(){};return{s:n,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==i.return||i.return()}finally{if(a)throw o}}}}function Ra(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}function Na(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oa(e,t){return Oa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oa(e,t)}function za(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oa(e,t)}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ga(e)}function Ma(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ma=function(){return!!e})()}function Ua(e){var t=Ma();return function(){var i,r=Ga(e);if(t){var n=Ga(this).constructor;i=Reflect.construct(r,arguments,n)}else i=r.apply(this,arguments);return function(e,t){if(t&&("object"==Os(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Na(e)}(this,i)}}function Ba(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(e){var t=function(e){if("object"!=Os(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=Os(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Os(t)?t:t+""}function La(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Pa(r.key),r)}}function Fa(e,t,i){return t&&La(e.prototype,t),i&&La(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function ja(e,t,i){return(t=Pa(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var qa=function(){function e(){Ba(this,e),ja(this,"priority",void 0),ja(this,"subPriority",0)}return Fa(e,[{key:"validate",value:function(){return!0}}]),e}(),Ha=function(){za(t,qa);var e=Ua(t);function t(i,r,n,o,s){var a;return Ba(this,t),(a=e.call(this)).value=i,a.validateValue=r,a.setValue=n,a.priority=o,s&&(a.subPriority=s),a}return Fa(t,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,i){return this.setValue(e,t,this.value,i)}}]),t}(),Va=function(){za(t,qa);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",10),ja(Na(i),"subPriority",-1),i}return Fa(t,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var i=new Date(0);return i.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),i.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),i}}]),t}(),$a=function(){function e(){Ba(this,e),ja(this,"incompatibleTokens",void 0),ja(this,"priority",void 0),ja(this,"subPriority",void 0)}return Fa(e,[{key:"run",value:function(e,t,i,r){var n=this.parse(e,t,i,r);return n?{setter:new Ha(n.value,this.validate,this.set,this.priority,this.subPriority),rest:n.rest}:null}},{key:"validate",value:function(){return!0}}]),e}(),Xa=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",140),ja(Na(i),"incompatibleTokens",["R","u","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"G":case"GG":case"GGG":return i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"});case"GGGGG":return i.era(e,{width:"narrow"});default:return i.era(e,{width:"wide"})||i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,i){return t.era=i,e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Ka=/^(1[0-2]|0?\d)/,Ya=/^(3[0-1]|[0-2]?\d)/,Wa=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Za=/^(5[0-3]|[0-4]?\d)/,Qa=/^(2[0-3]|[0-1]?\d)/,Ja=/^(2[0-4]|[0-1]?\d)/,el=/^(1[0-1]|0?\d)/,tl=/^(1[0-2]|0?\d)/,il=/^[0-5]?\d/,rl=/^[0-5]?\d/,nl=/^\d/,ol=/^\d{1,2}/,sl=/^\d{1,3}/,al=/^\d{1,4}/,ll=/^-?\d+/,hl=/^-?\d/,cl=/^-?\d{1,2}/,ul=/^-?\d{1,3}/,dl=/^-?\d{1,4}/,ml=/^([+-])(\d{2})(\d{2})?|Z/,pl=/^([+-])(\d{2})(\d{2})|Z/,_l=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,fl=/^([+-])(\d{2}):(\d{2})|Z/,vl=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function gl(e,t){return e?{value:t(e.value),rest:e.rest}:e}function bl(e,t){var i=t.match(e);return i?{value:parseInt(i[0],10),rest:t.slice(i[0].length)}:null}function El(e,t){var i=t.match(e);return i?"Z"===i[0]?{value:0,rest:t.slice(1)}:{value:("+"===i[1]?1:-1)*(36e5*(i[2]?parseInt(i[2],10):0)+6e4*(i[3]?parseInt(i[3],10):0)+1e3*(i[5]?parseInt(i[5],10):0)),rest:t.slice(i[0].length)}:null}function yl(e){return bl(ll,e)}function wl(e,t){switch(e){case 1:return bl(nl,t);case 2:return bl(ol,t);case 3:return bl(sl,t);case 4:return bl(al,t);default:return bl(new RegExp("^\\d{1,"+e+"}"),t)}}function kl(e,t){switch(e){case 1:return bl(hl,t);case 2:return bl(cl,t);case 3:return bl(ul,t);case 4:return bl(dl,t);default:return bl(new RegExp("^-?\\d{1,"+e+"}"),t)}}function xl(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Sl(e,t){var i,r=t>0,n=r?t:1-t;if(n<=50)i=e||100;else{var o=n+50;i=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return r?i:1-i}function Al(e){return e%400==0||e%4==0&&e%100!=0}var Il=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",130),ja(Na(i),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return gl(wl(4,e),r);case"yo":return gl(i.ordinalNumber(e,{unit:"year"}),r);default:return gl(wl(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,i){var r=e.getUTCFullYear();if(i.isTwoDigitYear){var n=Sl(i.year,r);return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}return e.setUTCFullYear("era"in t&&1!==t.era?1-i.year:i.year,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Cl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",130),ja(Na(i),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return gl(wl(4,e),r);case"Yo":return gl(i.ordinalNumber(e,{unit:"year"}),r);default:return gl(wl(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,i,r){var n=Hs(e,r);if(i.isTwoDigitYear){var o=Sl(i.year,n);return e.setUTCFullYear(o,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),qs(e,r)}return e.setUTCFullYear("era"in t&&1!==t.era?1-i.year:i.year,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),qs(e,r)}}]),t}(),Tl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",130),ja(Na(i),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return kl("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,i){var r=new Date(0);return r.setUTCFullYear(i,0,4),r.setUTCHours(0,0,0,0),Bs(r)}}]),t}(),Dl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",130),ja(Na(i),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return kl("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,i){return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Rl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",120),ja(Na(i),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"Q":case"QQ":return wl(t.length,e);case"Qo":return i.ordinalNumber(e,{unit:"quarter"});case"QQQ":return i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(e,{width:"narrow",context:"formatting"});default:return i.quarter(e,{width:"wide",context:"formatting"})||i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth(3*(i-1),1),e.setUTCHours(0,0,0,0),e}}]),t}(),Nl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",120),ja(Na(i),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"q":case"qq":return wl(t.length,e);case"qo":return i.ordinalNumber(e,{unit:"quarter"});case"qqq":return i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(e,{width:"narrow",context:"standalone"});default:return i.quarter(e,{width:"wide",context:"standalone"})||i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth(3*(i-1),1),e.setUTCHours(0,0,0,0),e}}]),t}(),Ol=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),ja(Na(i),"priority",110),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return e-1};switch(t){case"M":return gl(bl(Ka,e),r);case"MM":return gl(wl(2,e),r);case"Mo":return gl(i.ordinalNumber(e,{unit:"month"}),r);case"MMM":return i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(e,{width:"narrow",context:"formatting"});default:return i.month(e,{width:"wide",context:"formatting"})||i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),t}(),zl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",110),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return e-1};switch(t){case"L":return gl(bl(Ka,e),r);case"LL":return gl(wl(2,e),r);case"Lo":return gl(i.ordinalNumber(e,{unit:"month"}),r);case"LLL":return i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(e,{width:"narrow",context:"standalone"});default:return i.month(e,{width:"wide",context:"standalone"})||i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Gl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",100),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"w":return bl(Za,e);case"wo":return i.ordinalNumber(e,{unit:"week"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,i,r){return qs(function(e,t,i){zs(2,arguments);var r=Gs(e),n=Ms(t),o=Vs(r,i)-n;return r.setUTCDate(r.getUTCDate()-7*o),r}(e,i,r),r)}}]),t}(),Ml=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",100),ja(Na(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"I":return bl(Za,e);case"Io":return i.ordinalNumber(e,{unit:"week"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,i){return Bs(function(e,t){zs(2,arguments);var i=Gs(e),r=Ms(t),n=Ls(i)-r;return i.setUTCDate(i.getUTCDate()-7*n),i}(e,i))}}]),t}(),Ul=[31,28,31,30,31,30,31,31,30,31,30,31],Bl=[31,29,31,30,31,30,31,31,30,31,30,31],Pl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"subPriority",1),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"d":return bl(Ya,e);case"do":return i.ordinalNumber(e,{unit:"date"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){var i=Al(e.getUTCFullYear()),r=e.getUTCMonth();return i?t>=1&&t<=Bl[r]:t>=1&&t<=Ul[r]}},{key:"set",value:function(e,t,i){return e.setUTCDate(i),e.setUTCHours(0,0,0,0),e}}]),t}(),Ll=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"subpriority",1),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"D":case"DD":return bl(Wa,e);case"Do":return i.ordinalNumber(e,{unit:"date"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return Al(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,i){return e.setUTCMonth(0,i),e.setUTCHours(0,0,0,0),e}}]),t}();function Fl(e,t,i){var r,n,o,s,a,l,h,c;zs(2,arguments);var u=js(),d=Ms(null!==(r=null!==(n=null!==(o=null!==(s=null==i?void 0:i.weekStartsOn)&&void 0!==s?s:null==i||null===(a=i.locale)||void 0===a||null===(l=a.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==o?o:u.weekStartsOn)&&void 0!==n?n:null===(h=u.locale)||void 0===h||null===(c=h.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==r?r:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=Gs(e),p=Ms(t),_=((p%7+7)%7<d?7:0)+p-m.getUTCDay();return m.setUTCDate(m.getUTCDate()+_),m}var jl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"incompatibleTokens",["D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"E":case"EE":case"EEE":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),ql=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i,r){var n=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return gl(wl(t.length,e),n);case"eo":return gl(i.ordinalNumber(e,{unit:"day"}),n);case"eee":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"eeeee":return i.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),Hl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i,r){var n=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return gl(wl(t.length,e),n);case"co":return gl(i.ordinalNumber(e,{unit:"day"}),n);case"ccc":return i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});case"ccccc":return i.day(e,{width:"narrow",context:"standalone"});case"cccccc":return i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});default:return i.day(e,{width:"wide",context:"standalone"})||i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),Vl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",90),ja(Na(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return wl(t.length,e);case"io":return i.ordinalNumber(e,{unit:"day"});case"iii":return gl(i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return gl(i.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return gl(i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r);default:return gl(i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,i){return e=function(e,t){zs(2,arguments);var i=Ms(t);i%7==0&&(i-=7);var r=Gs(e),n=((i%7+7)%7<1?7:0)+i-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+n),r}(e,i),e.setUTCHours(0,0,0,0),e}}]),t}(),$l=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",80),ja(Na(i),"incompatibleTokens",["b","B","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"a":case"aa":case"aaa":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Xl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",80),ja(Na(i),"incompatibleTokens",["a","B","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"b":case"bb":case"bbb":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Kl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",80),ja(Na(i),"incompatibleTokens",["a","b","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"B":case"BB":case"BBB":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Yl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",70),ja(Na(i),"incompatibleTokens",["H","K","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"h":return bl(tl,e);case"ho":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,i){var r=e.getUTCHours()>=12;return e.setUTCHours(r&&i<12?i+12:r||12!==i?i:0,0,0,0),e}}]),t}(),Wl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",70),ja(Na(i),"incompatibleTokens",["a","b","h","K","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"H":return bl(Qa,e);case"Ho":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,i){return e.setUTCHours(i,0,0,0),e}}]),t}(),Zl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",70),ja(Na(i),"incompatibleTokens",["h","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"K":return bl(el,e);case"Ko":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){var r=e.getUTCHours()>=12;return e.setUTCHours(r&&i<12?i+12:i,0,0,0),e}}]),t}(),Ql=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",70),ja(Na(i),"incompatibleTokens",["a","b","h","H","K","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"k":return bl(Ja,e);case"ko":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,i){return e.setUTCHours(i<=24?i%24:i,0,0,0),e}}]),t}(),Jl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",60),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"m":return bl(il,e);case"mo":return i.ordinalNumber(e,{unit:"minute"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCMinutes(i,0,0),e}}]),t}(),eh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",50),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"s":return bl(rl,e);case"so":return i.ordinalNumber(e,{unit:"second"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCSeconds(i,0),e}}]),t}(),th=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",30),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return gl(wl(t.length,e),(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))}},{key:"set",value:function(e,t,i){return e.setUTCMilliseconds(i),e}}]),t}(),ih=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",10),ja(Na(i),"incompatibleTokens",["t","T","x"]),i}return Fa(t,[{key:"parse",value:function(e,t){switch(t){case"X":return El(ml,e);case"XX":return El(pl,e);case"XXXX":return El(_l,e);case"XXXXX":return El(vl,e);default:return El(fl,e)}}},{key:"set",value:function(e,t,i){return t.timestampIsSet?e:new Date(e.getTime()-i)}}]),t}(),rh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",10),ja(Na(i),"incompatibleTokens",["t","T","X"]),i}return Fa(t,[{key:"parse",value:function(e,t){switch(t){case"x":return El(ml,e);case"xx":return El(pl,e);case"xxxx":return El(_l,e);case"xxxxx":return El(vl,e);default:return El(fl,e)}}},{key:"set",value:function(e,t,i){return t.timestampIsSet?e:new Date(e.getTime()-i)}}]),t}(),nh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",40),ja(Na(i),"incompatibleTokens","*"),i}return Fa(t,[{key:"parse",value:function(e){return yl(e)}},{key:"set",value:function(e,t,i){return[new Date(1e3*i),{timestampIsSet:!0}]}}]),t}(),oh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return ja(Na(i=e.call.apply(e,[this].concat(n))),"priority",20),ja(Na(i),"incompatibleTokens","*"),i}return Fa(t,[{key:"parse",value:function(e){return yl(e)}},{key:"set",value:function(e,t,i){return[new Date(i),{timestampIsSet:!0}]}}]),t}(),sh={G:new Xa,y:new Il,Y:new Cl,R:new Tl,u:new Dl,Q:new Rl,q:new Nl,M:new Ol,L:new zl,w:new Gl,I:new Ml,d:new Pl,D:new Ll,E:new jl,e:new ql,c:new Hl,i:new Vl,a:new $l,b:new Xl,B:new Kl,h:new Yl,H:new Wl,K:new Zl,k:new Ql,m:new Jl,s:new eh,S:new th,X:new ih,x:new rh,t:new nh,T:new oh},ah=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,lh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,hh=/^'([^]*?)'?$/,ch=/''/g,uh=/\S/,dh=/[a-zA-Z]/;function mh(e,t,i,r){var n,o,s,a,l,h,c,u,d,m,p,_,f,v,g,b,E,y;zs(3,arguments);var w=String(e),k=String(t),x=js(),S=null!==(n=null!==(o=null==r?void 0:r.locale)&&void 0!==o?o:x.locale)&&void 0!==n?n:wa;if(!S.match)throw new RangeError("locale must contain match property");var A=Ms(null!==(s=null!==(a=null!==(l=null!==(h=null==r?void 0:r.firstWeekContainsDate)&&void 0!==h?h:null==r||null===(c=r.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==l?l:x.firstWeekContainsDate)&&void 0!==a?a:null===(d=x.locale)||void 0===d||null===(m=d.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==s?s:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=Ms(null!==(p=null!==(_=null!==(f=null!==(v=null==r?void 0:r.weekStartsOn)&&void 0!==v?v:null==r||null===(g=r.locale)||void 0===g||null===(b=g.options)||void 0===b?void 0:b.weekStartsOn)&&void 0!==f?f:x.weekStartsOn)&&void 0!==_?_:null===(E=x.locale)||void 0===E||null===(y=E.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==p?p:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===k)return""===w?Gs(i):new Date(NaN);var C,T={firstWeekContainsDate:A,weekStartsOn:I,locale:S},D=[new Va],R=k.match(lh).map((function(e){var t=e[0];return t in la?(0,la[t])(e,S.formatLong):e})).join("").match(ah),N=[],O=Da(R);try{var z=function(){var t=C.value;null!=r&&r.useAdditionalWeekYearTokens||!ma(t)||pa(t,k,e),null!=r&&r.useAdditionalDayOfYearTokens||!da(t)||pa(t,k,e);var i=t[0],n=sh[i];if(n){var o=n.incompatibleTokens;if(Array.isArray(o)){var s=N.find((function(e){return o.includes(e.token)||e.token===i}));if(s)throw new RangeError("The format string mustn't contain `".concat(s.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===n.incompatibleTokens&&N.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));N.push({token:i,fullToken:t});var a=n.run(w,t,S.match,T);if(!a)return{v:new Date(NaN)};D.push(a.setter),w=a.rest}else{if(i.match(dh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===t?t="'":"'"===i&&(t=t.match(hh)[1].replace(ch,"'")),0!==w.indexOf(t))return{v:new Date(NaN)};w=w.slice(t.length)}};for(O.s();!(C=O.n()).done;){var G=z();if("object"===Os(G))return G.v}}catch(e){O.e(e)}finally{O.f()}if(w.length>0&&uh.test(w))return new Date(NaN);var M=D.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,i){return i.indexOf(e)===t})).map((function(e){return D.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),U=Gs(i);if(isNaN(U.getTime()))return new Date(NaN);var B,P=Us(U,ha(U)),L={},F=Da(M);try{for(F.s();!(B=F.n()).done;){var j=B.value;if(!j.validate(P,T))return new Date(NaN);var q=j.set(P,L,T);Array.isArray(q)?(P=q[0],Ra(L,q[1])):P=q}}catch(e){F.e(e)}finally{F.f()}return P}function ph(e,t){zs(2,arguments);var i=Gs(e),r=Gs(t);return i.getTime()>r.getTime()}function _h(e,t){zs(2,arguments);var i=Gs(e),r=Gs(t);return i.getTime()<r.getTime()}const fh=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.clientStyling="",this.emitOnClick=!1,this.limitStylingAppends=!1,this.showTooltip=!1,this.touched=!1,this.formatDate=e=>{const{year:t,month:i,day:r}=e;return Ca(new Date(t,i,r),this.dateFormat||"yyyy-MM-dd")},this.parseDate=e=>{const t=mh(e,this.dateFormat||"yyyy-MM-dd",new Date);return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){var e,t;this.minDate=mh((null===(e=this.validation.min)||void 0===e?void 0:e.toString())||"","yyyy-MM-dd",new Date),this.maxDate=mh((null===(t=this.validation.max)||void 0===t?void 0:t.toString())||"","yyyy-MM-dd",new Date)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){if(this.datePicker=this.element.shadowRoot.querySelector("vaadin-date-picker"),this.inputReference=this.element.shadowRoot.querySelector("input"),this.datePicker){const e=this.datePicker.shadowRoot.querySelector('[part="toggle-button"]');e&&e.addEventListener("click",(()=>this.handleCalendarIconClick()))}this.datePicker.i18n=Object.assign(Object.assign({},this.datePicker.i18n),{formatDate:this.formatDate,parseDate:this.parseDate}),this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}handleCalendarIconClick(){this.datePicker.opened&&this.emitOnClick&&window.postMessage({type:`registration${this.name}Clicked`},window.location.href)}handleInput(e){this.value=e.target.value,this.touched=!0,this.valueAsDate=mh(this.value||"","yyyy-MM-dd",new Date),this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}setValidity(){return!_h(this.valueAsDate,this.minDate)&&!ph(this.valueAsDate,this.maxDate)&&this.inputReference.validity.valid}setErrorMessage(){return _h(this.valueAsDate,this.minDate)||ph(this.valueAsDate,this.maxDate)?s("dateError2",this.language):this.inputReference.validity.rangeUnderflow||this.inputReference.validity.rangeOverflow?s("dateError",this.language,{values:{min:this.validation.min,max:this.validation.max}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"date__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"ad6360e0afb065a91f860574f5e3c08f5bdb2534",class:`date__wrapper ${this.autofilled?"date__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("label",{key:"3e8d26e0c8ae0983997b84e95cb34887df1f5fe5",class:`date__label ${this.validation.mandatory?"date__label--required":""}}`,htmlFor:`${this.name}__input`},this.displayName," ",this.validation.mandatory?"*":""),i("vaadin-date-picker",{key:"62ee430506c2ab1a5ebb632d72e84ef905296888",id:`${this.name}__input`,type:"date",class:`date__input ${e}`,value:this.defaultValue,readOnly:this.autofilled,placeholder:`${this.placeholder}`,required:this.validation.mandatory,max:this.validation.max,min:this.validation.min,onChange:e=>this.handleInput(e),onBlur:this.handleBlur}),i("small",{key:"6b7c0e9c3437b484bd534060f93ad4fcd9eaeb60",class:"date__error-message"},this.errorMessage),this.tooltip&&i("img",{key:"6479b29563710abfe1be584c9de110fafe69ca3d",class:"date__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};fh.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:"Roboto";font-style:normal}.date__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.date__wrapper--autofilled{pointer-events:none}.date__wrapper--autofilled .date__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__wrapper--autofilled .date__input::part(input-field){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.date__input{border:none;width:inherit;position:relative}.date__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.date__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.date__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.date__input>input{padding:5px 15px}.date__input::part(toggle-button){position:relative;right:10px}.date__error-message{position:absolute;top:calc(100% + 5px);left:0;color:rgba(204, 0, 0, 0.7019607843)}.date__tooltip-icon{position:absolute;right:0;bottom:10px}.date__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.date__tooltip.visible{opacity:1}';const vh=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value)}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"email__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"a46093cfafc840d2fd563ee9676ccd2f16fb1620",class:`email__wrapper ${this.autofilled?"number__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"2eab4a96efc36cdb94e9f92b2a161e208f0ebcd4",class:"email__wrapper--flex"},i("label",{key:"f5ed857f61ea6763c5fe88590732258b4dedac1b",class:"email__label "+(this.validation.mandatory?"email__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"58cadc7857cd91dec968852be71e0108f55fbda7",class:"email__wrapper--relative"},this.tooltip&&i("img",{key:"03009d036fde1c36b9348ac45cefa3389194260c",class:"email__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"b2a9fd96ed301df5f1d7cf6f5a2a5b52f96ab189",id:`${this.name}__input`,type:"email",class:`email__input ${e}`,value:this.defaultValue,readOnly:this.autofilled,placeholder:`${this.placeholder}`,ref:e=>this.inputReference=e,pattern:this.validationPattern,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"edb17f53141a3406bfc657f80098b914044a8894",class:"email__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};vh.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:"Roboto";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__wrapper--autofilled .email__input{color:var(--emw--color-black, #000000)}.email__wrapper--flex{display:flex;gap:5px}.email__wrapper--relative{position:relative}.email__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.email__input{font-family:inherit;border-radius:4px;width:100%;height:40px;border:2px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;font-size:16px;font-weight:300;line-height:1.5;padding:10px}.email__input:focus{outline-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.email__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__input::placeholder{color:var(--emw--color-gray-150, #828282)}.email__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__tooltip-icon{width:16px;height:auto}.email__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.email__tooltip.visible{opacity:1}';const gh=class{constructor(t){e(this,t),this.type="text",this.clientStyling="",this.translationUrl="",this.emitOnClick=!1,this.handleClick=e=>{this.emitOnClick&&(e.stopPropagation(),window.postMessage({type:`registration${this.name}Clicked`},window.location.href))}}connectedCallback(){var e;this.translationUrl&&(e=this.translationUrl,new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{for(let i in e[t])o[t][i]=e[t][i]})),t(!0)}))})))}renderInput(){var e;switch(null===(e=this.type)||void 0===e?void 0:e.toLowerCase()){case"text":return i("text-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"email":return i("email-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"number":return i("number-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"checkbox":return i("checkbox-input",{name:this.name,displayName:this.displayName,validation:this.validation,emitValue:this.emitValue,defaultValue:this.defaultValue,autofilled:this.autofilled,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip});case"checkboxgroup":return i("checkbox-group-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,options:this.options});case"togglecheckbox":return i("toggle-checkbox-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,options:this.options,"emit-on-click":this.emitOnClick});case"datetime":return i("date-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder,dateFormat:this.dateFormat,"emit-on-click":this.emitOnClick});case"password":return i("password-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"radio":return i("radio-input",{name:this.name,displayName:this.displayName,optionsGroup:this.options,validation:this.validation,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling});case"tel":return i("tel-input",{name:this.name,action:this.action,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,emitValue:this.emitValue,language:this.language,autofilled:this.autofilled,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"dropdown":return i("select-input",{name:this.name,action:this.action,defaultValue:this.defaultValue,displayName:this.displayName,options:this.options,validation:this.validation,emitValue:this.emitValue,autofilled:this.autofilled,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});default:return i("p",null,"The ",this.type," input type is not valid")}}render(){return i(n,{key:"e1c49fc91ead165c05b30c21ac568486e55c8096",class:`general-input--${this.name}`,onClick:this.handleClick},this.renderInput())}};gh.style=":host{display:block;height:100%}";const bh={en:{GmErr_AMOUNT_INVALID:"The specified amount is invalid.",GmErr_REGISTER_OVERAGE:"The registration has exceeded the allowable limit.",GmErr_REGISTER_UNDERAGE:"The registration is under the allowable limit.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"User authentication failed due to too many unsuccessful attempts.",GmErr_USER_ACCOUNT_BLOCKED:"The user account is blocked.",GmErr_USER_NOT_VERIFIED:"The user has not been verified.",GmErr_USER_NOT_FOUND:"No user found with the provided information.",GmErr_USER_ID_INVALID:"The user ID provided is invalid.",GmErr_USER_AUTH_FAILED:"User authentication failed.",GmErr_USER_DUPLICATED:"The user already exists in the system.",GmErr_USER_NOT_ACTIVATED:"The user account has not been activated.",GmErr_PASSWORD_CONTAINS_EMAIL:"The password cannot contain the email address.",GmErr_PASSWORD_CONTAINS_USERNAME:"The password cannot contain the username.",GmErr_PASSWORD_CONTAINS_SPACES:"The password cannot contain spaces.",GmErr_USER_4TS_CHECK_EXISTS:"The user 4TS check already exists.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"The user is excluded from registration.",GmErr_USER_NAV_EXCLUDED_LOGIN:"The user is excluded from login.",GmErr_USERNAME_REQUIRED:"A username is required.",GmErr_USER_EMAIL_NOT_VERIFIED:"The user's email address has not been verified.",GmErr_EMAIL_ALREADY_EXISTS:"User with same email already exists",GmErr_EMAIL_REQUIRED:"An email address is required.",GmErr_USERNAME_ALREADY_EXISTS:"The username is already taken.",GmErr_DUPLICATE_PERSONAL_ID:"Duplicate personal ID found.",GmErr_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_INVALID_CODE:"The code provided is invalid.",GmErr_EXPIRED_TOKEN:"The token has expired.",GmErr_ATTEMPTS_EXCEEDED:"The maximum number of attempts has been exceeded.",GmErr_BLOCK_USER_INCORRECT_CODE:"The user has been blocked due to an incorrect code.",GmErr_TOKEN_NOT_FOUND:"The token was not found.",GmErr_INVALID_PHONE_NUMBER:"The phone number provided is invalid.",GmErr_CODE_MISSING:"The code is missing.",GmErr_UNREGISTERED_USER:"The user is not registered.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Maximum attempts to generate a code have been exceeded.",GmErr_UNEXPECTED_EXCEPTION:"An unexpected exception occurred.",GmErr_INVALID_USER_ID:"The user ID provided is invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"This action is not allowed.",GmErr_CAN_NOT_FIND_ROLE:"Unable to find the specified role.",GmErr_NO_SESSION_PROVIDED:"No session was provided.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No active session found for this user.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"The user has already been anonymized.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No role has been set up to be assigned.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"The provided session does not belong to the user.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"The provided session does not exist.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"The role has already been assigned to the user.",GmErr_ASSIGN_USER_ROLE_FAILED:"Failed to assign a role to the user.",GmErr_BadRequest_1000:"There was a problem with the personal identification number",CountryRestricted:"Unfortunately, you are attempting to register from a country where we cannot accept gameplay. We are unable to process your registration for this reason.",nextButton:"Next",backButton:"Back",doneButton:"Done",generalError:"Something went wrong... Please try again.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"A user with this information already exists.",GmErr_BadRequest_PasswordContainsUsername:"The password cannot be the same as the username.",GmErr_BadRequest_PasswordContainsEmail:"The password cannot be the same as the email.",GmErr_BadRequest_Duplicate_PersonalId:"There is already a registration with the data you entered or you entered your data in an incorrect format.",GmErr_Forbidden_UserAccount_NavExcluded:"User is NAV Excluded. Registration was denied.",GmErr_BadRequest_ModelValidationFailed:"Something went wrong... Please try again.",GmErr_BadInternalConfigs:"Something went wrong... Please try again.",GmErr_Unauthorized:"Something went wrong... Please try again.",GmErr_NotFound:"Something went wrong... Please try again.",BadRequest_Duplicate_User:"User with same username already exists.",BadRequest:"The request is invalid, please check the API.",Unauthorized:"The player account number, e-mail address or password is incorrect",Forbidden_TooManyAttempts:"You have made too many invalid login attempts, your account has been blocked, please try again later.",Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service.",GmErr_BadRequest_ExpiredToken:"The token you are using is expired.",GmErr_BadRequest_INVALID_CODE:"The code you are using is invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"You have made too many attempts to validate your code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"You have made too many attempts to generate your code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"You have been blocked due to an invalid code.",GmErr_BadRequest_CODE_MISSING:"The token is missing for your reqest.",GmErr_BadRequest_TOKEN_NOT_FOUND:"The token is not found for your request.",GmErr_BadRequest_USER_NOT_REGISTERED:"The user is not register. Please register first.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"The phone number you are using is invalid.",GmErr_BadRequest_INVALID_USER_ID:"The user ID is invalid.",GmErr_UnexpectedException:"Something went wrong... Please try again.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF response confirms player IS underaged or IS NOT a Croatian resident.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF fails to return a response.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: Internal error."},hu:{GmErr_AMOUNT_INVALID:"A megadott összeg érvénytelen.",GmErr_REGISTER_OVERAGE:"A regisztráció túllépte a megengedett határt.",GmErr_REGISTER_UNDERAGE:"A regisztráció a megengedett határ alatt van.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"A felhasználó hitelesítése túl sok sikertelen próbálkozás miatt meghiúsult.",GmErr_USER_ACCOUNT_BLOCKED:"A felhasználói fiók le van tiltva.",GmErr_USER_NOT_VERIFIED:"A felhasználó nincs ellenőrizve.",GmErr_USER_NOT_FOUND:"A megadott adatokkal nem található felhasználó.",GmErr_USER_ID_INVALID:"A megadott felhasználói azonosító érvénytelen.",GmErr_USER_AUTH_FAILED:"A felhasználó hitelesítése meghiúsult.",GmErr_USER_DUPLICATED:"A felhasználó már létezik a rendszerben.",GmErr_USER_NOT_ACTIVATED:"A felhasználó fiókja nincs aktiválva.",GmErr_PASSWORD_CONTAINS_EMAIL:"A jelszó nem tartalmazhat e-mail címet.",GmErr_PASSWORD_CONTAINS_USERNAME:"A jelszó nem tartalmazhat felhasználónevet.",GmErr_PASSWORD_CONTAINS_SPACES:"A jelszó nem tartalmazhat szóközöket.",GmErr_USER_4TS_CHECK_EXISTS:"A felhasználó 4TS ellenőrzése már létezik.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"A felhasználó kizárva a regisztrációból.",GmErr_USER_NAV_EXCLUDED_LOGIN:"A felhasználó kizárva a bejelentkezésből.",GmErr_USERNAME_REQUIRED:"Felhasználónév megadása szükséges.",GmErr_USER_EMAIL_NOT_VERIFIED:"A felhasználó e-mail címe nincs megerősítve.",GmErr_EMAIL_ALREADY_EXISTS:"A megadott e-mail címmel már létezik felhasználó",GmErr_EMAIL_REQUIRED:"E-mail cím megadása szükséges.",GmErr_USERNAME_ALREADY_EXISTS:"A felhasználónév már foglalt.",GmErr_DUPLICATE_PERSONAL_ID:"Már létező személyes azonosító.",GmErr_INVALID_USER_DOCUMENT:"A felhasználói dokumentum érvénytelen.",GmErr_INVALID_CODE:"A megadott kód érvénytelen.",GmErr_EXPIRED_TOKEN:"A token lejárt.",GmErr_ATTEMPTS_EXCEEDED:"A megengedett próbálkozások száma túllépve.",GmErr_BLOCK_USER_INCORRECT_CODE:"A felhasználó blokkolva lett a hibás kód miatt.",GmErr_TOKEN_NOT_FOUND:"A token nem található.",GmErr_INVALID_PHONE_NUMBER:"A megadott telefonszám érvénytelen.",GmErr_CODE_MISSING:"A szükséges kód hiányzik.",GmErr_UNREGISTERED_USER:"A felhasználó nincs regisztrálva.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Túllépték a kódgenerálási próbálkozások számát.",GmErr_UNEXPECTED_EXCEPTION:"Váratlan kivétel történt.",GmErr_INVALID_USER_ID:"A felhasználói azonosító érvénytelen.",GmErr_NOT_ALLOWED_EXCEPTION:"Ez a művelet nem engedélyezett.",GmErr_CAN_NOT_FIND_ROLE:"A megadott szerepkör nem található.",GmErr_NO_SESSION_PROVIDED:"Nem került megadásra munkamenet.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nincs aktív munkamenet ehhez a felhasználóhoz.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"A felhasználó már anonimizálva lett.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nincs beállítva hozzárendelhető szerepkör.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A megadott munkamenet nem tartozik a felhasználóhoz.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A megadott munkamenet nem létezik.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A szerepkör már hozzá lett rendelve a felhasználóhoz.",GmErr_ASSIGN_USER_ROLE_FAILED:"Nem sikerült a felhasználói szerepkört hozzárendelni.",GmErr_BadRequest_1000:"Probléma volt a személyi azonosító számmal",CountryRestricted:"Sajnálatos módon olyan országból próbál regisztrálni, ahonnan nem fogadhatunk játékot. Emiatt nem tudjuk feldolgozni a regisztrációját.",nextButton:"Következő",backButton:"Vissza",doneButton:"Kész",generalError:"Valami hiba történt... Próbáld újra.",successMessage:"Sikeres regisztráció",GmErr_BadRequest_Duplicate_User:"Egy ilyen információval rendelkező felhasználó már létezik.",GmErr_BadRequest_PasswordContainsUsername:"A jelszó nem lehet azonos a felhasználónévvel.",GmErr_BadRequest_PasswordContainsEmail:"A jelszó nem lehet azonos az e-mail címmel.",GmErr_BadRequest_Duplicate_PersonalId:"Már létezik egy regisztráció az Ön által megadott adatokkal, vagy helytelen formátumban adta meg az adatokat.",GmErr_Forbidden_UserAccount_NavExcluded:"A felhasználó NAV kizárt. A regisztrációt elutasították.",GmErr_BadRequest_ModelValidationFailed:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_BadInternalConfigs:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_Unauthorized:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_NotFound:"Valami hiba történt... Kérjük, próbálja újra.",BadRequest_Duplicate_User:"Már létezik egy felhasználó ugyanazzal a felhasználónévvel.",BadRequest:"A kérés érvénytelen, kérjük, ellenőrizze az API-t.",Unauthorized:"A játékos számlaszáma, e-mail címe vagy jelszava helytelen",Forbidden_TooManyAttempts:"Túl sok érvénytelen bejelentkezési kísérletet tett, fiókját zárolták, kérjük, próbálja újra később.",Forbidden_UserAccount_NotActive:"Úgy tűnik, még nem erősítette meg e-mail címét. A regisztráció befejezéséhez és fiókjához való hozzáféréshez kérjük, ellenőrizze e-mail fiókját egy megerősítő üzenetért. Ha nem kapta meg az e-mailt, kérjük, ellenőrizze a spam mappát is. Ha segítségre van szüksége, kérhet segítséget az ügyfélszolgálaton keresztül.",GmErr_BadRequest_ExpiredToken:"A használt token lejárt.",GmErr_BadRequest_INVALID_CODE:"A használt kód érvénytelen.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Túl sok kísérletet tett a kód érvényesítésére.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Túl sok kísérletet tett a kód generálására.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Érvénytelen kód miatt zárolták.",GmErr_BadRequest_CODE_MISSING:"A kéréshez hiányzik a token.",GmErr_BadRequest_TOKEN_NOT_FOUND:"A kéréshez nem található token.",GmErr_BadRequest_USER_NOT_REGISTERED:"A felhasználó nincs regisztrálva. Kérjük, regisztráljon először.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"A használt telefonszám érvénytelen.",GmErr_BadRequest_INVALID_USER_ID:"A felhasználói azonosító érvénytelen.",GmErr_UnexpectedException:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"A felhasználói dokumentum érvénytelen.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF válasza megerősíti, hogy a játékos kiskorú vagy nem horvát lakos.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF nem ad választ.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: Belső hiba."},hr:{GmErr_AMOUNT_INVALID:"Navedeni iznos je nevažeći.",GmErr_REGISTER_OVERAGE:"Registracija je premašila dopušteni limit.",GmErr_REGISTER_UNDERAGE:"Registracija je ispod dopuštenog limita.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Neuspješno autentificiranje korisnika zbog previše pokušaja.",GmErr_USER_ACCOUNT_BLOCKED:"Korisnički račun je blokiran.",GmErr_USER_NOT_VERIFIED:"Korisnik nije verificiran.",GmErr_USER_NOT_FOUND:"Korisnik s navedenim podacima nije pronađen.",GmErr_USER_ID_INVALID:"Navedeni ID korisnika je nevažeći.",GmErr_USER_AUTH_FAILED:"Neuspješno autentificiranje korisnika.",GmErr_USER_DUPLICATED:"Korisnik već postoji u sustavu.",GmErr_USER_NOT_ACTIVATED:"Korisnički račun nije aktiviran.",GmErr_PASSWORD_CONTAINS_EMAIL:"Lozinka ne smije sadržavati e-mail adresu.",GmErr_PASSWORD_CONTAINS_USERNAME:"Lozinka ne smije sadržavati korisničko ime.",GmErr_PASSWORD_CONTAINS_SPACES:"Lozinka ne smije sadržavati razmake.",GmErr_USER_4TS_CHECK_EXISTS:"4TS provjera korisnika već postoji.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Korisnik je isključen iz registracije.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Korisnik je isključen iz prijave.",GmErr_USERNAME_REQUIRED:"Korisničko ime je obavezno.",GmErr_USER_EMAIL_NOT_VERIFIED:"E-mail adresa korisnika nije verificirana.",GmErr_EMAIL_ALREADY_EXISTS:"Korisnik s istom e-mail adresom već postoji",GmErr_EMAIL_REQUIRED:"E-mail adresa je obavezna.",GmErr_USERNAME_ALREADY_EXISTS:"Korisničko ime je već zauzeto.",GmErr_DUPLICATE_PERSONAL_ID:"Pronađen je duplicirani osobni ID.",GmErr_INVALID_USER_DOCUMENT:"Dokument korisnika je nevažeći.",GmErr_INVALID_CODE:"Navedeni kod je nevažeći.",GmErr_EXPIRED_TOKEN:"Token je istekao.",GmErr_ATTEMPTS_EXCEEDED:"Prekoračen je maksimalni broj pokušaja.",GmErr_BLOCK_USER_INCORRECT_CODE:"Korisnik je blokiran zbog pogrešnog koda.",GmErr_TOKEN_NOT_FOUND:"Token nije pronađen.",GmErr_INVALID_PHONE_NUMBER:"Navedeni broj telefona je nevažeći.",GmErr_CODE_MISSING:"Nedostaje potrebni kod.",GmErr_UNREGISTERED_USER:"Korisnik nije registriran.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Prekoračen je broj pokušaja generiranja koda.",GmErr_UNEXPECTED_EXCEPTION:"Došlo je do neočekivane iznimke.",GmErr_INVALID_USER_ID:"Navedeni ID korisnika je nevažeći.",GmErr_NOT_ALLOWED_EXCEPTION:"Ova radnja nije dopuštena.",GmErr_CAN_NOT_FIND_ROLE:"Navedena uloga nije pronađena.",GmErr_NO_SESSION_PROVIDED:"Nema pružene sesije.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nema aktivne sesije za ovog korisnika.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Korisnik je već anonimiziran.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nema postavljene uloge za dodjeljivanje.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Pružena sesija ne pripada korisniku.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Pružena sesija ne postoji.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Uloga je već dodijeljena korisniku.",GmErr_ASSIGN_USER_ROLE_FAILED:"Neuspješno dodjeljivanje uloge korisniku.",GmErr_BadRequest_1000:"Došlo je do problema s OIB-om",CountryRestricted:"Nažalost, prijavljujete se iz zemlje iz koje ne možemo prihvatiti igru. Nismo u mogućnosti obraditi registraciju iz navedenog razloga.",nextButton:"Sljedeće",backButton:"Nazad",doneButton:"Gotovo",generalError:"Korisnik s ovim podacima već postoji.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"Korisnik s ovim informacijama već postoji.",GmErr_BadRequest_PasswordContainsUsername:"Lozinka ne može biti ista kao korisničko ime.",GmErr_BadRequest_PasswordContainsEmail:"Lozinka ne može biti ista kao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Već postoji registracija s podacima koje ste unijeli ili ste unijeli podatke u pogrešnom formatu.",GmErr_Forbidden_UserAccount_NavExcluded:"Korisnik je NAV isključen. Registracija je odbijena.",GmErr_BadRequest_ModelValidationFailed:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_BadInternalConfigs:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_Unauthorized:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_NotFound:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",BadRequest_Duplicate_User:"Korisnik s istim korisničkim imenom već postoji.",BadRequest:"Zahtjev je nevažeći, molimo provjerite API.",Unauthorized:"Broj računa igrača, e-mail adresa ili lozinka su netočni",Forbidden_TooManyAttempts:"Napravili ste previše nevažećih pokušaja prijave, vaš račun je blokiran, molimo pokušajte ponovno kasnije.",Forbidden_UserAccount_NotActive:"Čini se da još niste potvrdili svoju e-mail adresu. Da biste dovršili registraciju i pristupili svom računu, provjerite svoju e-mail poštu za poruku s potvrdom. Ako niste primili e-mail, provjerite i mapu neželjene pošte. Ako trebate pomoć, možete zatražiti pomoć putem korisničke službe.",GmErr_BadRequest_ExpiredToken:"Token koji koristite je istekao.",GmErr_BadRequest_INVALID_CODE:"Kod koji koristite je nevažeći.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Napravili ste previše pokušaja za validaciju koda.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Napravili ste previše pokušaja za generiranje koda.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Blokirani ste zbog nevažećeg koda.",GmErr_BadRequest_CODE_MISSING:"Token nedostaje za vaš zahtjev.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Token nije pronađen za vaš zahtjev.",GmErr_BadRequest_USER_NOT_REGISTERED:"Korisnik nije registriran. Molimo registrirajte se prvo.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Broj telefona koji koristite je nevažeći.",GmErr_BadRequest_INVALID_USER_ID:"Korisnički ID je nevažeći.",GmErr_UnexpectedException:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Korisnički dokument je nevažeći.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: Odgovor MoF-a potvrđuje da je igrač maloljetan ili nije stanovnik Hrvatske.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: MoF ne daje odgovor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: Interna greška."},"pt-br":{GmErr_AMOUNT_INVALID:"O valor especificado é inválido.",GmErr_REGISTER_OVERAGE:"A inscrição excedeu o limite permitido.",GmErr_REGISTER_UNDERAGE:"A inscrição está abaixo do limite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Falha na autenticação do usuário devido a muitas tentativas sem sucesso.",GmErr_USER_ACCOUNT_BLOCKED:"A conta do usuário está bloqueada.",GmErr_USER_NOT_VERIFIED:"O usuário não foi verificado.",GmErr_USER_NOT_FOUND:"Nenhum usuário encontrado com as informações fornecidas.",GmErr_USER_ID_INVALID:"O ID do usuário fornecido é inválido.",GmErr_USER_AUTH_FAILED:"Falha na autenticação do usuário.",GmErr_USER_DUPLICATED:"O usuário já existe no sistema.",GmErr_USER_NOT_ACTIVATED:"A conta do usuário não está ativada.",GmErr_PASSWORD_CONTAINS_EMAIL:"A senha não pode conter o endereço de e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"A senha não pode conter o nome de usuário.",GmErr_PASSWORD_CONTAINS_SPACES:"A senha não pode conter espaços.",GmErr_USER_4TS_CHECK_EXISTS:"A verificação 4TS do usuário já existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"O usuário está excluído da inscrição.",GmErr_USER_NAV_EXCLUDED_LOGIN:"O usuário está excluído do login.",GmErr_USERNAME_REQUIRED:"O nome de usuário é obrigatório.",GmErr_USER_EMAIL_NOT_VERIFIED:"O e-mail do usuário não foi verificado.",GmErr_EMAIL_ALREADY_EXISTS:"Usuário com o mesmo e-mail já existe",GmErr_EMAIL_REQUIRED:"Um endereço de e-mail é obrigatório.",GmErr_USERNAME_ALREADY_EXISTS:"O nome de usuário já está em uso.",GmErr_DUPLICATE_PERSONAL_ID:"ID pessoal duplicado encontrado.",GmErr_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_INVALID_CODE:"O código fornecido é inválido.",GmErr_EXPIRED_TOKEN:"O token expirou.",GmErr_ATTEMPTS_EXCEEDED:"O número máximo de tentativas foi excedido.",GmErr_BLOCK_USER_INCORRECT_CODE:"O usuário foi bloqueado devido a um código incorreto.",GmErr_TOKEN_NOT_FOUND:"O token não foi encontrado.",GmErr_INVALID_PHONE_NUMBER:"O número de telefone fornecido é inválido.",GmErr_CODE_MISSING:"O código necessário está faltando.",GmErr_UNREGISTERED_USER:"O usuário não está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"O número máximo de tentativas para gerar um código foi excedido.",GmErr_UNEXPECTED_EXCEPTION:"Ocorreu uma exceção inesperada.",GmErr_INVALID_USER_ID:"O ID do usuário fornecido é inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta ação não é permitida.",GmErr_CAN_NOT_FIND_ROLE:"Não foi possível encontrar a função especificada.",GmErr_NO_SESSION_PROVIDED:"Nenhuma sessão foi fornecida.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nenhuma sessão ativa encontrada para este usuário.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"O usuário já foi anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nenhuma função foi configurada para ser atribuída.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A sessão fornecida não pertence ao usuário.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A sessão fornecida não existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A função já foi atribuída ao usuário.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falha ao atribuir a função ao usuário.",GmErr_BadRequest_1000:"Houve um problema com o número de identificação pessoal",CountryRestricted:"Infelizmente, você está tentando se registrar a partir de um país onde não podemos aceitar jogos. Não podemos processar seu registro por esse motivo.",nextButton:"Seguindo",backButton:"Voltar",doneButton:"Terminar",generalError:"Alguma coisa deu errado. Por favor tente outra vez",successMessage:"Registro bem-sucedido",GmErr_BadRequest_Duplicate_User:"Um usuário com essas informações já existe.",GmErr_BadRequest_PasswordContainsUsername:"A senha não pode ser igual ao nome de usuário.",GmErr_BadRequest_PasswordContainsEmail:"A senha não pode ser igual ao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Já existe um registro com os dados que você inseriu ou você inseriu seus dados em um formato incorreto.",GmErr_Forbidden_UserAccount_NavExcluded:"Usuário está NAV Excluído. Registro foi negado.",GmErr_BadRequest_ModelValidationFailed:"Algo deu errado... Por favor, tente novamente.",GmErr_BadInternalConfigs:"Algo deu errado... Por favor, tente novamente.",GmErr_Unauthorized:"Algo deu errado... Por favor, tente novamente.",GmErr_NotFound:"Algo deu errado... Por favor, tente novamente.",BadRequest_Duplicate_User:"Usuário com o mesmo nome de usuário já existe.",BadRequest:"A solicitação é inválida, por favor, verifique a API.",Unauthorized:"O número da conta do jogador, endereço de e-mail ou senha estão incorretos",Forbidden_TooManyAttempts:"Você fez muitas tentativas de login inválidas, sua conta foi bloqueada, por favor, tente novamente mais tarde.",Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu registro e acessar sua conta, verifique sua caixa de entrada de e-mail para uma mensagem de confirmação. Se você não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, você pode solicitar ajuda através do serviço de atendimento ao cliente.",GmErr_BadRequest_ExpiredToken:"O token que você está usando está expirado.",GmErr_BadRequest_INVALID_CODE:"O código que você está usando é inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Você fez muitas tentativas de validar seu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Você fez muitas tentativas de gerar seu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Você foi bloqueado devido a um código inválido.",GmErr_BadRequest_CODE_MISSING:"O token está faltando para sua solicitação.",GmErr_BadRequest_TOKEN_NOT_FOUND:"O token não foi encontrado para sua solicitação.",GmErr_BadRequest_USER_NOT_REGISTERED:"O usuário não está registrado. Por favor, registre-se primeiro.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"O número de telefone que você está usando é inválido.",GmErr_BadRequest_INVALID_USER_ID:"O ID do usuário é inválido.",GmErr_UnexpectedException:"Algo deu errado... Por favor, tente novamente.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: A resposta do MoF confirma que o jogador é menor de idade ou não é residente da Croácia.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: O MoF não retorna uma resposta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: Erro interno."},"es-mx":{GmErr_AMOUNT_INVALID:"El monto especificado es inválido.",GmErr_REGISTER_OVERAGE:"La inscripción ha excedido el límite permitido.",GmErr_REGISTER_UNDERAGE:"La inscripción está por debajo del límite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Autenticación de usuario fallida debido a demasiados intentos fallidos.",GmErr_USER_ACCOUNT_BLOCKED:"La cuenta del usuario está bloqueada.",GmErr_USER_NOT_VERIFIED:"El usuario no ha sido verificado.",GmErr_USER_NOT_FOUND:"No se encontró ningún usuario con la información proporcionada.",GmErr_USER_ID_INVALID:"El ID de usuario proporcionado es inválido.",GmErr_USER_AUTH_FAILED:"La autenticación del usuario falló.",GmErr_USER_DUPLICATED:"El usuario ya existe en el sistema.",GmErr_USER_NOT_ACTIVATED:"La cuenta del usuario no está activada.",GmErr_PASSWORD_CONTAINS_EMAIL:"La contraseña no puede contener la dirección de correo electrónico.",GmErr_PASSWORD_CONTAINS_USERNAME:"La contraseña no puede contener el nombre de usuario.",GmErr_PASSWORD_CONTAINS_SPACES:"La contraseña no puede contener espacios.",GmErr_USER_4TS_CHECK_EXISTS:"La verificación 4TS del usuario ya existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"El usuario está excluido del registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"El usuario está excluido del inicio de sesión.",GmErr_USERNAME_REQUIRED:"Se requiere un nombre de usuario.",GmErr_USER_EMAIL_NOT_VERIFIED:"La dirección de correo electrónico del usuario no ha sido verificada.",GmErr_EMAIL_ALREADY_EXISTS:"Ya existe un usuario con el mismo correo electrónico",GmErr_EMAIL_REQUIRED:"Se requiere una dirección de correo electrónico.",GmErr_USERNAME_ALREADY_EXISTS:"El nombre de usuario ya está en uso.",GmErr_DUPLICATE_PERSONAL_ID:"Se encontró un ID personal duplicado.",GmErr_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_INVALID_CODE:"El código proporcionado es inválido.",GmErr_EXPIRED_TOKEN:"El token ha expirado.",GmErr_ATTEMPTS_EXCEEDED:"Se ha excedido el número máximo de intentos.",GmErr_BLOCK_USER_INCORRECT_CODE:"El usuario ha sido bloqueado debido a un código incorrecto.",GmErr_TOKEN_NOT_FOUND:"No se encontró el token.",GmErr_INVALID_PHONE_NUMBER:"El número de teléfono proporcionado es inválido.",GmErr_CODE_MISSING:"Falta el código necesario.",GmErr_UNREGISTERED_USER:"El usuario no está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Se ha excedido el número máximo de intentos para generar un código.",GmErr_UNEXPECTED_EXCEPTION:"Ocurrió una excepción inesperada.",GmErr_INVALID_USER_ID:"El ID de usuario proporcionado es inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta acción no está permitida.",GmErr_CAN_NOT_FIND_ROLE:"No se pudo encontrar el rol especificado.",GmErr_NO_SESSION_PROVIDED:"No se proporcionó ninguna sesión.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No se encontró ninguna sesión activa para este usuario.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"El usuario ya ha sido anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No se ha configurado ningún rol para ser asignado.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La sesión proporcionada no pertenece al usuario.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La sesión proporcionada no existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"El rol ya ha sido asignado al usuario.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falló la asignación del rol al usuario.",GmErr_BadRequest_1000:"Hubo un problema con el número de identificación personal",CountryRestricted:"Desafortunadamente, estás intentando registrarte desde un país donde no podemos aceptar juegos. No podemos procesar tu registro por esta razón.",nextButton:"Siguiente",backButton:"Atrás",doneButton:"Terminar",generalError:"Algo salió mal... Por favor intente de nuevo",successMessage:"Registro exitoso",GmErr_BadRequest_Duplicate_User:"Ya existe un usuario con esta información.",GmErr_BadRequest_PasswordContainsUsername:"La contraseña no puede ser la misma que el nombre de usuario.",GmErr_BadRequest_PasswordContainsEmail:"La contraseña no puede ser la misma que el correo electrónico.",GmErr_BadRequest_Duplicate_PersonalId:"Ya existe un registro con los datos que ingresaste o ingresaste tus datos en un formato incorrecto.",GmErr_Forbidden_UserAccount_NavExcluded:"El usuario está excluido de NAV. El registro fue denegado.",GmErr_BadRequest_ModelValidationFailed:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_BadInternalConfigs:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_Unauthorized:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_NotFound:"Algo salió mal... Por favor, inténtalo de nuevo.",BadRequest_Duplicate_User:"Ya existe un usuario con el mismo nombre de usuario.",BadRequest:"La solicitud es inválida, por favor verifica la API.",Unauthorized:"El número de cuenta del jugador, la dirección de correo electrónico o la contraseña son incorrectos",Forbidden_TooManyAttempts:"Has realizado demasiados intentos de inicio de sesión inválidos, tu cuenta ha sido bloqueada, por favor inténtalo de nuevo más tarde.",Forbidden_UserAccount_NotActive:"Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, verifica tu bandeja de entrada de correo electrónico para un mensaje de confirmación. Si no has recibido el correo electrónico, verifica también tu carpeta de spam. Si necesitas ayuda, puedes solicitar ayuda a través del servicio de atención al cliente.",GmErr_BadRequest_ExpiredToken:"El token que estás utilizando ha expirado.",GmErr_BadRequest_INVALID_CODE:"El código que estás utilizando es inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Has realizado demasiados intentos de validar tu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Has realizado demasiados intentos de generar tu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Has sido bloqueado debido a un código inválido.",GmErr_BadRequest_CODE_MISSING:"Falta el token para tu solicitud.",GmErr_BadRequest_TOKEN_NOT_FOUND:"No se encontró el token para tu solicitud.",GmErr_BadRequest_USER_NOT_REGISTERED:"El usuario no está registrado. Por favor, regístrate primero.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"El número de teléfono que estás utilizando es inválido.",GmErr_BadRequest_INVALID_USER_ID:"El ID de usuario es inválido.",GmErr_UnexpectedException:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: La respuesta del MoF confirma que el jugador es menor de edad o no es residente croata.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: El MoF no devuelve una respuesta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: Error interno."},tr:{GmErr_AMOUNT_INVALID:"Belirtilen miktar geçersiz.",GmErr_REGISTER_OVERAGE:"Kayıt izin verilen sınırı aştı.",GmErr_REGISTER_UNDERAGE:"Kayıt izin verilen sınırın altında.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Çok fazla başarısız deneme nedeniyle kullanıcı kimlik doğrulaması başarısız oldu.",GmErr_USER_ACCOUNT_BLOCKED:"Kullanıcı hesabı engellendi.",GmErr_USER_NOT_VERIFIED:"Kullanıcı doğrulanmadı.",GmErr_USER_NOT_FOUND:"Sağlanan bilgilerle kullanıcı bulunamadı.",GmErr_USER_ID_INVALID:"Sağlanan kullanıcı kimliği geçersiz.",GmErr_USER_AUTH_FAILED:"Kullanıcı kimlik doğrulaması başarısız oldu.",GmErr_USER_DUPLICATED:"Kullanıcı sistemde zaten mevcut.",GmErr_USER_NOT_ACTIVATED:"Kullanıcı hesabı etkinleştirilmedi.",GmErr_PASSWORD_CONTAINS_EMAIL:"Parola e-posta adresini içeremez.",GmErr_PASSWORD_CONTAINS_USERNAME:"Parola kullanıcı adını içeremez.",GmErr_PASSWORD_CONTAINS_SPACES:"Parola boşluk içeremez.",GmErr_USER_4TS_CHECK_EXISTS:"Kullanıcı 4TS kontrolü zaten mevcut.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Kullanıcı kayıttan hariç tutuldu.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Kullanıcı girişten hariç tutuldu.",GmErr_USERNAME_REQUIRED:"Bir kullanıcı adı gereklidir.",GmErr_USER_EMAIL_NOT_VERIFIED:"Kullanıcının e-posta adresi doğrulanmadı.",GmErr_EMAIL_ALREADY_EXISTS:"Aynı e-posta ile kullanıcı zaten mevcut.",GmErr_EMAIL_REQUIRED:"Bir e-posta adresi gereklidir.",GmErr_USERNAME_ALREADY_EXISTS:"Kullanıcı adı zaten alınmış.",GmErr_DUPLICATE_PERSONAL_ID:"Çift kişisel kimlik bulundu.",GmErr_INVALID_USER_DOCUMENT:"Kullanıcı belgesi geçersiz.",GmErr_INVALID_CODE:"Sağlanan kod geçersiz.",GmErr_EXPIRED_TOKEN:"Token süresi dolmuş.",GmErr_ATTEMPTS_EXCEEDED:"Maksimum deneme sayısı aşıldı.",GmErr_BLOCK_USER_INCORRECT_CODE:"Yanlış kod nedeniyle kullanıcı engellendi.",GmErr_TOKEN_NOT_FOUND:"Token bulunamadı.",GmErr_INVALID_PHONE_NUMBER:"Sağlanan telefon numarası geçersiz.",GmErr_CODE_MISSING:"Kod eksik.",GmErr_UNREGISTERED_USER:"Kullanıcı kayıtlı değil.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Kod oluşturma denemeleri maksimuma ulaştı.",GmErr_UNEXPECTED_EXCEPTION:"Beklenmeyen bir istisna oluştu.",GmErr_INVALID_USER_ID:"Sağlanan kullanıcı kimliği geçersiz.",GmErr_NOT_ALLOWED_EXCEPTION:"Bu işlem izin verilmiyor.",GmErr_CAN_NOT_FIND_ROLE:"Belirtilen rol bulunamıyor.",GmErr_NO_SESSION_PROVIDED:"Oturum sağlanmadı.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Bu kullanıcı için aktif oturum bulunamadı.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Kullanıcı zaten anonimleştirilmiş.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Atanacak bir rol ayarlanmadı.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Sağlanan oturum kullanıcıya ait değil.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Sağlanan oturum mevcut değil.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Rol zaten kullanıcıya atanmış.",GmErr_ASSIGN_USER_ROLE_FAILED:"Kullanıcıya rol atama başarısız oldu.",GmErr_BadRequest_1000:"Kişisel kimlik numarası ile ilgili bir sorun var.",CountryRestricted:"Maalesef, oyun oynayamayacağımız bir ülkeden kayıt yapmaya çalışıyorsunuz. Bu nedenle kaydınızı işleyemiyoruz.",nextButton:"İleri",backButton:"Geri",doneButton:"Tamam",generalError:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",successMessage:"Kayıt başarılı",GmErr_BadRequest_Duplicate_User:"Bu bilgilerle bir kullanıcı zaten mevcut.",GmErr_BadRequest_PasswordContainsUsername:"Parola kullanıcı adı ile aynı olamaz.",GmErr_BadRequest_PasswordContainsEmail:"Parola e-posta ile aynı olamaz.",GmErr_BadRequest_Duplicate_PersonalId:"Girdiğiniz verilerle zaten bir kayıt var veya verilerinizi yanlış formatta girdiniz.",GmErr_Forbidden_UserAccount_NavExcluded:"Kullanıcı NAV hariç tutuldu. Kayıt reddedildi.",GmErr_BadRequest_ModelValidationFailed:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_BadInternalConfigs:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_Unauthorized:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_NotFound:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",BadRequest_Duplicate_User:"Aynı kullanıcı adı ile kullanıcı zaten mevcut.",BadRequest:"İstek geçersiz, lütfen API'yi kontrol edin.",Unauthorized:"Oyuncu hesap numarası, e-posta adresi veya parola yanlış",Forbidden_TooManyAttempts:"Çok fazla geçersiz giriş denemesi yaptınız, hesabınız bloke edildi, lütfen daha sonra tekrar deneyin.",Forbidden_UserAccount_NotActive:"E-posta adresinizi henüz doğrulamadığınız görünüyor. Kaydınızı tamamlamak ve hesabınıza erişmek için e-posta gelen kutunuzu bir onay mesajı için kontrol edin. E-postayı almadıysanız, spam klasörünüzü de kontrol edin. Yardıma ihtiyacınız varsa, müşteri hizmetleri aracılığıyla yardım isteyebilirsiniz.",GmErr_BadRequest_ExpiredToken:"Kullandığınız token süresi dolmuş.",GmErr_BadRequest_INVALID_CODE:"Kullandığınız kod geçersiz.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Kodunuzu doğrulamak için çok fazla deneme yaptınız.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Kodunuzu oluşturmak için çok fazla deneme yaptınız.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Geçersiz kod nedeniyle engellendiniz.",GmErr_BadRequest_CODE_MISSING:"İsteğiniz için token eksik.",GmErr_BadRequest_TOKEN_NOT_FOUND:"İsteğiniz için token bulunamadı.",GmErr_BadRequest_USER_NOT_REGISTERED:"Kullanıcı kayıtlı değil. Lütfen önce kayıt olun.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Kullandığınız telefon numarası geçersiz.",GmErr_BadRequest_INVALID_USER_ID:"Kullanıcı kimliği geçersiz.",GmErr_UnexpectedException:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Kullanıcı belgesi geçersiz.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: MoF yanıtı, oyuncunun reşit olmadığını veya Hırvatistan sakini olmadığını doğruluyor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: MoF yanıt vermiyor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: İç hata."},"en-us":{GmErr_AMOUNT_INVALID:"The specified amount is invalid.",GmErr_REGISTER_OVERAGE:"The registration has exceeded the allowable limit.",GmErr_REGISTER_UNDERAGE:"The registration is under the allowable limit.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"User authentication failed due to too many unsuccessful attempts.",GmErr_USER_ACCOUNT_BLOCKED:"The user account is blocked.",GmErr_USER_NOT_VERIFIED:"The user has not been verified.",GmErr_USER_NOT_FOUND:"No user found with the provided information.",GmErr_USER_ID_INVALID:"The user ID provided is invalid.",GmErr_USER_AUTH_FAILED:"User authentication failed.",GmErr_USER_DUPLICATED:"The user already exists in the system.",GmErr_USER_NOT_ACTIVATED:"The user account has not been activated.",GmErr_PASSWORD_CONTAINS_EMAIL:"The password cannot contain the email address.",GmErr_PASSWORD_CONTAINS_USERNAME:"The password cannot contain the username.",GmErr_PASSWORD_CONTAINS_SPACES:"The password cannot contain spaces.",GmErr_USER_4TS_CHECK_EXISTS:"The user 4TS check already exists.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"The user is excluded from registration.",GmErr_USER_NAV_EXCLUDED_LOGIN:"The user is excluded from login.",GmErr_USERNAME_REQUIRED:"A username is required.",GmErr_USER_EMAIL_NOT_VERIFIED:"The user's email address has not been verified.",GmErr_EMAIL_ALREADY_EXISTS:"User with same email already exists",GmErr_EMAIL_REQUIRED:"An email address is required.",GmErr_USERNAME_ALREADY_EXISTS:"The username is already taken.",GmErr_DUPLICATE_PERSONAL_ID:"Duplicate personal ID found.",GmErr_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_INVALID_CODE:"The code provided is invalid.",GmErr_EXPIRED_TOKEN:"The token has expired.",GmErr_ATTEMPTS_EXCEEDED:"The maximum number of attempts has been exceeded.",GmErr_BLOCK_USER_INCORRECT_CODE:"The user has been blocked due to an incorrect code.",GmErr_TOKEN_NOT_FOUND:"The token was not found.",GmErr_INVALID_PHONE_NUMBER:"The phone number provided is invalid.",GmErr_CODE_MISSING:"The code is missing.",GmErr_UNREGISTERED_USER:"The user is not registered.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Maximum attempts to generate a code have been exceeded.",GmErr_UNEXPECTED_EXCEPTION:"An unexpected exception occurred.",GmErr_INVALID_USER_ID:"The user ID provided is invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"This action is not allowed.",GmErr_CAN_NOT_FIND_ROLE:"Unable to find the specified role.",GmErr_NO_SESSION_PROVIDED:"No session was provided.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No active session found for this user.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"The user has already been anonymized.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No role has been set up to be assigned.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"The provided session does not belong to the user.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"The provided session does not exist.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"The role has already been assigned to the user.",GmErr_ASSIGN_USER_ROLE_FAILED:"Failed to assign a role to the user.",GmErr_BadRequest_1000:"There was a problem with the personal identification number",CountryRestricted:"Unfortunately, you are attempting to register from a country where we cannot accept gameplay. We are unable to process your registration for this reason.",nextButton:"Next",backButton:"Back",doneButton:"Done",generalError:"Something went wrong... Please try again.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"A user with this information already exists.",GmErr_BadRequest_PasswordContainsUsername:"The password cannot be the same as the username.",GmErr_BadRequest_PasswordContainsEmail:"The password cannot be the same as the email.",GmErr_BadRequest_Duplicate_PersonalId:"There is already a registration with the data you entered or you entered your data in an incorrect format.",GmErr_Forbidden_UserAccount_NavExcluded:"User is NAV Excluded. Registration was denied.",GmErr_BadRequest_ModelValidationFailed:"Something went wrong... Please try again.",GmErr_BadInternalConfigs:"Something went wrong... Please try again.",GmErr_Unauthorized:"Something went wrong... Please try again.",GmErr_NotFound:"Something went wrong... Please try again.",BadRequest_Duplicate_User:"User with same username already exists.",BadRequest:"The request is invalid, please check the API.",Unauthorized:"The player account number, e-mail address or password is incorrect",Forbidden_TooManyAttempts:"You have made too many invalid login attempts, your account has been blocked, please try again later.",Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service.",GmErr_BadRequest_ExpiredToken:"The token you are using is expired.",GmErr_BadRequest_INVALID_CODE:"The code you are using is invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"You have made too many attempts to validate your code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"You have made too many attempts to generate your code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"You have been blocked due to an invalid code.",GmErr_BadRequest_CODE_MISSING:"The token is missing for your request.",GmErr_BadRequest_TOKEN_NOT_FOUND:"The token is not found for your request.",GmErr_BadRequest_USER_NOT_REGISTERED:"The user is not registered. Please register first.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"The phone number you are using is invalid.",GmErr_BadRequest_INVALID_USER_ID:"The user ID is invalid.",GmErr_UnexpectedException:"Something went wrong... Please try again.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF response confirms player IS underaged or IS NOT a Croatian resident.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF fails to return a response.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: Internal error."},ro:{GmErr_AMOUNT_INVALID:"Suma specificată este invalidă.",GmErr_REGISTER_OVERAGE:"Înregistrarea a depășit limita permisă.",GmErr_REGISTER_UNDERAGE:"Înregistrarea este sub limita permisă.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Autentificarea utilizatorului a eșuat din cauza prea multor încercări nereușite.",GmErr_USER_ACCOUNT_BLOCKED:"Contul utilizatorului este blocat.",GmErr_USER_NOT_VERIFIED:"Utilizatorul nu a fost verificat.",GmErr_USER_NOT_FOUND:"Nu s-a găsit niciun utilizator cu informațiile furnizate.",GmErr_USER_ID_INVALID:"ID-ul utilizatorului furnizat este invalid.",GmErr_USER_AUTH_FAILED:"Autentificarea utilizatorului a eșuat.",GmErr_USER_DUPLICATED:"Utilizatorul există deja în sistem.",GmErr_USER_NOT_ACTIVATED:"Contul utilizatorului nu a fost activat.",GmErr_PASSWORD_CONTAINS_EMAIL:"Parola nu poate conține adresa de email.",GmErr_PASSWORD_CONTAINS_USERNAME:"Parola nu poate conține numele de utilizator.",GmErr_PASSWORD_CONTAINS_SPACES:"Parola nu poate conține spații.",GmErr_USER_4TS_CHECK_EXISTS:"Verificarea utilizatorului 4TS există deja.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Utilizatorul este exclus de la înregistrare.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Utilizatorul este exclus de la autentificare.",GmErr_USERNAME_REQUIRED:"Este necesar un nume de utilizator.",GmErr_USER_EMAIL_NOT_VERIFIED:"Adresa de email a utilizatorului nu a fost verificată.",GmErr_EMAIL_ALREADY_EXISTS:"Un utilizator cu același email există deja.",GmErr_EMAIL_REQUIRED:"Este necesară o adresă de email.",GmErr_USERNAME_ALREADY_EXISTS:"Numele de utilizator este deja utilizat.",GmErr_DUPLICATE_PERSONAL_ID:"S-a găsit un ID personal duplicat.",GmErr_INVALID_USER_DOCUMENT:"Documentul utilizatorului este invalid.",GmErr_INVALID_CODE:"Codul furnizat este invalid.",GmErr_EXPIRED_TOKEN:"Token-ul a expirat.",GmErr_ATTEMPTS_EXCEEDED:"Numărul maxim de încercări a fost depășit.",GmErr_BLOCK_USER_INCORRECT_CODE:"Utilizatorul a fost blocat din cauza unui cod incorect.",GmErr_TOKEN_NOT_FOUND:"Token-ul nu a fost găsit.",GmErr_INVALID_PHONE_NUMBER:"Numărul de telefon furnizat este invalid.",GmErr_CODE_MISSING:"Lipsește codul.",GmErr_UNREGISTERED_USER:"Utilizatorul nu este înregistrat.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"S-a depășit numărul maxim de încercări pentru generarea unui cod.",GmErr_UNEXPECTED_EXCEPTION:"A apărut o eroare neașteptată.",GmErr_INVALID_USER_ID:"ID-ul utilizatorului furnizat este invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"Acțiunea nu este permisă.",GmErr_CAN_NOT_FIND_ROLE:"Nu s-a găsit rolul specificat.",GmErr_NO_SESSION_PROVIDED:"Nu a fost furnizată nicio sesiune.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nu a fost găsită nicio sesiune activă pentru acest utilizator.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Utilizatorul a fost deja anonimizat.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nu a fost configurat niciun rol de atribuit.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Sesiunea furnizată nu aparține utilizatorului.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Sesiunea furnizată nu există.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Rolul a fost deja atribuit utilizatorului.",GmErr_ASSIGN_USER_ROLE_FAILED:"Atribuirea rolului utilizatorului a eșuat.",GmErr_BadRequest_1000:"A apărut o problemă cu numărul de identificare personal.",CountryRestricted:"Din păcate, încercați să vă înregistrați dintr-o țară unde nu putem accepta jocuri. Din acest motiv, nu vă putem procesa înregistrarea.",nextButton:"Următorul",backButton:"Înapoi",doneButton:"Finalizat",generalError:"Ceva a mers prost... Vă rugăm să încercați din nou.",successMessage:"Înregistrare reușită",GmErr_BadRequest_Duplicate_User:"Un utilizator cu aceste informații există deja.",GmErr_BadRequest_PasswordContainsUsername:"Parola nu poate fi aceeași cu numele de utilizator.",GmErr_BadRequest_PasswordContainsEmail:"Parola nu poate fi aceeași cu e-mailul.",GmErr_BadRequest_Duplicate_PersonalId:"Există deja o înregistrare cu datele pe care le-ați introdus sau ați introdus datele într-un format incorect.",GmErr_Forbidden_UserAccount_NavExcluded:"Utilizatorul este exclus NAV. Înregistrarea a fost refuzată.",GmErr_BadRequest_ModelValidationFailed:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_BadInternalConfigs:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_Unauthorized:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_NotFound:"Ceva a mers prost... Vă rugăm să încercați din nou.",BadRequest_Duplicate_User:"Există deja un utilizator cu același nume de utilizator.",BadRequest:"Cererea este invalidă, vă rugăm să verificați API-ul.",Unauthorized:"Numărul contului jucătorului, adresa de e-mail sau parola sunt incorecte",Forbidden_TooManyAttempts:"Ați făcut prea multe încercări de conectare invalide, contul dvs. a fost blocat, vă rugăm să încercați din nou mai târziu.",Forbidden_UserAccount_NotActive:"Se pare că nu v-ați confirmat încă adresa de e-mail. Pentru a finaliza înregistrarea și a accesa contul dvs., verificați căsuța de e-mail pentru un mesaj de confirmare. Dacă nu ați primit e-mailul, verificați și folderul de spam. Dacă aveți nevoie de asistență, puteți solicita ajutor prin serviciul de asistență pentru clienți.",GmErr_BadRequest_ExpiredToken:"Tokenul pe care îl utilizați este expirat.",GmErr_BadRequest_INVALID_CODE:"Codul pe care îl utilizați este invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Ați făcut prea multe încercări de validare a codului.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Ați făcut prea multe încercări de generare a codului.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Ați fost blocat din cauza unui cod invalid.",GmErr_BadRequest_CODE_MISSING:"Tokenul lipsește pentru solicitarea dvs.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Tokenul nu a fost găsit pentru solicitarea dvs.",GmErr_BadRequest_USER_NOT_REGISTERED:"Utilizatorul nu este înregistrat. Vă rugăm să vă înregistrați mai întâi.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Numărul de telefon pe care îl utilizați este invalid.",GmErr_BadRequest_INVALID_USER_ID:"ID-ul utilizatorului este invalid.",GmErr_UnexpectedException:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Documentul utilizatorului este invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: Răspunsul MoF confirmă că jucătorul este minor sau nu este rezident croat.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: MoF nu returnează un răspuns.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: Eroare internă."},fr:{GmErr_AMOUNT_INVALID:"Le montant spécifié est invalide.",GmErr_REGISTER_OVERAGE:"L'inscription a dépassé la limite autorisée.",GmErr_REGISTER_UNDERAGE:"L'inscription est en dessous de la limite autorisée.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Échec de l'authentification utilisateur en raison de trop nombreuses tentatives infructueuses.",GmErr_USER_ACCOUNT_BLOCKED:"Le compte utilisateur est bloqué.",GmErr_USER_NOT_VERIFIED:"L'utilisateur n'a pas été vérifié.",GmErr_USER_NOT_FOUND:"Aucun utilisateur trouvé avec les informations fournies.",GmErr_USER_ID_INVALID:"L'identifiant utilisateur fourni est invalide.",GmErr_USER_AUTH_FAILED:"Échec de l'authentification utilisateur.",GmErr_USER_DUPLICATED:"L'utilisateur existe déjà dans le système.",GmErr_USER_NOT_ACTIVATED:"Le compte utilisateur n'a pas été activé.",GmErr_PASSWORD_CONTAINS_EMAIL:"Le mot de passe ne peut pas contenir l'adresse e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"Le mot de passe ne peut pas contenir le nom d'utilisateur.",GmErr_PASSWORD_CONTAINS_SPACES:"Le mot de passe ne peut pas contenir d'espaces.",GmErr_USER_4TS_CHECK_EXISTS:"La vérification utilisateur 4TS existe déjà.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"L'utilisateur est exclu de l'enregistrement.",GmErr_USER_NAV_EXCLUDED_LOGIN:"L'utilisateur est exclu de la connexion.",GmErr_USERNAME_REQUIRED:"Un nom d'utilisateur est requis.",GmErr_USER_EMAIL_NOT_VERIFIED:"L'adresse e-mail de l'utilisateur n'a pas été vérifiée.",GmErr_EMAIL_ALREADY_EXISTS:"Un utilisateur avec la même adresse e-mail existe déjà.",GmErr_EMAIL_REQUIRED:"Une adresse e-mail est requise.",GmErr_USERNAME_ALREADY_EXISTS:"Le nom d'utilisateur est déjà pris.",GmErr_DUPLICATE_PERSONAL_ID:"Un identifiant personnel dupliqué a été trouvé.",GmErr_INVALID_USER_DOCUMENT:"Le document utilisateur est invalide.",GmErr_INVALID_CODE:"Le code fourni est invalide.",GmErr_EXPIRED_TOKEN:"Le jeton a expiré.",GmErr_ATTEMPTS_EXCEEDED:"Le nombre maximum de tentatives a été dépassé.",GmErr_BLOCK_USER_INCORRECT_CODE:"L'utilisateur a été bloqué en raison d'un code incorrect.",GmErr_TOKEN_NOT_FOUND:"Le jeton n'a pas été trouvé.",GmErr_INVALID_PHONE_NUMBER:"Le numéro de téléphone fourni est invalide.",GmErr_CODE_MISSING:"Le code est manquant.",GmErr_UNREGISTERED_USER:"L'utilisateur n'est pas enregistré.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Le nombre maximum de tentatives pour générer un code a été dépassé.",GmErr_UNEXPECTED_EXCEPTION:"Une exception inattendue s'est produite.",GmErr_INVALID_USER_ID:"L'identifiant utilisateur fourni est invalide.",GmErr_NOT_ALLOWED_EXCEPTION:"Cette action n'est pas autorisée.",GmErr_CAN_NOT_FIND_ROLE:"Impossible de trouver le rôle spécifié.",GmErr_NO_SESSION_PROVIDED:"Aucune session n'a été fournie.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Aucune session active n'a été trouvée pour cet utilisateur.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"L'utilisateur a déjà été anonymisé.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Aucun rôle n'a été configuré pour être attribué.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La session fournie n'appartient pas à l'utilisateur.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La session fournie n'existe pas.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Le rôle a déjà été attribué à l'utilisateur.",GmErr_ASSIGN_USER_ROLE_FAILED:"Échec de l'attribution d'un rôle à l'utilisateur.",GmErr_BadRequest_1000:"Un problème est survenu avec le numéro d'identification personnel.",CountryRestricted:"Malheureusement, vous essayez de vous inscrire depuis un pays où nous ne pouvons pas accepter les jeux. Nous ne pouvons pas traiter votre inscription pour cette raison.",nextButton:"Suivant",backButton:"Retour",GmErr_BadRequest_Duplicate_User:"Un utilisateur avec ces informations existe déjà.",GmErr_BadRequest_PasswordContainsUsername:"Le mot de passe ne peut pas être le même que le nom d'utilisateur.",GmErr_BadRequest_PasswordContainsEmail:"Le mot de passe ne peut pas être le même que l'e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Il existe déjà une inscription avec les données que vous avez saisies ou vous avez saisi vos données dans un format incorrect.",GmErr_Forbidden_UserAccount_NavExcluded:"L'utilisateur est exclu NAV. L'inscription a été refusée.",GmErr_BadRequest_ModelValidationFailed:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_BadInternalConfigs:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_Unauthorized:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_NotFound:"Quelque chose a mal tourné... Veuillez réessayer.",BadRequest_Duplicate_User:"Un utilisateur avec le même nom d'utilisateur existe déjà.",BadRequest:"La demande est invalide, veuillez vérifier l'API.",Unauthorized:"Le numéro de compte du joueur, l'adresse e-mail ou le mot de passe est incorrect",Forbidden_TooManyAttempts:"Vous avez fait trop de tentatives de connexion invalides, votre compte a été bloqué, veuillez réessayer plus tard.",Forbidden_UserAccount_NotActive:"Il semble que vous n'avez pas encore confirmé votre adresse e-mail. Pour compléter votre inscription et accéder à votre compte, veuillez vérifier votre boîte de réception pour un message de confirmation. Si vous n'avez pas reçu l'e-mail, veuillez également vérifier votre dossier de spam. Si vous avez besoin d'aide, vous pouvez demander de l'aide via le service client.",GmErr_BadRequest_ExpiredToken:"Le jeton que vous utilisez est expiré.",GmErr_BadRequest_INVALID_CODE:"Le code que vous utilisez est invalide.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Vous avez fait trop de tentatives pour valider votre code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Vous avez fait trop de tentatives pour générer votre code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Vous avez été bloqué en raison d'un code invalide.",GmErr_BadRequest_CODE_MISSING:"Le jeton est manquant pour votre demande.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Le jeton n'a pas été trouvé pour votre demande.",GmErr_BadRequest_USER_NOT_REGISTERED:"L'utilisateur n'est pas enregistré. Veuillez vous inscrire d'abord.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Le numéro de téléphone que vous utilisez est invalide.",GmErr_BadRequest_INVALID_USER_ID:"L'ID utilisateur est invalide.",GmErr_UnexpectedException:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Le document utilisateur est invalide.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : La réponse du MoF confirme que le joueur est mineur ou n'est pas résident croate.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : Le MoF ne renvoie pas de réponse.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : Erreur interne."},es:{GmErr_AMOUNT_INVALID:"El monto especificado no es válido.",GmErr_REGISTER_OVERAGE:"El registro ha excedido el límite permitido.",GmErr_REGISTER_UNDERAGE:"El registro está por debajo del límite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"La autenticación del usuario falló debido a demasiados intentos fallidos.",GmErr_USER_ACCOUNT_BLOCKED:"La cuenta del usuario está bloqueada.",GmErr_USER_NOT_VERIFIED:"El usuario no ha sido verificado.",GmErr_USER_NOT_FOUND:"No se encontró un usuario con la información proporcionada.",GmErr_USER_ID_INVALID:"El ID de usuario proporcionado no es válido.",GmErr_USER_AUTH_FAILED:"La autenticación del usuario falló.",GmErr_USER_DUPLICATED:"El usuario ya existe en el sistema.",GmErr_USER_NOT_ACTIVATED:"La cuenta del usuario no ha sido activada.",GmErr_PASSWORD_CONTAINS_EMAIL:"La contraseña no puede contener la dirección de correo electrónico.",GmErr_PASSWORD_CONTAINS_USERNAME:"La contraseña no puede contener el nombre de usuario.",GmErr_PASSWORD_CONTAINS_SPACES:"La contraseña no puede contener espacios.",GmErr_USER_4TS_CHECK_EXISTS:"La verificación del usuario 4TS ya existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"El usuario está excluido del registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"El usuario está excluido del inicio de sesión.",GmErr_USERNAME_REQUIRED:"Se requiere un nombre de usuario.",GmErr_USER_EMAIL_NOT_VERIFIED:"La dirección de correo electrónico del usuario no ha sido verificada.",GmErr_EMAIL_ALREADY_EXISTS:"Un usuario con el mismo correo electrónico ya existe.",GmErr_EMAIL_REQUIRED:"Se requiere una dirección de correo electrónico.",GmErr_USERNAME_ALREADY_EXISTS:"El nombre de usuario ya está en uso.",GmErr_DUPLICATE_PERSONAL_ID:"Se encontró un ID personal duplicado.",GmErr_INVALID_USER_DOCUMENT:"El documento del usuario no es válido.",GmErr_INVALID_CODE:"El código proporcionado no es válido.",GmErr_EXPIRED_TOKEN:"El token ha expirado.",GmErr_ATTEMPTS_EXCEEDED:"Se ha superado el número máximo de intentos.",GmErr_BLOCK_USER_INCORRECT_CODE:"El usuario ha sido bloqueado debido a un código incorrecto.",GmErr_TOKEN_NOT_FOUND:"No se encontró el token.",GmErr_INVALID_PHONE_NUMBER:"El número de teléfono proporcionado no es válido.",GmErr_CODE_MISSING:"Falta el código.",GmErr_UNREGISTERED_USER:"El usuario no está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Se ha superado el número máximo de intentos para generar un código.",GmErr_UNEXPECTED_EXCEPTION:"Ocurrió una excepción inesperada.",GmErr_INVALID_USER_ID:"El ID de usuario proporcionado no es válido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta acción no está permitida.",GmErr_CAN_NOT_FIND_ROLE:"No se pudo encontrar el rol especificado.",GmErr_NO_SESSION_PROVIDED:"No se proporcionó ninguna sesión.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No se encontró ninguna sesión activa para este usuario.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"El usuario ya ha sido anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No se ha configurado ningún rol para asignar.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La sesión proporcionada no pertenece al usuario.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La sesión proporcionada no existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"El rol ya ha sido asignado al usuario.",GmErr_ASSIGN_USER_ROLE_FAILED:"No se pudo asignar un rol al usuario.",GmErr_BadRequest_1000:"Hubo un problema con el número de identificación personal.",CountryRestricted:"Lamentablemente, estás intentando registrarte desde un país donde no podemos aceptar el juego. No podemos procesar tu registro por esta razón.",nextButton:"Siguiente",backButton:"Atrás",doneButton:"Hecho",generalError:"Algo salió mal... Por favor, inténtalo de nuevo.",successMessage:"Registro exitoso",GmErr_BadRequest_Duplicate_User:"Ya existe un usuario con esta información.",GmErr_BadRequest_PasswordContainsUsername:"La contraseña no puede ser la misma que el nombre de usuario.",GmErr_BadRequest_PasswordContainsEmail:"La contraseña no puede ser la misma que el correo electrónico.",GmErr_BadRequest_Duplicate_PersonalId:"Ya existe un registro con los datos que ingresó o ingresó sus datos en un formato incorrecto.",GmErr_Forbidden_UserAccount_NavExcluded:"El usuario está excluido de NAV. El registro fue denegado.",GmErr_BadRequest_ModelValidationFailed:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_BadInternalConfigs:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_Unauthorized:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_NotFound:"Algo salió mal... Por favor, inténtelo de nuevo.",BadRequest_Duplicate_User:"Ya existe un usuario con el mismo nombre de usuario.",BadRequest:"La solicitud es inválida, por favor verifique la API.",Unauthorized:"El número de cuenta del jugador, la dirección de correo electrónico o la contraseña son incorrectos",Forbidden_TooManyAttempts:"Ha realizado demasiados intentos de inicio de sesión inválidos, su cuenta ha sido bloqueada, por favor intente de nuevo más tarde.",Forbidden_UserAccount_NotActive:"Parece que aún no ha confirmado su dirección de correo electrónico. Para completar su registro y acceder a su cuenta, verifique su bandeja de entrada de correo electrónico para un mensaje de confirmación. Si no ha recibido el correo electrónico, verifique también su carpeta de spam. Si necesita ayuda, puede solicitar ayuda a través del servicio de atención al cliente.",GmErr_BadRequest_ExpiredToken:"El token que está utilizando ha expirado.",GmErr_BadRequest_INVALID_CODE:"El código que está utilizando es inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Ha realizado demasiados intentos de validar su código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Ha realizado demasiados intentos de generar su código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Ha sido bloqueado debido a un código inválido.",GmErr_BadRequest_CODE_MISSING:"Falta el token para su solicitud.",GmErr_BadRequest_TOKEN_NOT_FOUND:"No se encontró el token para su solicitud.",GmErr_BadRequest_USER_NOT_REGISTERED:"El usuario no está registrado. Por favor, regístrese primero.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"El número de teléfono que está utilizando es inválido.",GmErr_BadRequest_INVALID_USER_ID:"El ID de usuario es inválido.",GmErr_UnexpectedException:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: La respuesta del MoF confirma que el jugador es menor de edad o no es residente croata.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: El MoF no devuelve una respuesta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: Error interno."},pt:{GmErr_AMOUNT_INVALID:"O valor especificado é inválido.",GmErr_REGISTER_OVERAGE:"O registro excedeu o limite permitido.",GmErr_REGISTER_UNDERAGE:"O registro está abaixo do limite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"A autenticação do usuário falhou devido a muitas tentativas malsucedidas.",GmErr_USER_ACCOUNT_BLOCKED:"A conta do usuário está bloqueada.",GmErr_USER_NOT_VERIFIED:"O usuário não foi verificado.",GmErr_USER_NOT_FOUND:"Nenhum usuário encontrado com as informações fornecidas.",GmErr_USER_ID_INVALID:"O ID de usuário fornecido é inválido.",GmErr_USER_AUTH_FAILED:"A autenticação do usuário falhou.",GmErr_USER_DUPLICATED:"O usuário já existe no sistema.",GmErr_USER_NOT_ACTIVATED:"A conta do usuário não foi ativada.",GmErr_PASSWORD_CONTAINS_EMAIL:"A senha não pode conter o endereço de e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"A senha não pode conter o nome de usuário.",GmErr_PASSWORD_CONTAINS_SPACES:"A senha não pode conter espaços.",GmErr_USER_4TS_CHECK_EXISTS:"A verificação do usuário 4TS já existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"O usuário está excluído do registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"O usuário está excluído do login.",GmErr_USERNAME_REQUIRED:"É necessário um nome de usuário.",GmErr_USER_EMAIL_NOT_VERIFIED:"O endereço de e-mail do usuário não foi verificado.",GmErr_EMAIL_ALREADY_EXISTS:"Um usuário com o mesmo e-mail já existe.",GmErr_EMAIL_REQUIRED:"É necessário um endereço de e-mail.",GmErr_USERNAME_ALREADY_EXISTS:"O nome de usuário já está em uso.",GmErr_DUPLICATE_PERSONAL_ID:"ID pessoal duplicado encontrado.",GmErr_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_INVALID_CODE:"O código fornecido é inválido.",GmErr_EXPIRED_TOKEN:"O token expirou.",GmErr_ATTEMPTS_EXCEEDED:"O número máximo de tentativas foi excedido.",GmErr_BLOCK_USER_INCORRECT_CODE:"O usuário foi bloqueado devido a um código incorreto.",GmErr_TOKEN_NOT_FOUND:"O token não foi encontrado.",GmErr_INVALID_PHONE_NUMBER:"O número de telefone fornecido é inválido.",GmErr_CODE_MISSING:"O código está ausente.",GmErr_UNREGISTERED_USER:"O usuário não está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"O número máximo de tentativas para gerar um código foi excedido.",GmErr_UNEXPECTED_EXCEPTION:"Ocorreu uma exceção inesperada.",GmErr_INVALID_USER_ID:"O ID de usuário fornecido é inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Essa ação não é permitida.",GmErr_CAN_NOT_FIND_ROLE:"Não foi possível encontrar a função especificada.",GmErr_NO_SESSION_PROVIDED:"Nenhuma sessão foi fornecida.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nenhuma sessão ativa encontrada para este usuário.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"O usuário já foi anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nenhuma função foi configurada para ser atribuída.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A sessão fornecida não pertence ao usuário.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A sessão fornecida não existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A função já foi atribuída ao usuário.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falha ao atribuir uma função ao usuário.",GmErr_BadRequest_1000:"Houve um problema com o número de identificação pessoal.",CountryRestricted:"Infelizmente, você está tentando se registrar de um país onde não podemos aceitar jogos. Não podemos processar seu registro por este motivo.",nextButton:"Próximo",backButton:"Voltar",doneButton:"Concluído",generalError:"Algo deu errado... Por favor, tente novamente.",successMessage:"Registro bem-sucedido",GmErr_BadRequest_Duplicate_User:"Um usuário com essas informações já existe.",GmErr_BadRequest_PasswordContainsUsername:"A senha não pode ser igual ao nome de usuário.",GmErr_BadRequest_PasswordContainsEmail:"A senha não pode ser igual ao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Já existe um registro com os dados que você inseriu ou você inseriu seus dados em um formato incorreto.",GmErr_Forbidden_UserAccount_NavExcluded:"Usuário está NAV Excluído. Registro foi negado.",GmErr_BadRequest_ModelValidationFailed:"Algo deu errado... Por favor, tente novamente.",GmErr_BadInternalConfigs:"Algo deu errado... Por favor, tente novamente.",GmErr_Unauthorized:"Algo deu errado... Por favor, tente novamente.",GmErr_NotFound:"Algo deu errado... Por favor, tente novamente.",BadRequest_Duplicate_User:"Usuário com o mesmo nome de usuário já existe.",BadRequest:"A solicitação é inválida, por favor, verifique a API.",Unauthorized:"O número da conta do jogador, endereço de e-mail ou senha estão incorretos",Forbidden_TooManyAttempts:"Você fez muitas tentativas de login inválidas, sua conta foi bloqueada, por favor, tente novamente mais tarde.",Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu registro e acessar sua conta, verifique sua caixa de entrada de e-mail para uma mensagem de confirmação. Se você não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, você pode solicitar ajuda através do serviço de atendimento ao cliente.",GmErr_BadRequest_ExpiredToken:"O token que você está usando está expirado.",GmErr_BadRequest_INVALID_CODE:"O código que você está usando é inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Você fez muitas tentativas de validar seu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Você fez muitas tentativas de gerar seu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Você foi bloqueado devido a um código inválido.",GmErr_BadRequest_CODE_MISSING:"O token está faltando para sua solicitação.",GmErr_BadRequest_TOKEN_NOT_FOUND:"O token não foi encontrado para sua solicitação.",GmErr_BadRequest_USER_NOT_REGISTERED:"O usuário não está registrado. Por favor, registre-se primeiro.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"O número de telefone que você está usando é inválido.",GmErr_BadRequest_INVALID_USER_ID:"O ID do usuário é inválido.",GmErr_UnexpectedException:"Algo deu errado... Por favor, tente novamente.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: A resposta do MoF confirma que o jogador é menor de idade ou não é residente da Croácia.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: O MoF não retorna uma resposta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: Erro interno."},de:{GmErr_AMOUNT_INVALID:"Der angegebene Betrag ist ungültig.",GmErr_REGISTER_OVERAGE:"Die Registrierung hat das zulässige Limit überschritten.",GmErr_REGISTER_UNDERAGE:"Die Registrierung liegt unterhalb des zulässigen Limits.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Die Benutzeranmeldung ist aufgrund zu vieler fehlgeschlagener Versuche fehlgeschlagen.",GmErr_USER_ACCOUNT_BLOCKED:"Das Benutzerkonto ist gesperrt.",GmErr_USER_NOT_VERIFIED:"Der Benutzer wurde nicht verifiziert.",GmErr_USER_NOT_FOUND:"Kein Benutzer mit den angegebenen Informationen gefunden.",GmErr_USER_ID_INVALID:"Die angegebene Benutzer-ID ist ungültig.",GmErr_USER_AUTH_FAILED:"Die Benutzeranmeldung ist fehlgeschlagen.",GmErr_USER_DUPLICATED:"Der Benutzer ist bereits im System vorhanden.",GmErr_USER_NOT_ACTIVATED:"Das Benutzerkonto wurde nicht aktiviert.",GmErr_PASSWORD_CONTAINS_EMAIL:"Das Passwort darf keine E-Mail-Adresse enthalten.",GmErr_PASSWORD_CONTAINS_USERNAME:"Das Passwort darf keinen Benutzernamen enthalten.",GmErr_PASSWORD_CONTAINS_SPACES:"Das Passwort darf keine Leerzeichen enthalten.",GmErr_USER_4TS_CHECK_EXISTS:"Die 4TS-Überprüfung des Benutzers existiert bereits.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Der Benutzer ist von der Registrierung ausgeschlossen.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Der Benutzer ist vom Login ausgeschlossen.",GmErr_USERNAME_REQUIRED:"Ein Benutzername ist erforderlich.",GmErr_USER_EMAIL_NOT_VERIFIED:"Die E-Mail-Adresse des Benutzers wurde nicht verifiziert.",GmErr_EMAIL_ALREADY_EXISTS:"Ein Benutzer mit derselben E-Mail-Adresse existiert bereits.",GmErr_EMAIL_REQUIRED:"Eine E-Mail-Adresse ist erforderlich.",GmErr_USERNAME_ALREADY_EXISTS:"Der Benutzername ist bereits vergeben.",GmErr_DUPLICATE_PERSONAL_ID:"Doppelte persönliche ID gefunden.",GmErr_INVALID_USER_DOCUMENT:"Das Benutzerdokument ist ungültig.",GmErr_INVALID_CODE:"Der angegebene Code ist ungültig.",GmErr_EXPIRED_TOKEN:"Das Token ist abgelaufen.",GmErr_ATTEMPTS_EXCEEDED:"Die maximale Anzahl an Versuchen wurde überschritten.",GmErr_BLOCK_USER_INCORRECT_CODE:"Der Benutzer wurde aufgrund eines falschen Codes gesperrt.",GmErr_TOKEN_NOT_FOUND:"Das Token wurde nicht gefunden.",GmErr_INVALID_PHONE_NUMBER:"Die angegebene Telefonnummer ist ungültig.",GmErr_CODE_MISSING:"Der Code fehlt.",GmErr_UNREGISTERED_USER:"Der Benutzer ist nicht registriert.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Die maximale Anzahl an Versuchen, einen Code zu generieren, wurde überschritten.",GmErr_UNEXPECTED_EXCEPTION:"Es ist ein unerwarteter Fehler aufgetreten.",GmErr_INVALID_USER_ID:"Die angegebene Benutzer-ID ist ungültig.",GmErr_NOT_ALLOWED_EXCEPTION:"Diese Aktion ist nicht erlaubt.",GmErr_CAN_NOT_FIND_ROLE:"Die angegebene Rolle konnte nicht gefunden werden.",GmErr_NO_SESSION_PROVIDED:"Es wurde keine Sitzung bereitgestellt.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Es wurde keine aktive Sitzung für diesen Benutzer gefunden.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Der Benutzer wurde bereits anonymisiert.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Es wurde keine Rolle zur Zuweisung eingerichtet.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Die bereitgestellte Sitzung gehört nicht dem Benutzer.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Die bereitgestellte Sitzung existiert nicht.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Die Rolle wurde dem Benutzer bereits zugewiesen.",GmErr_ASSIGN_USER_ROLE_FAILED:"Die Zuweisung einer Rolle an den Benutzer ist fehlgeschlagen.",GmErr_BadRequest_1000:"Es gab ein Problem mit der persönlichen Identifikationsnummer.",CountryRestricted:"Leider versuchen Sie, sich aus einem Land zu registrieren, in dem wir kein Spiel zulassen können. Aus diesem Grund können wir Ihre Registrierung nicht verarbeiten.",nextButton:"Weiter",backButton:"Zurück",doneButton:"Fertig",generalError:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",successMessage:"Registrierung erfolgreich",GmErr_BadRequest_Duplicate_User:"Ein Benutzer mit diesen Informationen existiert bereits.",GmErr_BadRequest_PasswordContainsUsername:"Das Passwort darf nicht mit dem Benutzernamen übereinstimmen.",GmErr_BadRequest_PasswordContainsEmail:"Das Passwort darf nicht mit der E-Mail-Adresse übereinstimmen.",GmErr_BadRequest_Duplicate_PersonalId:"Es gibt bereits eine Registrierung mit den eingegebenen Daten oder Sie haben Ihre Daten in einem falschen Format eingegeben.",GmErr_Forbidden_UserAccount_NavExcluded:"Benutzer ist NAV ausgeschlossen. Registrierung wurde abgelehnt.",GmErr_BadRequest_ModelValidationFailed:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_BadInternalConfigs:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_Unauthorized:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_NotFound:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",BadRequest_Duplicate_User:"Ein Benutzer mit demselben Benutzernamen existiert bereits.",BadRequest:"Die Anfrage ist ungültig, bitte überprüfen Sie die API.",Unauthorized:"Die Kontonummer des Spielers, die E-Mail-Adresse oder das Passwort ist falsch",Forbidden_TooManyAttempts:"Sie haben zu viele ungültige Anmeldeversuche unternommen, Ihr Konto wurde gesperrt, bitte versuchen Sie es später erneut.",Forbidden_UserAccount_NotActive:"Es scheint, dass Sie Ihre E-Mail-Adresse noch nicht bestätigt haben. Um Ihre Registrierung abzuschließen und auf Ihr Konto zuzugreifen, überprüfen Sie bitte Ihr E-Mail-Postfach auf eine Bestätigungsnachricht. Wenn Sie die E-Mail nicht erhalten haben, überprüfen Sie bitte auch Ihren Spam-Ordner. Wenn Sie Hilfe benötigen, können Sie über den Kundenservice Hilfe anfordern.",GmErr_BadRequest_ExpiredToken:"Das von Ihnen verwendete Token ist abgelaufen.",GmErr_BadRequest_INVALID_CODE:"Der von Ihnen verwendete Code ist ungültig.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Sie haben zu viele Versuche unternommen, Ihren Code zu validieren.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Sie haben zu viele Versuche unternommen, Ihren Code zu generieren.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Sie wurden aufgrund eines ungültigen Codes gesperrt.",GmErr_BadRequest_CODE_MISSING:"Das Token fehlt für Ihre Anfrage.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Das Token wurde für Ihre Anfrage nicht gefunden.",GmErr_BadRequest_USER_NOT_REGISTERED:"Der Benutzer ist nicht registriert. Bitte registrieren Sie sich zuerst.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Die von Ihnen verwendete Telefonnummer ist ungültig.",GmErr_BadRequest_INVALID_USER_ID:"Die Benutzer-ID ist ungültig.",GmErr_UnexpectedException:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Das Benutzerdokument ist ungültig.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Die Antwort des MoF bestätigt, dass der Spieler minderjährig ist oder kein kroatischer Einwohner ist.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Das MoF gibt keine Antwort.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Interner Fehler."}},Eh=(e,t,i)=>{let r=bh[bh[t]?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");r=r.replace(i,t)}return r};function yh(){}function wh(e){return e()}function kh(){return Object.create(null)}function xh(e){e.forEach(wh)}function Sh(e){return"function"==typeof e}function Ah(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function Ih(e,...t){if(null==e){for(const e of t)e(void 0);return yh}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Ch(e,t,i){e.$$.on_destroy.push(Ih(t,i))}function Th(e,t){e.appendChild(t)}function Dh(e,t,i){const r=function(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}(e);if(!r.getElementById(t)){const e=zh("style");e.id=t,e.textContent=i,function(e,t){Th(e.head||e,t)}(r,e)}}function Rh(e,t,i){e.insertBefore(t,i||null)}function Nh(e){e.parentNode&&e.parentNode.removeChild(e)}function Oh(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function zh(e){return document.createElement(e)}function Gh(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Mh(e){return document.createTextNode(e)}function Uh(){return Mh(" ")}function Bh(){return Mh("")}function Ph(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function Lh(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function Fh(e,t,i){const r=t.toLowerCase();r in e?e[r]="boolean"==typeof e[r]&&""===i||i:t in e?e[t]="boolean"==typeof e[t]&&""===i||i:Lh(e,t,i)}function jh(e,t){e.data!==(t=""+t)&&(e.data=t)}class qh{is_svg=!1;e=void 0;n=void 0;t=void 0;a=void 0;constructor(e=!1){this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,i=null){this.e||(this.e=this.is_svg?Gh(t.nodeName):zh(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)Rh(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(Nh)}}let Hh;function Vh(e){Hh=e}function $h(e){(function(){if(!Hh)throw new Error("Function called outside component initialization");return Hh})().$$.on_mount.push(e)}const Xh=[],Kh=[];let Yh=[];const Wh=[],Zh=Promise.resolve();let Qh=!1;function Jh(e){Yh.push(e)}const ec=new Set;let tc=0;function ic(){if(0!==tc)return;const e=Hh;do{try{for(;tc<Xh.length;){const e=Xh[tc];tc++,Vh(e),rc(e.$$)}}catch(e){throw Xh.length=0,tc=0,e}for(Vh(null),Xh.length=0,tc=0;Kh.length;)Kh.pop()();for(let e=0;e<Yh.length;e+=1){const t=Yh[e];ec.has(t)||(ec.add(t),t())}Yh.length=0}while(Xh.length);for(;Wh.length;)Wh.pop()();Qh=!1,ec.clear(),Vh(e)}function rc(e){if(null!==e.fragment){e.update(),xh(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Jh)}}const nc=new Set;function oc(e){return void 0!==e?.length?e:Array.from(e)}function sc(e,t,i,r,n,o,s=null,a=[-1]){const l=Hh;Vh(e);const h=e.$$={fragment:null,ctx:[],props:o,update:yh,not_equal:n,bound:kh(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:kh(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(h.root);let c=!1;if(h.ctx=i?i(e,t.props||{},((t,i,...r)=>{const o=r.length?r[0]:i;return h.ctx&&n(h.ctx[t],h.ctx[t]=o)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](o),c&&function(e,t){-1===e.$$.dirty[0]&&(Xh.push(e),Qh||(Qh=!0,Zh.then(ic)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),i})):[],h.update(),c=!0,xh(h.before_update),h.fragment=!!r&&r(h.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);h.fragment&&h.fragment.l(e),e.forEach(Nh)}else h.fragment&&h.fragment.c();t.intro&&function(e){e&&e.i&&(nc.delete(e),e.i(void 0))}(e.$$.fragment),function(e,t,i){const{fragment:r,after_update:n}=e.$$;r&&r.m(t,i),Jh((()=>{const t=e.$$.on_mount.map(wh).filter(Sh);e.$$.on_destroy?e.$$.on_destroy.push(...t):xh(t),e.$$.on_mount=[]})),n.forEach(Jh)}(e,t.target,t.anchor),ic()}Vh(l)}let ac;function lc(e,t,i,r){const n=i[e]?.type;if(t="Boolean"===n&&"boolean"!=typeof t?null!=t:t,!r||!i[e])return t;if("toAttribute"===r)switch(n){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(n){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":default:return t;case"Number":return null!=t?+t:t}}function hc(e,t,i,r,n){let o=class extends ac{constructor(){super(e,i,n),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map((e=>(t[e].attribute||e).toLowerCase()))}};return Object.keys(t).forEach((e=>{Object.defineProperty(o.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(i){i=lc(e,i,t),this.$$d[e]=i,this.$$c?.$set({[e]:i})}})})),r.forEach((e=>{Object.defineProperty(o.prototype,e,{get(){return this.$$c?.[e]}})})),e.element=o,o}"function"==typeof HTMLElement&&(ac=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(e,t,i){super(),this.$$ctor=e,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(e,t,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,i)}removeEventListener(e,t,i){if(super.removeEventListener(e,t,i),this.$$c){const e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(e){return()=>{let t;return{c:function(){t=zh("slot"),"default"!==e&&Lh(t,"name",e)},m:function(e,i){Rh(e,t,i)},d:function(e){e&&Nh(t)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=function(e){const t={};return e.childNodes.forEach((e=>{t[e.slot||"default"]=!0})),t}(this);for(const r of this.$$s)r in i&&(t[r]=[e(r)]);for(const e of this.attributes){const t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=lc(t,e.value,this.$$p_d,"toProp"))}for(const e in this.$$p_d)!(e in this.$$d)&&void 0!==this[e]&&(this.$$d[e]=this[e],delete this[e]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$scope:{ctx:[]}}});const r=()=>{this.$$r=!0;for(const e in this.$$p_d)if(this.$$d[e]=this.$$c.$$.ctx[this.$$c.$$.props[e]],this.$$p_d[e].reflect){const t=lc(e,this.$$d[e],this.$$p_d,"toAttribute");null==t?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const e in this.$$l)for(const t of this.$$l[e]){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}this.$$l={}}}attributeChangedCallback(e,t,i){this.$$r||(e=this.$$g_p(e),this.$$d[e]=lc(e,i,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(e){return Object.keys(this.$$p_d).find((t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e))||e}});class cc{$$=void 0;$$set=void 0;$destroy(){(function(e,t){const i=e.$$;null!==i.fragment&&(function(e){const t=[],i=[];Yh.forEach((r=>-1===e.indexOf(r)?t.push(r):i.push(r))),i.forEach((e=>e())),Yh=t}(i.after_update),xh(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])})(this,1),this.$destroy=yh}$on(e,t){if(!Sh(t))return yh;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&!function(e){return 0===Object.keys(e).length}(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function uc(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function dc(e,t){const i=new URL(t);fetch(i.href).then((e=>e.text())).then((t=>{const i=document.createElement("style");i.innerHTML=t,e&&e.appendChild(i)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}function mc(e,t){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,(t=>{i.innerHTML=t,e&&e.appendChild(i)}))}}function pc(e){Dh(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function _c(e){let t;return{c(){t=zh("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(i,r){Rh(i,t,r),e[4](t)},p:yh,i:yh,o:yh,d(i){i&&Nh(t),e[4](null)}}}function fc(e,t,i){let r,{clientstyling:n=""}=t,{clientstylingurl:o=""}=t,{mbsource:s}=t;return $h((()=>()=>{})),e.$$set=e=>{"clientstyling"in e&&i(1,n=e.clientstyling),"clientstylingurl"in e&&i(2,o=e.clientstylingurl),"mbsource"in e&&i(3,s=e.mbsource)},e.$$.update=()=>{3&e.$$.dirty&&n&&r&&uc(r,n),5&e.$$.dirty&&o&&r&&dc(r,o),9&e.$$.dirty&&s&&r&&mc(r,`${s}.Style`)},[r,n,o,s,function(e){Kh[e?"unshift":"push"]((()=>{r=e,i(0,r)}))}]}typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class vc extends cc{constructor(e){super(),sc(this,e,fc,_c,Ah,{clientstyling:1,clientstylingurl:2,mbsource:3},pc)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),ic()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),ic()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),ic()}}hc(vc,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);const gc=Object.freeze(Object.defineProperty({__proto__:null,default:vc},Symbol.toStringTag,{value:"Module"})),bc=Object.freeze({__proto__:null,A:function(e){return e},B:uc,C:dc,D:mc,G:gc,H:qh,S:cc,a:Ih,b:sc,c:hc,d:Nh,e:Rh,f:Th,g:Gh,h:Lh,i:Sh,j:ic,k:Dh,l:zh,m:Ch,n:yh,o:$h,p:Kh,q:Fh,r:xh,s:Ah,t:jh,u:Mh,v:oc,w:Oh,x:Ph,y:Uh,z:Bh}),Ec=[];function yc(e,t=yh){let i;const r=new Set;function n(t){if(Ah(e,t)&&(e=t,i)){const t=!Ec.length;for(const t of r)t[1](),Ec.push(t,e);if(t){for(let e=0;e<Ec.length;e+=2)Ec[e][0](Ec[e+1]);Ec.length=0}}}function o(t){n(t(e))}return{set:n,update:o,subscribe:function(s,a=yh){const l=[s,a];return r.add(l),1===r.size&&(i=t(n,o)||yh),s(e),()=>{r.delete(l),0===r.size&&i&&(i(),i=null)}}}}function wc(e,t,i){const r=!Array.isArray(e),n=r?[e]:e;if(!n.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return function(e,t){return{subscribe:yc(e,t).subscribe}}(i,((e,i)=>{let s=!1;const a=[];let l=0,h=yh;const c=()=>{if(l)return;h();const n=t(r?a[0]:a,e,i);o?e(n):h=Sh(n)?n:yh},u=n.map(((e,t)=>Ih(e,(e=>{a[t]=e,l&=~(1<<t),s&&c()}),(()=>{l|=1<<t}))));return s=!0,c(),function(){xh(u),h(),s=!1}}))}function kc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xc=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Sc}(e)}(e)},Sc="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ac(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Dc(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function Ic(e,t,i){return e.concat(t).map((function(e){return Ac(e,i)}))}function Cc(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Tc(e,t){try{return t in e}catch{return!1}}function Dc(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Ic,i.isMergeableObject=i.isMergeableObject||xc,i.cloneUnlessOtherwiseSpecified=Ac;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):function(e,t,i){var r={};return i.isMergeableObject(e)&&Cc(e).forEach((function(t){r[t]=Ac(e[t],i)})),Cc(t).forEach((function(n){(function(e,t){return Tc(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,n)||(r[n]=Tc(e,n)&&i.isMergeableObject(t[n])?function(e,t){if(!t.customMerge)return Dc;var i=t.customMerge(e);return"function"==typeof i?i:Dc}(n,i)(e[n],t[n],i):Ac(t[n],i))})),r}(e,t,i):Ac(t,i)}Dc.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return Dc(e,i,t)}),{})};const Rc=kc(Dc);var Nc=function(e,t){return Nc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},Nc(e,t)};function Oc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Nc(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var zc=function(){return zc=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},zc.apply(this,arguments)};function Gc(e,t,i){if(i||2===arguments.length)for(var r,n=0,o=t.length;n<o;n++)(r||!(n in t))&&(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return e.concat(r||Array.prototype.slice.call(t))}function Mc(e,t){return(t&&t.strategy?t.strategy:Lc)(e,{cache:t&&t.cache?t.cache:$c,serializer:t&&t.serializer?t.serializer:Hc})}function Uc(e,t,i,r){var n=function(e){return null==e||"number"==typeof e||"boolean"==typeof e}(r)?r:i(r),o=t.get(n);return typeof o>"u"&&(o=e.call(this,r),t.set(n,o)),o}function Bc(e,t,i){var r=Array.prototype.slice.call(arguments,3),n=i(r),o=t.get(n);return typeof o>"u"&&(o=e.apply(this,r),t.set(n,o)),o}function Pc(e,t,i,r,n){return i.bind(t,e,r,n)}function Lc(e,t){return Pc(e,this,1===e.length?Uc:Bc,t.cache.create(),t.serializer)}var Fc,jc,qc,Hc=function(){return JSON.stringify(arguments)},Vc=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),$c={create:function(){return new Vc}},Xc={variadic:function(e,t){return Pc(e,this,Bc,t.cache.create(),t.serializer)}};function Kc(e){return e.type===jc.literal}function Yc(e){return e.type===jc.argument}function Wc(e){return e.type===jc.number}function Zc(e){return e.type===jc.date}function Qc(e){return e.type===jc.time}function Jc(e){return e.type===jc.select}function eu(e){return e.type===jc.plural}function tu(e){return e.type===jc.pound}function iu(e){return e.type===jc.tag}function ru(e){return!(!e||"object"!=typeof e||e.type!==qc.number)}function nu(e){return!(!e||"object"!=typeof e||e.type!==qc.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Fc||(Fc={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(jc||(jc={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(qc||(qc={}));var ou=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,su=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function au(e){var t={};return e.replace(su,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===i?"long":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var lu=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function hu(e){return e.replace(/^(.*?)-/,"")}var cu=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,uu=/^(@+)?(\+|#+)?[rs]?$/g,du=/(\*)(0+)|(#+)(0+)|(0+)/g,mu=/^(0+)$/;function pu(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(uu,(function(e,i,r){return"string"!=typeof r?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===r?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""})),t}function _u(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function fu(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!mu.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function vu(e){return _u(e)||{}}function gu(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];switch(n.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=n.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=hu(n.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=zc(zc(zc({},t),{notation:"scientific"}),n.options.reduce((function(e,t){return zc(zc({},e),vu(t))}),{}));continue;case"engineering":t=zc(zc(zc({},t),{notation:"engineering"}),n.options.reduce((function(e,t){return zc(zc({},e),vu(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(n.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(n.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(du,(function(e,i,r,n,o,s){if(i)t.minimumIntegerDigits=r.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(mu.test(n.stem))t.minimumIntegerDigits=n.stem.length;else if(cu.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(cu,(function(e,i,r,n,o,s){return"*"===r?t.minimumFractionDigits=i.length:n&&"#"===n[0]?t.maximumFractionDigits=n.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var o=n.options[0];"w"===o?t=zc(zc({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=zc(zc({},t),pu(o)))}else if(uu.test(n.stem))t=zc(zc({},t),pu(n.stem));else{var s=_u(n.stem);s&&(t=zc(zc({},t),s));var a=fu(n.stem);a&&(t=zc(zc({},t),a))}}return t}var bu={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Eu(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i,r=e.language;return"root"!==r&&(i=e.maximize().region),(bu[i||""]||bu[r||""]||bu["".concat(r,"-001")]||bu["001"])[0]}var yu,wu=new RegExp("^".concat(ou.source,"*")),ku=new RegExp("".concat(ou.source,"*$"));function xu(e,t){return{start:e,end:t}}var Su=!!String.prototype.startsWith&&"_a".startsWith("a",1),Au=!!String.fromCodePoint,Iu=!!Object.fromEntries,Cu=!!String.prototype.codePointAt,Tu=!!String.prototype.trimStart,Du=!!String.prototype.trimEnd,Ru=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Nu=!0;try{Nu="a"===(null===(yu=Lu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===yu?void 0:yu[0])}catch{Nu=!1}var Ou,zu=Su?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Gu=Au?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",n=e.length,o=0;n>o;){if((i=e[o++])>1114111)throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},Mu=Iu?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var n=r[i];t[n[0]]=n[1]}return t},Uu=Cu?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var r,n=e.charCodeAt(t);return n<55296||n>56319||t+1===i||(r=e.charCodeAt(t+1))<56320||r>57343?n:r-56320+(n-55296<<10)+65536}},Bu=Tu?function(e){return e.trimStart()}:function(e){return e.replace(wu,"")},Pu=Du?function(e){return e.trimEnd()}:function(e){return e.replace(ku,"")};function Lu(e,t){return new RegExp(e,t)}if(Nu){var Fu=Lu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ou=function(e,t){var i;return Fu.lastIndex=t,null!==(i=Fu.exec(e)[1])&&void 0!==i?i:""}}else Ou=function(e,t){for(var i=[];;){var r=Uu(e,t);if(void 0===r||$u(r)||Xu(r))break;i.push(r),t+=r>=65536?2:1}return Gu.apply(void 0,i)};var ju,qu=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var r=[];!this.isEOF();){var n=this.char();if(123===n){if((o=this.parseArgument(e,i)).err)return o;r.push(o.val)}else{if(125===n&&e>0)break;if(35!==n||"plural"!==t&&"selectordinal"!==t){if(60===n&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(Fc.UNMATCHED_CLOSING_TAG,xu(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Hu(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:jc.pound,location:xu(s,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:jc.literal,value:"<".concat(r,"/>"),location:xu(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(e+1,t,!0);if(n.err)return n;var o=n.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Hu(this.char()))return this.error(Fc.INVALID_TAG,xu(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(Fc.UNMATCHED_CLOSING_TAG,xu(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:jc.tag,value:r,children:o,location:xu(i,this.clonePosition())},err:null}:this.error(Fc.INVALID_TAG,xu(s,this.clonePosition())))}return this.error(Fc.UNCLOSED_TAG,xu(i,this.clonePosition()))}return this.error(Fc.INVALID_TAG,xu(i,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Vu(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),r="";;){var n=this.tryParseQuote(t);if(n)r+=n;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=xu(i,this.clonePosition());return{val:{type:jc.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&function(e){return Hu(e)||47===e}(this.peek()||0)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return Gu.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),Gu(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xu(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Fc.EMPTY_ARGUMENT,xu(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Fc.MALFORMED_ARGUMENT,xu(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xu(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:jc.argument,value:r,location:xu(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xu(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(Fc.MALFORMED_ARGUMENT,xu(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Ou(this.message,t);return this.bumpTo(t+i.length),{value:i,location:xu(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,r){var n,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Fc.EXPECT_ARGUMENT_TYPE,xu(o,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((v=this.parseSimpleArgStyleIfPossible()).err)return v;if(0===(m=Pu(v.val)).length)return this.error(Fc.EXPECT_ARGUMENT_STYLE,xu(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:xu(h,this.clonePosition())}}if((g=this.tryParseArgumentClose(r)).err)return g;var c=xu(r,this.clonePosition());if(l&&zu(l?.style,"::",0)){var u=Bu(l.style.slice(2));if("number"===s)return(v=this.parseNumberSkeletonFromString(u,l.styleLocation)).err?v:{val:{type:jc.number,value:i,location:c,style:v.val},err:null};if(0===u.length)return this.error(Fc.EXPECT_DATE_TIME_SKELETON,c);var d=u;this.locale&&(d=function(e,t){for(var i="",r=0;r<e.length;r++){var n=e.charAt(r);if("j"===n){for(var o=0;r+1<e.length&&e.charAt(r+1)===n;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Eu(t);for(("H"==l||"k"==l)&&(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===n?"H":n}return i}(u,this.locale));var m={type:qc.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?au(d):{}};return{val:{type:"date"===s?jc.date:jc.time,value:i,location:c,style:m},err:null}}return{val:{type:"number"===s?jc.number:"date"===s?jc.date:jc.time,value:i,location:c,style:null!==(n=l?.style)&&void 0!==n?n:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Fc.EXPECT_SELECT_ARGUMENT_OPTIONS,xu(p,zc({},p)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),f=0;if("select"!==s&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(Fc.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,xu(this.clonePosition(),this.clonePosition()));var v;if(this.bumpSpace(),(v=this.tryParseDecimalInteger(Fc.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Fc.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return v;this.bumpSpace(),_=this.parseIdentifierIfPossible(),f=v.val}var g,b=this.tryParsePluralOrSelectOptions(e,s,t,_);if(b.err)return b;if((g=this.tryParseArgumentClose(r)).err)return g;var E=xu(r,this.clonePosition());return"select"===s?{val:{type:jc.select,value:i,options:Mu(b.val),location:E},err:null}:{val:{type:jc.plural,value:i,options:Mu(b.val),offset:f,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(Fc.INVALID_ARGUMENT_TYPE,xu(o,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xu(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Fc.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,xu(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(lu).filter((function(e){return e.length>0})),i=[],r=0,n=t;r<n.length;r++){var o=n[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,h=a;l<h.length;l++)if(0===h[l].length)throw new Error("Invalid number skeleton");i.push({stem:s,options:a})}return i}(e)}catch{return this.error(Fc.INVALID_NUMBER_SKELETON,t)}return{val:{type:qc.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?gu(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var n,o=!1,s=[],a=new Set,l=r.value,h=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var u=this.tryParseDecimalInteger(Fc.EXPECT_PLURAL_ARGUMENT_SELECTOR,Fc.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=xu(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?Fc.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Fc.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===l&&(o=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Fc.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Fc.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,xu(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var p=this.tryParseArgumentClose(d);if(p.err)return p;s.push([l,{value:m.val,location:xu(d,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(n=this.parseIdentifierIfPossible()).value,h=n.location}return 0===s.length?this.error("select"===t?Fc.EXPECT_SELECT_ARGUMENT_SELECTOR:Fc.EXPECT_PLURAL_ARGUMENT_SELECTOR,xu(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(Fc.MISSING_OTHER_CLAUSE,xu(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var n=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;n=!0,o=10*o+(s-48),this.bump()}var a=xu(r,this.clonePosition());return n?Ru(o*=i)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Uu(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(zu(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&$u(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null},e}();function Hu(e){return e>=97&&e<=122||e>=65&&e<=90}function Vu(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function $u(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Xu(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Ku(e){e.forEach((function(e){if(delete e.location,Jc(e)||eu(e))for(var t in e.options)delete e.options[t].location,Ku(e.options[t].value);else Wc(e)&&ru(e.style)||(Zc(e)||Qc(e))&&nu(e.style)?delete e.style.location:iu(e)&&Ku(e.children)}))}function Yu(e,t){void 0===t&&(t={}),t=zc({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new qu(e,t).parse();if(i.err){var r=SyntaxError(Fc[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t?.captureLocation||Ku(i.val),i.val}!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(ju||(ju={}));var Wu,Zu=function(e){function t(t,i,r){var n=e.call(this,t)||this;return n.code=i,n.originalMessage=r,n}return Oc(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Qu=function(e){function t(t,i,r,n){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),ju.INVALID_VALUE,n)||this}return Oc(t,e),t}(Zu),Ju=function(e){function t(t,i,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),ju.INVALID_VALUE,r)||this}return Oc(t,e),t}(Zu),ed=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),ju.MISSING_VALUE,i)||this}return Oc(t,e),t}(Zu);function td(e){return"function"==typeof e}function id(e,t,i,r,n,o,s){if(1===e.length&&Kc(e[0]))return[{type:Wu.literal,value:e[0].value}];for(var a=[],l=0,h=e;l<h.length;l++){var c=h[l];if(Kc(c))a.push({type:Wu.literal,value:c.value});else if(tu(c))"number"==typeof o&&a.push({type:Wu.literal,value:i.getNumberFormat(t).format(o)});else{var u=c.value;if(!n||!(u in n))throw new ed(u,s);var d=n[u];if(Yc(c))(!d||"string"==typeof d||"number"==typeof d)&&(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?Wu.literal:Wu.object,value:d});else if(Zc(c)){var m="string"==typeof c.style?r.date[c.style]:nu(c.style)?c.style.parsedOptions:void 0;a.push({type:Wu.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(Qc(c))m="string"==typeof c.style?r.time[c.style]:nu(c.style)?c.style.parsedOptions:r.time.medium,a.push({type:Wu.literal,value:i.getDateTimeFormat(t,m).format(d)});else if(Wc(c))(m="string"==typeof c.style?r.number[c.style]:ru(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(d*=m.scale||1),a.push({type:Wu.literal,value:i.getNumberFormat(t,m).format(d)});else{if(iu(c)){var p=c.children,_=c.value,f=n[_];if(!td(f))throw new Ju(_,"function",s);var v=f(id(p,t,i,r,n,o).map((function(e){return e.value})));Array.isArray(v)||(v=[v]),a.push.apply(a,v.map((function(e){return{type:"string"==typeof e?Wu.literal:Wu.object,value:e}})))}if(Jc(c)){if(!(g=c.options[d]||c.options.other))throw new Qu(c.value,d,Object.keys(c.options),s);a.push.apply(a,id(g.value,t,i,r,n))}else if(eu(c)){var g;if(!(g=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new Zu('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ju.MISSING_INTL_API,s);var b=i.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));g=c.options[b]||c.options.other}if(!g)throw new Qu(c.value,d,Object.keys(c.options),s);a.push.apply(a,id(g.value,t,i,r,n,d-(c.offset||0)))}}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===Wu.literal&&t.type===Wu.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function rd(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Wu||(Wu={}));var nd=function(){function e(t,i,r,n){void 0===i&&(i=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===Wu.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return id(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=o.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=function(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(e);n<r.length;n++)t.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(i[r[n]]=e[r[n]])}return i}(n||{},["formatters"]);this.ast=e.__parse(t,zc(zc({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((function(i,r){return i[r]=function(e,t){return t?zc(zc(zc({},e||{}),t||{}),Object.keys(e).reduce((function(i,r){return i[r]=zc(zc({},e[r]),t[r]||{}),i}),{})):e}(e[r],t[r]),i}),zc({},e)):e}(e.formats,r),this.formatters=n&&n.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Mc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Gc([void 0],t,!1)))}),{cache:rd(e.number),strategy:Xc.variadic}),getDateTimeFormat:Mc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Gc([void 0],t,!1)))}),{cache:rd(e.dateTime),strategy:Xc.variadic}),getPluralRules:Mc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Gc([void 0],t,!1)))}),{cache:rd(e.pluralRules),strategy:Xc.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(!(typeof Intl.Locale>"u")){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Yu,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const od={},sd=(e,t,i)=>i&&(t in od||(od[t]={}),e in od[t]||(od[t][e]=i),i),ad=(e,t)=>{if(null==t)return;if(t in od&&e in od[t])return od[t][e];const i=Rd(t);for(let r=0;r<i.length;r++){const n=ud(i[r],e);if(n)return sd(e,t,n)}};let ld;const hd=yc({});function cd(e){return e in ld}function ud(e,t){if(!cd(e))return null;const i=function(e){return ld[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let e=0;e<i.length;e++)if("object"==typeof r){if(e>0){const t=i.slice(e,i.length).join(".");if(t in r){r=r[t];break}}r=r[i[e]]}else r=void 0;return r}(i,t)}function dd(e,...t){delete od[e],hd.update((i=>(i[e]=Rc.all([i[e]||{},...t]),i)))}wc([hd],(([e])=>Object.keys(e))),hd.subscribe((e=>ld=e));const md={};function pd(e){return md[e]}function _d(e){return null!=e&&Rd(e).some((e=>{var t;return null==(t=pd(e))?void 0:t.size}))}const fd={};function vd(e){if(!_d(e))return e in fd?fd[e]:Promise.resolve();const t=function(e){return Rd(e).map((e=>{const t=pd(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return fd[e]=Promise.all(t.map((([e,t])=>function(e,t){return Promise.all(t.map((t=>(function(e,t){md[e].delete(t),0===md[e].size&&delete md[e]}(e,t),t().then((e=>e.default||e)))))).then((t=>dd(e,...t)))}(e,t)))).then((()=>{if(_d(e))return vd(e);delete fd[e]})),fd[e]}const gd={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function bd(){return gd}const Ed=yc(!1);var yd=Object.defineProperty,wd=Object.defineProperties,kd=Object.getOwnPropertyDescriptors,xd=Object.getOwnPropertySymbols,Sd=Object.prototype.hasOwnProperty,Ad=Object.prototype.propertyIsEnumerable,Id=(e,t,i)=>t in e?yd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let Cd;const Td=yc(null);function Dd(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function Rd(e,t=bd().fallbackLocale){const i=Dd(e);return t?[...new Set([...i,...Dd(t)])]:i}function Nd(){return Cd??void 0}Td.subscribe((e=>{Cd=e??void 0,typeof window<"u"&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Od=((e,t)=>wd(e,kd(t)))(((e,t)=>{for(var i in t||(t={}))Sd.call(t,i)&&Id(e,i,t[i]);if(xd)for(var i of xd(t))Ad.call(t,i)&&Id(e,i,t[i]);return e})({},Td),{set:e=>{if(e&&function(e){if(null==e)return;const t=Rd(e);for(let e=0;e<t.length;e++){const i=t[e];if(cd(i))return i}}(e)&&_d(e)){const{loadingDelay:t}=bd();let i;return typeof window<"u"&&null!=Nd()&&t?i=window.setTimeout((()=>Ed.set(!0)),t):Ed.set(!0),vd(e).then((()=>{Td.set(e)})).finally((()=>{clearTimeout(i),Ed.set(!1)}))}return Td.set(e)}}),zd=e=>{const t=Object.create(null);return i=>{const r=JSON.stringify(i);return r in t?t[r]:t[r]=e(i)}};var Gd=Object.defineProperty,Md=Object.getOwnPropertySymbols,Ud=Object.prototype.hasOwnProperty,Bd=Object.prototype.propertyIsEnumerable,Pd=(e,t,i)=>t in e?Gd(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Ld=(e,t)=>{for(var i in t||(t={}))Ud.call(t,i)&&Pd(e,i,t[i]);if(Md)for(var i of Md(t))Bd.call(t,i)&&Pd(e,i,t[i]);return e},Fd=(e,t)=>{var i={};for(var r in e)Ud.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&Md)for(var r of Md(e))t.indexOf(r)<0&&Bd.call(e,r)&&(i[r]=e[r]);return i};const jd=(e,t)=>{const{formats:i}=bd();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qd=zd((e=>{var t=e,{locale:i,format:r}=t,n=Fd(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=jd("number",r)),new Intl.NumberFormat(i,n)})),Hd=zd((e=>{var t=e,{locale:i,format:r}=t,n=Fd(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=jd("date",r):0===Object.keys(n).length&&(n=jd("date","short")),new Intl.DateTimeFormat(i,n)})),Vd=zd((e=>{var t=e,{locale:i,format:r}=t,n=Fd(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=jd("time",r):0===Object.keys(n).length&&(n=jd("time","short")),new Intl.DateTimeFormat(i,n)})),$d=zd(((e,t=Nd())=>new nd(e,t,bd().formats,{ignoreTag:bd().ignoreTag}))),Xd=(e,t={})=>{var i,r,n,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Nd(),default:h}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=ad(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(n=null==(r=(i=bd()).handleMissingMessage)?void 0:r.call(i,{locale:l,id:e,defaultValue:h}))?n:h)?o:e;if(!a)return c;let u=c;try{u=$d(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},Kd=(e,t)=>((e={})=>{var t=e,{locale:i=Nd()}=t,r=Fd(t,["locale"]);return Vd(Ld({locale:i},r))})(t).format(e),Yd=(e,t)=>((e={})=>{var t=e,{locale:i=Nd()}=t,r=Fd(t,["locale"]);return Hd(Ld({locale:i},r))})(t).format(e),Wd=(e,t)=>((e={})=>{var t=e,{locale:i=Nd()}=t,r=Fd(t,["locale"]);return qd(Ld({locale:i},r))})(t).format(e),Zd=(e,t=Nd())=>ad(e,t),Qd=wc([Od,hd],(()=>Xd));function Jd(e,t){dd(e,t)}wc([Od],(()=>Kd)),wc([Od],(()=>Yd)),wc([Od],(()=>Wd)),wc([Od,hd],(()=>Zd));const em={en:{invalidUrl:"Failed to construct 'URL': Invalid URL",fetchConsentsError:"Error: Could not fetch consents.",fetchPlayerConsentsError:"Error: Could not fetch player consents.",fetchConsentsCategoriesError:"Error: Could not fetch consents categories",updateConsentsError:"Error: Could not update consents.",saveChangesError:"Error: Could not save changes.",mustAcceptError:"Mandatory consents must be accepted.",title:"Consents",saveButtonContent:"Save Consents",description:"Here, you can explore and manage your preferences regarding how we collect and utilize your data. Your privacy matters to us, and this tool empowers you to make informed choices about your online experience.",marketing__category:"Marketing",Other__category:"Other",privacy__category:"Privacy and Data Sharing",dataSharing__name:"Data Sharing",dataSharing__description:"Data Sharing consent",emailMarketing__name:"Email Marketing",emailMarketing__description:"Email Marketing consent",smsMarketing__name:"SMS Marketing",smsMarketing__description:"SMS Marketing consent",cookiesAndTracking__name:"Cookies and Tracking",cookiesAndTracking__description:"Cookies and Tracking consent",termsandconditions__description:"Needed to prove user accepted terms and conditions.",emailmarketing__description:"Needed to prove email marketing consent.",sms__description:"Needed to prove sms marketing consent.","3rdparty__description":"Needed to prove 3rd party marketing consent.",noDataFound:"No data found for consents.",loading:"Loading...please wait",requiredError:"This field is mandatory",wrongModalConfig:"There was an error with the config! No expired consents found."},"zh-hk":{invalidUrl:"無法構建 'URL': 無效的URL",fetchConsentsError:"錯誤: 無法獲取同意。",fetchPlayerConsentsError:"錯誤: 無法獲取玩家同意。",fetchConsentsCategoriesError:"錯誤: 無法獲取同意類別。",updateConsentsError:"錯誤: 無法更新同意。",saveChangesError:"錯誤: 無法保存更改。",mustAcceptError:"必須接受強制性同意。",title:"同意",saveButtonContent:"保存同意",description:"在此,您可以探索和管理有關我們如何收集和使用您的數據的偏好。您的隱私對我們非常重要,這個工具可幫助您對您的在線體驗做出知情選擇。",marketing__category:"市場推廣",Other__category:"其他",privacy__category:"隱私與數據共享",dataSharing__name:"數據共享",dataSharing__description:"數據共享同意",emailMarketing__name:"電子郵件市場推廣",emailMarketing__description:"電子郵件市場推廣同意",smsMarketing__name:"短信市場推廣",smsMarketing__description:"短信市場推廣同意",cookiesAndTracking__name:"Cookies與追蹤",cookiesAndTracking__description:"Cookies與追蹤同意",termsandconditions__description:"用於證明用戶接受條款和條件。",emailmarketing__description:"用於證明電子郵件市場推廣同意。",sms__description:"用於證明短信市場推廣同意。","3rdparty__description":"用於證明第三方市場推廣同意。",noDataFound:"未找到同意數據。",loading:"加載中...請稍候",requiredError:"此字段為必填項",wrongModalConfig:"配置出錯!未找到過期的同意。"},de:{invalidUrl:"Fehler beim Erstellen von 'URL': Ungültige URL",fetchConsentsError:"Fehler: Konnte Einwilligungen nicht abrufen.",fetchPlayerConsentsError:"Fehler: Konnte Spielereinwilligungen nicht abrufen.",fetchConsentsCategoriesError:"Fehler: Konnte Einwilligungskategorien nicht abrufen.",updateConsentsError:"Fehler: Konnte Einwilligungen nicht aktualisieren.",saveChangesError:"Fehler: Änderungen konnten nicht gespeichert werden.",mustAcceptError:"Pflicht-Einwilligungen müssen akzeptiert werden.",title:"Einwilligungen",saveButtonContent:"Einwilligungen speichern",description:"Hier können Sie Ihre Präferenzen dazu verwalten, wie wir Ihre Daten sammeln und nutzen. Ihre Privatsphäre ist uns wichtig, und dieses Tool ermöglicht es Ihnen, informierte Entscheidungen über Ihr Online-Erlebnis zu treffen.",marketing__category:"Marketing",Other__category:"Sonstiges",privacy__category:"Datenschutz und Datenfreigabe",dataSharing__name:"Datenfreigabe",dataSharing__description:"Einwilligung zur Datenfreigabe",emailMarketing__name:"E-Mail-Marketing",emailMarketing__description:"Einwilligung für E-Mail-Marketing",smsMarketing__name:"SMS-Marketing",smsMarketing__description:"Einwilligung für SMS-Marketing",cookiesAndTracking__name:"Cookies und Tracking",cookiesAndTracking__description:"Einwilligung für Cookies und Tracking",termsandconditions__description:"Erforderlich, um nachzuweisen, dass der Benutzer die Bedingungen akzeptiert hat.",emailmarketing__description:"Erforderlich, um die Einwilligung für E-Mail-Marketing nachzuweisen.",sms__description:"Erforderlich, um die Einwilligung für SMS-Marketing nachzuweisen.","3rdparty__description":"Erforderlich, um die Einwilligung für Drittanbieter-Marketing nachzuweisen.",noDataFound:"Keine Daten zu Einwilligungen gefunden.",loading:"Wird geladen... bitte warten",requiredError:"Dieses Feld ist erforderlich",wrongModalConfig:"Ein Fehler in der Konfiguration ist aufgetreten! Keine abgelaufenen Einwilligungen gefunden."},it:{invalidUrl:"Impossibile costruire 'URL': URL non valido",fetchConsentsError:"Errore: Impossibile recuperare i consensi.",fetchPlayerConsentsError:"Errore: Impossibile recuperare i consensi del giocatore.",fetchConsentsCategoriesError:"Errore: Impossibile recuperare le categorie di consenso.",updateConsentsError:"Errore: Impossibile aggiornare i consensi.",saveChangesError:"Errore: Impossibile salvare le modifiche.",mustAcceptError:"I consensi obbligatori devono essere accettati.",title:"Consensi",saveButtonContent:"Salva Consensi",description:"Qui puoi esplorare e gestire le tue preferenze su come raccogliamo e utilizziamo i tuoi dati. La tua privacy è importante per noi e questo strumento ti consente di fare scelte informate sulla tua esperienza online.",marketing__category:"Marketing",Other__category:"Altro",privacy__category:"Privacy e Condivisione dei Dati",dataSharing__name:"Condivisione dei Dati",dataSharing__description:"Consenso alla condivisione dei dati",emailMarketing__name:"Email Marketing",emailMarketing__description:"Consenso all'email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Consenso all'SMS marketing",cookiesAndTracking__name:"Cookies e Tracciamento",cookiesAndTracking__description:"Consenso ai cookies e tracciamento",termsandconditions__description:"Necessario per dimostrare che l'utente ha accettato i termini e le condizioni.",emailmarketing__description:"Necessario per dimostrare il consenso all'email marketing.",sms__description:"Necessario per dimostrare il consenso all'SMS marketing.","3rdparty__description":"Necessario per dimostrare il consenso al marketing di terze parti.",noDataFound:"Nessun dato trovato per i consensi.",loading:"Caricamento... attendere",requiredError:"Questo campo è obbligatorio",wrongModalConfig:"Si è verificato un errore con la configurazione! Nessun consenso scaduto trovato."},fr:{invalidUrl:"Impossible de construire 'URL' : URL invalide",fetchConsentsError:"Erreur : Impossible de récupérer les consentements.",fetchPlayerConsentsError:"Erreur : Impossible de récupérer les consentements des joueurs.",fetchConsentsCategoriesError:"Erreur : Impossible de récupérer les catégories de consentement.",updateConsentsError:"Erreur : Impossible de mettre à jour les consentements.",saveChangesError:"Erreur : Impossible d'enregistrer les modifications.",mustAcceptError:"Les consentements obligatoires doivent être acceptés.",title:"Consentements",saveButtonContent:"Enregistrer les Consentements",description:"Ici, vous pouvez explorer et gérer vos préférences concernant la manière dont nous collectons et utilisons vos données. Votre vie privée est importante pour nous, et cet outil vous permet de faire des choix éclairés sur votre expérience en ligne.",marketing__category:"Marketing",Other__category:"Autre",privacy__category:"Confidentialité et Partage des Données",dataSharing__name:"Partage des Données",dataSharing__description:"Consentement au partage des données",emailMarketing__name:"Marketing par Email",emailMarketing__description:"Consentement au marketing par email",smsMarketing__name:"Marketing par SMS",smsMarketing__description:"Consentement au marketing par SMS",cookiesAndTracking__name:"Cookies et Suivi",cookiesAndTracking__description:"Consentement aux cookies et au suivi",termsandconditions__description:"Nécessaire pour prouver que l'utilisateur a accepté les termes et conditions.",emailmarketing__description:"Nécessaire pour prouver le consentement au marketing par email.",sms__description:"Nécessaire pour prouver le consentement au marketing par SMS.","3rdparty__description":"Nécessaire pour prouver le consentement au marketing tiers.",noDataFound:"Aucune donnée trouvée pour les consentements.",loading:"Chargement... veuillez patienter",requiredError:"Ce champ est obligatoire",wrongModalConfig:"Une erreur s'est produite avec la configuration ! Aucun consentement expiré trouvé."},es:{invalidUrl:"Error al construir 'URL': URL no válida",fetchConsentsError:"Error: No se pudieron obtener los consentimientos.",fetchPlayerConsentsError:"Error: No se pudieron obtener los consentimientos del jugador.",fetchConsentsCategoriesError:"Error: No se pudieron obtener las categorías de consentimiento.",updateConsentsError:"Error: No se pudieron actualizar los consentimientos.",saveChangesError:"Error: No se pudieron guardar los cambios.",mustAcceptError:"Se deben aceptar los consentimientos obligatorios.",title:"Consentimientos",saveButtonContent:"Guardar Consentimientos",description:"Aquí puedes explorar y gestionar tus preferencias sobre cómo recopilamos y utilizamos tus datos. Tu privacidad es importante para nosotros y esta herramienta te permite tomar decisiones informadas sobre tu experiencia en línea.",marketing__category:"Marketing",Other__category:"Otro",privacy__category:"Privacidad y Compartir Datos",dataSharing__name:"Compartir Datos",dataSharing__description:"Consentimiento para compartir datos",emailMarketing__name:"Email Marketing",emailMarketing__description:"Consentimiento para email marketing",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimiento para marketing por SMS",cookiesAndTracking__name:"Cookies y Seguimiento",cookiesAndTracking__description:"Consentimiento para cookies y seguimiento",termsandconditions__description:"Necesario para demostrar que el usuario aceptó los términos y condiciones.",emailmarketing__description:"Necesario para demostrar el consentimiento para email marketing.",sms__description:"Necesario para demostrar el consentimiento para marketing por SMS.","3rdparty__description":"Necesario para demostrar el consentimiento para marketing de terceros.",noDataFound:"No se encontraron datos para los consentimientos.",loading:"Cargando... por favor espera",requiredError:"Este campo es obligatorio",wrongModalConfig:"¡Hubo un error con la configuración! No se encontraron consentimientos expirados."},el:{invalidUrl:"Αποτυχία δημιουργίας 'URL': Μη έγκυρη διεύθυνση URL",fetchConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των συναινέσεων.",fetchPlayerConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των συναινέσεων παικτών.",fetchConsentsCategoriesError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των κατηγοριών συναινέσεων.",updateConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ενημέρωση των συναινέσεων.",saveChangesError:"Σφάλμα: Δεν ήταν δυνατή η αποθήκευση των αλλαγών.",mustAcceptError:"Πρέπει να αποδεχτείτε τις υποχρεωτικές συναινέσεις.",title:"Συναινέσεις",saveButtonContent:"Αποθήκευση Συναινέσεων",description:"Εδώ μπορείτε να εξερευνήσετε και να διαχειριστείτε τις προτιμήσεις σας σχετικά με το πώς συλλέγουμε και χρησιμοποιούμε τα δεδομένα σας. Η ιδιωτικότητά σας έχει σημασία για εμάς και αυτό το εργαλείο σας δίνει τη δυνατότητα να κάνετε ενημερωμένες επιλογές για την εμπειρία σας στο διαδίκτυο.",marketing__category:"Μάρκετινγκ",Other__category:"Άλλο",privacy__category:"Ιδιωτικότητα και Κοινοποίηση Δεδομένων",dataSharing__name:"Κοινοποίηση Δεδομένων",dataSharing__description:"Συναίνεση για κοινοποίηση δεδομένων",emailMarketing__name:"Email Marketing",emailMarketing__description:"Συναίνεση για email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Συναίνεση για SMS marketing",cookiesAndTracking__name:"Cookies και Παρακολούθηση",cookiesAndTracking__description:"Συναίνεση για cookies και παρακολούθηση",termsandconditions__description:"Απαιτείται για να αποδειχθεί ότι ο χρήστης αποδέχτηκε τους όρους και τις προϋποθέσεις.",emailmarketing__description:"Απαιτείται για να αποδειχθεί η συναίνεση για email marketing.",sms__description:"Απαιτείται για να αποδειχθεί η συναίνεση για SMS marketing.","3rdparty__description":"Απαιτείται για να αποδειχθεί η συναίνεση για marketing τρίτων.",noDataFound:"Δεν βρέθηκαν δεδομένα για τις συναινέσεις.",loading:"Φόρτωση... παρακαλώ περιμένετε",requiredError:"Αυτό το πεδίο είναι υποχρεωτικό",wrongModalConfig:"Παρουσιάστηκε σφάλμα με τη ρύθμιση! Δεν βρέθηκαν ληγμένες συναινέσεις."},tr:{invalidUrl:"'URL' oluşturulamadı: Geçersiz URL",fetchConsentsError:"Hata: Onaylar alınamadı.",fetchPlayerConsentsError:"Hata: Oyuncu onayları alınamadı.",fetchConsentsCategoriesError:"Hata: Onay kategorileri alınamadı.",updateConsentsError:"Hata: Onaylar güncellenemedi.",saveChangesError:"Hata: Değişiklikler kaydedilemedi.",mustAcceptError:"Zorunlu onaylar kabul edilmelidir.",title:"Onaylar",saveButtonContent:"Onayları Kaydet",description:"Burada, verilerinizi nasıl topladığımız ve kullandığımızla ilgili tercihlerinizi keşfedebilir ve yönetebilirsiniz. Gizliliğiniz bizim için önemlidir ve bu araç, çevrimiçi deneyiminiz hakkında bilinçli seçimler yapmanızı sağlar.",marketing__category:"Pazarlama",Other__category:"Diğer",privacy__category:"Gizlilik ve Veri Paylaşımı",dataSharing__name:"Veri Paylaşımı",dataSharing__description:"Veri paylaşımı onayı",emailMarketing__name:"E-posta Pazarlama",emailMarketing__description:"E-posta pazarlama onayı",smsMarketing__name:"SMS Pazarlama",smsMarketing__description:"SMS pazarlama onayı",cookiesAndTracking__name:"Çerezler ve İzleme",cookiesAndTracking__description:"Çerezler ve izleme onayı",termsandconditions__description:"Kullanıcının şartları ve koşulları kabul ettiğini kanıtlamak için gereklidir.",emailmarketing__description:"E-posta pazarlama onayı kanıtlamak için gereklidir.",sms__description:"SMS pazarlama onayı kanıtlamak için gereklidir.","3rdparty__description":"Üçüncü taraf pazarlama onayı kanıtlamak için gereklidir.",noDataFound:"Onaylarla ilgili veri bulunamadı.",loading:"Yükleniyor... lütfen bekleyin",requiredError:"Bu alan zorunludur",wrongModalConfig:"Yapılandırmada bir hata oluştu! Süresi dolmuş onay bulunamadı."},ru:{invalidUrl:"Не удалось создать 'URL': недопустимый URL",fetchConsentsError:"Ошибка: не удалось получить согласия.",fetchPlayerConsentsError:"Ошибка: не удалось получить согласия игроков.",fetchConsentsCategoriesError:"Ошибка: не удалось получить категории согласий.",updateConsentsError:"Ошибка: не удалось обновить согласия.",saveChangesError:"Ошибка: не удалось сохранить изменения.",mustAcceptError:"Обязательные согласия должны быть приняты.",title:"Согласия",saveButtonContent:"Сохранить согласия",description:"Здесь вы можете изучить и управлять своими предпочтениями относительно того, как мы собираем и используем ваши данные. Ваша конфиденциальность важна для нас, и этот инструмент помогает вам делать осознанный выбор о вашем онлайн-опыте.",marketing__category:"Маркетинг",Other__category:"Другое",privacy__category:"Конфиденциальность и Обмен Данными",dataSharing__name:"Обмен Данными",dataSharing__description:"Согласие на обмен данными",emailMarketing__name:"Email-Маркетинг",emailMarketing__description:"Согласие на email-маркетинг",smsMarketing__name:"SMS-Маркетинг",smsMarketing__description:"Согласие на SMS-маркетинг",cookiesAndTracking__name:"Cookies и Отслеживание",cookiesAndTracking__description:"Согласие на использование cookies и отслеживания",termsandconditions__description:"Необходимо для подтверждения принятия условий и положений.",emailmarketing__description:"Необходимо для подтверждения согласия на email-маркетинг.",sms__description:"Необходимо для подтверждения согласия на SMS-маркетинг.","3rdparty__description":"Необходимо для подтверждения согласия на маркетинг третьих лиц.",noDataFound:"Данные о согласиях не найдены.",loading:"Загрузка... пожалуйста, подождите",requiredError:"Это поле обязательно для заполнения",wrongModalConfig:"Произошла ошибка конфигурации! Истекшие согласия не найдены."},ro:{invalidUrl:"Nu s-a putut construi 'URL': URL invalid",fetchConsentsError:"Eroare: Nu s-au putut prelua consimțămintele.",fetchPlayerConsentsError:"Eroare: Nu s-au putut prelua consimțămintele utilizatorilor.",fetchConsentsCategoriesError:"Eroare: Nu s-au putut prelua categoriile de consimțământ.",updateConsentsError:"Eroare: Nu s-au putut actualiza consimțămintele.",saveChangesError:"Eroare: Nu s-au putut salva modificările.",mustAcceptError:"Consimțămintele obligatorii trebuie acceptate.",title:"Consimțăminte",saveButtonContent:"Salvează Consimțămintele",description:"Aici puteți explora și gestiona preferințele legate de modul în care colectăm și utilizăm datele dumneavoastră. Confidențialitatea dumneavoastră este importantă pentru noi, iar acest instrument vă ajută să luați decizii informate despre experiența dumneavoastră online.",marketing__category:"Marketing",Other__category:"Altele",privacy__category:"Confidențialitate și Partajare Date",dataSharing__name:"Partajare Date",dataSharing__description:"Consimțământ pentru partajarea datelor",emailMarketing__name:"Marketing prin Email",emailMarketing__description:"Consimțământ pentru marketing prin email",smsMarketing__name:"Marketing prin SMS",smsMarketing__description:"Consimțământ pentru marketing prin SMS",cookiesAndTracking__name:"Cookies și Urmărire",cookiesAndTracking__description:"Consimțământ pentru cookies și urmărire",termsandconditions__description:"Necesar pentru a demonstra acceptarea termenilor și condițiilor.",emailmarketing__description:"Necesar pentru a demonstra consimțământul pentru marketing prin email.",sms__description:"Necesar pentru a demonstra consimțământul pentru marketing prin SMS.","3rdparty__description":"Necesar pentru a demonstra consimțământul pentru marketing de la terți.",noDataFound:"Nu s-au găsit date pentru consimțăminte.",loading:"Se încarcă... vă rugăm să așteptați",requiredError:"Acest câmp este obligatoriu",wrongModalConfig:"A apărut o eroare în configurație! Nu s-au găsit consimțăminte expirate."},hr:{invalidUrl:"Nije moguće izraditi 'URL': Nevažeći URL",fetchConsentsError:"Greška: Nije moguće dohvatiti privole.",fetchPlayerConsentsError:"Greška: Nije moguće dohvatiti korisničke privole.",fetchConsentsCategoriesError:"Greška: Nije moguće dohvatiti kategorije privola.",updateConsentsError:"Greška: Nije moguće ažurirati privole.",saveChangesError:"Greška: Nije moguće spremiti promjene.",mustAcceptError:"Obavezne privole moraju biti prihvaćene.",title:"Privole",saveButtonContent:"Spremi Privole",description:"Ovdje možete istražiti i upravljati svojim preferencijama o tome kako prikupljamo i koristimo vaše podatke. Vaša privatnost nam je važna, a ovaj alat vam omogućuje donošenje informiranih odluka o vašem online iskustvu.",marketing__category:"Marketing",Other__category:"Ostalo",privacy__category:"Privatnost i Dijeljenje Podataka",dataSharing__name:"Dijeljenje Podataka",dataSharing__description:"Privola za dijeljenje podataka",emailMarketing__name:"Email Marketing",emailMarketing__description:"Privola za email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Privola za SMS marketing",cookiesAndTracking__name:"Kolačići i Praćenje",cookiesAndTracking__description:"Privola za kolačiće i praćenje",termsandconditions__description:"Potrebno za dokazivanje prihvaćanja uvjeta korištenja.",emailmarketing__description:"Potrebno za dokazivanje privole za email marketing.",sms__description:"Potrebno za dokazivanje privole za SMS marketing.","3rdparty__description":"Potrebno za dokazivanje privole za marketing treće strane.",noDataFound:"Nema podataka o privolama.",loading:"Učitavanje... molimo pričekajte",requiredError:"Ovo polje je obavezno",wrongModalConfig:"Došlo je do pogreške u konfiguraciji! Nisu pronađene istekle privole."},hu:{invalidUrl:"Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",fetchConsentsError:"Hiba: Nem sikerült lekérni a hozzájárulásokat.",fetchPlayerConsentsError:"Hiba: Nem sikerült lekérni a játékosok hozzájárulásait.",fetchConsentsCategoriesError:"Hiba: Nem sikerült lekérni a hozzájárulások kategóriáit.",updateConsentsError:"Hiba: Nem sikerült frissíteni a hozzájárulásokat.",saveChangesError:"Hiba: Nem sikerült menteni a módosításokat.",mustAcceptError:"A kötelező hozzájárulásokat el kell fogadni.",title:"Hozzájárulások",saveButtonContent:"Hozzájárulások Mentése",description:"Itt kezelheti és megismerheti azokat a preferenciákat, amelyek meghatározzák, hogyan gyűjtjük és használjuk fel az adatait. Az Ön adatvédelme fontos számunkra, és ez az eszköz lehetővé teszi, hogy tájékozott döntéseket hozzon az online élményéről.",marketing__category:"Marketing",Other__category:"Egyéb",privacy__category:"Adatvédelem és Adatmegosztás",dataSharing__name:"Adatmegosztás",dataSharing__description:"Hozzájárulás az adatmegosztáshoz",emailMarketing__name:"E-mail Marketing",emailMarketing__description:"Hozzájárulás az e-mail marketinghez",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Hozzájárulás az SMS marketinghez",cookiesAndTracking__name:"Sütik és Követés",cookiesAndTracking__description:"Hozzájárulás a sütikhez és a követéshez",termsandconditions__description:"Szükséges az Általános Szerződési Feltételek elfogadásának igazolásához.",emailmarketing__description:"Szükséges az e-mail marketing hozzájárulásának igazolásához.",sms__description:"Szükséges az SMS marketing hozzájárulásának igazolásához.","3rdparty__description":"Szükséges a harmadik felek marketingjéhez való hozzájárulás igazolásához.",noDataFound:"Nem található adat a hozzájárulásokról.",loading:"Betöltés... kérjük, várjon",requiredError:"Ez a mező kötelező",wrongModalConfig:"Hiba történt a konfigurációval! Nem található lejárt hozzájárulás."},pl:{invalidUrl:"Nie udało się utworzyć 'URL': Nieprawidłowy URL",fetchConsentsError:"Błąd: Nie udało się pobrać zgód.",fetchPlayerConsentsError:"Błąd: Nie udało się pobrać zgód użytkowników.",fetchConsentsCategoriesError:"Błąd: Nie udało się pobrać kategorii zgód.",updateConsentsError:"Błąd: Nie udało się zaktualizować zgód.",saveChangesError:"Błąd: Nie udało się zapisać zmian.",mustAcceptError:"Obowiązkowe zgody muszą zostać zaakceptowane.",title:"Zgody",saveButtonContent:"Zapisz Zgody",description:"Tutaj możesz eksplorować i zarządzać swoimi preferencjami dotyczącymi tego, jak zbieramy i wykorzystujemy Twoje dane. Twoja prywatność jest dla nas ważna, a to narzędzie pozwala podejmować świadome decyzje dotyczące Twojego doświadczenia online.",marketing__category:"Marketing",Other__category:"Inne",privacy__category:"Prywatność i Udostępnianie Danych",dataSharing__name:"Udostępnianie Danych",dataSharing__description:"Zgoda na udostępnianie danych",emailMarketing__name:"E-mail Marketing",emailMarketing__description:"Zgoda na e-mail marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Zgoda na SMS marketing",cookiesAndTracking__name:"Pliki Cookie i Śledzenie",cookiesAndTracking__description:"Zgoda na pliki cookie i śledzenie",termsandconditions__description:"Wymagane do potwierdzenia akceptacji warunków i zasad.",emailmarketing__description:"Wymagane do potwierdzenia zgody na e-mail marketing.",sms__description:"Wymagane do potwierdzenia zgody na SMS marketing.","3rdparty__description":"Wymagane do potwierdzenia zgody na marketing podmiotów trzecich.",noDataFound:"Nie znaleziono danych dotyczących zgód.",loading:"Ładowanie... proszę czekać",requiredError:"To pole jest wymagane",wrongModalConfig:"Wystąpił błąd konfiguracji! Nie znaleziono wygasłych zgód."},pt:{invalidUrl:"Não foi possível criar 'URL': URL inválido",fetchConsentsError:"Erro: Não foi possível obter os consentimentos.",fetchPlayerConsentsError:"Erro: Não foi possível obter os consentimentos dos utilizadores.",fetchConsentsCategoriesError:"Erro: Não foi possível obter as categorias de consentimento.",updateConsentsError:"Erro: Não foi possível atualizar os consentimentos.",saveChangesError:"Erro: Não foi possível salvar as alterações.",mustAcceptError:"Os consentimentos obrigatórios devem ser aceitos.",title:"Consentimentos",saveButtonContent:"Salvar Consentimentos",description:"Aqui, pode explorar e gerir as suas preferências relativamente à forma como recolhemos e utilizamos os seus dados. A sua privacidade é importante para nós e esta ferramenta permite-lhe tomar decisões informadas sobre a sua experiência online.",marketing__category:"Marketing",Other__category:"Outros",privacy__category:"Privacidade e Partilha de Dados",dataSharing__name:"Partilha de Dados",dataSharing__description:"Consentimento para partilha de dados",emailMarketing__name:"Marketing por Email",emailMarketing__description:"Consentimento para marketing por email",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimento para marketing por SMS",cookiesAndTracking__name:"Cookies e Rastreamento",cookiesAndTracking__description:"Consentimento para cookies e rastreamento",termsandconditions__description:"Necessário para comprovar a aceitação dos termos e condições.",emailmarketing__description:"Necessário para comprovar o consentimento para marketing por email.",sms__description:"Necessário para comprovar o consentimento para marketing por SMS.","3rdparty__description":"Necessário para comprovar o consentimento para marketing de terceiros.",noDataFound:"Nenhum dado encontrado para consentimentos.",loading:"Carregando... por favor, aguarde",requiredError:"Este campo é obrigatório",wrongModalConfig:"Ocorreu um erro na configuração! Nenhum consentimento expirado encontrado."},sl:{invalidUrl:"Ni bilo mogoče ustvariti 'URL': Neveljaven URL",fetchConsentsError:"Napaka: Ni bilo mogoče pridobiti soglasij.",fetchPlayerConsentsError:"Napaka: Ni bilo mogoče pridobiti uporabniških soglasij.",fetchConsentsCategoriesError:"Napaka: Ni bilo mogoče pridobiti kategorij soglasij.",updateConsentsError:"Napaka: Ni bilo mogoče posodobiti soglasij.",saveChangesError:"Napaka: Ni bilo mogoče shraniti sprememb.",mustAcceptError:"Obvezna soglasja je treba sprejeti.",title:"Soglasja",saveButtonContent:"Shrani Soglasja",description:"Tukaj lahko raziskujete in upravljate svoje nastavitve glede tega, kako zbiramo in uporabljamo vaše podatke. Vaša zasebnost je za nas pomembna, ta orodje pa vam omogoča informirane odločitve o vaši spletni izkušnji.",marketing__category:"Trženje",Other__category:"Drugo",privacy__category:"Zasebnost in Deljenje Podatkov",dataSharing__name:"Deljenje Podatkov",dataSharing__description:"Soglasje za deljenje podatkov",emailMarketing__name:"E-poštno Trženje",emailMarketing__description:"Soglasje za e-poštno trženje",smsMarketing__name:"SMS Trženje",smsMarketing__description:"Soglasje za SMS trženje",cookiesAndTracking__name:"Piškotki in Sledenje",cookiesAndTracking__description:"Soglasje za uporabo piškotkov in sledenja",termsandconditions__description:"Potrebno za potrditev sprejema pogojev in določil.",emailmarketing__description:"Potrebno za potrditev soglasja za e-poštno trženje.",sms__description:"Potrebno za potrditev soglasja za SMS trženje.","3rdparty__description":"Potrebno za potrditev soglasja za trženje tretjih oseb.",noDataFound:"Za soglasja ni bilo najdenih podatkov.",loading:"Nalaganje... prosimo, počakajte",requiredError:"To polje je obvezno",wrongModalConfig:"Prišlo je do napake v konfiguraciji! Potečena soglasja niso bila najdena."},sr:{invalidUrl:"Nije moguće kreirati 'URL': Nevažeći URL",fetchConsentsError:"Greška: Nije moguće dohvatiti saglasnosti.",fetchPlayerConsentsError:"Greška: Nije moguće dohvatiti korisničke saglasnosti.",fetchConsentsCategoriesError:"Greška: Nije moguće dohvatiti kategorije saglasnosti.",updateConsentsError:"Greška: Nije moguće ažurirati saglasnosti.",saveChangesError:"Greška: Nije moguće sačuvati promene.",mustAcceptError:"Obavezne saglasnosti moraju biti prihvaćene.",title:"Saglasnosti",saveButtonContent:"Sačuvaj Saglasnosti",description:"Ovde možete istražiti i upravljati svojim preferencijama o tome kako prikupljamo i koristimo vaše podatke. Vaša privatnost nam je važna, a ovaj alat vam omogućava donošenje informisanih odluka o vašem online iskustvu.",marketing__category:"Marketing",Other__category:"Ostalo",privacy__category:"Privatnost i Deljenje Podataka",dataSharing__name:"Deljenje Podataka",dataSharing__description:"Saglasnost za deljenje podataka",emailMarketing__name:"Email Marketing",emailMarketing__description:"Saglasnost za email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Saglasnost za SMS marketing",cookiesAndTracking__name:"Kolačići i Praćenje",cookiesAndTracking__description:"Saglasnost za kolačiće i praćenje",termsandconditions__description:"Potrebno za potvrdu prihvatanja uslova i pravila.",emailmarketing__description:"Potrebno za potvrdu saglasnosti za email marketing.",sms__description:"Potrebno za potvrdu saglasnosti za SMS marketing.","3rdparty__description":"Potrebno za potvrdu saglasnosti za marketing trećih lica.",noDataFound:"Nema podataka o saglasnostima.",loading:"Učitavanje... molimo sačekajte",requiredError:"Ovo polje je obavezno",wrongModalConfig:"Došlo je do greške u konfiguraciji! Nema pronađenih istekao saglasnosti."},"es-mx":{invalidUrl:"No se pudo construir 'URL': URL no válida",fetchConsentsError:"Error: No se pudieron obtener los consentimientos.",fetchPlayerConsentsError:"Error: No se pudieron obtener los consentimientos de los usuarios.",fetchConsentsCategoriesError:"Error: No se pudieron obtener las categorías de consentimiento.",updateConsentsError:"Error: No se pudieron actualizar los consentimientos.",saveChangesError:"Error: No se pudieron guardar los cambios.",mustAcceptError:"Se deben aceptar los consentimientos obligatorios.",title:"Consentimientos",saveButtonContent:"Guardar Consentimientos",description:"Aquí puedes explorar y administrar tus preferencias respecto a cómo recopilamos y utilizamos tus datos. Tu privacidad es importante para nosotros, y esta herramienta te permite tomar decisiones informadas sobre tu experiencia en línea.",marketing__category:"Marketing",Other__category:"Otros",privacy__category:"Privacidad y Compartición de Datos",dataSharing__name:"Compartición de Datos",dataSharing__description:"Consentimiento para la compartición de datos",emailMarketing__name:"Marketing por Correo Electrónico",emailMarketing__description:"Consentimiento para marketing por correo electrónico",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimiento para marketing por SMS",cookiesAndTracking__name:"Cookies y Rastreo",cookiesAndTracking__description:"Consentimiento para cookies y rastreo",termsandconditions__description:"Necesario para demostrar que se aceptaron los términos y condiciones.",emailmarketing__description:"Necesario para demostrar consentimiento para marketing por correo electrónico.",sms__description:"Necesario para demostrar consentimiento para marketing por SMS.","3rdparty__description":"Necesario para demostrar consentimiento para marketing de terceros.",noDataFound:"No se encontraron datos para consentimientos.",loading:"Cargando... por favor espera",requiredError:"Este campo es obligatorio",wrongModalConfig:"¡Hubo un error en la configuración! No se encontraron consentimientos vencidos."},"pt-br":{invalidUrl:"Não foi possível construir 'URL': URL inválida",fetchConsentsError:"Erro: Não foi possível buscar os consentimentos.",fetchPlayerConsentsError:"Erro: Não foi possível buscar os consentimentos dos usuários.",fetchConsentsCategoriesError:"Erro: Não foi possível buscar as categorias de consentimento.",updateConsentsError:"Erro: Não foi possível atualizar os consentimentos.",saveChangesError:"Erro: Não foi possível salvar as alterações.",mustAcceptError:"Os consentimentos obrigatórios devem ser aceitos.",title:"Consentimentos",saveButtonContent:"Salvar Consentimentos",description:"Aqui você pode explorar e gerenciar suas preferências sobre como coletamos e utilizamos seus dados. Sua privacidade é importante para nós, e esta ferramenta permite que você tome decisões informadas sobre sua experiência online.",marketing__category:"Marketing",Other__category:"Outros",privacy__category:"Privacidade e Compartilhamento de Dados",dataSharing__name:"Compartilhamento de Dados",dataSharing__description:"Consentimento para compartilhamento de dados",emailMarketing__name:"Marketing por E-mail",emailMarketing__description:"Consentimento para marketing por e-mail",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimento para marketing por SMS",cookiesAndTracking__name:"Cookies e Rastreamento",cookiesAndTracking__description:"Consentimento para cookies e rastreamento",termsandconditions__description:"Necessário para comprovar a aceitação dos termos e condições.",emailmarketing__description:"Necessário para comprovar consentimento para marketing por e-mail.",sms__description:"Necessário para comprovar consentimento para marketing por SMS.","3rdparty__description":"Necessário para comprovar consentimento para marketing de terceiros.",noDataFound:"Nenhum dado encontrado para consentimentos.",loading:"Carregando... por favor aguarde",requiredError:"Este campo é obrigatório",wrongModalConfig:"Houve um erro na configuração! Nenhum consentimento expirado encontrado."}};if(typeof window<"u"){let e=function(e){return function(...t){try{return e.apply(this,t)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=e(customElements.define),Promise.resolve().then((function(){return bc})).then((e=>e.G)).then((({default:e})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",e.element)}))}function tm(){let e,t;return{c(){e=Gh("svg"),t=Gh("path"),Lh(t,"d","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"),Lh(e,"xmlns","http://www.w3.org/2000/svg"),Lh(e,"viewBox","0 0 512 512")},m(i,r){Rh(i,e,r),Th(e,t)},p:yh,i:yh,o:yh,d(t){t&&Nh(e)}}}function im(e){Dh(e,"svelte-ltb9q9",'.DisplayNone.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:none}.ContainerCenter.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:30px}.AccordionHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:10px}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;padding:10px 0}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{padding-bottom:0}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{margin-bottom:0}.ConsentItem.svelte-ltb9q9 .ConsentName.svelte-ltb9q9.svelte-ltb9q9{margin:0}.ConsentItem.svelte-ltb9q9 .ConsentDescription.svelte-ltb9q9.svelte-ltb9q9{font-size:0.8rem}.ToggleSwitch.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:53px;height:30px}.ToggleSwitch.Big.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9.svelte-ltb9q9{opacity:0;width:0;height:0}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9{background-color:var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:disabled+.Slider.svelte-ltb9q9{opacity:0.1}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:focus+.Slider.svelte-ltb9q9{box-shadow:0 0 1px var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9{border-radius:34px}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9:before{border-radius:50%}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:disabled{background:var(--emw--color-pale, var(--emw--color-gray-50, #707070))}.ConsentErrorContainer.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-ltb9q9 circle-exclamation-icon.svelte-ltb9q9.svelte-ltb9q9{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox.svelte-ltb9q9.svelte-ltb9q9{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-ltb9q9.svelte-ltb9q9{position:relative}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__input.svelte-ltb9q9.svelte-ltb9q9{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label.svelte-ltb9q9.svelte-ltb9q9{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-ltb9q9.svelte-ltb9q9{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__error-message.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-ltb9q9.svelte-ltb9q9{width:16px;height:auto}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-ltb9q9.svelte-ltb9q9{opacity:1}')}function rm(e,t,i){const r=e.slice();return r[64]=t[i],r}function nm(e,t,i){const r=e.slice();return r[61]=t[i],r[62]=t,r[63]=i,r}function om(e,t,i){const r=e.slice();return r[64]=t[i],r}function sm(e){let t,i,r=oc(e[9]),n=[];for(let t=0;t<r.length;t+=1)n[t]=cm(rm(e,r,t));return{c(){t=zh("div"),i=zh("form");for(let e=0;e<n.length;e+=1)n[e].c();Lh(i,"class","checkbox svelte-ltb9q9"),Lh(t,"class","legacyStyle")},m(r,o){Rh(r,t,o),Th(t,i);for(let e=0;e<n.length;e+=1)n[e]&&n[e].m(i,null);e[31](i)},p(e,t){if(590336&t[0]){let o;for(r=oc(e[9]),o=0;o<r.length;o+=1){const s=rm(e,r,o);n[o]?n[o].p(s,t):(n[o]=cm(s),n[o].c(),n[o].m(i,null))}for(;o<n.length;o+=1)n[o].d(1);n.length=r.length}},d(i){i&&Nh(t),Oh(n,i),e[31](null)}}}function am(e){let t,i,r,n,o,s,a,l,h=e[16]("title")||e[16]("description"),c=(e[16]("saveButtonContent")||"Save Consents")+"",u=h&&um(e),d=oc(e[8]),m=[];for(let t=0;t<d.length;t+=1)m[t]=vm(nm(e,d,t));let p=e[6]&&gm(e);return{c(){u&&u.c(),t=Uh();for(let e=0;e<m.length;e+=1)m[e].c();i=Uh(),r=zh("button"),o=Uh(),p&&p.c(),s=Bh(),Lh(r,"class","SaveConsentsButton svelte-ltb9q9"),r.disabled=n=!e[14]},m(n,h){u&&u.m(n,h),Rh(n,t,h);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(n,h);Rh(n,i,h),Rh(n,r,h),r.innerHTML=c,Rh(n,o,h),p&&p.m(n,h),Rh(n,s,h),a||(l=Ph(r,"click",e[17]),a=!0)},p(e,o){if(65536&o[0]&&(h=e[16]("title")||e[16]("description")),h?u?u.p(e,o):(u=um(e),u.c(),u.m(t.parentNode,t)):u&&(u.d(1),u=null),867088&o[0]){let t;for(d=oc(e[8]),t=0;t<d.length;t+=1){const r=nm(e,d,t);m[t]?m[t].p(r,o):(m[t]=vm(r),m[t].c(),m[t].m(i.parentNode,i))}for(;t<m.length;t+=1)m[t].d(1);m.length=d.length}65536&o[0]&&c!==(c=(e[16]("saveButtonContent")||"Save Consents")+"")&&(r.innerHTML=c),16384&o[0]&&n!==(n=!e[14])&&(r.disabled=n),e[6]?p?p.p(e,o):(p=gm(e),p.c(),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},d(e){e&&(Nh(t),Nh(i),Nh(r),Nh(o),Nh(s)),u&&u.d(e),Oh(m,e),p&&p.d(e),a=!1,l()}}}function lm(e){let t,i,r;return{c(){t=zh("div"),i=zh("strong"),r=Mh(e[7]),Lh(i,"class","ErrorMessage svelte-ltb9q9"),Lh(t,"class","ContainerCenter svelte-ltb9q9")},m(e,n){Rh(e,t,n),Th(t,i),Th(i,r)},p(e,t){128&t[0]&&jh(r,e[7])},d(e){e&&Nh(t)}}}function hm(e){let t;return{c(){t=zh("general-animation-loading"),Fh(t,"clientstyling",e[1]),Fh(t,"clientstylingurl",e[2]),Fh(t,"mbsource",e[3])},m(e,i){Rh(e,t,i)},p(e,i){2&i[0]&&Fh(t,"clientstyling",e[1]),4&i[0]&&Fh(t,"clientstylingurl",e[2]),8&i[0]&&Fh(t,"mbsource",e[3])},d(e){e&&Nh(t)}}}function cm(e){let t,i,r,n,o,s,a,l,h,c,u,d,m,p,_,f,v,g=(e[16](`${e[64].tagCode}__description`)||e[64].tagCode)+"",b=e[64].mustAccept?" *":"";function E(...t){return e[30](e[64],...t)}return{c(){t=zh("div"),i=zh("input"),o=Uh(),s=zh("label"),a=zh("div"),l=new qh(!1),h=Mh(b),u=Uh(),d=zh("small"),p=Uh(),Lh(i,"class","checkbox__input svelte-ltb9q9"),Lh(i,"type","checkbox"),i.checked=r="1"===e[64].status,Lh(i,"id",n=`${e[64].tagCode}__input`),l.a=h,Lh(a,"class","checkbox__label-text svelte-ltb9q9"),Lh(s,"class","checkbox__label svelte-ltb9q9"),Lh(s,"for",c=`${e[64].tagCode}__input`),Lh(d,"class","checkbox__error-message svelte-ltb9q9"),Lh(d,"id",m="checkBoxError__"+e[64].tagCode),Lh(t,"class",_="checkbox__wrapper "+e[64].tagCode+"__input svelte-ltb9q9")},m(e,r){Rh(e,t,r),Th(t,i),Th(t,o),Th(t,s),Th(s,a),l.m(g,a),Th(a,h),Th(t,u),Th(t,d),Th(t,p),f||(v=Ph(i,"input",E),f=!0)},p(o,a){e=o,512&a[0]&&r!==(r="1"===e[64].status)&&(i.checked=r),512&a[0]&&n!==(n=`${e[64].tagCode}__input`)&&Lh(i,"id",n),66048&a[0]&&g!==(g=(e[16](`${e[64].tagCode}__description`)||e[64].tagCode)+"")&&l.p(g),512&a[0]&&b!==(b=e[64].mustAccept?" *":"")&&jh(h,b),512&a[0]&&c!==(c=`${e[64].tagCode}__input`)&&Lh(s,"for",c),512&a[0]&&m!==(m="checkBoxError__"+e[64].tagCode)&&Lh(d,"id",m),512&a[0]&&_!==(_="checkbox__wrapper "+e[64].tagCode+"__input svelte-ltb9q9")&&Lh(t,"class",_)},d(e){e&&Nh(t),f=!1,v()}}}function um(e){let t,i,r=e[16]("title"),n=e[16]("description"),o=r&&dm(e),s=n&&mm(e);return{c(){t=zh("div"),o&&o.c(),i=Uh(),s&&s.c(),Lh(t,"class","PlayerConsentsHeader svelte-ltb9q9")},m(e,r){Rh(e,t,r),o&&o.m(t,null),Th(t,i),s&&s.m(t,null)},p(e,a){65536&a[0]&&(r=e[16]("title")),r?o?o.p(e,a):(o=dm(e),o.c(),o.m(t,i)):o&&(o.d(1),o=null),65536&a[0]&&(n=e[16]("description")),n?s?s.p(e,a):(s=mm(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(e){e&&Nh(t),o&&o.d(),s&&s.d()}}}function dm(e){let t,i,r=e[16]("title")+"";return{c(){t=zh("h2"),i=Mh(r),Lh(t,"class","PlayerConsentsTitle")},m(e,r){Rh(e,t,r),Th(t,i)},p(e,t){65536&t[0]&&r!==(r=e[16]("title")+"")&&jh(i,r)},d(e){e&&Nh(t)}}}function mm(e){let t,i,r=e[16]("description")+"";return{c(){t=zh("p"),i=Mh(r),Lh(t,"class","PlayerConsentsDescription")},m(e,r){Rh(e,t,r),Th(t,i)},p(e,t){65536&t[0]&&r!==(r=e[16]("description")+"")&&jh(i,r)},d(e){e&&Nh(t)}}}function pm(){let e;return{c(){e=zh("sup"),e.textContent="*",Lh(e,"class","ConsentRequired svelte-ltb9q9")},m(t,i){Rh(t,e,i)},d(t){t&&Nh(e)}}}function _m(e){let t,i=(e[16](`${e[64].tagCode}__description`)||e[64].description)+"";return{c(){t=zh("p"),Lh(t,"class","ConsentDescription svelte-ltb9q9")},m(e,r){Rh(e,t,r),t.innerHTML=i},p(e,r){66304&r[0]&&i!==(i=(e[16](`${e[64].tagCode}__description`)||e[64].description)+"")&&(t.innerHTML=i)},d(e){e&&Nh(t)}}}function fm(e){let t,i,r,n,o,s,a,l,h,c,u,d,m,p,_,f=(e[16](`${e[64].tagCode}__name`)||e[64].friendlyName)+"",v=!0===e[64].mustAccept&&pm(),g="true"===e[4]&&_m(e);function b(...t){return e[29](e[64],...t)}return{c(){t=zh("div"),i=zh("div"),r=zh("h4"),n=new qh(!1),o=Uh(),v&&v.c(),s=Uh(),g&&g.c(),a=Uh(),l=zh("label"),h=zh("input"),d=Uh(),m=zh("span"),n.a=o,Lh(r,"class","ConsentName svelte-ltb9q9"),Lh(i,"class","ConsentContent"),Lh(h,"type","checkbox"),h.disabled=c=!0===e[64].mustAccept&&!0===e[12][e[64].tagCode],h.checked=u=e[13][e[64].tagCode],Lh(h,"class","svelte-ltb9q9"),Lh(m,"class","Slider Round svelte-ltb9q9"),Lh(l,"class","ToggleSwitch svelte-ltb9q9"),Lh(t,"class","ConsentItem svelte-ltb9q9")},m(e,c){Rh(e,t,c),Th(t,i),Th(i,r),n.m(f,r),Th(r,o),v&&v.m(r,null),Th(i,s),g&&g.m(i,null),Th(t,a),Th(t,l),Th(l,h),Th(l,d),Th(l,m),p||(_=Ph(h,"input",b),p=!0)},p(t,o){e=t,66304&o[0]&&f!==(f=(e[16](`${e[64].tagCode}__name`)||e[64].friendlyName)+"")&&n.p(f),!0===e[64].mustAccept?v||(v=pm(),v.c(),v.m(r,null)):v&&(v.d(1),v=null),"true"===e[4]?g?g.p(e,o):(g=_m(e),g.c(),g.m(i,null)):g&&(g.d(1),g=null),4864&o[0]&&c!==(c=!0===e[64].mustAccept&&!0===e[12][e[64].tagCode])&&(h.disabled=c),8960&o[0]&&u!==(u=e[13][e[64].tagCode])&&(h.checked=u)},d(e){e&&Nh(t),v&&v.d(),g&&g.d(),p=!1,_()}}}function vm(e){let t,i,r,n,o,s,a,l,h,c,u,d,m=(e[16](`${e[61].categoryTagCode}__category`)||e[61].friendlyName)+"";function p(){e[26].call(s,e[61])}function _(){return e[27](e[61])}function f(...t){return e[28](e[61],...t)}let v=oc(e[9].filter(f)),g=[];for(let t=0;t<v.length;t+=1)g[t]=fm(om(e,v,t));return{c(){t=zh("div"),i=zh("div"),r=zh("h3"),n=Uh(),o=zh("label"),s=zh("input"),a=Uh(),l=zh("span"),h=Uh(),c=zh("div");for(let e=0;e<g.length;e+=1)g[e].c();Lh(s,"type","checkbox"),Lh(s,"class","svelte-ltb9q9"),Lh(l,"class","Slider Round svelte-ltb9q9"),Lh(o,"class","ToggleSwitch Big svelte-ltb9q9"),Lh(i,"class","AccordionHeader svelte-ltb9q9"),Lh(c,"class","AccordionContent svelte-ltb9q9"),Lh(t,"class","AccordionItem svelte-ltb9q9")},m(f,v){Rh(f,t,v),Th(t,i),Th(i,r),r.innerHTML=m,Th(i,n),Th(i,o),Th(o,s),s.checked=e[11][e[61].categoryTagCode],Th(o,a),Th(o,l),Th(t,h),Th(t,c);for(let e=0;e<g.length;e+=1)g[e]&&g[e].m(c,null);u||(d=[Ph(s,"change",p),Ph(s,"change",_)],u=!0)},p(t,i){if(e=t,65792&i[0]&&m!==(m=(e[16](`${e[61].categoryTagCode}__category`)||e[61].friendlyName)+"")&&(r.innerHTML=m),2304&i[0]&&(s.checked=e[11][e[61].categoryTagCode]),602896&i[0]){let t;for(v=oc(e[9].filter(f)),t=0;t<v.length;t+=1){const r=om(e,v,t);g[t]?g[t].p(r,i):(g[t]=fm(r),g[t].c(),g[t].m(c,null))}for(;t<g.length;t+=1)g[t].d(1);g.length=v.length}},d(e){e&&Nh(t),Oh(g,e),u=!1,xh(d)}}}function gm(e){let t,i,r,n,o;return{c(){t=zh("div"),i=zh("circle-exclamation-icon"),r=Uh(),n=zh("strong"),o=Mh(e[6]),Fh(i,"class","svelte-ltb9q9"),Lh(n,"class","ErrorMessage svelte-ltb9q9"),Lh(t,"class","ConsentErrorContainer svelte-ltb9q9")},m(e,s){Rh(e,t,s),Th(t,i),Th(t,r),Th(t,n),Th(n,o)},p(e,t){64&t[0]&&jh(o,e[6])},d(e){e&&Nh(t)}}}function bm(e){let t,i;function r(e){return e[10]?hm:e[7]?lm:e[0]?am:e[0]?void 0:sm}let n=r(e),o=n&&n(e);return{c(){t=zh("div"),i=zh("div"),o&&o.c(),Lh(i,"class","ConsentsContainer svelte-ltb9q9"),Lh(t,"class"," svelte-ltb9q9")},m(r,n){Rh(r,t,n),Th(t,i),o&&o.m(i,null),e[32](i)},p(e,t){n===(n=r(e))&&o?o.p(e,t):(o&&o.d(1),o=n&&n(e),o&&(o.c(),o.m(i,null)))},i:yh,o:yh,d(i){i&&Nh(t),o&&o.d(),e[32](null)}}}function Em(e,t,i){let r;Ch(e,Qd,(e=>i(16,r=e)));let n,o,s,{session:a=""}=t,{userid:l=""}=t,{endpoint:h=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{mbsource:d}=t,{lang:m="en"}=t,{displayconsentdescription:p=""}=t,{translationurl:_=""}=t,{modalconsents:f="false"}=t,v=!1,g=!1,b="",E="",y="",w="",k=[],x=[],S=[],A=!0,I=!0,C={},T={},D={},R={},N={none:{key:"0",value:"None"},accepted:{key:"1",value:"Accepted"},expired:{key:"2",value:"Expired"},denied:{key:"3",value:"Denied"},suspended:{key:"4",value:"Suspended"}},O=!1;Object.keys(em).forEach((e=>{Jd(e,em[e])}));const z=(e,t=!1)=>{t?i(7,w=e):(U(),i(6,y=e))},G=async(e,t,i,n=!1)=>{try{const n=await fetch(e,i);if(!n.ok)throw new Error(r(t));const o=await n.json();return g?o:o.filter((e=>!0===e.showOnRegister))}catch(e){throw z(e instanceof TypeError?r(t):e.message,n),e}},M=async()=>{const e=new URL(`${h}/api/v1/gm/consents`);if(e.searchParams.append("Status","Active"),!g)return await G(e.href,"fetchConsentsError",{method:"GET"},!0);const t=new URL(`${h}/api/v1/gm/user-consents/${E}`);return await Promise.all([G(e.href,"fetchConsentsError",{method:"GET"},!0),G(t.href,"fetchPlayerConsentsError",{method:"GET",headers:{"X-SessionId":b,"Content-Type":"application/json"}})])},U=()=>{i(13,R={...D}),i(11,C={...T})},B=e=>{S.filter((t=>t.category.categoryTagCode===e)).forEach((t=>{t.status=t.status===N.denied.value?N.accepted.value:N.denied.value,i(13,R[t.tagCode]=C[e]||!1,R)})),i(14,o=j())},P=(e,t,n)=>{const o=S.find((e=>e.id===n)),a=t?"value":"key";let l;if(!t&&o.mustAccept){const e=Array.from(s.children);for(const t of e)if(l=Array.from(t.children).find((e=>e.getAttribute("id")===`checkBoxError__${o.tagCode}`)),l)break}if(o.status===N.accepted[a]?(o.status=N.denied[a],l&&(l.innerHTML=r("requiredError"))):(o.status=N.accepted[a],l&&(l.innerHTML="")),t){i(13,R[o.tagCode]=!R[o.tagCode],R);const e=S.filter((e=>e.category.categoryTagCode===t.categoryTagCode)).every((e=>e.status!==N.denied.value));i(11,C[t.categoryTagCode]=e,C)}L()},L=(e=>{let t;return function(...i){const r=this;clearTimeout(t),t=setTimeout((()=>{e.apply(r,i)}),500)}})((()=>F())),F=()=>{i(14,o=j()),a||(window.postMessage({type:"isConsentsValid",isValid:o}),localStorage.setItem("playerConsents",JSON.stringify(S)))},j=()=>0===S.filter((e=>S.some((t=>e.tagCode===t.tagCode&&t.mustAccept&&(e.status===N.denied.key||e.status===N.denied.value))))).length,q=e=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:e}},window.location.href)};return $h((()=>{setTimeout((()=>{i(25,v=!0)}),50);const e=e=>(e=>{e.data&&"setUpPlayerConsents"!==e.data.type||(e=>{const t=new URL(`${h}/api/v2/gm/legislation/consents`),r={method:"POST",body:JSON.stringify({playerConsents:S,registrationId:e}),headers:{"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,r).then((e=>{e.ok||(O=!0)})).catch((e=>(console.error(e),q(e)))).finally((()=>{i(10,A=!1)}))})(e.data.registerid)})(e);return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}})),e.$$set=e=>{"session"in e&&i(0,a=e.session),"userid"in e&&i(20,l=e.userid),"endpoint"in e&&i(21,h=e.endpoint),"clientstyling"in e&&i(1,c=e.clientstyling),"clientstylingurl"in e&&i(2,u=e.clientstylingurl),"mbsource"in e&&i(3,d=e.mbsource),"lang"in e&&i(22,m=e.lang),"displayconsentdescription"in e&&i(4,p=e.displayconsentdescription),"translationurl"in e&&i(23,_=e.translationurl),"modalconsents"in e&&i(24,f=e.modalconsents)},e.$$.update=()=>{33554433&e.$$.dirty[0]&&v&&a&&(a&&(b=a,g=!0),l&&(E=l),(async()=>{try{let e=[],t=[];if(g?[e,t]=await M():e=await M(),i(10,A=!1),x=[...e],i(8,k=(e=>{const t=new Map;return e.forEach((e=>{t.has(e.category.categoryTagCode)||t.set(e.category.categoryTagCode,e.category)})),Array.from(t.values())})(x).sort(((e,t)=>e.categoryTagCode.localeCompare(t.categoryTagCode)))),i(11,C=(e=>{const t=localStorage.getItem("categoryToggle"+E);if(null===t){const t=e.reduce(((e,t)=>(e[t.categoryTagCode]=!1,e)),{});return localStorage.setItem("categoryToggle"+E,JSON.stringify(t)),t}return JSON.parse(t)})(k)),T={...C},i(9,S=[...t]),x.forEach((e=>{let t=S.find((t=>t.tagCode===e.tagCode));t||(t={...e,status:N.denied.value},S.push(t)),t.description=e.description,t.orderNumber=e.orderNumber})),"true"===f){if(i(9,S=S.filter((e=>e.status===N.expired.value))),0!==S.length)return;z(r("wrongModalConfig"),!0)}S.forEach((e=>{i(12,D[e.tagCode]=e.status===N.accepted.value,D)})),i(13,R={...D})}catch(e){throw i(10,A=!1),z(e instanceof TypeError?r("invalidUrl"):e.message,!0),e}})()),1&e.$$.dirty[0]&&(a||(()=>{O=!1;const e=new URL(`${h}/api/v2/gm/legislation/consents`);fetch(e.href,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then((e=>e.ok?e.json():(O=!0,e.json().then((e=>(console.error(e),q(e))))))).then((e=>{if(!O){if(x=e,localStorage.getItem("playerConsents")){try{i(9,S=JSON.parse(localStorage.getItem("playerConsents")))}catch(e){return console.error(e),q(e)}return}return i(9,S=x.map((e=>({id:e.id,status:N.denied.key,friendlyName:e.friendlyName,tagCode:e.tagCode,selected:null,mustAccept:e.mustAccept})))),localStorage.setItem("playerConsents",JSON.stringify(S)),S}})).catch((e=>(console.error(e),q(e)))).finally((()=>{i(10,A=!1)}))})()),34&e.$$.dirty[0]&&c&&n&&uc(n,c),36&e.$$.dirty[0]&&u&&n&&dc(n,u),40&e.$$.dirty[0]&&n&&mc(n,`${d}.Style`),4194304&e.$$.dirty[0]&&m&&function(e){Od.set(e)}(m),8388608&e.$$.dirty[0]&&_&&(()=>{let e=new URL(_);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Jd(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[a,c,u,d,p,n,y,w,k,S,A,C,D,R,o,s,r,async()=>{if(!I)return;I=!1;const e=[],t=[];if(Object.keys(R).forEach((i=>{const r=S.find((e=>e.tagCode===i));R[i]!==D[i]&&(r?e.push({tagCode:i,status:R[i]?N.accepted.value:N.denied.value}):t.push({tagCode:i,status:R[i]?N.accepted.value:N.denied.value}))})),!g)return localStorage.setItem("categoryToggle"+E,JSON.stringify(C)),T={...C},window.postMessage({type:"NewPlayerConsentData",data:JSON.stringify(t)},window.location.href),void(I=!0);const n=new URL(`${h}/api/v1/gm/user-consents/${E}`);try{const r=await Promise.allSettled([t.length>0&&G(n.href,"updateConsentsError",{method:"POST",headers:{"X-SessionId":b,"Content-Type":"application/json"},body:JSON.stringify({userConsents:t})}),e.length>0&&G(n.href,"updateConsentsError",{method:"PATCH",headers:{"X-SessionId":b,"Content-Type":"application/json"},body:JSON.stringify({userConsents:e})})]);r.forEach(((r,n)=>{if("rejected"===r.status||!1===r.value.ok){const r=n<t.length?t[n]:e[n-t.length];i(13,R[r.tagCode]=D[r.tagCode],R)}})),r.every((e=>"fulfilled"===e.status))&&(localStorage.setItem("categoryToggle"+E,JSON.stringify(C)),T={...C},window.postMessage({type:"PlayerConsentUpdated",success:!0},window.location.href),i(12,D={...R}))}catch(e){z(e instanceof TypeError?r("saveChangesError"):e.message),window.postMessage({type:"PlayerConsentUpdated",success:!1},window.location.href)}finally{I=!0,i(14,o=!1)}},B,P,l,h,m,_,f,v,function(e){C[e.categoryTagCode]=this.checked,i(11,C)},e=>B(e.categoryTagCode),(e,t)=>t.category.categoryTagCode===e.categoryTagCode,e=>P(0,e.category,e.id),e=>P(0,null,e.id),function(e){Kh[e?"unshift":"push"]((()=>{s=e,i(15,s)}))},function(e){Kh[e?"unshift":"push"]((()=>{n=e,i(5,n)}))}]}customElements.define("circle-exclamation-icon",hc(class extends cc{constructor(e){super(),sc(this,e,null,tm,Ah,{})}},{},[],[],!0));class ym extends cc{constructor(e){super(),sc(this,e,Em,bm,Ah,{session:0,userid:20,endpoint:21,clientstyling:1,clientstylingurl:2,mbsource:3,lang:22,displayconsentdescription:4,translationurl:23,modalconsents:24},im,[-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),ic()}get userid(){return this.$$.ctx[20]}set userid(e){this.$$set({userid:e}),ic()}get endpoint(){return this.$$.ctx[21]}set endpoint(e){this.$$set({endpoint:e}),ic()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),ic()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),ic()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),ic()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),ic()}get displayconsentdescription(){return this.$$.ctx[4]}set displayconsentdescription(e){this.$$set({displayconsentdescription:e}),ic()}get translationurl(){return this.$$.ctx[23]}set translationurl(e){this.$$set({translationurl:e}),ic()}get modalconsents(){return this.$$.ctx[24]}set modalconsents(e){this.$$set({modalconsents:e}),ic()}}hc(ym,{session:{},userid:{},endpoint:{},clientstyling:{},clientstylingurl:{},mbsource:{},lang:{},displayconsentdescription:{},translationurl:{},modalconsents:{}},[],[],!0),customElements.define=function(e){return function(...t){try{return e.apply(this,t)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}}(customElements.define),!customElements.get("player-consents")&&customElements.define("player-consents",ym.element);const wm=class{constructor(i){e(this,i),this.registrationWidgetLoaded=t(this,"registrationWidgetLoaded",7),this.registrationStepUpdated=t(this,"registrationStepUpdated",7),this.language="en",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.btag=null,this.emitOnClick=!1,this.isConsentValid=!1,this.isConsentReady=!1,this.isLoading=!0,this.forms=[],this.limitStylingAppends=!1,this.autofilled=!1,this.listOfInputValues=[],this.listOfInputValidity=[],this.listOfActions=[],this.listOfInputs=[],this.emitValue=!1,this.backButtonPressed=!1,this.registerErrors=!1,this.extraActions=[],this.registrationStepsState={regId:null},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.host.shadowRoot.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,this.clientStyling=e,setTimeout((()=>{this.host.shadowRoot.prepend(t)}),1)}))}}sendStep(){this.registrationStepUpdated.emit(this.registrationStep),window.postMessage({type:"registrationStepUpdated",step:this.registrationStep},window.location.href)}handleStylingChange(e,t){e!==t&&this.setClientStyling()}handleStylingUrlChange(e,t){e!==t&&this.setClientStylingURL()}setFormValidity(){this.errorMessage="",this.listOfInputValidity&&(this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)),this.listOfInputs.some((e=>e.autofill))&&(this.autofilled=!0)}addBtag(){this.addBtagValue()}checkInputsValidityHandler(e){this.listOfInputValidity.find((t=>t.name==e.detail.name)).isValid=e.detail.valid,this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)}getInputsValueHandler(e){this.listOfInputValues.find((t=>{t.name==e.detail.name&&(t.value=e.detail.value,t.type=e.detail.type||null)})),this.stepsStateMachine({event:"set",type:"values"})}componentWillLoad(){return this.getRegisterConfig().then((e=>{this.formatConfig(e),this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity),this.stepsStateMachine({event:"set",type:"inputs"})}))}componentDidLoad(){this.registrationWidgetLoaded.emit(),window.postMessage({type:"registrationWidgetLoaded"},window.location.href),!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}messageHandler(e){e.data&&"isConsentsValid"!=e.data.type||(this.listOfInputValidity.find((e=>"Consents"===e.name)).isValid=!!e.data.isValid,this.isConsentValid=!!e.data.isValid,this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity))}nextHandler(e){e.preventDefault(),this.emitValue=!0,this.setRegisterStep()}backHandler(e){e.preventDefault(),this.registrationStep=this.stepChange("decrement"),this.stepsStateMachine({event:"get",type:"inputs"}),this.stepsStateMachine({event:"get",type:"values"})}dispatchRegisterCredentialsEvent(){let e="",t="";Object.keys(this.registrationStepsState).forEach((i=>{this.registrationStepsState[i].registerUserData&&(e||(e=this.registrationStepsState[i].registerUserData.Email?this.registrationStepsState[i].registerUserData.Email.value:e),t||(t=this.registrationStepsState[i].registerUserData.Password?this.registrationStepsState[i].registerUserData.Password.value:t))})),this.registerCredentialsEvent=new CustomEvent("RegisterCredentials",{bubbles:!0,detail:{userNameEmail:e,userPassword:t}}),window.dispatchEvent(this.registerCredentialsEvent)}stepsStateMachine(e){const t=()=>{localStorage.setItem("registrationStepsState",JSON.stringify(this.registrationStepsState))};switch(e.event){case"set":if("inputs"==e.type){const e=this.registrationStepsState[this.registrationStep];e.fields=this.listOfInputs,e.actions=this.listOfActions,e.fieldsValidity=this.listOfInputValidity}"values"==e.type&&(this.registrationStepsState[this.registrationStep].registerUserData=this.listOfInputValues.reduce(((e,t)=>(e[t.name]={value:t.value,isDuplicate:t.isDuplicate},e)),{})),t();break;case"get":const i=JSON.parse(localStorage.getItem("registrationStepsState"));if(!i)return;if("inputs"==e.type){const e=this.registrationStepsState[this.registrationStep];this.listOfInputs=e.fields,this.listOfActions=e.actions,this.listOfInputValidity=e.fieldsValidity}if("values"==e.type){const e=i[this.registrationStep].registerUserData;this.listOfInputValues=Object.keys(e).map((t=>({name:t,value:e[t].value,isDuplicate:e[t].isDuplicate}))),this.listOfInputValues.forEach((e=>{const t=this.listOfInputs.find((t=>t.name===e.name));t&&(t.defaultValue=e.value,"togglecheckbox"===t.inputType&&t.data.subFields.forEach((e=>{const t=this.listOfInputValues.find((t=>t.name===e.name));e.defaultValue=t.value})))}))}this.isConsentReady=this.listOfActions.some((e=>"/Consents"===e)),this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)}}getRegisterConfig(e){const t=new URL(`${this.endpoint}/v1/player/legislation/registration/config`),i=new Headers;i.append("Content-Type","application/json"),i.append("Accept","application/json"),e&&t.searchParams.append("registrationId",e);const r={method:"GET",headers:i};return new Promise(((e,i)=>{this.isLoading=!0,fetch(t.href,r).then((e=>e.json())).then((t=>{this.isLoading=!1,e(t)})).catch((e=>{this.isLoading=!1,console.error(e),i(e)})).finally((()=>{this.isLoading=!1}))}))}setRegisterStep(){this.isLoadingPOST=!0;const e=new URL(`${this.endpoint}/v1/player/legislation/registration/step`),t={registrationId:this.registrationID,registerUserDto:this.listOfInputValues.filter((e=>!e.isDuplicate)).reduce(((e,t)=>("TypeOfPublicArea"===t.name?e[t.name]=t.value.toLowerCase():"tel"===t.type?(e.MobilePrefix=t.value.prefix,e[t.name]=t.value.phone):"checkboxgroup"===t.type?null!==t.value&&Object.entries(t.value).forEach((([t,i])=>{e[t]=i?"true":"false"})):e[t.name]="toggle"===t.type?t.value?"true":"false":t.value,e)),{}),step:this.registrationStep},i=new Headers;i.append("Content-Type","application/json"),i.append("Accept","application/json");const r={method:"POST",body:JSON.stringify(t),headers:i};fetch(e.href,r).then((e=>e.ok?e.json():e.json().then((e=>{this.errorCode=e.thirdPartyResponse.errorCode,this.errorMessage="GmErr_BadRequest_IdomsoftVerification_ShouldRetry"==this.errorCode?e.thirdPartyResponse.message:"GmErr_Forbidden_UserAccount_NavExcluded"===this.errorCode?Eh(`${this.errorCode}`,this.language):"GmErr_BadRequest"==this.errorCode?e.thirdPartyResponse.message:Eh(`${this.errorCode}`,this.language)||Eh("generalError",this.language)})))).then((e=>{this.isLoadingPOST=!1,this.registrationID=e.registrationId,this.listOfActions.some((e=>"/register"==e))?(this.listOfActions.some((e=>"/generate-2FA-code/Generate2FACode"==e))&&this.extraActions.push("2fa"),localStorage.getItem("playerConsents")&&localStorage.removeItem("playerConsents"),this.setRegister()):(this.isConsentValid&&window.postMessage({type:"setUpPlayerConsents",registerid:this.registrationID}),this.registrationStep=this.stepChange("increment"),Object.keys(this.registrationStepsState).find((e=>e==this.registrationStep))?(this.stepsStateMachine({event:"get",type:"inputs"}),this.stepsStateMachine({event:"get",type:"values"})):this.getRegisterConfig(this.registrationID).then((e=>{this.formatConfig(e),this.stepsStateMachine({event:"set",type:"inputs"})})))})).catch((e=>{this.isLoadingPOST=!1,console.error(e)})).finally((()=>{this.isLoadingPOST=!1}))}setRegister(){this.isLoading=!0,this.registerErrors=!1;const e=new URL(`${this.endpoint}/v1/player/legislation/register`),t=new Headers;t.append("Content-Type","application/json"),t.append("Accept","application/json");const i={method:"PUT",body:JSON.stringify({registrationId:this.registrationID}),headers:t};fetch(e.href,i).then((e=>e.ok?e.json():(this.registerErrors=!0,e.json().then((e=>{this.errorCode=e.thirdPartyResponse.errorCode,this.errorMessage="GmErr_BadRequest_IdomsoftVerification_ShouldRetry"==this.errorCode||"GmErr_BadRequest"==this.errorCode?e.thirdPartyResponse.message:Eh(`${this.errorCode}`,this.language)||Eh("generalError",this.language),window.postMessage({type:"registrationFailed",errorMessage:null==e?void 0:e.thirdPartyResponse.message},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMessage}},window.location.href)}))))).then((e=>{this.isLoading=!1,this.registerErrors||(this.dispatchRegisterCredentialsEvent(),window.postMessage({type:"registrationSuccessful",userId:null==e?void 0:e.userId,extraActions:this.extraActions},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"success",message:Eh("successMessage",this.language)}},window.location.href))})).catch((e=>{this.isLoading=!1,console.error(e)})).finally((()=>{this.isLoading=!1}))}formatConfig(e){if(this.listOfInputs=e.content.fields.flatMap((e=>{const t=e.validate.custom.find((e=>"duplicate-input"===e.rule)),i=Object.assign({},e);return t?[i,Object.assign(Object.assign({},e),{name:`${e.name}Duplicate`,displayName:t.displayName,isDuplicateInput:!0})]:[i]})),this.listOfInputValidity=this.listOfInputs.reduce(((e,t)=>{var i;return"togglecheckbox"===(null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase())?t.data.subFields.forEach((t=>{e.push({name:t.name,isValid:this.setInitialValidStatus(t)})})):e.push({name:t.name,isValid:this.setInitialValidStatus(t)}),e}),[]),this.listOfInputValues=this.listOfInputs.reduce(((e,t)=>{var i;const r=null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase();return"togglecheckbox"===r&&t.data.subFields.forEach((t=>{var i;e.push({name:t.name,value:"checkbox"==(null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase())?"false":null,isDuplicate:t.isDuplicateInput||!1,type:"togglecheckbox"===r?"togglecheckbox":null})})),e.push({name:t.name,value:"checkbox"===r||"togglecheckbox"===r?"false":null,isDuplicate:t.isDuplicateInput||!1,type:"checkboxgroup"===r?"checkboxgroup":"togglecheckbox"===r?"toggle":null}),e}),[]),this.btag&&this.addBtagValue(),this.listOfActions=e.content.actions.map((e=>e)),this.registrationID=e.content.registrationID,this.registrationStep=e.content.step,this.listOfActions.some((e=>"/register"==e))&&(this.lastStep=this.registrationStep),this.listOfActions.some((e=>"/Consents"==e))){if(this.isConsentReady)return this.listOfInputValidity.find((e=>"Consents"===e.name)).isValid=!1,void(this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity));this.listOfInputValidity.push({name:"Consents",isValid:!1}),this.isConsentReady=!0}else this.isConsentReady=!1;var t;this.translationUrl?(t=this.translationUrl,new Promise((e=>{fetch(t).then((e=>e.json())).then((t=>{Object.keys(t).forEach((e=>{for(let i in t[e])bh[e][i]=t[e][i]})),e(!0)}))}))).then((()=>{this.listOfInputs.forEach((e=>{var t,i;return this.addTranslation(e),"togglecheckbox"===(null===(t=e.inputType)||void 0===t?void 0:t.toLowerCase())&&e.data.subFields.forEach((e=>this.addTranslation(e))),"checkboxgroup"===(null===(i=e.inputType)||void 0===i?void 0:i.toLowerCase())&&(this.addTranslation(e),e.data.subFields.forEach((e=>this.addTranslation(e)))),e}))})).catch((e=>{console.error("Failed to fetch translations:",e)})).finally((()=>{this.forms=[...this.forms,{[this.registrationStep]:this.listOfInputs}]})):this.forms=[...this.forms,{[this.registrationStep]:this.listOfInputs}],this.registrationStepsState.regId=this.registrationID,this.registrationStepsState[this.registrationStep]||(this.registrationStepsState[this.registrationStep]={fields:[],fieldsValidity:[],registerUserData:{},actions:[]})}addBtagValue(){const e=this.listOfInputs.find((e=>"btag"===e.name.toLowerCase()));e&&(e.defaultValue=this.btag);const t=this.listOfInputValues.find((e=>"btag"===e.name.toLowerCase()));t&&(t.value=this.btag)}addTranslation(e){bh[bh[this.language]?this.language:"en"][e.name]&&Object.keys(bh[this.language][e.name]).forEach((t=>{e[t]=bh[this.language][e.name][t]}))}setInitialValidStatus(e){var t,i,r,n;return"checkbox"==(null===(t=e.inputType)||void 0===t?void 0:t.toLowerCase())&&0==(null===(i=e.validate)||void 0===i?void 0:i.mandatory)||("checkbox"!==(null===(r=e.inputType)||void 0===r?void 0:r.toLowerCase())||!(null===(n=e.validate)||void 0===n?void 0:n.mandatory)||"true"===e.defaultValue)&&null!==e.defaultValue}stepChange(e){const t=parseInt(this.registrationStep.replace("Step",""));return"increment"===e?"Step"+(t+1):"decrement"===e?"Step"+(t-1):void 0}getInvalidStatus(e){return e.filter((e=>0==e.isValid)).length>0}renderForm(){return this.forms.map(((e,t)=>i("form",{action:".",id:`RegistrationForm${this.registrationStep}`,class:"registration__form "+(this.registrationStep!==`Step${t+1}`?"hidden":""),ref:e=>this.form=e},e[this.registrationStep]&&e[this.registrationStep].map((e=>i("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,options:e.data?"checkboxgroup"==e.inputType.toLowerCase()||"togglecheckbox"==e.inputType.toLowerCase()?e.data.subFields:e.data.values:[],defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,isDuplicateInput:e.isDuplicateInput,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:null==e.placeholder?"":e.placeholder,dateFormat:this.dateFormat,"translation-url":this.translationUrl,emitOnClick:this.emitOnClick}))),this.isConsentReady&&this.renderConsents(),this.buttonInsideForm&&this.renderButtons(),i("div",{class:"registration__wrapper--flex"},i("p",{class:"registration__error-message",innerHTML:this.errorMessage})))))}renderConsents(){return i("div",{class:"consentsContainer"},i("player-consents",{endpoint:this.endpoint}))}renderButtons(){return i("div",{class:"registration__buttons-wrapper "+(this.autofilled?"registration__buttons-wrapper--autofilled":"")},this.isLoadingPOST&&i("slot",{name:"spinner"})&&i("svg",{class:"spinner",viewBox:"0 0 50 50"},i("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"})),!this.isLoadingPOST&&i("button",{class:"registration__button registration__button--next "+(this.isFormValid?"":"registration__button--disabled"),type:"submit",form:`RegistrationForm${this.registrationStep}`,onClick:e=>this.nextHandler(e),disabled:!this.isFormValid},Eh(this.lastStep===this.registrationStep?"doneButton":"nextButton",this.language)),i("button",{class:"registration__button registration__button--back "+("Step1"==this.registrationStep?"registration__button--first-step":""),onClick:e=>this.backHandler(e)},Eh("backButton",this.language)))}render(){return this.isLoading?i("p",null,"Please wait, loading ..."):i("div",{class:`registration registration__${this.registrationStep}`},this.renderForm(),!this.buttonInsideForm&&this.renderButtons())}get host(){return r(this)}static get watchers(){return{registrationStep:["sendStep"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],forms:["setFormValidity"],btag:["addBtag"]}}};wm.style='*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.registration__form.hidden {\n display: none;\n}\n\n.registration {\n font-family: "Roboto";\n font-style: normal;\n font-family: sans-serif;\n display: flex;\n flex-direction: column;\n gap: 24px;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n}\n.registration__wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.registration__error-message {\n color: var(--emw--color-error, var(--emw--color-red, #ed0909));\n font-size: 13px;\n display: block;\n justify-content: center;\n text-align: center;\n}\n.registration__form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.registration__buttons-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n position: relative;\n}\n.registration__button {\n border-radius: 5px;\n background: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n border: 1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n color: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));\n text-transform: uppercase;\n font-size: 20px;\n height: 44px;\n width: 100%;\n margin: 0px auto;\n padding: 10px 20px;\n font-weight: normal;\n box-shadow: none;\n cursor: pointer;\n}\n.registration__button--disabled {\n background: var(--emw--color-gray-100, #E6E6E6);\n border: 1px solid var(--emw--color-gray-150, #828282);\n pointer-events: none;\n box-shadow: none;\n}\n.registration__button--first-step {\n display: none;\n}\n\n@container (min-width: 450px) {\n .registration__form {\n grid-template-columns: repeat(2, 1fr);\n }\n .registration__buttons-wrapper {\n flex-direction: row-reverse;\n gap: 15px;\n }\n}\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n width: 50px;\n height: 50px;\n}\n.spinner .path {\n stroke: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}';const km=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}return this.inputReference.validity.rangeUnderflow||this.inputReference.validity.rangeOverflow?s("numberLengthError",this.language,{values:{min:this.validation.min,max:this.validation.max}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"number__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"841265bba6b75cc61a0eac1450c3f5aa5f917a2e",class:`number__wrapper ${this.autofilled?"number__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"645c7817cf5a0bdc352de9d8c0698fde235aa6d3",class:"number__wrapper--flex"},i("label",{key:"3343cbbb8482b71cd152161a8d422f318f07f3fe",class:"number__label "+(this.validation.mandatory?"number__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"1f3341b2127095870610fc0e0b4b5d220c5d2e2c",class:"number__wrapper--relative"},this.tooltip&&i("img",{key:"8bbe2fe9f62347cbcd37b753d4a1b0718dc39091",class:"number__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"100401abdc33069f34e27e0807c9f31ddf7e42ec",ref:e=>this.inputReference=e,type:"number",value:this.defaultValue,readOnly:this.autofilled,id:`${this.name}__input`,class:`number__input ${e}`,pattern:this.validationPattern,placeholder:`${this.placeholder}`,required:this.validation.mandatory,max:this.validation.max,min:this.validation.min,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"db1e0043bb9b6de2ad8e18f49f96152b9451b93c",class:"number__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};km.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:"Roboto";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__wrapper--autofilled .number__input{color:var(--emw--color-black, #000000)}.number__wrapper--flex{display:flex;gap:5px}.number__wrapper--relative{position:relative}.number__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.number__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative;-moz-appearance:textfield;}.number__input:focus{outline-color:#3E3E3E}.number__input::-webkit-outer-spin-button,.number__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__input::placeholder{color:#979797}.number__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__tooltip-icon{width:16px;height:auto}.number__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.number__tooltip.visible{opacity:1}',
3990
3990
  /**
3991
3991
  * @license
3992
3992
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
@@ -4008,7 +4008,7 @@ const xm=e=>class extends(Is(e)){static get properties(){return{autocomplete:{ty
4008
4008
  * @license
4009
4009
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
4010
4010
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4011
- */;xe("vaadin-text-field",Ts,{moduleId:"vaadin-text-field-styles"});class Am extends(Sm(Ce(_r(Vi)))){static get is(){return"vaadin-text-field"}static get template(){return qi`
4011
+ */;xe("vaadin-text-field",Cs,{moduleId:"vaadin-text-field-styles"});class Am extends(Sm(Te(_r(Vi)))){static get is(){return"vaadin-text-field"}static get template(){return qi`
4012
4012
  <div class="vaadin-field-container">
4013
4013
  <div part="label">
4014
4014
  <slot name="label"></slot>
@@ -4074,22 +4074,22 @@ const xm=e=>class extends(Is(e)){static get properties(){return{autocomplete:{ty
4074
4074
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4075
4075
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4076
4076
  */
4077
- xe("vaadin-password-field-button",Go,{moduleId:"vaadin-password-field-button-styles"});class Im extends(Mo(dr(Ce(Vi)))){static get is(){return"vaadin-password-field-button"}static get template(){return qi``}}l(Im);
4077
+ xe("vaadin-password-field-button",Go,{moduleId:"vaadin-password-field-button-styles"});class Im extends(Mo(dr(Te(Vi)))){static get is(){return"vaadin-password-field-button"}static get template(){return qi``}}l(Im);
4078
4078
  /**
4079
4079
  * @license
4080
4080
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4081
4081
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4082
4082
  */
4083
- const Tm=e=>class extends(xs(rn(pn(gn(e))))){static get properties(){return{revealButtonHidden:{type:Boolean,observer:"_revealButtonHiddenChanged",value:!1},passwordVisible:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_passwordVisibleChanged",readOnly:!0},i18n:{type:Object,value:()=>({reveal:"Show password"})}}}static get observers(){return["__i18nChanged(i18n)"]}constructor(){super(),this._setType("password"),this.__boundRevealButtonClick=this._onRevealButtonClick.bind(this),this.__boundRevealButtonMouseDown=this._onRevealButtonMouseDown.bind(this),this.__lastChange=""}get slotStyles(){return[...super.slotStyles,`\n ${this.localName} [slot="input"]::-ms-reveal {\n display: none;\n }\n `]}get _revealNode(){return this._revealButtonController&&this._revealButtonController.node}ready(){super.ready(),this._revealPart=this.shadowRoot.querySelector('[part="reveal-button"]'),this._revealButtonController=new wr(this,"reveal","vaadin-password-field-button",{initializer:e=>{e.disabled=this.disabled,e.addEventListener("click",this.__boundRevealButtonClick),e.addEventListener("mousedown",this.__boundRevealButtonMouseDown)}}),this.addController(this._revealButtonController),this.__updateAriaLabel(this.i18n),this._updateToggleState(!1),this._toggleRevealHidden(this.revealButtonHidden),this.inputElement&&(this.inputElement.autocapitalize="off")}_onChange(e){super._onChange(e),this.__lastChange=this.inputElement.value}_shouldSetFocus(e){return e.target===this.inputElement||e.target===this._revealNode}_shouldRemoveFocus(e){return!(e.relatedTarget===this._revealNode||e.relatedTarget===this.inputElement&&e.target===this._revealNode)}_setFocused(e){if(super._setFocused(e),e){const e=this.getRootNode().activeElement===this._revealNode;this.toggleAttribute("focus-ring",this._keyboardActive&&!e)}else this._setPasswordVisible(!1),this.__lastChange!==this.inputElement.value&&(this.__lastChange=this.inputElement.value,this.dispatchEvent(new CustomEvent("change",{bubbles:!0})))}__updateAriaLabel(e){e&&e.reveal&&this._revealNode&&this._revealNode.setAttribute("aria-label",e.reveal)}__i18nChanged(e){this.__updateAriaLabel(e)}_revealButtonHiddenChanged(e){this._toggleRevealHidden(e)}_togglePasswordVisibility(){this._setPasswordVisible(!this.passwordVisible)}_onRevealButtonClick(){this._togglePasswordVisibility()}_onRevealButtonMouseDown(e){e.preventDefault(),this.inputElement.focus()}_toggleRevealHidden(e){this._revealNode&&(e?(this._revealPart.setAttribute("hidden",""),this._revealNode.setAttribute("tabindex","-1"),this._revealNode.setAttribute("aria-hidden","true")):(this._revealPart.removeAttribute("hidden"),this._revealNode.setAttribute("tabindex","0"),this._revealNode.removeAttribute("aria-hidden")))}_updateToggleState(e){this._revealNode&&this._revealNode.setAttribute("aria-pressed",e?"true":"false")}_passwordVisibleChanged(e){this._setType(e?"text":"password"),this._updateToggleState(e)}_disabledChanged(e,t){super._disabledChanged(e,t),this._revealNode&&(this._revealNode.disabled=e)}}
4083
+ const Cm=e=>class extends(xs(rn(pn(gn(e))))){static get properties(){return{revealButtonHidden:{type:Boolean,observer:"_revealButtonHiddenChanged",value:!1},passwordVisible:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_passwordVisibleChanged",readOnly:!0},i18n:{type:Object,value:()=>({reveal:"Show password"})}}}static get observers(){return["__i18nChanged(i18n)"]}constructor(){super(),this._setType("password"),this.__boundRevealButtonClick=this._onRevealButtonClick.bind(this),this.__boundRevealButtonMouseDown=this._onRevealButtonMouseDown.bind(this),this.__lastChange=""}get slotStyles(){return[...super.slotStyles,`\n ${this.localName} [slot="input"]::-ms-reveal {\n display: none;\n }\n `]}get _revealNode(){return this._revealButtonController&&this._revealButtonController.node}ready(){super.ready(),this._revealPart=this.shadowRoot.querySelector('[part="reveal-button"]'),this._revealButtonController=new wr(this,"reveal","vaadin-password-field-button",{initializer:e=>{e.disabled=this.disabled,e.addEventListener("click",this.__boundRevealButtonClick),e.addEventListener("mousedown",this.__boundRevealButtonMouseDown)}}),this.addController(this._revealButtonController),this.__updateAriaLabel(this.i18n),this._updateToggleState(!1),this._toggleRevealHidden(this.revealButtonHidden),this.inputElement&&(this.inputElement.autocapitalize="off")}_onChange(e){super._onChange(e),this.__lastChange=this.inputElement.value}_shouldSetFocus(e){return e.target===this.inputElement||e.target===this._revealNode}_shouldRemoveFocus(e){return!(e.relatedTarget===this._revealNode||e.relatedTarget===this.inputElement&&e.target===this._revealNode)}_setFocused(e){if(super._setFocused(e),e){const e=this.getRootNode().activeElement===this._revealNode;this.toggleAttribute("focus-ring",this._keyboardActive&&!e)}else this._setPasswordVisible(!1),this.__lastChange!==this.inputElement.value&&(this.__lastChange=this.inputElement.value,this.dispatchEvent(new CustomEvent("change",{bubbles:!0})))}__updateAriaLabel(e){e&&e.reveal&&this._revealNode&&this._revealNode.setAttribute("aria-label",e.reveal)}__i18nChanged(e){this.__updateAriaLabel(e)}_revealButtonHiddenChanged(e){this._toggleRevealHidden(e)}_togglePasswordVisibility(){this._setPasswordVisible(!this.passwordVisible)}_onRevealButtonClick(){this._togglePasswordVisibility()}_onRevealButtonMouseDown(e){e.preventDefault(),this.inputElement.focus()}_toggleRevealHidden(e){this._revealNode&&(e?(this._revealPart.setAttribute("hidden",""),this._revealNode.setAttribute("tabindex","-1"),this._revealNode.setAttribute("aria-hidden","true")):(this._revealPart.removeAttribute("hidden"),this._revealNode.setAttribute("tabindex","0"),this._revealNode.removeAttribute("aria-hidden")))}_updateToggleState(e){this._revealNode&&this._revealNode.setAttribute("aria-pressed",e?"true":"false")}_passwordVisibleChanged(e){this._setType(e?"text":"password"),this._updateToggleState(e)}_disabledChanged(e,t){super._disabledChanged(e,t),this._revealNode&&(this._revealNode.disabled=e)}}
4084
4084
  /**
4085
4085
  * @license
4086
4086
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4087
4087
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4088
- */,Cm=qi`
4088
+ */,Tm=qi`
4089
4089
  <div part="reveal-button" slot="suffix">
4090
4090
  <slot name="reveal"></slot>
4091
4091
  </div>
4092
- `;let Dm;class Rm extends(Tm(Am)){static get is(){return"vaadin-password-field"}static get template(){if(!Dm){Dm=super.template.cloneNode(!0);const e=Cm.content.querySelector('[part="reveal-button"]');Dm.content.querySelector('[part="input-field"]').appendChild(e)}return Dm}}l(Rm);const Nm=class{constructor(i){e(this,i),this.sendOriginalValidityState=t(this,"sendOriginalValidityState",7),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.value="",this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=e=>{this.value=e.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=e=>{e.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=e=>{this.value=e.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 e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&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){1==e&&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&&!0===this.touched&&(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((e=>"regex"===e.rule)).map((t=>{const i=new RegExp(t.pattern).test(e);return{rule:t.displayName,ruleKey:t.errorKey,passed:i}}))}setValidity(){var e,t;return(!this.isDuplicateInput||this.duplicateInputValue===this.value)&&!!(null===(e=this.passwordComplexity)||void 0===e?void 0:e.every((e=>e.passed)))&&(null===(t=this.inputReference)||void 0===t?void 0:t.validity.valid)}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.isDuplicateInput&&!this.originalValid)return s("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"password__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}renderComplexityPopup(){const e=this.passwordComplexity.length,t=this.passwordComplexity.filter((e=>e.passed)).length/e,r=this.passwordComplexity.every((e=>e.passed));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(r?"passwordStrengthStrong":"passwordStrengthWeak",this.language))),i("meter",{value:t,min:"0",max:"1"})),i("div",null,this.passwordComplexity.map(((e,t)=>i("div",{key:t},i("input",{class:"password__complexity--checkbox",type:"checkbox",checked:e.passed,disabled:!0}),i("span",null,s(`${e.ruleKey}`,this.language)?s(`${e.ruleKey}`,this.language):e.rule))))))}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"c704b51efdf53817beb1541b4794e0b11b490a24",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"e590afa403084ff95a8735ade400ab81ad16937f",class:"password__wrapper--flex"},i("label",{key:"9d8db00b59c4b9594538aeacee3ef5a0e678c0e9",class:"password__label "+(this.validation.mandatory?"password__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"bb39f6018cf688fafcd0b5bef91ba079edf09daf",class:"password__wrapper--relative"},this.tooltip&&i("img",{key:"d8dbd086da34a8c7db9b5826654530bdb888c927",class:"password__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("vaadin-password-field",{key:"ae1c212d663fe379561b1c514087629409196ac3",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:"2fa1e25239a7314399c16b2f897873b7a31e9f77",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return r(this)}static get watchers(){return{isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};Nm.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}';const Om=class{constructor(i){e(this,i),this.sendInputValue=t(this,"sendInputValue",7),this.sendValidityState=t(this,"sendValidityState",7),this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}validityStateHandler(e){this.sendValidityState.emit(e)}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)}handleClick(e){this.value=e.target.value,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"radio__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("fieldset",{key:"3d90735f7dc8fef6a96dc85b8f9ba22880cb205f",class:`radio__fieldset ${this.name}__input`,ref:e=>this.stylingContainer=e},i("legend",{key:"9472ed76f5c7fabb90d2b3d39eeb9e18f05a30dd",class:"radio__legend"},this.displayName,":"),this.optionsGroup.map((e=>i("div",{class:"radio__wrapper"},i("input",{type:"radio",class:"radio__input",id:`${e.label}__input`,ref:e=>this.inputReference=e,value:e.value,name:this.name,required:this.validation.mandatory,onClick:e=>this.handleClick(e)}),i("label",{htmlFor:`${e.label}__input`},e.label)))),i("small",{key:"2ae0947580bb8a0a3d889a2d9ebd0b82458fdfd2",class:"radio__error-message"},this.errorMessage),this.tooltip&&i("img",{key:"4f3cbf341f1c559bbdf44ca5d169be7a64d46e97",class:"radio__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())}static get watchers(){return{isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};Om.style="*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.radio__tooltip-icon{position:absolute;right:0;bottom:10px}.radio__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.radio__tooltip.visible{opacity:1}";const zm=_`
4092
+ `;let Dm;class Rm extends(Cm(Am)){static get is(){return"vaadin-password-field"}static get template(){if(!Dm){Dm=super.template.cloneNode(!0);const e=Tm.content.querySelector('[part="reveal-button"]');Dm.content.querySelector('[part="input-field"]').appendChild(e)}return Dm}}l(Rm);const Nm=class{constructor(i){e(this,i),this.sendOriginalValidityState=t(this,"sendOriginalValidityState",7),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.value="",this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=e=>{this.value=e.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=e=>{e.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=e=>{this.value=e.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 e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&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){1==e&&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&&!0===this.touched&&(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((e=>"regex"===e.rule)).map((t=>{const i=new RegExp(t.pattern).test(e);return{rule:t.displayName,ruleKey:t.errorKey,passed:i}}))}setValidity(){var e,t;return(!this.isDuplicateInput||this.duplicateInputValue===this.value)&&!!(null===(e=this.passwordComplexity)||void 0===e?void 0:e.every((e=>e.passed)))&&(null===(t=this.inputReference)||void 0===t?void 0:t.validity.valid)}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.isDuplicateInput&&!this.originalValid)return s("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"password__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}renderComplexityPopup(){const e=this.passwordComplexity.length,t=this.passwordComplexity.filter((e=>e.passed)).length/e,r=this.passwordComplexity.every((e=>e.passed));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(r?"passwordStrengthStrong":"passwordStrengthWeak",this.language))),i("meter",{value:t,min:"0",max:"1"})),i("div",null,this.passwordComplexity.map(((e,t)=>i("div",{key:t},i("input",{class:"password__complexity--checkbox",type:"checkbox",checked:e.passed,disabled:!0}),i("span",null,s(`${e.ruleKey}`,this.language)?s(`${e.ruleKey}`,this.language):e.rule))))))}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"36d21c63dcd15b6de2d2de417ce97b520493cd16",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7",class:"password__wrapper--flex"},i("label",{key:"74fee343f4d6adbbb22e88c5d51d3a471979d42e",class:"password__label "+(this.validation.mandatory?"password__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"d1f30d776c5612b1a5581859b929bee171105bf5",class:"password__wrapper--relative"},this.tooltip&&i("img",{key:"932201990b5fa67f448d4ab8ca7f844f757d5e47",class:"password__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("vaadin-password-field",{key:"83f00cb4452b60fd883efcd742d6eb463a8fc729",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:"0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};Nm.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}';const Om=class{constructor(i){e(this,i),this.sendInputValue=t(this,"sendInputValue",7),this.sendValidityState=t(this,"sendValidityState",7),this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}validityStateHandler(e){this.sendValidityState.emit(e)}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)}handleClick(e){this.value=e.target.value,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"radio__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("fieldset",{key:"29ff8fcc910622397750532629ac0c202c9726ba",class:`radio__fieldset ${this.name}__input`,ref:e=>this.stylingContainer=e},i("legend",{key:"cdab5b331863f3d31aab50c1d95b5a8845d53329",class:"radio__legend"},this.displayName,":"),this.optionsGroup.map((e=>i("div",{class:"radio__wrapper"},i("input",{type:"radio",class:"radio__input",id:`${e.label}__input`,ref:e=>this.inputReference=e,value:e.value,name:this.name,required:this.validation.mandatory,onClick:e=>this.handleClick(e)}),i("label",{htmlFor:`${e.label}__input`},e.label)))),i("small",{key:"bd6cd89510e7ace1348b391f3ce9ba334a03e695",class:"radio__error-message"},this.errorMessage),this.tooltip&&i("img",{key:"27036c51c89612dbb87e5248355d3a5466c49705",class:"radio__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};Om.style="*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.radio__tooltip-icon{position:absolute;right:0;bottom:10px}.radio__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.radio__tooltip.visible{opacity:1}";const zm=_`
4093
4093
  :host {
4094
4094
  display: flex;
4095
4095
  align-items: center;
@@ -4276,7 +4276,7 @@ const Gm=e=>class extends e{static get properties(){return{index:{type:Number},i
4276
4276
  * @license
4277
4277
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4278
4278
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4279
- */;class Mm extends(Gm(Ce(dr(Vi)))){static get template(){return qi`
4279
+ */;class Mm extends(Gm(Te(dr(Vi)))){static get template(){return qi`
4280
4280
  <style>
4281
4281
  :host {
4282
4282
  display: block;
@@ -4311,7 +4311,7 @@ const Um=e=>class extends(No(e)){static get observers(){return["_setOverlayWidth
4311
4311
  flex-direction: column;
4312
4312
  height: 100%;
4313
4313
  }
4314
- `],{moduleId:"vaadin-combo-box-overlay-styles"});class Bm extends(Um(To(dr(Ce(Vi))))){static get is(){return"vaadin-combo-box-overlay"}static get template(){return qi`
4314
+ `],{moduleId:"vaadin-combo-box-overlay-styles"});class Bm extends(Um(Co(dr(Te(Vi))))){static get is(){return"vaadin-combo-box-overlay"}static get template(){return qi`
4315
4315
  <div id="backdrop" part="backdrop" hidden></div>
4316
4316
  <div part="overlay" id="overlay">
4317
4317
  <div part="loader"></div>
@@ -4411,12 +4411,12 @@ const Ym=e=>class extends(As(e)){static get properties(){return{pattern:{type:St
4411
4411
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4412
4412
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4413
4413
  */
4414
- function ip(e){return null!=e}function rp(e,t){return e.findIndex((e=>!(e instanceof $m)&&t(e)))}const np=e=>class extends(Cs(An(zn(pn(nn(gn(rn(e)))))))){static get properties(){return{opened:{type:Boolean,notify:!0,value:!1,reflectToAttribute:!0,sync:!0,observer:"_openedChanged"},autoOpenDisabled:{type:Boolean,sync:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},renderer:{type:Object,sync:!0},items:{type:Array,sync:!0,observer:"_itemsChanged"},allowCustomValue:{type:Boolean,value:!1},filteredItems:{type:Array,observer:"_filteredItemsChanged",sync:!0},_lastCommittedValue:String,loading:{type:Boolean,value:!1,reflectToAttribute:!0,sync:!0},_focusedIndex:{type:Number,observer:"_focusedIndexChanged",value:-1,sync:!0},filter:{type:String,value:"",notify:!0,sync:!0},selectedItem:{type:Object,notify:!0,sync:!0},itemClassNameGenerator:{type:Object},itemLabelPath:{type:String,value:"label",observer:"_itemLabelPathChanged",sync:!0},itemValuePath:{type:String,value:"value",sync:!0},itemIdPath:{type:String,sync:!0},_toggleElement:{type:Object,observer:"_toggleElementChanged"},_dropdownItems:{type:Array,sync:!0},_closeOnBlurIsPrevented:Boolean,_scroller:{type:Object,sync:!0},_overlayOpened:{type:Boolean,sync:!0,observer:"_overlayOpenedChanged"},__keepOverlayOpened:{type:Boolean,sync:!0}}}static get observers(){return["_selectedItemChanged(selectedItem, itemValuePath, itemLabelPath)","_openedOrItemsChanged(opened, _dropdownItems, loading, __keepOverlayOpened)","_updateScroller(_scroller, _dropdownItems, opened, loading, selectedItem, itemIdPath, _focusedIndex, renderer, _theme, itemClassNameGenerator)"]}constructor(){super(),this._boundOverlaySelectedItemChanged=this._overlaySelectedItemChanged.bind(this),this._boundOnClearButtonMouseDown=this.__onClearButtonMouseDown.bind(this),this._boundOnClick=this._onClick.bind(this),this._boundOnOverlayTouchAction=this._onOverlayTouchAction.bind(this),this._boundOnTouchend=this._onTouchend.bind(this)}get _tagNamePrefix(){return"vaadin-combo-box"}get _nativeInput(){return this.inputElement}_inputElementChanged(e){super._inputElementChanged(e);const t=this._nativeInput;t&&(t.autocomplete="off",t.autocapitalize="off",t.setAttribute("role","combobox"),t.setAttribute("aria-autocomplete","list"),t.setAttribute("aria-expanded",!!this.opened),t.setAttribute("spellcheck","false"),t.setAttribute("autocorrect","off"),this._revertInputValueToValue(),this.clearElement&&this.clearElement.addEventListener("mousedown",this._boundOnClearButtonMouseDown))}ready(){super.ready(),this._initOverlay(),this._initScroller(),this._lastCommittedValue=this.value,this.addEventListener("click",this._boundOnClick),this.addEventListener("touchend",this._boundOnTouchend);const e=()=>{requestAnimationFrame((()=>{this._overlayElement.bringToFront()}))};var t;this.addEventListener("mousedown",e),this.addEventListener("touchstart",e),t=this,window.Vaadin&&window.Vaadin.templateRendererCallback?window.Vaadin.templateRendererCallback(t):t.querySelector("template")&&console.warn(`WARNING: <template> inside <${t.localName}> is no longer supported. Import @vaadin/polymer-legacy-adapter/template-renderer.js to enable compatibility.`),this.addController(new Ds(this))}disconnectedCallback(){super.disconnectedCallback(),this.close()}requestContentUpdate(){this._scroller&&(this._scroller.requestContentUpdate(),this._getItemElements().forEach((e=>{e.requestContentUpdate()})))}open(){this.disabled||this.readonly||(this.opened=!0)}close(){this.opened=!1}_propertiesChanged(e,t,i){super._propertiesChanged(e,t,i),void 0!==t.filter&&this._filterChanged(t.filter)}updated(e){super.updated(e),e.has("filter")&&this._filterChanged(this.filter)}_initOverlay(){const e=this.$.overlay;e._comboBox=this,e.addEventListener("touchend",this._boundOnOverlayTouchAction),e.addEventListener("touchmove",this._boundOnOverlayTouchAction),e.addEventListener("mousedown",(e=>e.preventDefault())),e.addEventListener("opened-changed",(e=>{this._overlayOpened=e.detail.value})),this._overlayElement=e}_initScroller(e){const t=document.createElement(`${this._tagNamePrefix}-scroller`);t.owner=e||this,t.getItemLabel=this._getItemLabel.bind(this),t.addEventListener("selection-changed",this._boundOverlaySelectedItemChanged);const i=this._overlayElement;i.renderer=e=>{e.innerHTML||e.appendChild(t)},i.requestContentUpdate(),this._scroller=t}_updateScroller(e,t,i,r,n,o,s,a,l,h){if(e&&(i&&(e.style.maxHeight=getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`)||"65vh"),e.setProperties({items:i?t:[],opened:i,loading:r,selectedItem:n,itemIdPath:o,focusedIndex:s,renderer:a,theme:l,itemClassNameGenerator:h}),e.performUpdate&&!e.hasUpdated))try{e.performUpdate()}catch(e){}}_openedOrItemsChanged(e,t,i,r){this._overlayOpened=e&&(r||i||!(!t||!t.length))}_overlayOpenedChanged(e,t){e?(this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-opened",{bubbles:!0,composed:!0})),this._onOpened()):t&&this._dropdownItems&&this._dropdownItems.length&&(this.close(),this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-closed",{bubbles:!0,composed:!0})))}_focusedIndexChanged(e,t){void 0!==t&&this._updateActiveDescendant(e)}_isInputFocused(){return this.inputElement&&dn(this.inputElement)}_updateActiveDescendant(e){const t=this._nativeInput;if(!t)return;const i=this._getItemElements().find((t=>t.index===e));i?t.setAttribute("aria-activedescendant",i.id):t.removeAttribute("aria-activedescendant")}_openedChanged(e,t){if(void 0===t)return;e?this._isInputFocused()||uo||this.inputElement&&this.inputElement.focus():this._onClosed();const i=this._nativeInput;i&&(i.setAttribute("aria-expanded",!!e),e?i.setAttribute("aria-controls",this._scroller.id):i.removeAttribute("aria-controls"))}_onOverlayTouchAction(){this._closeOnBlurIsPrevented=!0,this.inputElement.blur(),this._closeOnBlurIsPrevented=!1}_isClearButton(e){return e.composedPath()[0]===this.clearElement}__onClearButtonMouseDown(e){e.preventDefault(),this.inputElement.focus()}_onClearButtonClick(e){e.preventDefault(),this._onClearAction(),this.opened&&this.requestContentUpdate()}_onToggleButtonClick(e){e.preventDefault(),this.opened?this.close():this.open()}_onHostClick(e){this.autoOpenDisabled||(e.preventDefault(),this.open())}_onClick(e){this._isClearButton(e)?this._onClearButtonClick(e):e.composedPath().includes(this._toggleElement)?this._onToggleButtonClick(e):this._onHostClick(e)}_onKeyDown(e){super._onKeyDown(e),"ArrowDown"===e.key?(this._onArrowDown(),e.preventDefault()):"ArrowUp"===e.key&&(this._onArrowUp(),e.preventDefault())}_getItemLabel(e){let t=e&&this.itemLabelPath?Pm(this.itemLabelPath,e):void 0;return null==t&&(t=e?e.toString():""),t}_getItemValue(e){let t=e&&this.itemValuePath?Pm(this.itemValuePath,e):void 0;return void 0===t&&(t=e?e.toString():""),t}_onArrowDown(){if(this.opened){const e=this._dropdownItems;e&&(this._focusedIndex=Math.min(e.length-1,this._focusedIndex+1),this._prefillFocusedItemLabel())}else this.open()}_onArrowUp(){if(this.opened){if(this._focusedIndex>-1)this._focusedIndex=Math.max(0,this._focusedIndex-1);else{const e=this._dropdownItems;e&&(this._focusedIndex=e.length-1)}this._prefillFocusedItemLabel()}else this.open()}_prefillFocusedItemLabel(){this._focusedIndex>-1&&(this._inputElementValue=this._getItemLabel(this._dropdownItems[this._focusedIndex]),this._markAllSelectionRange())}_setSelectionRange(e,t){this._isInputFocused()&&this.inputElement.setSelectionRange&&this.inputElement.setSelectionRange(e,t)}_markAllSelectionRange(){void 0!==this._inputElementValue&&this._setSelectionRange(0,this._inputElementValue.length)}_clearSelectionRange(){if(void 0!==this._inputElementValue){const e=this._inputElementValue?this._inputElementValue.length:0;this._setSelectionRange(e,e)}}_closeOrCommit(){this.opened||this.loading?this.close():this._commitValue()}_onEnter(e){if(!this._hasValidInputValue())return e.preventDefault(),void e.stopPropagation();this.opened&&(e.preventDefault(),e.stopPropagation()),this._closeOrCommit()}_hasValidInputValue(){const e=this._focusedIndex<0&&""!==this._inputElementValue&&this._getItemLabel(this.selectedItem)!==this._inputElementValue;return this.allowCustomValue||!e}_onEscape(e){this.autoOpenDisabled&&(this.opened||this.value!==this._inputElementValue&&this._inputElementValue.length>0)?(e.stopPropagation(),this._focusedIndex=-1,this.cancel()):this.opened?(e.stopPropagation(),this._focusedIndex>-1?(this._focusedIndex=-1,this._revertInputValue()):this.cancel()):this.clearButtonVisible&&this.value&&!this.readonly&&(e.stopPropagation(),this._onClearAction())}_toggleElementChanged(e){e&&(e.addEventListener("mousedown",(e=>e.preventDefault())),e.addEventListener("click",(()=>{uo&&!this._isInputFocused()&&document.activeElement.blur()})))}_onClearAction(){this.selectedItem=null,this.allowCustomValue&&(this.value=""),this._detectAndDispatchChange()}_clearFilter(){this.filter=""}cancel(){this._revertInputValueToValue(),this._lastCommittedValue=this.value,this._closeOrCommit()}_onOpened(){this._lastCommittedValue=this.value}_onClosed(){this.loading&&!this.allowCustomValue||this._commitValue()}_commitValue(){if(this._focusedIndex>-1){const e=this._dropdownItems[this._focusedIndex];this.selectedItem!==e&&(this.selectedItem=e),this._inputElementValue=this._getItemLabel(this.selectedItem),this._focusedIndex=-1}else if(""===this._inputElementValue||void 0===this._inputElementValue)this.selectedItem=null,this.allowCustomValue&&(this.value="");else{const e=[this.selectedItem,...this._dropdownItems||[]],t=e[this.__getItemIndexByLabel(e,this._inputElementValue)];if(this.allowCustomValue&&!t){const e=this._inputElementValue;this._lastCustomValue=e;const t=new CustomEvent("custom-value-set",{detail:e,composed:!0,cancelable:!0,bubbles:!0});this.dispatchEvent(t),t.defaultPrevented||(this.value=e)}else this.allowCustomValue||this.opened||!t?this._revertInputValueToValue():this.value=this._getItemValue(t)}this._detectAndDispatchChange(),this._clearSelectionRange(),this._clearFilter()}_onInput(e){const t=this._inputElementValue,i={};this.filter===t?this._filterChanged(this.filter):i.filter=t,this.opened||this._isClearButton(e)||this.autoOpenDisabled||(i.opened=!0),this.setProperties(i)}_onChange(e){e.stopPropagation()}_itemLabelPathChanged(e){"string"!=typeof e&&console.error("You should set itemLabelPath to a valid string")}_filterChanged(e){this._scrollIntoView(0),this._focusedIndex=-1,this.items?this.filteredItems=this._filterItems(this.items,e):this._filteredItemsChanged(this.filteredItems)}_revertInputValue(){""!==this.filter?this._inputElementValue=this.filter:this._revertInputValueToValue(),this._clearSelectionRange()}_revertInputValueToValue(){this._inputElementValue=this.allowCustomValue&&!this.selectedItem?this.value:this._getItemLabel(this.selectedItem)}_selectedItemChanged(e){if(null==e)this.filteredItems&&(this.allowCustomValue||(this.value=""),this._toggleHasValue(this._hasValue),this._inputElementValue=this.value);else{const t=this._getItemValue(e);if(this.value!==t&&(this.value=t,this.value!==t))return;this._toggleHasValue(!0),this._inputElementValue=this._getItemLabel(e)}}_valueChanged(e,t){""===e&&void 0===t||(ip(e)?(this._getItemValue(this.selectedItem)!==e&&this._selectItemForValue(e),!this.selectedItem&&this.allowCustomValue&&(this._inputElementValue=e),this._toggleHasValue(this._hasValue)):this.selectedItem=null,this._clearFilter(),this._lastCommittedValue=void 0)}_detectAndDispatchChange(){document.hasFocus()&&this.validate(),this.value!==this._lastCommittedValue&&(this.dispatchEvent(new CustomEvent("change",{bubbles:!0})),this._lastCommittedValue=this.value)}_itemsChanged(e,t){this._ensureItemsOrDataProvider((()=>{this.items=t})),e?this.filteredItems=e.slice(0):t&&(this.filteredItems=null)}_filteredItemsChanged(e){this._setDropdownItems(e)}_filterItems(e,t){if(!e)return e;const i=e.filter((e=>(t=t?t.toString().toLowerCase():"",this._getItemLabel(e).toString().toLowerCase().indexOf(t)>-1)));return i}_selectItemForValue(e){const t=this.__getItemIndexByValue(this.filteredItems,e),i=this.selectedItem;this.selectedItem=t>=0?this.filteredItems[t]:this.dataProvider&&void 0===this.selectedItem?void 0:null,null===this.selectedItem&&null===i&&this._selectedItemChanged(this.selectedItem)}_setDropdownItems(e){const t=this._dropdownItems;this._dropdownItems=e;const i=t?t[this._focusedIndex]:null,r=this.__getItemIndexByValue(e,this.value);null==this.selectedItem&&r>=0&&(this.selectedItem=e[r]);const n=this.__getItemIndexByValue(e,this._getItemValue(i));this._focusedIndex=n>-1?n:this.__getItemIndexByLabel(e,this.filter)}_getItemElements(){return Array.from(this._scroller.querySelectorAll(`${this._tagNamePrefix}-item`))}_scrollIntoView(e){this._scroller&&this._scroller.scrollIntoView(e)}__getItemIndexByValue(e,t){return e&&ip(t)?rp(e,(e=>this._getItemValue(e)===t)):-1}__getItemIndexByLabel(e,t){return e&&t?rp(e,(e=>this._getItemLabel(e).toString().toLowerCase()===t.toString().toLowerCase())):-1}_overlaySelectedItemChanged(e){e.stopPropagation(),e.detail.item instanceof $m||this.opened&&(this._focusedIndex=this.filteredItems.indexOf(e.detail.item),this.close())}_setFocused(e){if(super._setFocused(e),!e&&!this.readonly&&!this._closeOnBlurIsPrevented){if(!this.opened&&this.allowCustomValue&&this._inputElementValue===this._lastCustomValue)return void delete this._lastCustomValue;if(ln())return void this._closeOrCommit();this.opened?this._overlayOpened||this.close():this._commitValue()}}_shouldRemoveFocus(e){return!(e.relatedTarget&&e.relatedTarget.localName===`${this._tagNamePrefix}-item`||e.relatedTarget===this._overlayElement&&(e.composedPath()[0].focus(),1))}_onTouchend(e){this.clearElement&&e.composedPath()[0]===this.clearElement&&(e.preventDefault(),this._onClearAction())}}
4414
+ function ip(e){return null!=e}function rp(e,t){return e.findIndex((e=>!(e instanceof $m)&&t(e)))}const np=e=>class extends(Ts(An(zn(pn(nn(gn(rn(e)))))))){static get properties(){return{opened:{type:Boolean,notify:!0,value:!1,reflectToAttribute:!0,sync:!0,observer:"_openedChanged"},autoOpenDisabled:{type:Boolean,sync:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},renderer:{type:Object,sync:!0},items:{type:Array,sync:!0,observer:"_itemsChanged"},allowCustomValue:{type:Boolean,value:!1},filteredItems:{type:Array,observer:"_filteredItemsChanged",sync:!0},_lastCommittedValue:String,loading:{type:Boolean,value:!1,reflectToAttribute:!0,sync:!0},_focusedIndex:{type:Number,observer:"_focusedIndexChanged",value:-1,sync:!0},filter:{type:String,value:"",notify:!0,sync:!0},selectedItem:{type:Object,notify:!0,sync:!0},itemClassNameGenerator:{type:Object},itemLabelPath:{type:String,value:"label",observer:"_itemLabelPathChanged",sync:!0},itemValuePath:{type:String,value:"value",sync:!0},itemIdPath:{type:String,sync:!0},_toggleElement:{type:Object,observer:"_toggleElementChanged"},_dropdownItems:{type:Array,sync:!0},_closeOnBlurIsPrevented:Boolean,_scroller:{type:Object,sync:!0},_overlayOpened:{type:Boolean,sync:!0,observer:"_overlayOpenedChanged"},__keepOverlayOpened:{type:Boolean,sync:!0}}}static get observers(){return["_selectedItemChanged(selectedItem, itemValuePath, itemLabelPath)","_openedOrItemsChanged(opened, _dropdownItems, loading, __keepOverlayOpened)","_updateScroller(_scroller, _dropdownItems, opened, loading, selectedItem, itemIdPath, _focusedIndex, renderer, _theme, itemClassNameGenerator)"]}constructor(){super(),this._boundOverlaySelectedItemChanged=this._overlaySelectedItemChanged.bind(this),this._boundOnClearButtonMouseDown=this.__onClearButtonMouseDown.bind(this),this._boundOnClick=this._onClick.bind(this),this._boundOnOverlayTouchAction=this._onOverlayTouchAction.bind(this),this._boundOnTouchend=this._onTouchend.bind(this)}get _tagNamePrefix(){return"vaadin-combo-box"}get _nativeInput(){return this.inputElement}_inputElementChanged(e){super._inputElementChanged(e);const t=this._nativeInput;t&&(t.autocomplete="off",t.autocapitalize="off",t.setAttribute("role","combobox"),t.setAttribute("aria-autocomplete","list"),t.setAttribute("aria-expanded",!!this.opened),t.setAttribute("spellcheck","false"),t.setAttribute("autocorrect","off"),this._revertInputValueToValue(),this.clearElement&&this.clearElement.addEventListener("mousedown",this._boundOnClearButtonMouseDown))}ready(){super.ready(),this._initOverlay(),this._initScroller(),this._lastCommittedValue=this.value,this.addEventListener("click",this._boundOnClick),this.addEventListener("touchend",this._boundOnTouchend);const e=()=>{requestAnimationFrame((()=>{this._overlayElement.bringToFront()}))};var t;this.addEventListener("mousedown",e),this.addEventListener("touchstart",e),t=this,window.Vaadin&&window.Vaadin.templateRendererCallback?window.Vaadin.templateRendererCallback(t):t.querySelector("template")&&console.warn(`WARNING: <template> inside <${t.localName}> is no longer supported. Import @vaadin/polymer-legacy-adapter/template-renderer.js to enable compatibility.`),this.addController(new Ds(this))}disconnectedCallback(){super.disconnectedCallback(),this.close()}requestContentUpdate(){this._scroller&&(this._scroller.requestContentUpdate(),this._getItemElements().forEach((e=>{e.requestContentUpdate()})))}open(){this.disabled||this.readonly||(this.opened=!0)}close(){this.opened=!1}_propertiesChanged(e,t,i){super._propertiesChanged(e,t,i),void 0!==t.filter&&this._filterChanged(t.filter)}updated(e){super.updated(e),e.has("filter")&&this._filterChanged(this.filter)}_initOverlay(){const e=this.$.overlay;e._comboBox=this,e.addEventListener("touchend",this._boundOnOverlayTouchAction),e.addEventListener("touchmove",this._boundOnOverlayTouchAction),e.addEventListener("mousedown",(e=>e.preventDefault())),e.addEventListener("opened-changed",(e=>{this._overlayOpened=e.detail.value})),this._overlayElement=e}_initScroller(e){const t=document.createElement(`${this._tagNamePrefix}-scroller`);t.owner=e||this,t.getItemLabel=this._getItemLabel.bind(this),t.addEventListener("selection-changed",this._boundOverlaySelectedItemChanged);const i=this._overlayElement;i.renderer=e=>{e.innerHTML||e.appendChild(t)},i.requestContentUpdate(),this._scroller=t}_updateScroller(e,t,i,r,n,o,s,a,l,h){if(e&&(i&&(e.style.maxHeight=getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`)||"65vh"),e.setProperties({items:i?t:[],opened:i,loading:r,selectedItem:n,itemIdPath:o,focusedIndex:s,renderer:a,theme:l,itemClassNameGenerator:h}),e.performUpdate&&!e.hasUpdated))try{e.performUpdate()}catch(e){}}_openedOrItemsChanged(e,t,i,r){this._overlayOpened=e&&(r||i||!(!t||!t.length))}_overlayOpenedChanged(e,t){e?(this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-opened",{bubbles:!0,composed:!0})),this._onOpened()):t&&this._dropdownItems&&this._dropdownItems.length&&(this.close(),this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-closed",{bubbles:!0,composed:!0})))}_focusedIndexChanged(e,t){void 0!==t&&this._updateActiveDescendant(e)}_isInputFocused(){return this.inputElement&&dn(this.inputElement)}_updateActiveDescendant(e){const t=this._nativeInput;if(!t)return;const i=this._getItemElements().find((t=>t.index===e));i?t.setAttribute("aria-activedescendant",i.id):t.removeAttribute("aria-activedescendant")}_openedChanged(e,t){if(void 0===t)return;e?this._isInputFocused()||uo||this.inputElement&&this.inputElement.focus():this._onClosed();const i=this._nativeInput;i&&(i.setAttribute("aria-expanded",!!e),e?i.setAttribute("aria-controls",this._scroller.id):i.removeAttribute("aria-controls"))}_onOverlayTouchAction(){this._closeOnBlurIsPrevented=!0,this.inputElement.blur(),this._closeOnBlurIsPrevented=!1}_isClearButton(e){return e.composedPath()[0]===this.clearElement}__onClearButtonMouseDown(e){e.preventDefault(),this.inputElement.focus()}_onClearButtonClick(e){e.preventDefault(),this._onClearAction(),this.opened&&this.requestContentUpdate()}_onToggleButtonClick(e){e.preventDefault(),this.opened?this.close():this.open()}_onHostClick(e){this.autoOpenDisabled||(e.preventDefault(),this.open())}_onClick(e){this._isClearButton(e)?this._onClearButtonClick(e):e.composedPath().includes(this._toggleElement)?this._onToggleButtonClick(e):this._onHostClick(e)}_onKeyDown(e){super._onKeyDown(e),"ArrowDown"===e.key?(this._onArrowDown(),e.preventDefault()):"ArrowUp"===e.key&&(this._onArrowUp(),e.preventDefault())}_getItemLabel(e){let t=e&&this.itemLabelPath?Pm(this.itemLabelPath,e):void 0;return null==t&&(t=e?e.toString():""),t}_getItemValue(e){let t=e&&this.itemValuePath?Pm(this.itemValuePath,e):void 0;return void 0===t&&(t=e?e.toString():""),t}_onArrowDown(){if(this.opened){const e=this._dropdownItems;e&&(this._focusedIndex=Math.min(e.length-1,this._focusedIndex+1),this._prefillFocusedItemLabel())}else this.open()}_onArrowUp(){if(this.opened){if(this._focusedIndex>-1)this._focusedIndex=Math.max(0,this._focusedIndex-1);else{const e=this._dropdownItems;e&&(this._focusedIndex=e.length-1)}this._prefillFocusedItemLabel()}else this.open()}_prefillFocusedItemLabel(){this._focusedIndex>-1&&(this._inputElementValue=this._getItemLabel(this._dropdownItems[this._focusedIndex]),this._markAllSelectionRange())}_setSelectionRange(e,t){this._isInputFocused()&&this.inputElement.setSelectionRange&&this.inputElement.setSelectionRange(e,t)}_markAllSelectionRange(){void 0!==this._inputElementValue&&this._setSelectionRange(0,this._inputElementValue.length)}_clearSelectionRange(){if(void 0!==this._inputElementValue){const e=this._inputElementValue?this._inputElementValue.length:0;this._setSelectionRange(e,e)}}_closeOrCommit(){this.opened||this.loading?this.close():this._commitValue()}_onEnter(e){if(!this._hasValidInputValue())return e.preventDefault(),void e.stopPropagation();this.opened&&(e.preventDefault(),e.stopPropagation()),this._closeOrCommit()}_hasValidInputValue(){const e=this._focusedIndex<0&&""!==this._inputElementValue&&this._getItemLabel(this.selectedItem)!==this._inputElementValue;return this.allowCustomValue||!e}_onEscape(e){this.autoOpenDisabled&&(this.opened||this.value!==this._inputElementValue&&this._inputElementValue.length>0)?(e.stopPropagation(),this._focusedIndex=-1,this.cancel()):this.opened?(e.stopPropagation(),this._focusedIndex>-1?(this._focusedIndex=-1,this._revertInputValue()):this.cancel()):this.clearButtonVisible&&this.value&&!this.readonly&&(e.stopPropagation(),this._onClearAction())}_toggleElementChanged(e){e&&(e.addEventListener("mousedown",(e=>e.preventDefault())),e.addEventListener("click",(()=>{uo&&!this._isInputFocused()&&document.activeElement.blur()})))}_onClearAction(){this.selectedItem=null,this.allowCustomValue&&(this.value=""),this._detectAndDispatchChange()}_clearFilter(){this.filter=""}cancel(){this._revertInputValueToValue(),this._lastCommittedValue=this.value,this._closeOrCommit()}_onOpened(){this._lastCommittedValue=this.value}_onClosed(){this.loading&&!this.allowCustomValue||this._commitValue()}_commitValue(){if(this._focusedIndex>-1){const e=this._dropdownItems[this._focusedIndex];this.selectedItem!==e&&(this.selectedItem=e),this._inputElementValue=this._getItemLabel(this.selectedItem),this._focusedIndex=-1}else if(""===this._inputElementValue||void 0===this._inputElementValue)this.selectedItem=null,this.allowCustomValue&&(this.value="");else{const e=[this.selectedItem,...this._dropdownItems||[]],t=e[this.__getItemIndexByLabel(e,this._inputElementValue)];if(this.allowCustomValue&&!t){const e=this._inputElementValue;this._lastCustomValue=e;const t=new CustomEvent("custom-value-set",{detail:e,composed:!0,cancelable:!0,bubbles:!0});this.dispatchEvent(t),t.defaultPrevented||(this.value=e)}else this.allowCustomValue||this.opened||!t?this._revertInputValueToValue():this.value=this._getItemValue(t)}this._detectAndDispatchChange(),this._clearSelectionRange(),this._clearFilter()}_onInput(e){const t=this._inputElementValue,i={};this.filter===t?this._filterChanged(this.filter):i.filter=t,this.opened||this._isClearButton(e)||this.autoOpenDisabled||(i.opened=!0),this.setProperties(i)}_onChange(e){e.stopPropagation()}_itemLabelPathChanged(e){"string"!=typeof e&&console.error("You should set itemLabelPath to a valid string")}_filterChanged(e){this._scrollIntoView(0),this._focusedIndex=-1,this.items?this.filteredItems=this._filterItems(this.items,e):this._filteredItemsChanged(this.filteredItems)}_revertInputValue(){""!==this.filter?this._inputElementValue=this.filter:this._revertInputValueToValue(),this._clearSelectionRange()}_revertInputValueToValue(){this._inputElementValue=this.allowCustomValue&&!this.selectedItem?this.value:this._getItemLabel(this.selectedItem)}_selectedItemChanged(e){if(null==e)this.filteredItems&&(this.allowCustomValue||(this.value=""),this._toggleHasValue(this._hasValue),this._inputElementValue=this.value);else{const t=this._getItemValue(e);if(this.value!==t&&(this.value=t,this.value!==t))return;this._toggleHasValue(!0),this._inputElementValue=this._getItemLabel(e)}}_valueChanged(e,t){""===e&&void 0===t||(ip(e)?(this._getItemValue(this.selectedItem)!==e&&this._selectItemForValue(e),!this.selectedItem&&this.allowCustomValue&&(this._inputElementValue=e),this._toggleHasValue(this._hasValue)):this.selectedItem=null,this._clearFilter(),this._lastCommittedValue=void 0)}_detectAndDispatchChange(){document.hasFocus()&&this.validate(),this.value!==this._lastCommittedValue&&(this.dispatchEvent(new CustomEvent("change",{bubbles:!0})),this._lastCommittedValue=this.value)}_itemsChanged(e,t){this._ensureItemsOrDataProvider((()=>{this.items=t})),e?this.filteredItems=e.slice(0):t&&(this.filteredItems=null)}_filteredItemsChanged(e){this._setDropdownItems(e)}_filterItems(e,t){if(!e)return e;const i=e.filter((e=>(t=t?t.toString().toLowerCase():"",this._getItemLabel(e).toString().toLowerCase().indexOf(t)>-1)));return i}_selectItemForValue(e){const t=this.__getItemIndexByValue(this.filteredItems,e),i=this.selectedItem;this.selectedItem=t>=0?this.filteredItems[t]:this.dataProvider&&void 0===this.selectedItem?void 0:null,null===this.selectedItem&&null===i&&this._selectedItemChanged(this.selectedItem)}_setDropdownItems(e){const t=this._dropdownItems;this._dropdownItems=e;const i=t?t[this._focusedIndex]:null,r=this.__getItemIndexByValue(e,this.value);null==this.selectedItem&&r>=0&&(this.selectedItem=e[r]);const n=this.__getItemIndexByValue(e,this._getItemValue(i));this._focusedIndex=n>-1?n:this.__getItemIndexByLabel(e,this.filter)}_getItemElements(){return Array.from(this._scroller.querySelectorAll(`${this._tagNamePrefix}-item`))}_scrollIntoView(e){this._scroller&&this._scroller.scrollIntoView(e)}__getItemIndexByValue(e,t){return e&&ip(t)?rp(e,(e=>this._getItemValue(e)===t)):-1}__getItemIndexByLabel(e,t){return e&&t?rp(e,(e=>this._getItemLabel(e).toString().toLowerCase()===t.toString().toLowerCase())):-1}_overlaySelectedItemChanged(e){e.stopPropagation(),e.detail.item instanceof $m||this.opened&&(this._focusedIndex=this.filteredItems.indexOf(e.detail.item),this.close())}_setFocused(e){if(super._setFocused(e),!e&&!this.readonly&&!this._closeOnBlurIsPrevented){if(!this.opened&&this.allowCustomValue&&this._inputElementValue===this._lastCustomValue)return void delete this._lastCustomValue;if(ln())return void this._closeOrCommit();this.opened?this._overlayOpened||this.close():this._commitValue()}}_shouldRemoveFocus(e){return!(e.relatedTarget&&e.relatedTarget.localName===`${this._tagNamePrefix}-item`||e.relatedTarget===this._overlayElement&&(e.composedPath()[0].focus(),1))}_onTouchend(e){this.clearElement&&e.composedPath()[0]===this.clearElement&&(e.preventDefault(),this._onClearAction())}}
4415
4415
  /**
4416
4416
  * @license
4417
4417
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4418
4418
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4419
- */;xe("vaadin-combo-box",Ts,{moduleId:"vaadin-combo-box-styles"});class op extends(tp(np(Ym(Is(Ce(_r(Vi))))))){static get is(){return"vaadin-combo-box"}static get template(){return qi`
4419
+ */;xe("vaadin-combo-box",Cs,{moduleId:"vaadin-combo-box-styles"});class op extends(tp(np(Ym(Is(Te(_r(Vi))))))){static get is(){return"vaadin-combo-box"}static get template(){return qi`
4420
4420
  <style>
4421
4421
  :host([opened]) {
4422
4422
  pointer-events: auto;
@@ -4461,4 +4461,4 @@ function ip(e){return null!=e}function rp(e,t){return e.findIndex((e=>!(e instan
4461
4461
  ></vaadin-combo-box-overlay>
4462
4462
 
4463
4463
  <slot name="tooltip"></slot>
4464
- `}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Mn(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}))),this.addController(new Un(this.inputElement,this._labelController)),this._tooltipController=new kr(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((e=>!e.opened)),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(e){e.stopPropagation(),super._onClearButtonClick(e)}_onHostClick(e){const t=e.composedPath();(t.includes(this._labelNode)||t.includes(this._positionTarget))&&super._onHostClick(e)}}l(op);const sp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.options=[],this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.touched=!1,this.handleChange=e=>{this.touched=!0;const t=e.target.value,i=this.options.find((e=>e.value.toLowerCase()===t.toLowerCase()));this.value=i?i.value:t,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)},this.handleBlur=e=>{this.value=e.target.value,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name})},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.displayedOptions=this.options.map((e=>({label:e.label,value:e.value.toUpperCase()})))}componentWillLoad(){if(this.action&&!this.options.length&&"GET"==this.action.split(" ")[0]){const e=this.action.split(" ")[1];return this.getOptions(e).then((e=>{const t=Object.keys(e)[0];this.displayedOptions=e[t].map((e=>({label:e.Name,value:e.Alpha2Code})))}))}}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue.toUpperCase(),this.valueHandler({name:this.name,value:this.value}))}getOptions(e){const t=new URL(e);return new Promise(((e,i)=>{fetch(t.href).then((e=>e.json())).then((t=>{e(t)})).catch((e=>{console.error(e),i(e)}))}))}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"select__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"3d298b9709617233adacd88b8acb7d6298d35627",class:`select__wrapper ${this.autofilled?"select__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"9ba53148a200b925da11ad0dea5589e9634ffb03",class:"select__wrapper--flex"},i("label",{key:"eb2fa2233926ada4da750e47304325d0d7ea3985",class:"select__label",htmlFor:`${this.name}__input`},`${this.displayName} ${this.validation.mandatory?"*":""}`),i("div",{key:"3cbe968f9a7c612d0b8d0517621a933cccd1bd58",class:"select__wrapper--relative"},this.tooltip&&i("img",{key:"9fa9be645ed72897a95705b0e17b3aee855eb6d4",class:"select__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("vaadin-combo-box",{key:"f596a5fa5b480791080dfa63359ed30eeabfaa02",name:this.name,id:`${this.name}__input`,class:`select__input ${e} ${this.autofilled?"select__input--autofilled":""}`,"item-label-path":"label","item-value-path":"value",readOnly:this.autofilled,required:this.validation.mandatory,value:this.defaultValue,placeholder:`${this.placeholder}`,items:this.displayedOptions,onChange:this.handleChange,onBlur:this.handleBlur}),i("small",{key:"a9c652406489ba1d23497c55aa14e7b67fa701bd",class:"select__error-message"},this.errorMessage))}get element(){return r(this)}static get watchers(){return{isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};sp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{height:100%}vaadin-combo-box>input{background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-weight:300;font-size:16px;-webkit-font-smoothing:initial;}.select{font-family:"Roboto";font-style:normal}.select__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__wrapper--autofilled .select__input::part(input-field){color:var(--emw--color-black, #000000)}.select__wrapper--flex{display:flex;gap:5px}.select__wrapper--relative{position:relative}.select__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.select__input{border:none;width:inherit;position:relative}.select__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.select__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__input vaadin-date-picker-overlay-content>vaadin-button{color:var(--emw--color-black, #000000)}.select__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.select__input::part(toggle-button){position:relative;right:10px}.select__input>input{padding:5px 15px}.select__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__tooltip-icon{width:16px;height:auto}.select__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.select__tooltip.visible{opacity:1}';const ap=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.phoneValue=e.target.value,this.value={prefix:this.prefixValue,phone:this.phoneValue},this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.touched=!0,this.errorMessage=this.setErrorMessage()},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value,type:"tel"})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"tel"})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.validationPattern=this.setPattern(),this.defaultValue&&(this.prefixValue=this.defaultValue.prefix?this.defaultValue.prefix:this.defaultValue,this.phoneValue=this.defaultValue.phone||null)}componentWillLoad(){if(this.action&&"GET"==this.action.split(" ")[0]){const e=this.action.split(" ")[1];return this.getPhoneCodes(e).then((e=>{this.phoneCodesOptions=e.phoneCodes.map((e=>({label:e.Prefix,value:e.Prefix})))}))}}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value,type:"tel"}))}getPhoneCodes(e){const t=new URL(e);return new Promise(((e,i)=>{fetch(t.href).then((e=>e.json())).then((t=>{e(t)})).catch((e=>{console.error(e),i(e)}))}))}handlePrefixInput(e){this.prefixValue=e.target.value,this.value={prefix:this.prefixValue,phone:this.phoneValue},this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}return this.inputReference.validity.tooShort||this.inputReference.validity.tooLong?s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"tel__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"5febd36c339710683111039d477196daac87853c",class:`tel__wrapper ${this.autofilled?"tel__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"fb779beee03992b23478ffcaac85095420048ceb",class:"tel__wrapper--flex-label"},i("label",{key:"5b69271c1c8bf403a003d765adb40a553e09466e",class:"tel__label "+(this.validation.mandatory?"tel__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"040c487308231459fc92eba2e643a80639df09d6",class:"tel__wrapper--relative"},this.tooltip&&i("img",{key:"91efd4656c718c75e5047413daf10c22c37e8f93",class:"tel__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("div",{key:"6215f80b6bccb3dfb03dbbc485c850725633627c",class:`tel__wrapper--flex ${e}`},i("vaadin-combo-box",{key:"3b7b1ef3415619c51d74f5fc7c5e034acb8f037f",class:"tel__prefix",items:this.phoneCodesOptions,value:this.prefixValue,readOnly:this.autofilled,onChange:e=>this.handlePrefixInput(e)}),i("input",{key:"886553206896c367ba96f015d81b44ea86f741ea",type:"tel",ref:e=>this.inputReference=e,id:`${this.name}__input`,readOnly:this.autofilled,class:"tel__input",value:this.phoneValue,placeholder:`${this.placeholder}`,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,pattern:this.validationPattern,onInput:this.handleInput,onBlur:this.handleBlur})),i("small",{key:"d4c88d386c3342c789527d925e9cd061494b785c",class:"tel__error-message"},this.errorMessage))}static get watchers(){return{isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};ap.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{font-family:"Roboto";font-style:normal}.tel__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.tel__wrapper--autofilled{pointer-events:none}.tel__wrapper--autofilled .tel__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__wrapper--autofilled .tel__input::part(input-field){color:var(--emw--color-black, #000000)}.tel__wrapper--flex{width:inherit;display:flex;align-items:center;border-radius:4px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);overflow:hidden}.tel__wrapper--flex:focus-within{border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.tel__wrapper--flex--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__wrapper--flex-label{display:flex;gap:5px}.tel__wrapper--flex--relative{position:relative}.tel__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.tel__prefix{--vaadin-field-default-width:90px}.tel__prefix[focus]{outline:none}.tel__prefix::part(input-field){border-radius:0 5px 5px 0;background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;border:none;border-right:2px solid #DDE0EE;border-image-source:linear-gradient(to bottom, rgba(221, 224, 238, 0) 25%, rgb(221, 224, 238) 25%, rgb(221, 224, 238) 75%, rgba(221, 224, 238, 0) 75%);border-image-slice:1;border-image-repeat:round}.tel__prefix::part(input-field):hover{background-color:var(--emw--color-white, #FFFFFF)}.tel__prefix::part(toggle-button){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__input{font-family:inherit;border-radius:5px;width:100%;color:var(--emw--registration-typography, var(--emw--color-black, #000000));background-color:var(--emw--color-white, #FFFFFF);border:none;width:inherit;position:relative;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px;height:42px;-moz-appearance:textfield;}.tel__input:focus{outline:none}.tel__input::-webkit-outer-spin-button,.tel__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tel__input::placeholder{color:var(--emw--color-gray-150, #979797)}.tel__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__tooltip-icon{width:16px;height:auto}.tel__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.tel__tooltip.visible{opacity:1}';const lp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.clientStyling="",this.errorMessage="",this.limitStylingAppends=!1,this.showTooltip=!1,this.value="",this.validationPattern="",this.duplicateInputValue=null,this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name}),this.emitValueHandler(!0)}),500)},this.handleBlur=e=>{this.value=e.target.value,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name})},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}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&&!0===this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.touched=!0)),this.isValid=this.setValidity()}setValidity(){var e;return(!this.isDuplicateInput||this.duplicateInputValue===this.value)&&(null===(e=this.inputReference)||void 0===e?void 0:e.validity.valid)}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"text__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"bfb803110a70b89dd484e993c204b572f0115a17",class:`text__wrapper ${this.name}__input ${this.autofilled?"text__wrapper--autofilled":""}`,ref:e=>this.stylingContainer=e},i("div",{key:"6e9f8f5aada98821d5dc78ccb8b1431ba23b81ab",class:"text__wrapper--flex"},i("label",{key:"05cf07855121a79641475a5b020774cf8120d1ed",class:"text__label "+(this.validation.mandatory?"text__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"f8c48a999f6827a61ec392ce99858c19559c77d2",class:"text__wrapper--relative"},this.tooltip&&i("img",{key:"e866f1df104ce57c29164e73b4ad4d017c7201cd",class:"text__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"d761c265b1487fe73af54568b6da7fed82656b8d",name:this.name,id:`${this.name}__input`,value:this.defaultValue,type:"text",class:`text__input ${e}`,placeholder:`${this.placeholder}`,ref:e=>this.inputReference=e,readOnly:this.autofilled,pattern:this.validationPattern,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"5c8df34dd47959eb1668cdf389524d145c69fa84",class:"text__error-message"},this.errorMessage))}static get watchers(){return{isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};lp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:"Roboto";font-style:normal}.text__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emw--color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.text__input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);border-radius:5px;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px}.text__input:focus{border:1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__input::placeholder{color:var(--emw--color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.text__tooltip.visible{opacity:1}';const hp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.showFields="true"===this.defaultValue,this.value="",this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}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)}handleClick(){this.showFields=this.checkboxReference.checked,this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.valueHandler({name:this.name,value:this.checkboxReference.checked?"true":"false",type:"toggle"})}setValidity(){return this.checkboxReference.validity.valid}setErrorMessage(){if(this.checkboxReference.validity.valueMissing)return s("requiredError",this.language)}renderLabel(){return i("label",{class:"togglecheckbox__label",htmlFor:`${this.name}__input`},i("div",{class:"togglecheckbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?i("div",{class:"togglecheckbox__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("div",{key:"8c8e9bb2ae7feadf3a5fc38b9913e38d7ccb9aed",class:`togglecheckbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"18e2ec43ff98738323ddab1e134d6d215978e1c7",class:"togglecheckbox__wrapper--flex"},i("input",{key:"640b3ba4fd34bd813239533236e51f452e735409",class:"togglecheckbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.checkboxReference=e,name:this.name,checked:"true"===this.defaultValue,readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel()),i("small",{key:"efd70a691559cfa98e93561dd945a0fe92909718",class:"togglecheckbox__error-message"},this.errorMessage),i("div",{key:"e56a8fafa17da25d01f894fe6e6c143c318d2aab",class:"togglecheckbox__wrapper--relative"},this.tooltip&&i("img",{key:"8b59366827b8f4f8ca5581203a2dca44ae8132d5",class:"togglecheckbox__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),i("div",{key:"475e27345b51396c36e78b5a1e06edd980bc3ae1",class:"togglecheckbox__fields-wrapper "+(this.showFields?"":"hidden")},this.options.map((e=>i("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:null==e.placeholder?"":e.placeholder})))))}};hp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}';export{Hn as checkbox_group_input,Vn as checkbox_input,fh as date_input,vh as email_input,gh as general_input,wm as general_registration,km as number_input,Nm as password_input,Om as radio_input,sp as select_input,ap as tel_input,lp as text_input,hp as toggle_checkbox_input}
4464
+ `}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Mn(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}))),this.addController(new Un(this.inputElement,this._labelController)),this._tooltipController=new kr(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((e=>!e.opened)),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(e){e.stopPropagation(),super._onClearButtonClick(e)}_onHostClick(e){const t=e.composedPath();(t.includes(this._labelNode)||t.includes(this._positionTarget))&&super._onHostClick(e)}}l(op);const sp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.options=[],this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.touched=!1,this.handleChange=e=>{this.touched=!0;const t=e.target.value,i=this.options.find((e=>e.value.toLowerCase()===t.toLowerCase()));this.value=i?i.value:t,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)},this.handleBlur=e=>{this.value=e.target.value,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name})},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.displayedOptions=this.options.map((e=>({label:e.label,value:e.value.toUpperCase()})))}componentWillLoad(){if(this.action&&!this.options.length&&"GET"==this.action.split(" ")[0]){const e=this.action.split(" ")[1];return this.getOptions(e).then((e=>{const t=Object.keys(e)[0];this.displayedOptions=e[t].map((e=>({label:e.Name,value:e.Alpha2Code})))}))}}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue.toUpperCase(),this.valueHandler({name:this.name,value:this.value}))}getOptions(e){const t=new URL(e);return new Promise(((e,i)=>{fetch(t.href).then((e=>e.json())).then((t=>{e(t)})).catch((e=>{console.error(e),i(e)}))}))}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"select__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"f02c73635c87a1937f4718c9de8df3aae8397815",class:`select__wrapper ${this.autofilled?"select__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"26bf79a073dd4c84570e380b1f36bfe848fec568",class:"select__wrapper--flex"},i("label",{key:"6eaafabe58a2dd4e1604ac2e3d55d001e2c4bc7c",class:"select__label",htmlFor:`${this.name}__input`},`${this.displayName} ${this.validation.mandatory?"*":""}`),i("div",{key:"a1de9c4bd3dd4158b26004c6df9dca5915f73978",class:"select__wrapper--relative"},this.tooltip&&i("img",{key:"5cb869c82f53a463c91cd060fad5520d2fbc3d0d",class:"select__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("vaadin-combo-box",{key:"2e94c1faa107657034a98d70b1e98d5c5ab5caa5",name:this.name,id:`${this.name}__input`,class:`select__input ${e} ${this.autofilled?"select__input--autofilled":""}`,"item-label-path":"label","item-value-path":"value",readOnly:this.autofilled,required:this.validation.mandatory,value:this.defaultValue,placeholder:`${this.placeholder}`,items:this.displayedOptions,onChange:this.handleChange,onBlur:this.handleBlur}),i("small",{key:"2c8162576d30265ea49cdc6d99071f614d833d7e",class:"select__error-message"},this.errorMessage))}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};sp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{height:100%}vaadin-combo-box>input{background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-weight:300;font-size:16px;-webkit-font-smoothing:initial;}.select{font-family:"Roboto";font-style:normal}.select__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__wrapper--autofilled .select__input::part(input-field){color:var(--emw--color-black, #000000)}.select__wrapper--flex{display:flex;gap:5px}.select__wrapper--relative{position:relative}.select__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.select__input{border:none;width:inherit;position:relative}.select__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.select__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__input vaadin-date-picker-overlay-content>vaadin-button{color:var(--emw--color-black, #000000)}.select__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.select__input::part(toggle-button){position:relative;right:10px}.select__input>input{padding:5px 15px}.select__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__tooltip-icon{width:16px;height:auto}.select__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.select__tooltip.visible{opacity:1}';const ap=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.phoneValue=e.target.value,this.value={prefix:this.prefixValue,phone:this.phoneValue},this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.touched=!0,this.errorMessage=this.setErrorMessage()},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value,type:"tel"})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"tel"})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.validationPattern=this.setPattern(),this.defaultValue&&(this.prefixValue=this.defaultValue.prefix?this.defaultValue.prefix:this.defaultValue,this.phoneValue=this.defaultValue.phone||null)}componentWillLoad(){if(this.action&&"GET"==this.action.split(" ")[0]){const e=this.action.split(" ")[1];return this.getPhoneCodes(e).then((e=>{this.phoneCodesOptions=e.phoneCodes.map((e=>({label:e.Prefix,value:e.Prefix})))}))}}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value,type:"tel"}))}getPhoneCodes(e){const t=new URL(e);return new Promise(((e,i)=>{fetch(t.href).then((e=>e.json())).then((t=>{e(t)})).catch((e=>{console.error(e),i(e)}))}))}handlePrefixInput(e){this.prefixValue=e.target.value,this.value={prefix:this.prefixValue,phone:this.phoneValue},this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}return this.inputReference.validity.tooShort||this.inputReference.validity.tooLong?s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"tel__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"f0f70d8568ba083ee19f9e73e5921104f599e15f",class:`tel__wrapper ${this.autofilled?"tel__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"8da9e1c2a6b3ca19caff07540f0218266de22bb2",class:"tel__wrapper--flex-label"},i("label",{key:"d0d90bc96e3ea853f401bae9be3f033d4cfd9b17",class:"tel__label "+(this.validation.mandatory?"tel__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"fdf7929f51edcbea8568b35804b0d9e9a93a7249",class:"tel__wrapper--relative"},this.tooltip&&i("img",{key:"0fbc9b5e8c5feef727caa71ef07d4ae80007e04a",class:"tel__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("div",{key:"b4a11808a7ae5e5cddce47b51a51003bce3a84f8",class:`tel__wrapper--flex ${e}`},i("vaadin-combo-box",{key:"2d81ff4c11e559f302a8446816f4aca0de2cfcef",class:"tel__prefix",items:this.phoneCodesOptions,value:this.prefixValue,readOnly:this.autofilled,onChange:e=>this.handlePrefixInput(e)}),i("input",{key:"ab52185589bf4d52205bad4cecc9c7ecb54cd409",type:"tel",ref:e=>this.inputReference=e,id:`${this.name}__input`,readOnly:this.autofilled,class:"tel__input",value:this.phoneValue,placeholder:`${this.placeholder}`,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,pattern:this.validationPattern,onInput:this.handleInput,onBlur:this.handleBlur})),i("small",{key:"6d219de32297bc2fab31995b5a33b14f2eea21d9",class:"tel__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};ap.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{font-family:"Roboto";font-style:normal}.tel__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.tel__wrapper--autofilled{pointer-events:none}.tel__wrapper--autofilled .tel__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__wrapper--autofilled .tel__input::part(input-field){color:var(--emw--color-black, #000000)}.tel__wrapper--flex{width:inherit;display:flex;align-items:center;border-radius:4px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);overflow:hidden}.tel__wrapper--flex:focus-within{border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.tel__wrapper--flex--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__wrapper--flex-label{display:flex;gap:5px}.tel__wrapper--flex--relative{position:relative}.tel__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.tel__prefix{--vaadin-field-default-width:90px}.tel__prefix[focus]{outline:none}.tel__prefix::part(input-field){border-radius:0 5px 5px 0;background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;border:none;border-right:2px solid #DDE0EE;border-image-source:linear-gradient(to bottom, rgba(221, 224, 238, 0) 25%, rgb(221, 224, 238) 25%, rgb(221, 224, 238) 75%, rgba(221, 224, 238, 0) 75%);border-image-slice:1;border-image-repeat:round}.tel__prefix::part(input-field):hover{background-color:var(--emw--color-white, #FFFFFF)}.tel__prefix::part(toggle-button){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__input{font-family:inherit;border-radius:5px;width:100%;color:var(--emw--registration-typography, var(--emw--color-black, #000000));background-color:var(--emw--color-white, #FFFFFF);border:none;width:inherit;position:relative;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px;height:42px;-moz-appearance:textfield;}.tel__input:focus{outline:none}.tel__input::-webkit-outer-spin-button,.tel__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tel__input::placeholder{color:var(--emw--color-gray-150, #979797)}.tel__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__tooltip-icon{width:16px;height:auto}.tel__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.tel__tooltip.visible{opacity:1}';const lp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.clientStyling="",this.errorMessage="",this.limitStylingAppends=!1,this.showTooltip=!1,this.value="",this.validationPattern="",this.duplicateInputValue=null,this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name}),this.emitValueHandler(!0)}),500)},this.handleBlur=e=>{this.value=e.target.value,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name})},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}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&&!0===this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.touched=!0)),this.isValid=this.setValidity()}setValidity(){var e;return(!this.isDuplicateInput||this.duplicateInputValue===this.value)&&(null===(e=this.inputReference)||void 0===e?void 0:e.validity.valid)}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"text__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"e297f841a57c6acf854535a786916aa641831556",class:`text__wrapper ${this.name}__input ${this.autofilled?"text__wrapper--autofilled":""}`,ref:e=>this.stylingContainer=e},i("div",{key:"7fd284a58e58d5c61a03caf4cc317b8dd9dbd82f",class:"text__wrapper--flex"},i("label",{key:"f80a2003386ec867e5310190a7568105c2912569",class:"text__label "+(this.validation.mandatory?"text__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"e8f5197bd370100406d600be5a336f85f4c6934d",class:"text__wrapper--relative"},this.tooltip&&i("img",{key:"ff8c38fe3495a41a41ac4a1569169ce26a1ec9ce",class:"text__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"581106e515810ab43f7d6b6eda504ccf23906b0e",name:this.name,id:`${this.name}__input`,value:this.defaultValue,type:"text",class:`text__input ${e}`,placeholder:`${this.placeholder}`,ref:e=>this.inputReference=e,readOnly:this.autofilled,pattern:this.validationPattern,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"20620710026982d5fb670a3173bab57a7fa9e7ce",class:"text__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};lp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:"Roboto";font-style:normal}.text__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emw--color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.text__input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);border-radius:5px;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px}.text__input:focus{border:1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__input::placeholder{color:var(--emw--color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.text__tooltip.visible{opacity:1}';const hp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.defaultValue="",this.clientStyling="",this.limitStylingAppends=!1,this.showTooltip=!1,this.showFields="true"===this.defaultValue,this.value="",this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)}}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}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)}handleClick(){this.showFields=this.checkboxReference.checked,this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.valueHandler({name:this.name,value:this.checkboxReference.checked?"true":"false",type:"toggle"})}setValidity(){return this.checkboxReference.validity.valid}setErrorMessage(){if(this.checkboxReference.validity.valueMissing)return s("requiredError",this.language)}renderLabel(){return i("label",{class:"togglecheckbox__label",htmlFor:`${this.name}__input`},i("div",{class:"togglecheckbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?i("div",{class:"togglecheckbox__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("div",{key:"e8be91ce94cf76ebecc58a433ab567ab549f4692",class:`togglecheckbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"dd42a6316cda06e357843165329de7525a24e3d5",class:"togglecheckbox__wrapper--flex"},i("input",{key:"932a6f8caeafa0d006f636484e33dda246c314d0",class:"togglecheckbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.checkboxReference=e,name:this.name,checked:"true"===this.defaultValue,readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel()),i("small",{key:"cbc789c8a5c21debc05971ff347371fbc25d4975",class:"togglecheckbox__error-message"},this.errorMessage),i("div",{key:"a5ce470c985829eb1f5a0567bb974cc15e3d0d64",class:"togglecheckbox__wrapper--relative"},this.tooltip&&i("img",{key:"faef05dd9341ffe44b6833ca8f4c86b85ed61956",class:"togglecheckbox__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),i("div",{key:"89fed5f103acecca78fa53eea64d57574ef42727",class:"togglecheckbox__fields-wrapper "+(this.showFields?"":"hidden")},this.options.map((e=>i("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:null==e.placeholder?"":e.placeholder})))))}static get watchers(){return{clientStyling:["handleStylingChange"]}}};hp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}';export{Hn as checkbox_group_input,Vn as checkbox_input,fh as date_input,vh as email_input,gh as general_input,wm as general_registration,km as number_input,Nm as password_input,Om as radio_input,sp as select_input,ap as tel_input,lp as text_input,hp as toggle_checkbox_input}