diff --git a/cmd/skywire-visor/static/268.1002767682a89a010d06.js b/cmd/skywire-visor/static/268.1002767682a89a010d06.js new file mode 100644 index 0000000000..5394b07aef --- /dev/null +++ b/cmd/skywire-visor/static/268.1002767682a89a010d06.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[268],{84268:function(e){e.exports=JSON.parse('{"common":{"save":"Guardar","cancel":"Cancelar","downloaded":"Recibido","uploaded":"Enviado","loading-error":"Hubo un error obteniendo los datos. Reintentando...","operation-error":"Hubo un error al intentar completar la operaci\xf3n.","no-connection-error":"No hay conexi\xf3n a Internet o conexi\xf3n con el hipervisor.","error":"Error:","refreshed":"Datos refrescados.","options":"Opciones","logout":"Cerrar sesi\xf3n","logout-error":"Error cerrando la sesi\xf3n.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"S\xed","no":"No","unknown":"Desconocido","close":"Cerrar","window-size-error":"La ventana es demasiado estrecha para el contenido."},"labeled-element":{"edit-label":"Editar etiqueta","remove-label":"Remover etiqueta","copy":"Copiar","remove-label-confirmation":"\xbfRealmente desea eliminar la etiqueta?","unnamed-element":"Sin nombre","unnamed-local-visor":"Visor local","local-element":"Local","tooltip":"Haga clic para copiar la entrada o cambiar la etiqueta","tooltip-with-text":"{{ text }} (Haga clic para copiar la entrada o cambiar la etiqueta)"},"labels":{"title":"Etiquetas","info":"Etiquetas que ha introducido para identificar f\xe1cilmente visores, transportes y otros elementos, en lugar de tener que leer identificadores generados por una m\xe1quina.","list-title":"Lista de etiquetas","label":"Etiqueta","id":"ID del elemento","type":"Tipo","delete-confirmation":"\xbfSeguro que desea borrar la etiqueta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las etiquetas seleccionados?","delete":"Borrar etiqueta","deleted":"Operaci\xf3n de borrado completada.","empty":"No hay etiquetas guardadas.","empty-with-filter":"Ninguna etiqueta coincide con los criterios de filtrado seleccionados.","filter-dialog":{"label":"La etiqueta debe contener","id":"El id debe contener","type":"El tipo debe ser","type-options":{"any":"Cualquiera","visor":"Visor","dmsg-server":"Servidor DMSG","transport":"Transporte"}}},"filters":{"filter-action":"Filtrar","filter-info":"Lista de filtros.","press-to-remove":"(Presione para remover los filtros)","remove-confirmation":"\xbfSeguro que desea remover los filtros?"},"tables":{"title":"Ordenar por","sorting-title":"Ordenado por:","sort-by-value":"Valor","sort-by-label":"Etiqueta","label":"(etiqueta)","inverted-order":"(invertido)"},"start":{"title":"Inicio"},"node":{"title":"Detalles del visor","not-found":"Visor no encontrado.","statuses":{"online":"Online","online-tooltip":"El visor se encuentra online.","connecting":"Conectando","connecting-tooltip":"El visor se encuentra online, pero todav\xeda est\xe1 conectando con el uptime tracker.","unknown":"Desconocido","unknown-tooltip":"El visor se encuentra online, pero no ha sido posible determinar si est\xe1 conectado con el uptime tracker.","partially-online":"Online con problemas","partially-online-tooltip":"El visor se encuentra online, pero desconectado del uptime tracker.","offline":"Offline","offline-tooltip":"El visor se encuentra offline."},"details":{"node-info":{"title":"Informaci\xf3n del visor","label":"Etiqueta:","public-key":"Llave p\xfablica:","symmetic-nat":"NAT sim\xe9trica:","public-ip":"IP p\xfablica:","ip":"IP:","dmsg-server":"Servidor DMSG:","ping":"Ping:","node-version":"Versi\xf3n del visor:","skybian-version":"Versi\xf3n de Skybian:","no-skybian-version":"(no se usa Skybian)","time":{"title":"Tiempo online:","seconds":"unos segundos","minute":"1 minuto","minutes":"{{ time }} minutos","hour":"1 hora","hours":"{{ time }} horas","day":"1 d\xeda","days":"{{ time }} d\xedas","week":"1 semana","weeks":"{{ time }} semanas"}},"transports-info":{"title":"Informaci\xf3n de Transportes","autoconnect":"Autoconectar:","autoconnect-info":"Al activarse, el visor crear\xe1 autom\xe1ticamente los transportes necesarios cuando se solicite la conexi\xf3n a un visor p\xfablico. Al desactivarse, los transportes deber\xe1n ser creados antes de poder establecer la conexi\xf3n.","enabled":"Activado","disabled":"Desactivado","enable-button":"Activar","disable-button":"Desactivar","enable-confirmation":"\xbfSeguro que desea activar la funci\xf3n de autoconectar?","disable-confirmation":"\xbfSeguro que desea desactivar la funci\xf3n de autoconectar?","enable-done":"La funci\xf3n de autoconectar ha sido activada.","disable-done":"La funci\xf3n de autoconectar ha sido desactivada."},"router-info":{"title":"Informaci\xf3n del Enrutador","min-hops":"Saltos m\xednimos:","max-hops":"Saltos m\xe1ximos:","change-config-button":"Cambiar configuraci\xf3n"},"node-health":{"title":"Informaci\xf3n de Salud","status":"Estatus:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Datos de tr\xe1fico"},"tabs":{"info":"Info","apps":"Apps","routing":"Enrutamiento"},"error-load":"Hubo un error al intentar refrescar los datos. Reintentando..."},"router-config":{"title":"Configuraci\xf3n del Enrutador","info":"Aqu\xed podr\xe1 configurar cuantos saltos la conexi\xf3n deber\xe1 realizar a trav\xe9s de otros visores de Skywire antes de alcanzar el destino final. NOTA: los cambios no afectar\xe1n a las rutas ya existentes.","min-hops":"Saltos m\xednimos","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados."},"nodes":{"title":"Lista de visores","dmsg-title":"DMSG","update-all":"Actualizar todos los visores online","hypervisor":"Hypervisor","state":"Estado","state-tooltip":"Estado actual","label":"Etiqueta","key":"Llave","dmsg-server":"Servidor DMSG","ping":"Ping","hypervisor-info":"Este visor es el Hypervisor actual.","copy-key":"Copiar llave","copy-dmsg":"Copiar llave DMSG","copy-data":"Copiar datos","view-node":"Ver visor","delete-node":"Remover visor","delete-all-offline":"Remover todos los visores offline","error-load":"Hubo un error al intentar refrescar la lista. Reintentando...","empty":"No hay ning\xfan visor conectado a este hypervisor.","empty-with-filter":"Ningun visor coincide con los criterios de filtrado seleccionados.","delete-node-confirmation":"\xbfSeguro que desea remover el visor de la lista?","delete-all-offline-confirmation":"\xbfSeguro que desea remover todos los visores offline de la lista?","delete-all-filtered-offline-confirmation":"Todos los visores offline que satisfagan los criterios de filtrado actuales ser\xe1n removidos de la lista. \xbfSeguro que desea continuar?","deleted":"Visor removido.","deleted-singular":"1 visor offline removido.","deleted-plural":"{{ number }} visores offline removidos.","no-visors-to-update":"No hay visores para actualizar.","filter-dialog":{"online":"El visor debe estar","label":"La etiqueta debe contener","key":"La llave debe contener","dmsg":"La llave del servidor DMSG debe contener","online-options":{"any":"Online u offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Etiqueta","done":"Etiqueta guardada.","label-removed-warning":"La etiqueta fue removida."},"settings":{"title":"Configuraci\xf3n","password":{"initial-config-help":"Use esta opci\xf3n para establecer la contrase\xf1a inicial. Despu\xe9s de establecer una contrase\xf1a no es posible usar esta opci\xf3n para modificarla.","help":"Opciones para cambiar la contrase\xf1a.","old-password":"Contrase\xf1a actual","new-password":"Nueva contrase\xf1a","repeat-password":"Repita la contrase\xf1a","password-changed":"Contrase\xf1a cambiada.","error-changing":"Error cambiando la contrase\xf1a.","initial-config":{"title":"Establecer contrase\xf1a inicial","password":"Contrase\xf1a","repeat-password":"Repita la contrase\xf1a","set-password":"Establecer contrase\xf1a","done":"Contrase\xf1a establecida. Por favor \xfasela para acceder al sistema.","error":"Error. Por favor aseg\xfarese de que no hubiese establecido la contrase\xf1a anteriormente."},"errors":{"bad-old-password":"La contrase\xf1a actual introducida no es correcta.","old-password-required":"La contrase\xf1a actual es requerida.","new-password-error":"La contrase\xf1a debe tener entre 6 y 64 caracteres.","passwords-not-match":"Las contrase\xf1as no coinciden.","default-password":"No utilice la contrase\xf1a por defecto (1234)."}},"updater-config":{"open-link":"Mostrar la configuraci\xf3n del actualizador","open-confirmation":"La configuraci\xf3n del actualizador es s\xf3lo para usuarios experimentados. Seguro que desea continuar?","help":"Utilice este formulario para modificar la configuraci\xf3n que utilizar\xe1 el actualizador. Se ignorar\xe1n todos los campos vac\xedos. La configuraci\xf3n se utilizar\xe1 para todas las operaciones de actualizaci\xf3n, sin importar qu\xe9 elemento se est\xe9 actualizando, as\xed que por favor tenga cuidado.","channel":"Canal","version":"Versi\xf3n","archive-url":"URL del archivo","checksum-url":"URL del checksum","not-saved":"Los cambios a\xfan no se han guardado.","save":"Guardar cambios","remove-settings":"Remover la configuraci\xf3n","saved":"Las configuracion personalizada ha sido guardada.","removed":"Las configuracion personalizada ha sido removida.","save-confirmation":"\xbfSeguro que desea aplicar la configuraci\xf3n personalizada?","remove-confirmation":"\xbfSeguro que desea remover la configuraci\xf3n personalizada?"},"change-password":"Cambiar contrase\xf1a","refresh-rate":"Frecuencia de refrescado","refresh-rate-help":"Tiempo que el sistema espera para actualizar autom\xe1ticamente los datos.","refresh-rate-confirmation":"Frecuencia de refrescado cambiada.","seconds":"segundos"},"login":{"password":"Contrase\xf1a","incorrect-password":"Contrase\xf1a incorrecta.","initial-config":"Configurar lanzamiento inicial"},"actions":{"menu":{"terminal":"Terminal","config":"Configuraci\xf3n","update":"Actualizar","reboot":"Reiniciar","logs":"Ver logs"},"reboot":{"confirmation":"\xbfSeguro que desea reiniciar el visor?","done":"El visor se est\xe1 reiniciando."},"terminal-options":{"full":"Terminal completa","simple":"Terminal simple"},"terminal":{"title":"Terminal","input-start":"Terminal de Skywire para {{address}}","error":"Error inesperado mientras se intentaba ejecutar el comando."}},"update":{"title":"Actualizar","error-title":"Error","processing":"Buscando actualizaciones...","no-update":"No hay ninguna actualizaci\xf3n para el visor. La versi\xf3n instalada actualmente es:","no-updates":"No se encontraron nuevas actualizaciones.","already-updating":"Algunos visores ya est\xe1n siendo actualizandos:","update-available":"Las siguientes actualizaciones fueron encontradas:","update-available-singular":"Las siguientes actualizaciones para 1 visor fueron encontradas:","update-available-plural":"Las siguientes actualizaciones para {{ number }} visores fueron encontradas:","update-available-additional-singular":"Las siguientes actualizaciones adicionales para 1 visor fueron encontradas:","update-available-additional-plural":"Las siguientes actualizaciones adicionales para {{ number }} visores fueron encontradas:","update-instructions":"Haga clic en el bot\xf3n \'Instalar actualizaciones\' para continuar.","updating":"La operaci\xf3n de actualizaci\xf3n se ha iniciado, puede abrir esta ventana nuevamente para verificar el progreso:","version-change":"De {{ currentVersion }} a {{ newVersion }}","selected-channel":"Canal seleccionado:","downloaded-file-name-prefix":"Descargando: ","speed-prefix":"Velocidad: ","time-downloading-prefix":"Tiempo descargando: ","time-left-prefix":"Tiempo aprox. faltante: ","starting":"Preparando para actualizar","finished":"Conexi\xf3n de estado terminada","install":"Instalar actualizaciones"},"apps":{"log":{"title":"Log","empty":"No hay mensajes de log para el rango de fecha seleccionado.","filter-button":"Mostrando s\xf3lo logs generados desde:","filter":{"title":"Filtro","filter":"Mostrar s\xf3lo logs generados desde","7-days":"Los \xfaltimos 7 d\xedas","1-month":"Los \xfaltimos 30 d\xedas","3-months":"Los \xfaltimos 3 meses","6-months":"Los \xfaltimos 6 meses","1-year":"El \xfaltimo a\xf1o","all":"mostrar todos"}},"apps-list":{"title":"Aplicaciones","list-title":"Lista de aplicaciones","app-name":"Nombre","port":"Puerto","state":"Estado","state-tooltip":"Estado actual","auto-start":"Autoinicio","empty":"El visor no tiene ninguna aplicaci\xf3n.","empty-with-filter":"Ninguna app coincide con los criterios de filtrado seleccionados.","disable-autostart":"Deshabilitar autoinicio","enable-autostart":"Habilitar autoinicio","autostart-disabled":"Autoinicio deshabilitado","autostart-enabled":"Autoinicio habilitado","unavailable-logs-error":"No es posible mostrar los logs mientras la aplicaci\xf3n no se est\xe1 ejecutando.","filter-dialog":{"state":"El estado debe ser","name":"El nombre debe contener","port":"El puerto debe contener","autostart":"El autoinicio debe estar","state-options":{"any":"Iniciada o detenida","running":"Iniciada","stopped":"Detenida"},"autostart-options":{"any":"Activado or desactivado","enabled":"Activado","disabled":"Desactivado"}}},"vpn-socks-server-settings":{"socks-title":"Configuraci\xf3n de Skysocks","vpn-title":"Configuraci\xf3n de VPN-Server","new-password":"Nueva contrase\xf1a (dejar en blanco para eliminar la contrase\xf1a)","repeat-password":"Repita la contrase\xf1a","passwords-not-match":"Las contrase\xf1as no coinciden.","secure-mode-check":"Usar modo seguro","secure-mode-info":"Cuando est\xe1 activo, el servidor no permite SSH con los clientes y no permite ning\xfan tr\xe1fico de clientes VPN a la red local del servidor.","save":"Guardar","remove-passowrd-confirmation":"Ha dejado el campo de contrase\xf1a vac\xedo. \xbfSeguro que desea eliminar la contrase\xf1a?","change-passowrd-confirmation":"\xbfSeguro que desea cambiar la contrase\xf1a?","changes-made":"Los cambios han sido realizados."},"vpn-socks-client-settings":{"socks-title":"Configuraci\xf3n de Skysocks-Client","vpn-title":"Configuraci\xf3n de VPN-Client","discovery-tab":"Buscar","remote-visor-tab":"Introducir manualmente","settings-tab":"Configuracion","history-tab":"Historial","use":"Usar estos datos","change-note":"Cambiar nota","remove-entry":"Remover entrada","note":"Nota:","note-entered-manually":"Introducido manualmente","note-obtained":"Obtenido del servicio de descubrimiento","key":"Llave:","port":"Puerto:","location":"Ubicaci\xf3n:","state-available":"Disponible","state-offline":"Offline","public-key":"Llave p\xfablica del visor remoto","password":"Contrase\xf1a","password-history-warning":"Nota: la contrase\xf1a no se guardar\xe1 en el historial.","copy-pk-info":"Copiar la llave p\xfablica.","copied-pk-info":"La llave p\xfablica ha sido copiada.","copy-pk-error":"Hubo un problema al intentar cambiar la llave p\xfablica.","no-elements":"Actualmente no hay elementos para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","no-elements-for-filters":"No hay elementos que cumplan los criterios de filtro.","no-filter":"No se ha seleccionado ning\xfan filtro","click-to-change":"Haga clic para cambiar","remote-key-length-error":"La llave p\xfablica debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","save":"Guardar","remove-from-history-confirmation":"\xbfSeguro de que desea eliminar la entrada del historial?","change-key-confirmation":"\xbfSeguro que desea cambiar la llave p\xfablica del visor remoto?","changes-made":"Los cambios han sido realizados.","no-history":"Esta pesta\xf1a mostrar\xe1 las \xfaltimas {{ number }} llaves p\xfablicas usadas.","default-note-warning":"La nota por defecto ha sido utilizada.","pagination-info":"{{ currentElementsRange }} de {{ totalElements }}","killswitch-check":"Activar killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN est\xe1 interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.","settings-changed-alert":"Los cambios a\xfan no se han guardado.","save-settings":"Guardar configuracion","change-note-dialog":{"title":"Cambiar Nota","note":"Nota"},"password-dialog":{"title":"Introducir Contrase\xf1a","password":"Contrase\xf1a","info":"Se le solicita una contrase\xf1a porque una contrase\xf1a fue utilizada cuando se cre\xf3 la entrada seleccionada, pero no fue guardada por razones de seguridad. Puede dejar la contrase\xf1a vac\xeda si es necesario.","continue-button":"Continuar"},"filter-dialog":{"title":"Filtros","country":"El pa\xeds debe ser","any-country":"Cualquiera","location":"La ubicaci\xf3n debe contener","pub-key":"La llave p\xfablica debe contener","apply":"Aplicar"}},"stop-app":"Detener","start-app":"Iniciar","view-logs":"Ver logs","settings":"Configuraci\xf3n","open":"Abrir","error":"Se produjo un error y no fue posible realizar la operaci\xf3n.","stop-confirmation":"\xbfSeguro que desea detener la aplicaci\xf3n?","stop-selected-confirmation":"\xbfSeguro que desea detener las aplicaciones seleccionadas?","disable-autostart-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de la aplicaci\xf3n?","enable-autostart-confirmation":"\xbfSeguro que desea habilitar el autoinicio de la aplicaci\xf3n?","disable-autostart-selected-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de las aplicaciones seleccionadas?","enable-autostart-selected-confirmation":"\xbfSeguro que desea habilitar el autoinicio de las aplicaciones seleccionadas?","operation-completed":"Operaci\xf3n completada.","operation-unnecessary":"La selecci\xf3n ya tiene la configuraci\xf3n solicitada.","status-running":"Corriendo","status-stopped":"Detenida","status-failed":"Fallida","status-running-tooltip":"La aplicaci\xf3n est\xe1 actualmente corriendo","status-stopped-tooltip":"La aplicaci\xf3n est\xe1 actualmente detenida","status-failed-tooltip":"Algo sali\xf3 mal. Revise los mensajes de la aplicaci\xf3n para m\xe1s informaci\xf3n"},"transports":{"title":"Transportes","info":"Conexiones que tiene con visores remotos de Skywire, para permitir que las aplicaciones Skywire locales se comuniquen con las aplicaciones que se ejecutan en esos visores remotos.","list-title":"Lista de transportes","offline":"Offline","persistent":"Persistente","persistent-tooltip":"Transportes persistentes, los cuales son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","persistent-transport-tooltip":"Este transporte es persistente, as\xed que es creado autom\xe1ticamente al iniciar el visor y es recreado autom\xe1ticamente en caso de desconexi\xf3n.","persistent-transport-button-tooltip":"Este transporte es persistente, as\xed que es creado autom\xe1ticamente al iniciar el visor y es recreado autom\xe1ticamente en caso de desconexi\xf3n. Presione aqu\xed para volverlo no persistente.","non-persistent-transport-button-tooltip":"Presione aqu\xed para volver persistente el transporte. Los transportes persistentes son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","make-persistent":"Volver persistente","make-non-persistent":"Volver no persistente","make-selected-persistent":"Volver persistentes los seleccionados","make-selected-non-persistent":"Volver no persistentes los seleccionados","changes-made":"Cambios hechos.","no-changes-needed":"Ning\xfan cambio fue necesario.","id":"ID","remote-node":"Remoto","type":"Tipo","create":"Crear transporte","make-persistent-confirmation":"\xbfSeguro que desea volver persistente el transporte?","make-non-persistent-confirmation":"\xbfSeguro que desea volver no persistente el transporte?","make-selected-persistent-confirmation":"\xbfSeguro que desea volver persistentes los transportes seleccionados?","make-selected-non-persistent-confirmation":"\xbfSeguro que desea volver no persistentes los transportes seleccionados?","make-offline-non-persistent-confirmation":"\xbfSeguro que desea volver no persistente el transporte? No seguir\xe1 siendo mostrado en la lista mientras se encuentre offline.","delete-confirmation":"\xbfSeguro que desea borrar el transporte?","delete-persistent-confirmation":"Este transporte es persistente, as\xed que puede ser recreado poco despu\xe9s de ser borrado. \xbfSeguro que desea borrarlo?","delete-selected-confirmation":"\xbfSeguro que desea borrar los transportes seleccionados?","delete":"Borrar transporte","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ning\xfan transporte.","empty-with-filter":"Ningun transporte coincide con los criterios de filtrado seleccionados.","details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","persistent":"Persistente:","id":"ID:","local-pk":"Llave p\xfablica local:","remote-pk":"Llave p\xfablica remota:","type":"Tipo:"},"data":{"title":"Transmisi\xf3n de datos","uploaded":"Datos enviados:","downloaded":"Datos recibidos:"}},"dialog":{"remote-key":"Llave p\xfablica remota","label":"Nombre del transporte (opcional)","transport-type":"Tipo de transporte","make-persistent":"Hacer persistente","persistent-tooltip":"Los transportes persistentes son creados autom\xe1ticamente al iniciar el visor y son recreados autom\xe1ticamente en caso de desconexi\xf3n.","only-persistent-created":"El transporte persistente fue creado, pero podr\xeda no haber sido activado.","success":"Transporte creado.","success-without-label":"El transporte fue creado, pero no fue posible guardar la etiqueta.","errors":{"remote-key-length-error":"La llave p\xfablica remota debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica remota s\xf3lo debe contener caracteres hexadecimales.","transport-type-error":"El tipo de transporte es requerido."}},"filter-dialog":{"persistent":"El transporte debe ser","id":"El id debe contener","remote-node":"La llave remota debe contener","persistent-options":{"any":"Cualquiera","persistent":"Persistente","non-persistent":"No persistente"}}},"routes":{"title":"Rutas","info":"Caminos utilizados para llegar a los visores remotos con los que se han establecido transportes. Las rutas se generan autom\xe1ticamente seg\xfan sea necesario.","list-title":"Lista de rutas","key":"Llave","type":"Tipo","source":"Inicio","destination":"Destino","delete-confirmation":"\xbfSeguro que desea borrar la ruta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las rutas seleccionadas?","delete":"Borrar ruta","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ninguna ruta.","empty-with-filter":"Ninguna ruta coincide con los criterios de filtrado seleccionados.","details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","key":"Llave:","rule":"Regla:"},"summary":{"title":"Resumen de regla","keep-alive":"Keep alive:","type":"Tipo de regla:","key-route-id":"ID de la llave de la ruta:"},"specific-fields-titles":{"app":"Campos de applicaci\xf3n","forward":"Campos de reenv\xedo","intermediary-forward":"Campos de reenv\xedo intermedio"},"specific-fields":{"route-id":"ID de la siguiente ruta:","transport-id":"ID del siguiente transporte:","destination-pk":"Llave p\xfablica de destino:","source-pk":"Llave p\xfablica de origen:","destination-port":"Puerto de destino:","source-port":"Puerto de origen:"}},"filter-dialog":{"key":"La llave debe contener","type":"El tipo debe ser","source":"El inicio debe contener","destination":"El destino debe contener","any-type-option":"Cualquiera"}},"copy":{"tooltip":"Presione para copiar","tooltip-with-text":"{{ text }} (Presione para copiar)","copied":"\xa1Copiado!"},"selection":{"select-all":"Seleccionar todo","unselect-all":"Deseleccionar todo","delete-all":"Borrar los elementos seleccionados","start-all":"Iniciar las apps seleccionadas","stop-all":"Detener las apps seleccionadas","enable-autostart-all":"Habilitar el autoinicio de las apps seleccionadas","disable-autostart-all":"Deshabilitar el autoinicio de las apps seleccionadas"},"refresh-button":{"seconds":"Refrescado hace unos segundos","minute":"Refrescado hace un minuto","minutes":"Refrescado hace {{ time }} minutos","hour":"Refrescado hace una hora","hours":"Refrescado hace {{ time }} horas","day":"Refrescado hace un d\xeda","days":"Refrescado hace {{ time }} d\xedas","week":"Refrescado hace una semana","weeks":"Refrescado hace {{ time }} semanas","error-tooltip":"Hubo un error al intentar refrescar los datos. Reintentando autom\xe1ticamente cada {{ time }} segundos..."},"view-all-link":{"label":"Ver todos los {{ number }} elementos"},"paginator":{"first":"Primera","last":"\xdaltima","total":"Total: {{ number }} p\xe1ginas","select-page-title":"Seleccionar p\xe1gina"},"confirmation":{"header-text":"Confirmaci\xf3n","confirm-button":"S\xed","cancel-button":"No","close":"Cerrar","error-header-text":"Error","done-header-text":"Hecho"},"language":{"title":"Seleccionar lenguaje"},"tabs-window":{"title":"Cambiar pesta\xf1a"},"vpn":{"title":"Panel de Control de VPN","start":"Inicio","servers":"Servidores","settings":"Configuracion","unnamed":"Sin nombre","starting-blocked-server-error":"No se puede conectar con el servidor seleccionado porque se ha agregado a la lista de servidores bloqueados.","unexpedted-error":"Se produjo un error inesperado y no se pudo completar la operaci\xf3n.","remote-access-title":"Parece que est\xe1 accediendo al sistema de manera remota","remote-access-text":"Esta aplicaci\xf3n s\xf3lo permite administrar la protecci\xf3n VPN del dispositivo en el que fue instalada. Los cambios hechos con ella no afectar\xe1n a dispositivos remotos como el que parece estar usando. Tambi\xe9n es posible que los datos de IP que se muestren sean incorrectos.","server-change":{"busy-error":"El sistema est\xe1 ocupado. Por favor, espere.","backend-error":"No fue posible cambiar el servidor. Por favor, aseg\xfarese de que la clave p\xfablica sea correcta y de que la aplicaci\xf3n VPN se est\xe9 ejecutando.","already-selected-warning":"El servidor seleccionado ya est\xe1 siendo utilizando.","change-server-while-connected-confirmation":"La protecci\xf3n VPN se interrumpir\xe1 mientras se cambia el servidor y algunos datos pueden transmitirse sin protecci\xf3n durante el proceso. \xbfDesea continuar?","start-same-server-confirmation":"Ya hab\xeda seleccionado ese servidor. \xbfDesea conectarte a \xe9l?"},"error-page":{"text":"La aplicaci\xf3n de cliente VPN no est\xe1 disponible.","more-info":"No fue posible conectarse a la aplicaci\xf3n cliente VPN. Esto puede deberse a un error de configuraci\xf3n, un problema inesperado con el visor o porque utiliz\xf3 una clave p\xfablica no v\xe1lida en la URL.","text-pk":"Configuraci\xf3n inv\xe1lida.","more-info-pk":"La aplicaci\xf3n no puede ser iniciada porque no ha especificado la clave p\xfablica del visor.","text-storage":"Error al guardar los datos.","more-info-storage":"Ha habido un conflicto al intentar guardar los datos y la aplicaci\xf3n se ha cerrado para prevenir errores. Esto puede suceder si abre la aplicaci\xf3n en m\xe1s de una pesta\xf1a o ventana.","text-pk-change":"Operaci\xf3n inv\xe1lida.","more-info-pk-change":"Por favor, utilice esta aplicaci\xf3n para administrar s\xf3lo un cliente VPN."},"connection-info":{"state-title":"El estado de tu conexi\xf3n es actualmente:","state-connecting":"Conectando","state-connecting-info":"Se est\xe1 activando la protecci\xf3n VPN.","state-connected":"Conectado","state-connected-info":"La protecci\xf3n VPN est\xe1 activada.","state-disconnecting":"Desconectando","state-disconnecting-info":"Se est\xe1 desactivando la protecci\xf3n VPN.","state-reconnecting":"Reconectando","state-reconnecting-info":"Se est\xe1 restaurando la protecci\xf3n de VPN.","state-disconnected":"Desconectado","state-disconnected-info":"La protecci\xf3n VPN est\xe1 desactivada.","state-info":"Estado actual de la conexi\xf3n.","latency-info":"Latencia actual.","upload-info":"Velocidad de subida.","download-info":"Velocidad de descarga."},"connection-error":{"text":"Error de conexi\xf3n","info":"Problema conectando con la app vpn. Algunos datos mostrados podr\xedan estar desactualizados."},"status-page":{"start-title":"Iniciar VPN","no-server":"\xa1Ning\xfan servidor seleccionado!","disconnect":"Desconectar","last-error":"\xdaltimo error:","unknown-error":"Error desconocido.","disconnect-confirmation":"\xbfRealmente desea detener la protecci\xf3n VPN?","upload-info":"Estad\xedsticas de datos subidos.","download-info":"Estad\xedsticas de datos descargados.","latency-info":"Estad\xedsticas de latencia.","total-data-label":"total","problem-connecting-error":"No fue posible conectarse al servidor. El servidor puede no ser v\xe1lido o estar temporalmente inactivo.","problem-starting-error":"No fue posible iniciar la VPN. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","problem-stopping-error":"No fue posible detener la VPN. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","generic-problem-error":"No fue posible realizar la operaci\xf3n. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","select-server-warning":"Por favor, seleccione un servidor primero.","data":{"ip":"Direcci\xf3n IP:","ip-problem-info":"Hubo un problema al intentar obtener la IP. Por favor, verif\xedquela utilizando un servicio externo.","ip-country-problem-info":"Hubo un problema al intentar obtener el pa\xeds. Por favor, verif\xedquelo utilizando un servicio externo.","ip-refresh-info":"Refrescar","ip-refresh-time-warning":"Por favor, espere {{ seconds }} segundo(s) antes de refrescar los datos.","ip-refresh-loading-warning":"Por favor, espere a que finalice la operaci\xf3n anterior.","country":"Pa\xeds:","server":"Servidor:","server-note":"Nota del servidor:","original-server-note":"Nota original del servidor:","local-pk":"Llave p\xfablica del visor local:","remote-pk":"Llave p\xfablica del visor remoto:","unavailable":"No disponible"}},"server-options":{"tooltip":"Opciones","connect-without-password":"Conectarse sin contrase\xf1a","connect-without-password-confirmation":"La conexi\xf3n se realizar\xe1 sin la contrase\xf1a. \xbfSeguro que desea continuar?","connect-using-password":"Conectarse usando una contrase\xf1a","connect-using-another-password":"Conectarse usando otra contrase\xf1a","edit-name":"Nombre personalizado","edit-label":"Nota personalizada","make-favorite":"Hacer favorito","make-favorite-confirmation":"\xbfRealmente desea marcar este servidor como favorito? Se eliminar\xe1 de la lista de bloqueados.","make-favorite-done":"Agregado a la lista de favoritos.","remove-from-favorites":"Quitar de favoritos","remove-from-favorites-done":"Eliminado de la lista de favoritos.","block":"Bloquear servidor","block-done":"Agregado a la lista de bloqueados.","block-confirmation":"\xbfRealmente desea bloquear este servidor? Se eliminar\xe1 de la lista de favoritos.","block-selected-confirmation":"\xbfRealmente desea bloquear el servidor actualmente seleccionado? Se cerrar\xe1n todas las conexiones.","block-selected-favorite-confirmation":"\xbfRealmente desea bloquear el servidor actualmente seleccionado? Se cerrar\xe1n todas las conexiones y se eliminar\xe1 de la lista de favoritos.","unblock":"Desbloquear servidor","unblock-done":"Eliminado de la lista de bloqueados.","remove-from-history":"Quitar del historial","remove-from-history-confirmation":"\xbfRealmente desea quitar del historial el servidor?","remove-from-history-done":"Eliminado del historial.","edit-value":{"name-title":"Nombre Personalizado","note-title":"Nota Personalizada","name-label":"Nombre personalizado","note-label":"Nota personalizada","apply-button":"Aplicar","changes-made-confirmation":"Se ha realizado el cambio."}},"server-conditions":{"selected-info":"Este es el servidor actualmente seleccionado.","blocked-info":"Este servidor est\xe1 en la lista de bloqueados.","favorite-info":"Este servidor est\xe1 en la lista de favoritos.","history-info":"Este servidor est\xe1 en el historial de servidores.","has-password-info":"Se estableci\xf3 una contrase\xf1a para conectarse con este servidor."},"server-list":{"date-small-table-label":"Fecha","date-info":"\xdaltima vez en la que us\xf3 este servidor.","country-small-table-label":"Pa\xeds","country-info":"Pa\xeds donde se encuentra el servidor.","name-small-table-label":"Nombre","location-small-table-label":"Ubicaci\xf3n","public-key-small-table-label":"Lp","public-key-info":"Llave p\xfablica del servidor.","congestion-rating-small-table-label":"Calificaci\xf3n de congesti\xf3n","congestion-rating-info":"Calificaci\xf3n del servidor relacionada con lo congestionado que suele estar.","congestion-small-table-label":"Congesti\xf3n","congestion-info":"Congesti\xf3n actual del servidor.","latency-rating-small-table-label":"Calificaci\xf3n de latencia","latency-rating-info":"Calificaci\xf3n del servidor relacionada con la latencia que suele tener.","latency-small-table-label":"Latencia","latency-info":"Latencia actual del servidor.","hops-small-table-label":"Saltos","hops-info":"Cu\xe1ntos saltos se necesitan para conectarse con el servidor.","note-small-table-label":"Nota","note-info":"Nota acerca del servidor.","gold-rating-info":"Oro","silver-rating-info":"Plata","bronze-rating-info":"Bronce","notes-info":"Nota personalizada: {{ custom }} - Nota original: {{ original }}","empty-discovery":"Actualmente no hay servidores VPN para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","empty-history":"No hay historial que mostrar.","empty-favorites":"No hay servidores favoritos para mostrar.","empty-blocked":"No hay servidores bloqueados para mostrar.","empty-with-filter":"Ning\xfan servidor VPN coincide con los criterios de filtrado seleccionados.","add-manually-info":"Agregar el servidor manualmente.","current-filters":"Filtros actuales (presione para eliminar)","none":"Ninguno","unknown":"Desconocido","tabs":{"public":"P\xfablicos","history":"Historial","favorites":"Favoritos","blocked":"Bloqueados"},"add-server-dialog":{"title":"Ingresar manualmente","pk-label":"Llave p\xfablica del servidor","password-label":"Contrase\xf1a del servidor (si tiene)","name-label":"Nombre del servidor (opcional)","note-label":"Nota personal (opcional)","pk-length-error":"La llave p\xfablica debe tener 66 caracteres.","pk-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","use-server-button":"Usar servidor"},"password-dialog":{"title":"Introducir Contrase\xf1a","password-if-any-label":"Contrase\xf1a del servidor (si tiene)","password-label":"Contrase\xf1a del servidor","continue-button":"Continuar"},"filter-dialog":{"country":"El pa\xeds debe ser","name":"El nombre debe contener","location":"La ubicaci\xf3n debe contener","public-key":"La llave p\xfablica debe contener","congestion-rating":"La calificaci\xf3n de congesti\xf3n debe ser","latency-rating":"La calificaci\xf3n de latencia debe ser","rating-options":{"any":"Cualquiera","gold":"Oro","silver":"Plata","bronze":"Bronce"},"country-options":{"any":"Cualquiera"}}},"settings-page":{"setting-small-table-label":"Ajuste","value-small-table-label":"Valor","killswitch":"Killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN es interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.","get-ip":"Obtener informaci\xf3n de IP","get-ip-info":"Cuando est\xe1 activa, la aplicaci\xf3n utilizar\xe1 servicios externos para obtener informaci\xf3n sobre la IP actual.","data-units":"Unidades de datos","data-units-info":"Permite seleccionar las unidades que se utilizar\xe1n para mostrar las estad\xedsticas de transmisi\xf3n de datos.","minimum-hops":"Saltos m\xednimos","minimum-hops-info":"Permite configurar la cantidad m\xednima de saltos que la conexi\xf3n deber\xe1 realizar a trav\xe9s de otros visores de Skywire antes de alcanzar el destino final.","setting-on":"Encendido","setting-off":"Apagado","working-warning":"El sistema est\xe1 ocupado. Por favor, espere a que finalice la operaci\xf3n anterior.","change-while-connected-confirmation":"La protecci\xf3n VPN se interrumpir\xe1 mientras se realiza el cambio. \xbfDesea continuar?","data-units-modal":{"title":"Unidades de Datos","only-bits":"Bits para todas las estad\xedsticas","only-bytes":"Bytes para todas las estad\xedsticas","bits-speed-and-bytes-volume":"Bits para velocidad y bytes para volumen (predeterminado)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/3rdpartylicenses.txt b/cmd/skywire-visor/static/3rdpartylicenses.txt index 20a1082aff..ee27fa3243 100644 --- a/cmd/skywire-visor/static/3rdpartylicenses.txt +++ b/cmd/skywire-visor/static/3rdpartylicenses.txt @@ -30,7 +30,7 @@ MIT MIT The MIT License -Copyright (c) 2020 Google LLC. +Copyright (c) 2021 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -64,7 +64,7 @@ MIT MIT The MIT License -Copyright (c) 2020 Google LLC. +Copyright (c) 2021 Google LLC. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -247,7 +247,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI core-js MIT -Copyright (c) 2014-2018 Denis Pushkarev +Copyright (c) 2014-2021 Denis Pushkarev Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -268,30 +268,6 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -css-loader -MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - moment MIT Copyright (c) JS Foundation and other contributors @@ -549,35 +525,11 @@ Apache-2.0 -webpack -MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - zone.js MIT The MIT License -Copyright (c) 2010-2020 Google LLC. http://angular.io/license +Copyright (c) 2010-2020 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/cmd/skywire-visor/static/431.2466f78395672178a3a2.js b/cmd/skywire-visor/static/431.2466f78395672178a3a2.js new file mode 100644 index 0000000000..91a9ea864a --- /dev/null +++ b/cmd/skywire-visor/static/431.2466f78395672178a3a2.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[431],{3431:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/48.686120e8d57d3c0c7516.js b/cmd/skywire-visor/static/48.686120e8d57d3c0c7516.js new file mode 100644 index 0000000000..fb229dbeb5 --- /dev/null +++ b/cmd/skywire-visor/static/48.686120e8d57d3c0c7516.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[48],{77048:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","port":"Port:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/5.265280f3d0f4895d526f.js b/cmd/skywire-visor/static/5.265280f3d0f4895d526f.js deleted file mode 100644 index fbae82c868..0000000000 --- a/cmd/skywire-visor/static/5.265280f3d0f4895d526f.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"K+GZ":function(e){e.exports=JSON.parse('{"common":{"save":"Speichern","cancel":"Abbrechen","downloaded":"Heruntergeladen","uploaded":"Hochgeladen","loading-error":"Beim Laden der Daten ist ein Fehler aufgetreten. Versuche es erneut...","operation-error":"Beim Ausf\xfchren der Aktion ist ein Fehler aufgetreten.","no-connection-error":"Es ist keine Internetverbindung oder Verbindung zum Hypervisor vorhanden.","error":"Fehler:","refreshed":"Daten aktualisiert.","options":"Optionen","logout":"Abmelden","logout-error":"Fehler beim Abmelden.","logout-confirmation":"Wirklich abmelden?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unbekannt","close":"Schlie\xdfen"},"labeled-element":{"edit-label":"Bezeichnung \xe4ndern","remove-label":"Bezeichnung l\xf6schen","copy":"Kopieren","remove-label-confirmation":"Bezeichnung wirklich l\xf6schen?","unnamed-element":"Unbenannt","unnamed-local-visor":"Lokaler Visor","local-element":"Lokal","tooltip":"Klicken um Eintrag zu kopieren oder Bezeichnung zu \xe4ndern","tooltip-with-text":"{{ text }} (Klicken um Eintrag zu kopieren oder Bezeichnung zu \xe4ndern)"},"labels":{"title":"Bezeichnung","info":"Bezeichnungen, die eingegeben wurden um Visor, Transporte und andere Elemente einfach wiederzuerkennen.","list-title":"Bezeichnunen Liste","label":"Bezeichnung","id":"Element ID","type":"Typ","delete-confirmation":"Diese Bezeichnung wirklich l\xf6schen?","delete-selected-confirmation":"Ausgew\xe4hlte Bezeichnungen wirklich l\xf6schen?","delete":"Bezeichnung l\xf6schen","deleted":"Bezeichnung gel\xf6scht.","empty":"Keine gespeicherten Bezeichnungen vorhanden.","empty-with-filter":"Keine Bezeichnung erf\xfcllt die gew\xe4hlten Filterkriterien.","filter-dialog":{"label":"Die Bezeichnung muss beinhalten","id":"Die ID muss beinhalten","type":"Der Typ muss sein","type-options":{"any":"Jeder","visor":"Visor","dmsg-server":"DMSG Server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Dr\xfccken um Filter zu l\xf6schen)","remove-confirmation":"Filter wirkliche l\xf6schen?"},"tables":{"title":"Ordnen nach","sorting-title":"Geordnet nach:","sort-by-value":"Wert","sort-by-label":"Bezeichnung","label":"(Bezeichnung)","inverted-order":"(Umgekehrt)"},"start":{"title":"Start"},"node":{"title":"Visor Details","not-found":"Visor nicht gefunden.","statuses":{"online":"Online","online-tooltip":"Visor ist online","partially-online":"Online mit Problemen","partially-online-tooltip":"Visor ist online, aber nicht alle Dienste laufen. F\xfcr Informationen bitte die Details Seite \xf6ffnen und die \\"Zustand Info\\" \xfcberpr\xfcfen.","offline":"Offline","offline-tooltip":"Visor ist offline"},"details":{"node-info":{"title":"Visor Info","label":"Bezeichnung:","public-key":"\xd6ffentlicher Schl\xfcssel:","dmsg-server":"DMSG Server:","ping":"Ping:","node-version":"Visor Version:","time":{"title":"Online seit:","seconds":"ein paar Sekunden","minute":"1 Minute","minutes":"{{ time }} Minuten","hour":"1 Stunde","hours":"{{ time }} Stunden","day":"1 Tag","days":"{{ time }} Tage","week":"1 Woche","weeks":"{{ time }} Wochen"}},"node-health":{"title":"Zustand Info","status":"Status:","transport-discovery":"Transport Entdeckung:","route-finder":"Route Finder:","setup-node":"Setup Visor:","uptime-tracker":"Verf\xfcgbarkeitsmonitor:","address-resolver":"Addressaufl\xf6ser:","element-offline":"offline"},"node-traffic-data":"Datenverkehr"},"tabs":{"info":"Info","apps":"Anwendungen","routing":"Routing"},"error-load":"Beim Aktualisieren der Visordaten ist ein Fehler aufgetreten."},"nodes":{"title":"Visor Liste","dmsg-title":"DMSG","update-all":"Alle Visor aktualisieren","hypervisor":"Hypervisor","state":"Status","state-tooltip":"Aktueller Status","label":"Bezeichnung","key":"Schl\xfcssel","dmsg-server":"DMSG Server","ping":"Ping","hypervisor-info":"Dieser Visor ist der aktuelle Hypervisor.","copy-key":"Schl\xfcssel kopieren","copy-dmsg":"DMSG Server Schl\xfcssel kopieren","copy-data":"Daten kopieren","view-node":"Visor betrachten","delete-node":"Visor l\xf6schen","delete-all-offline":"Alle offline Visor l\xf6schen","error-load":"Beim Aktualisieren der Visor-Liste ist ein Fehler aufgetreten.","empty":"Es ist kein Visor zu diesem Hypervisor verbunden.","empty-with-filter":"Kein Visor erf\xfcllt die gew\xe4hlten Filterkriterien","delete-node-confirmation":"Visor wirklich von der Liste l\xf6schen?","delete-all-offline-confirmation":"Wirklich alle offline Visor von der Liste l\xf6schen?","delete-all-filtered-offline-confirmation":"Alle offline Visor, welche die Filterkriterien erf\xfcllen werden von der Liste gel\xf6scht. Wirklich fortfahren?","deleted":"Visor gel\xf6scht.","deleted-singular":"Ein offline Visor gel\xf6scht.","deleted-plural":"{{ number }} offline Visor gel\xf6scht.","no-visors-to-update":"Kein Visor zum Aktualiseren vorhanden.","filter-dialog":{"online":"Der Visor muss","label":"Der Bezeichner muss enthalten","key":"Der \xf6ffentliche Schl\xfcssel muss enthalten","dmsg":"Der DMSG Server Schl\xfcssel muss enthalten","online-options":{"any":"Online oder offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Bezeichnung","done":"Bezeichnung gespeichert.","label-removed-warning":"Die Bezeichnung wurde gel\xf6scht."},"settings":{"title":"Einstellungen","password":{"initial-config-help":"Diese Option wird verwendet, um das erste Passwort festzulegen. Nachdem ein Passwort festgelegt wurde, ist es nicht m\xf6glich dieses, mit dieser Option zu \xe4ndern.","help":"Optionen um das Passwort zu \xe4ndern.","old-password":"Altes Passwort","new-password":"Neues Passwort","repeat-password":"Neues Passwort wiederholen","password-changed":"Passwort wurde ge\xe4ndert.","error-changing":"Fehler beim \xc4ndern des Passworts aufgetreten.","initial-config":{"title":"Erstes Passwort festlegen","password":"Passwort","repeat-password":"Passwort wiederholen","set-password":"Passwort \xe4ndern","done":"Passwort wurde ge\xe4ndert.","error":"Fehler. Es scheint ein erstes Passwort wurde schon gew\xe4hlt."},"errors":{"bad-old-password":"Altes Passwort falsch","old-password-required":"Altes Passwort wird ben\xf6tigt","new-password-error":"Passwort muss 6-64 Zeichen lang sein.","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","default-password":"Das Standardpasswort darf nicht verwendet werden (1234)."}},"updater-config":{"open-link":"Aktualisierungseinstellungen anzeigen","open-confirmation":"Es wird nur erfahrenen Benutzern empfohlen, die Aktualisierungseinstellungen zu modifizieren. Wirkich fortfahren?","help":"Dieses Formular benutzen um Einstellungen f\xfcr die Aktualisierung zu \xfcberschreiben. Alle leeren Felder werden ignoriert. Die Einstellungen werden f\xfcr alle Aktualisierungen \xfcbernommen. Dies geschieht unabh\xe4ngig davon, welches Element aktualisiert wird. Bitte Vorsicht wahren.","channel":"Kanal","version":"Version","archive-url":"Archiv-URL","checksum-url":"Pr\xfcfsummen-URL","not-saved":"Die \xc4nderungen wurden noch nicht gespeichert.","save":"\xc4nderungen speichern","remove-settings":"Einstellungen l\xf6schen","saved":"Die benutzerdefinierten Einstellungen wurden gespeichert.","removed":"Die benutzerdefinierten Einstellungen wurden gel\xf6scht.","save-confirmation":"Wirklich die benutzerdefinierten Einstellungen anwenden?","remove-confirmation":"Wirklich die benutzerdefinierten Einstellungen l\xf6schen?"},"change-password":"Passwort \xe4ndern","refresh-rate":"Aktualisierungsintervall","refresh-rate-help":"Zeit, bis das System die Daten automatisch aktualisiert.","refresh-rate-confirmation":"Aktualisierungsintervall ge\xe4ndert.","seconds":"Sekunden"},"login":{"password":"Passwort","incorrect-password":"Falsches Passwort.","initial-config":"Erste Konfiguration"},"actions":{"menu":{"terminal":"Terminal","config":"Konfiguration","update":"Aktualisieren","reboot":"Neustart"},"reboot":{"confirmation":"Den Visor wirklich neustarten?","done":"Der Visor wird neu gestartet."},"terminal-options":{"full":"Terminal","simple":"Einfaches Terminal"},"terminal":{"title":"Terminal","input-start":"Skywire Terminal f\xfcr {{address}}","error":"Bei der Ausf\xfchrung des Befehls ist ein Fehler aufgetreten."}},"update":{"title":"Aktualisierung","error-title":"Error","processing":"Suche nach Aktualisierungen...","no-update":"Keine Aktualisierung vorhanden.
Installierte Version:","no-updates":"Keine neuen Aktualisierungen gefunden.","already-updating":"Einige Visor werden schon aktualisiert:","update-available":"Folgende Aktualisierungen wurden gefunden:","update-available-singular":"Folgende Aktualisierungen wurden f\xfcr einen Visor gefunden:","update-available-plural":"Folgende Aktualisierungen wurden f\xfcr {{ number }} Visor gefunden:","update-available-additional-singular":"Folgende zus\xe4tzliche Aktualisierungen f\xfcr einen Visor wurden gefunden:","update-available-additional-plural":"Folgende zus\xe4tzliche Aktualisierungen f\xfcr {{ number }} Visor wurden gefunden:","update-instructions":"\'Aktualisierungen installieren\' klicken um fortzufahren.","updating":"Die Aktualisierung wurde gestartet. Das Fenster kann erneut ge\xf6ffnet werden um den Fortschritt zu sehen:","version-change":"Von {{ currentVersion }} auf {{ newVersion }}","selected-channel":"Gew\xe4hlter Kanal:","downloaded-file-name-prefix":"Herunterladen: ","speed-prefix":"Geschwindigkeit: ","time-downloading-prefix":"Dauer: ","time-left-prefix":"Dauert ungef\xe4hr noch: ","starting":"Aktualisierung wird vorbereitet","finished":"Status Verbindung beendet","install":"Aktualisierungen installieren"},"apps":{"log":{"title":"Log","empty":"Im ausgew\xe4hlten Intervall sind keine Logs vorhanden","filter-button":"Log-Intervall:","filter":{"title":"Filter","filter":"Zeige generierte Logs","7-days":"der letzten 7 Tagen","1-month":"der letzten 30 Tagen","3-months":"der letzten 3 Monaten","6-months":"der letzten 6 Monaten","1-year":"des letzten Jahres","all":"Zeige alle"}},"apps-list":{"title":"Anwendungen","list-title":"Anwendungsliste","app-name":"Name","port":"Port","state":"Status","state-tooltip":"Aktueller Status","auto-start":"Auto-Start","empty":"Visor hat keine Anwendungen.","empty-with-filter":"Keine Anwendung erf\xfcllt die Filterkriterien","disable-autostart":"Autostart ausschalten","enable-autostart":"Autostart einschalten","autostart-disabled":"Autostart aus","autostart-enabled":"Autostart ein","unavailable-logs-error":"Kann Logs nicht zeigen, solange die Anwendung gestoppt ist.","filter-dialog":{"state":"Der Status muss sein","name":"Der Name muss enthalten","port":"Der Port muss enthalten","autostart":"Autostart muss sein","state-options":{"any":"L\xe4uft oder gestoppt","running":"L\xe4uft","stopped":"Gestoppt"},"autostart-options":{"any":"An oder Aus","enabled":"An","disabled":"Aus"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Einstellungen","vpn-title":"VPN-Server Einstellungen","new-password":"Neues Passwort (Um Passwort zu entfernen leer lassen)","repeat-password":"Passwort wiederholen","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","secure-mode-check":"Sicherheitsmodus benutzen","secure-mode-info":"Wenn aktiv, erlaubt der Server kein Client/Server SSH und erlaubt kein Datenverkehr vom VPN-Client zum lokalen Netzwerk des Servers.","save":"Speichern","remove-passowrd-confirmation":"Kein Passwort eingegeben. Wirklich Passwort entfernen?","change-passowrd-confirmation":"Passwort wirklich \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Einstellungen","vpn-title":"VPN-Client Einstellungen","discovery-tab":"Suche","remote-visor-tab":"Manuelle Eingabe","history-tab":"Verlauf","settings-tab":"Einstellungen","use":"Diese Daten benutzen","change-note":"Notiz \xe4ndern","remove-entry":"Eintrag l\xf6schen","note":"Notiz:","note-entered-manually":"Manuell eingegeben","note-obtained":"Von Discovery-Service erhalten","key":"Schl\xfcssel:","port":"Port:","location":"Ort:","state-available":"Verf\xfcgbar","state-offline":"Offline","public-key":"Remote Visor \xf6ffentlicher Schl\xfcssel","password":"Passwort","password-history-warning":"Achtung: Das Passwort wird nicht im Verlauf gespeichert.","copy-pk-info":"\xd6ffentlichen Schl\xfcssel kopieren.","copied-pk-info":"\xd6ffentlicher Schl\xfcssel wurde kopiert","copy-pk-error":"Beim Kopieren des \xf6ffentlichen Schl\xfcssels ist ein Problem aufgetreten.","no-elements":"Derzeit k\xf6nnen keine Elemente angezeigt werden. Bitte sp\xe4ter versuchen.","no-elements-for-filters":"Keine Elemente, welche die Filterkriterien erf\xfcllen.","no-filter":"Es wurde kein Filter gew\xe4hlt.","click-to-change":"Zum \xc4ndern klicken","remote-key-length-error":"Der \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","save":"Speichern","remove-from-history-confirmation":"Eintrag wirklich aus dem Verlauf l\xf6schen?","change-key-confirmation":"Wirklich den \xf6ffentlichen Schl\xfcssel des remote Visors \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert.","no-history":"Dieser Tab zeigt die letzten {{ number }} \xf6ffentlichen Schl\xfcssel, die benutzt wurden.","default-note-warning":"Die Standardnotiz wurde nicht benutzt.","pagination-info":"{{ currentElementsRange }} von {{ totalElements }}","killswitch-check":"Killswitch aktivieren","killswitch-info":"Wenn aktiv, werden alle Netzwerkverbindungen deaktiviert falls die Anwendung l\xe4uft aber der VPN Schutz unterbrochen wird (f\xfcr tempor\xe4re Fehler oder andere Probleme).","settings-changed-alert":"Die \xc4nderungen wurden noch nicht gespeichert.","save-settings":"Einstellungen speichern","change-note-dialog":{"title":"Notiz \xe4ndern","note":"Notiz"},"password-dialog":{"title":"Passwort eingeben","password":"Passwort","info":"Ein Passwort wird abgefragt, da bei der Erstellung des gew\xe4hlten Eintrags ein Passwort gesetzt wurde, aus Sicherheitsgr\xfcnden aber nicht gespeichert wurde. Das Passwort kann frei gelassen werden.","continue-button":"Fortfahren"},"filter-dialog":{"title":"Filter","country":"Das Land muss sein","any-country":"Jedes","location":"Der Ort muss enthalten","pub-key":"Der \xf6ffentliche Schl\xfcssel muss enthalten","apply":"Anwenden"}},"stop-app":"Stopp","start-app":"Start","view-logs":"Zeige Logs","settings":"Einstellungen","error":"Ein Fehler ist aufgetreten.","stop-confirmation":"Anwendung wirklich anhalten?","stop-selected-confirmation":"Ausgew\xe4hlte Anwendung wirklich anhalten?","disable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich ausschalten?","enable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich einschalten?","disable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich ausschalten?","enable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich einschalten","operation-completed":"Operation ausgef\xfchrt","operation-unnecessary":"Gew\xfcnschte Einstellungen schon aktiv.","status-running":"L\xe4uft","status-stopped":"Gestoppt","status-failed":"Fehler","status-running-tooltip":"Anwendung l\xe4uft","status-stopped-tooltip":"Anwendung gestoppt","status-failed-tooltip":"Ein Fehler ist aufgetreten. Log der Anwendung \xfcberpr\xfcfen."},"transports":{"title":"Transporte","remove-all-offline":"Alle offline Transporte l\xf6schen","remove-all-offline-confirmation":"Wirkliche alle offline Transporte l\xf6schen?","remove-all-filtered-offline-confirmation":"Alle offline Transporte, welche die Filterkriterien erf\xfcllen werden gel\xf6scht. Wirklich fortfahren?","info":"Verbindungen mit remote Skywire Visor, um lokalen Skywire Anwendungen zu erlauben mit diesen remote Visor zu kommunizieren.","list-title":"Transport-Liste","state":"Status","state-tooltip":"Aktueller Status","id":"ID","remote-node":"Remote","type":"Typ","create":"Transport erstellen","delete-confirmation":"Transport wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Transporte wirklich entfernen?","delete":"Transport entfernen","deleted":"Transport erfolgreich entfernt.","empty":"Visor hat keine Transporte.","empty-with-filter":"Kein Transport erf\xfcllt die gew\xe4hlten Filterkriterien.","statuses":{"online":"Online","online-tooltip":"Transport ist online","offline":"Offline","offline-tooltip":"Transport ist offline"},"details":{"title":"Details","basic":{"title":"Basis Info","state":"Status:","id":"ID:","local-pk":"Lokaler \xf6ffentlicher Schl\xfcssel:","remote-pk":"Remote \xf6ffentlicher Schl\xfcssel:","type":"Typ:"},"data":{"title":"Daten\xfcbertragung","uploaded":"Hochgeladen:","downloaded":"Heruntergeladen:"}},"dialog":{"remote-key":"Remote \xf6ffentlicher Schl\xfcssel:","label":"Bezeichnung (optional)","transport-type":"Transport-Typ","success":"Transport erstellt.","success-without-label":"Der Transport wurde erstellt, aber die Bezeichnung konnte nicht gespeichert werden.","errors":{"remote-key-length-error":"Der remote \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der remote \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","transport-type-error":"Ein Transport-Typ wird ben\xf6tigt."}},"filter-dialog":{"online":"Der Transport muss sein","id":"Die ID muss enthalten","remote-node":"Der remote Schl\xfcssel muss enthalten","online-options":{"any":"Online oder offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routen","info":"Netzwerkpfade zum Erreichen von remote Visor. Routen werden bei Bedarf automatisch generiert.","list-title":"Routen-Liste","key":"Schl\xfcssel","type":"Typ","source":"Quelle","destination":"Ziel","delete-confirmation":"Diese Route wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Routen wirklich entfernen?","delete":"Route entfernen","deleted":"Route erfolgreich entfernt.","empty":"Visor hat keine Routen.","empty-with-filter":"Keine Route erf\xfcllt die gew\xe4hlten Filterkriterien.","details":{"title":"Details","basic":{"title":"Basis Info","key":"Schl\xfcssel:","rule":"Regel:"},"summary":{"title":"Regel Zusammenfassung","keep-alive":"Keep alive:","type":"Typ:","key-route-id":"Schl\xfcssel-Route ID:"},"specific-fields-titles":{"app":"Anwendung","forward":"Weiterleitung","intermediary-forward":"Vermittelte Weiterleitung"},"specific-fields":{"route-id":"N\xe4chste Routen ID:","transport-id":"N\xe4chste Transport ID:","destination-pk":"Ziel \xf6ffentlicher Schl\xfcssel:","source-pk":"Quelle \xf6ffentlicher Schl\xfcssel:","destination-port":"Ziel Port:","source-port":"Quelle Port:"}},"filter-dialog":{"key":"Der Schl\xfcssel muss enthalten","type":"Der Typ muss sein","source":"Die Quelle muss enhalten","destination":"Das Ziel muss enthalten","any-type-option":"Egal"}},"copy":{"tooltip":"In Zwischenablage kopieren","tooltip-with-text":"{{ text }} (In Zwischenablage kopieren)","copied":"In Zwischenablage kopiert!"},"selection":{"select-all":"Alle ausw\xe4hlen","unselect-all":"Alle abw\xe4hlen","delete-all":"Alle ausgew\xe4hlten Elemente entfernen","start-all":"Starte ausgew\xe4hlte Anwendung","stop-all":"Stoppe ausgew\xe4hlte Anwendung","enable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen einschalten","disable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen ausschalten"},"refresh-button":{"seconds":"K\xfcrzlich aktualisiert","minute":"Vor einer Minute aktualisiert","minutes":"Vor {{ time }} Minuten aktualisiert","hour":"Vor einer Stunde aktualisiert","hours":"Vor {{ time }} Stunden aktualisert","day":"Vor einem Tag aktualisiert","days":"Vor {{ time }} Tagen aktualisert","week":"Vor einer Woche aktualisiert","weeks":"Vor {{ time }} Wochen aktualisert","error-tooltip":"Fehler beim Aktualiseren aufgetreten. Versuche erneut alle {{ time }} Sekunden..."},"view-all-link":{"label":"Zeige alle {{ number }} Elemente"},"paginator":{"first":"Erste","last":"Letzte","total":"Insgesamt: {{ number }} Seiten","select-page-title":"Seite ausw\xe4hlen"},"confirmation":{"header-text":"Best\xe4tigung","confirm-button":"Ja","cancel-button":"Nein","close":"Schlie\xdfen","error-header-text":"Fehler","done-header-text":"Fertig"},"language":{"title":"Sprache ausw\xe4hlen"},"tabs-window":{"title":"Tab wechseln"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/502.8c453718666fa967b3a8.js b/cmd/skywire-visor/static/502.8c453718666fa967b3a8.js new file mode 100644 index 0000000000..f5c8a6b74f --- /dev/null +++ b/cmd/skywire-visor/static/502.8c453718666fa967b3a8.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[502],{40502:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"Yes","no":"No","unknown":"Unknown","close":"Close","window-size-error":"The window is too narrow for the content."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","filter-info":"Filter list.","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"The visor is online.","connecting":"Connecting","connecting-tooltip":"The visor is online, but still connecting to the uptime tracker.","unknown":"Unknown","unknown-tooltip":"The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.","partially-online":"Online with problems","partially-online-tooltip":"The visor is online, but disconnected from the uptime tracker.","offline":"Offline","offline-tooltip":"The visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","symmetic-nat":"Symmetic NAT:","public-ip":"Public IP:","ip":"IP:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","skybian-version":"Skybian version:","no-skybian-version":"(not using Skybian)","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"transports-info":{"title":"Transports Info","autoconnect":"Autoconnect:","autoconnect-info":"When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.","enabled":"Enabled","disabled":"Disabled","enable-button":"Enable","disable-button":"Disable","enable-confirmation":"Are you sure you want to enable the autoconnect feature?","disable-confirmation":"Are you sure you want to disable the autoconnect feature?","enable-done":"The autoconnect feature has been enabled.","disable-done":"The autoconnect feature has been disabled."},"router-info":{"title":"Router Info","min-hops":"Min hops:","max-hops":"Max hops:","change-config-button":"Change configuration"},"node-health":{"title":"Health Info","uptime-tracker":"Uptime tracker:","connected":"Connected","disconnected":"Disconnected"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"router-config":{"title":"Router Configuration","info":"Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.","min-hops":"Min hops","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all online visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot","logs":"View logs"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","open":"Open","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","offline":"Offline","persistent":"Persistent","persistent-tooltip":"Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.","persistent-transport-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.","persistent-transport-button-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.","non-persistent-transport-button-tooltip":"Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","make-persistent":"Make persistent","make-non-persistent":"Make non-persistent","make-selected-persistent":"Make all selected persistent","make-selected-non-persistent":"Make all selected non-persistent","changes-made":"Changes made.","no-changes-needed":"No changes were needed.","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","make-persistent-confirmation":"Are you sure you want to make the transport persistent?","make-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent?","make-selected-persistent-confirmation":"Are you sure you want to make the selected transports persistent?","make-selected-non-persistent-confirmation":"Are you sure you want to make the selected transports non-persistent?","make-offline-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.","delete-confirmation":"Are you sure you want to delete the transport?","delete-persistent-confirmation":"This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","persistent":"Persistent:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","make-persistent":"Make persistent","persistent-tooltip":"Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","only-persistent-created":"The persistent transport was created, but it may have not been activated.","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"persistent":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","persistent-options":{"any":"Any","persistent":"Persistent","non-persistent":"Non-persistent"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"},"vpn":{"title":"VPN Control Panel","start":"Start","servers":"Servers","settings":"Settings","unnamed":"Unnamed","starting-blocked-server-error":"Unable to connect to the selected server because it has been added to the blocked servers list.","unexpedted-error":"An unexpected error occurred and the operation could not be completed.","remote-access-title":"It appears that you are accessing the system remotely","remote-access-text":"This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.","server-change":{"busy-error":"The system is busy. Please wait.","backend-error":"It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.","already-selected-warning":"The selected server is already being used.","change-server-while-connected-confirmation":"The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?","start-same-server-confirmation":"You had already selected that server. Do you want to connect to it?"},"error-page":{"text":"The VPN client app is not available.","more-info":"It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.","text-pk":"Invalid configuration.","more-info-pk":"The application cannot be started because you have not specified the visor public key.","text-storage":"Error saving data.","more-info-storage":"There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.","text-pk-change":"Invalid operation.","more-info-pk-change":"Please use this application to manage only one VPN client."},"connection-info":{"state-title":"Your connection is currently:","state-connecting":"Connecting","state-connecting-info":"The VPN protection is being activated.","state-connected":"Connected","state-connected-info":"The VPN protection is on.","state-disconnecting":"Disconnecting","state-disconnecting-info":"The VPN protection is being deactivated.","state-reconnecting":"Reconnecting","state-reconnecting-info":"The VPN protection is being restored.","state-disconnected":"Disconnected","state-disconnected-info":"The VPN protection is off.","state-info":"Current connection status.","latency-info":"Current latency.","upload-info":"Upload speed.","download-info":"Download speed."},"connection-error":{"text":"Connection error","info":"Problem connecting with the vpn app. Some data being displayed could be outdated."},"status-page":{"start-title":"Start VPN","no-server":"No server selected!","disconnect":"Disconnect","last-error":"Last error:","unknown-error":"Unknown error.","disconnect-confirmation":"Are you sure you want to stop the VPN protection?","upload-info":"Uploaded data stats.","download-info":"Downloaded data stats.","latency-info":"Latency stats.","total-data-label":"total","problem-connecting-error":"It was not possible to connect to the server. The server may be invalid or temporarily down.","problem-starting-error":"It was not possible to start the VPN. Please make sure the base VPN client app is running.","problem-stopping-error":"It was not possible to stop the VPN. Please make sure the base VPN client app is running.","generic-problem-error":"It was not possible to perform the operation. Please make sure the base VPN client app is running.","select-server-warning":"Please select a server first.","data":{"ip":"IP address:","ip-problem-info":"There was a problem trying to get the IP. Please verify it using an external service.","ip-country-problem-info":"There was a problem trying to get the country. Please verify it using an external service.","ip-refresh-info":"Refresh","ip-refresh-time-warning":"Please wait {{ seconds }} second(s) before refreshing the data.","ip-refresh-loading-warning":"Please wait for the previous operation to finish.","country":"Country:","server":"Server:","server-note":"Server note:","original-server-note":"Original server note:","local-pk":"Local visor public key:","remote-pk":"Remote visor public key:","unavailable":"Unavailable"}},"server-options":{"tooltip":"Options","connect-without-password":"Connect without password","connect-without-password-confirmation":"The connection will be made without the password. Are you sure you want to continue?","connect-using-password":"Connect using a password","connect-using-another-password":"Connect using another password","edit-name":"Custom name","edit-label":"Custom note","make-favorite":"Make favorite","make-favorite-confirmation":"Are you sure you want to mark this server as favorite? It will be removed from the blocked list.","make-favorite-done":"Added to the favorites list.","remove-from-favorites":"Remove from favorites","remove-from-favorites-done":"Removed from the favorites list.","block":"Block server","block-done":"Added to the blocked list.","block-confirmation":"Are you sure you want to block this server? It will be removed from the favorites list.","block-selected-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed.","block-selected-favorite-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.","unblock":"Unblock server","unblock-done":"Removed from the blocked list.","remove-from-history":"Remove from history","remove-from-history-confirmation":"Are you sure you want to remove this server from the history?","remove-from-history-done":"Removed from history.","edit-value":{"name-title":"Custom Name","note-title":"Custom Note","name-label":"Custom name","note-label":"Custom note","apply-button":"Apply","changes-made-confirmation":"The change has been made."}},"server-conditions":{"selected-info":"This is the currently selected server.","blocked-info":"This server is in the blocked list.","favorite-info":"This server is in the favorites list.","history-info":"This server is in the server history.","has-password-info":"A password was set for connecting with this server."},"server-list":{"date-small-table-label":"Date","date-info":"Last time you used this server.","country-small-table-label":"Country","country-info":"Country where the server is located.","name-small-table-label":"Name","location-small-table-label":"Location","public-key-small-table-label":"Pk","public-key-info":"Server public key.","congestion-rating-small-table-label":"Congestion rating","congestion-rating-info":"Rating of the server related to how congested it tends to be.","congestion-small-table-label":"Congestion","congestion-info":"Current server congestion.","latency-rating-small-table-label":"Latency rating","latency-rating-info":"Rating of the server related to how much latency it tends to have.","latency-small-table-label":"Latency","latency-info":"Current server latency.","hops-small-table-label":"Hops","hops-info":"How many hops are needed for connecting with the server.","note-small-table-label":"Note","note-info":"Note about the server.","gold-rating-info":"Gold","silver-rating-info":"Silver","bronze-rating-info":"Bronze","notes-info":"Custom note: {{ custom }} - Original note: {{ original }}","empty-discovery":"Currently there are no VPN servers to show. Please try again later.","empty-history":"There is no history to show.","empty-favorites":"There are no favorite servers to show.","empty-blocked":"There are no blocked servers to show.","empty-with-filter":"No VPN server matches the selected filtering criteria.","add-manually-info":"Add server manually.","current-filters":"Current filters (press to remove)","none":"None","unknown":"Unknown","tabs":{"public":"Public","history":"History","favorites":"Favorites","blocked":"Blocked"},"add-server-dialog":{"title":"Enter manually","pk-label":"Server public key","password-label":"Server password (if any)","name-label":"Server name (optional)","note-label":"Personal note (optional)","pk-length-error":"The public key must be 66 characters long.","pk-chars-error":"The public key must only contain hexadecimal characters.","use-server-button":"Use server"},"password-dialog":{"title":"Enter Password","password-if-any-label":"Server password (if any)","password-label":"Server password","continue-button":"Continue"},"filter-dialog":{"country":"The country must be","name":"The name must contain","location":"The location must contain","public-key":"The public key must contain","congestion-rating":"The congestion rating must be","latency-rating":"The latency rating must be","rating-options":{"any":"Any","gold":"Gold","silver":"Silver","bronze":"Bronze"},"country-options":{"any":"Any"}}},"settings-page":{"setting-small-table-label":"Setting","value-small-table-label":"Value","killswitch":"Killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","get-ip":"Get IP info","get-ip-info":"When active, the application will use external services to obtain information about the current IP.","data-units":"Data units","data-units-info":"Allows to select the units that will be used to display the data transmission statistics.","minimum-hops":"Minimum hops","minimum-hops-info":"Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.","setting-on":"On","setting-off":"Off","working-warning":"The system is busy. Please wait for the previous operation to finish.","change-while-connected-confirmation":"The VPN protection will be interrupted while changing the setting. Do you want to continue?","data-units-modal":{"title":"Data Units","only-bits":"Bits for all stats","only-bytes":"Bytes for all stats","bits-speed-and-bytes-volume":"Bits for speed and bytes for volume (default)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/6.d7f14812f0504c4532c0.js b/cmd/skywire-visor/static/6.d7f14812f0504c4532c0.js deleted file mode 100644 index cc91b44e29..0000000000 --- a/cmd/skywire-visor/static/6.d7f14812f0504c4532c0.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{KPjT:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unknown","close":"Close"},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"node-health":{"title":"Health info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/634.58120e5014668deb7e50.js b/cmd/skywire-visor/static/634.58120e5014668deb7e50.js new file mode 100644 index 0000000000..46cc6e56d3 --- /dev/null +++ b/cmd/skywire-visor/static/634.58120e5014668deb7e50.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[634],{23634:function(e){e.exports=JSON.parse('{"common":{"save":"Speichern","cancel":"Abbrechen","downloaded":"Heruntergeladen","uploaded":"Hochgeladen","loading-error":"Beim Laden der Daten ist ein Fehler aufgetreten. Versuche es erneut...","operation-error":"Beim Ausf\xfchren der Aktion ist ein Fehler aufgetreten.","no-connection-error":"Es ist keine Internetverbindung oder Verbindung zum Hypervisor vorhanden.","error":"Fehler:","refreshed":"Daten aktualisiert.","options":"Optionen","logout":"Abmelden","logout-error":"Fehler beim Abmelden.","logout-confirmation":"Wirklich abmelden?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Unbekannt","close":"Schlie\xdfen"},"labeled-element":{"edit-label":"Bezeichnung \xe4ndern","remove-label":"Bezeichnung l\xf6schen","copy":"Kopieren","remove-label-confirmation":"Bezeichnung wirklich l\xf6schen?","unnamed-element":"Unbenannt","unnamed-local-visor":"Lokaler Visor","local-element":"Lokal","tooltip":"Klicken um Eintrag zu kopieren oder Bezeichnung zu \xe4ndern","tooltip-with-text":"{{ text }} (Klicken um Eintrag zu kopieren oder Bezeichnung zu \xe4ndern)"},"labels":{"title":"Bezeichnung","info":"Bezeichnungen, die eingegeben wurden um Visor, Transporte und andere Elemente einfach wiederzuerkennen.","list-title":"Bezeichnunen Liste","label":"Bezeichnung","id":"Element ID","type":"Typ","delete-confirmation":"Diese Bezeichnung wirklich l\xf6schen?","delete-selected-confirmation":"Ausgew\xe4hlte Bezeichnungen wirklich l\xf6schen?","delete":"Bezeichnung l\xf6schen","deleted":"Bezeichnung gel\xf6scht.","empty":"Keine gespeicherten Bezeichnungen vorhanden.","empty-with-filter":"Keine Bezeichnung erf\xfcllt die gew\xe4hlten Filterkriterien.","filter-dialog":{"label":"Die Bezeichnung muss beinhalten","id":"Die ID muss beinhalten","type":"Der Typ muss sein","type-options":{"any":"Jeder","visor":"Visor","dmsg-server":"DMSG Server","transport":"Transport"}}},"filters":{"filter-action":"Filter","press-to-remove":"(Dr\xfccken um Filter zu l\xf6schen)","remove-confirmation":"Filter wirkliche l\xf6schen?"},"tables":{"title":"Ordnen nach","sorting-title":"Geordnet nach:","sort-by-value":"Wert","sort-by-label":"Bezeichnung","label":"(Bezeichnung)","inverted-order":"(Umgekehrt)"},"start":{"title":"Start"},"node":{"title":"Visor Details","not-found":"Visor nicht gefunden.","statuses":{"online":"Online","online-tooltip":"Visor ist online","partially-online":"Online mit Problemen","partially-online-tooltip":"Visor ist online, aber nicht alle Dienste laufen. F\xfcr Informationen bitte die Details Seite \xf6ffnen und die \\"Zustand Info\\" \xfcberpr\xfcfen.","offline":"Offline","offline-tooltip":"Visor ist offline"},"details":{"node-info":{"title":"Visor Info","label":"Bezeichnung:","public-key":"\xd6ffentlicher Schl\xfcssel:","dmsg-server":"DMSG Server:","ping":"Ping:","node-version":"Visor Version:","time":{"title":"Online seit:","seconds":"ein paar Sekunden","minute":"1 Minute","minutes":"{{ time }} Minuten","hour":"1 Stunde","hours":"{{ time }} Stunden","day":"1 Tag","days":"{{ time }} Tage","week":"1 Woche","weeks":"{{ time }} Wochen"}},"node-health":{"title":"Zustand Info","status":"Status:","transport-discovery":"Transport Entdeckung:","route-finder":"Route Finder:","setup-node":"Setup Visor:","uptime-tracker":"Verf\xfcgbarkeitsmonitor:","address-resolver":"Addressaufl\xf6ser:","element-offline":"offline"},"node-traffic-data":"Datenverkehr"},"tabs":{"info":"Info","apps":"Anwendungen","routing":"Routing"},"error-load":"Beim Aktualisieren der Visordaten ist ein Fehler aufgetreten."},"nodes":{"title":"Visor Liste","dmsg-title":"DMSG","update-all":"Alle Visor aktualisieren","hypervisor":"Hypervisor","state":"Status","state-tooltip":"Aktueller Status","label":"Bezeichnung","key":"Schl\xfcssel","dmsg-server":"DMSG Server","ping":"Ping","hypervisor-info":"Dieser Visor ist der aktuelle Hypervisor.","copy-key":"Schl\xfcssel kopieren","copy-dmsg":"DMSG Server Schl\xfcssel kopieren","copy-data":"Daten kopieren","view-node":"Visor betrachten","delete-node":"Visor l\xf6schen","delete-all-offline":"Alle offline Visor l\xf6schen","error-load":"Beim Aktualisieren der Visor-Liste ist ein Fehler aufgetreten.","empty":"Es ist kein Visor zu diesem Hypervisor verbunden.","empty-with-filter":"Kein Visor erf\xfcllt die gew\xe4hlten Filterkriterien","delete-node-confirmation":"Visor wirklich von der Liste l\xf6schen?","delete-all-offline-confirmation":"Wirklich alle offline Visor von der Liste l\xf6schen?","delete-all-filtered-offline-confirmation":"Alle offline Visor, welche die Filterkriterien erf\xfcllen werden von der Liste gel\xf6scht. Wirklich fortfahren?","deleted":"Visor gel\xf6scht.","deleted-singular":"Ein offline Visor gel\xf6scht.","deleted-plural":"{{ number }} offline Visor gel\xf6scht.","no-visors-to-update":"Kein Visor zum Aktualiseren vorhanden.","filter-dialog":{"online":"Der Visor muss","label":"Der Bezeichner muss enthalten","key":"Der \xf6ffentliche Schl\xfcssel muss enthalten","dmsg":"Der DMSG Server Schl\xfcssel muss enthalten","online-options":{"any":"Online oder offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Bezeichnung","done":"Bezeichnung gespeichert.","label-removed-warning":"Die Bezeichnung wurde gel\xf6scht."},"settings":{"title":"Einstellungen","password":{"initial-config-help":"Diese Option wird verwendet, um das erste Passwort festzulegen. Nachdem ein Passwort festgelegt wurde, ist es nicht m\xf6glich dieses, mit dieser Option zu \xe4ndern.","help":"Optionen um das Passwort zu \xe4ndern.","old-password":"Altes Passwort","new-password":"Neues Passwort","repeat-password":"Neues Passwort wiederholen","password-changed":"Passwort wurde ge\xe4ndert.","error-changing":"Fehler beim \xc4ndern des Passworts aufgetreten.","initial-config":{"title":"Erstes Passwort festlegen","password":"Passwort","repeat-password":"Passwort wiederholen","set-password":"Passwort \xe4ndern","done":"Passwort wurde ge\xe4ndert.","error":"Fehler. Es scheint ein erstes Passwort wurde schon gew\xe4hlt."},"errors":{"bad-old-password":"Altes Passwort falsch","old-password-required":"Altes Passwort wird ben\xf6tigt","new-password-error":"Passwort muss 6-64 Zeichen lang sein.","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","default-password":"Das Standardpasswort darf nicht verwendet werden (1234)."}},"updater-config":{"open-link":"Aktualisierungseinstellungen anzeigen","open-confirmation":"Es wird nur erfahrenen Benutzern empfohlen, die Aktualisierungseinstellungen zu modifizieren. Wirkich fortfahren?","help":"Dieses Formular benutzen um Einstellungen f\xfcr die Aktualisierung zu \xfcberschreiben. Alle leeren Felder werden ignoriert. Die Einstellungen werden f\xfcr alle Aktualisierungen \xfcbernommen. Dies geschieht unabh\xe4ngig davon, welches Element aktualisiert wird. Bitte Vorsicht wahren.","channel":"Kanal","version":"Version","archive-url":"Archiv-URL","checksum-url":"Pr\xfcfsummen-URL","not-saved":"Die \xc4nderungen wurden noch nicht gespeichert.","save":"\xc4nderungen speichern","remove-settings":"Einstellungen l\xf6schen","saved":"Die benutzerdefinierten Einstellungen wurden gespeichert.","removed":"Die benutzerdefinierten Einstellungen wurden gel\xf6scht.","save-confirmation":"Wirklich die benutzerdefinierten Einstellungen anwenden?","remove-confirmation":"Wirklich die benutzerdefinierten Einstellungen l\xf6schen?"},"change-password":"Passwort \xe4ndern","refresh-rate":"Aktualisierungsintervall","refresh-rate-help":"Zeit, bis das System die Daten automatisch aktualisiert.","refresh-rate-confirmation":"Aktualisierungsintervall ge\xe4ndert.","seconds":"Sekunden"},"login":{"password":"Passwort","incorrect-password":"Falsches Passwort.","initial-config":"Erste Konfiguration"},"actions":{"menu":{"terminal":"Terminal","config":"Konfiguration","update":"Aktualisieren","reboot":"Neustart"},"reboot":{"confirmation":"Den Visor wirklich neustarten?","done":"Der Visor wird neu gestartet."},"terminal-options":{"full":"Terminal","simple":"Einfaches Terminal"},"terminal":{"title":"Terminal","input-start":"Skywire Terminal f\xfcr {{address}}","error":"Bei der Ausf\xfchrung des Befehls ist ein Fehler aufgetreten."}},"update":{"title":"Aktualisierung","error-title":"Error","processing":"Suche nach Aktualisierungen...","no-update":"Keine Aktualisierung vorhanden.
Installierte Version:","no-updates":"Keine neuen Aktualisierungen gefunden.","already-updating":"Einige Visor werden schon aktualisiert:","update-available":"Folgende Aktualisierungen wurden gefunden:","update-available-singular":"Folgende Aktualisierungen wurden f\xfcr einen Visor gefunden:","update-available-plural":"Folgende Aktualisierungen wurden f\xfcr {{ number }} Visor gefunden:","update-available-additional-singular":"Folgende zus\xe4tzliche Aktualisierungen f\xfcr einen Visor wurden gefunden:","update-available-additional-plural":"Folgende zus\xe4tzliche Aktualisierungen f\xfcr {{ number }} Visor wurden gefunden:","update-instructions":"\'Aktualisierungen installieren\' klicken um fortzufahren.","updating":"Die Aktualisierung wurde gestartet. Das Fenster kann erneut ge\xf6ffnet werden um den Fortschritt zu sehen:","version-change":"Von {{ currentVersion }} auf {{ newVersion }}","selected-channel":"Gew\xe4hlter Kanal:","downloaded-file-name-prefix":"Herunterladen: ","speed-prefix":"Geschwindigkeit: ","time-downloading-prefix":"Dauer: ","time-left-prefix":"Dauert ungef\xe4hr noch: ","starting":"Aktualisierung wird vorbereitet","finished":"Status Verbindung beendet","install":"Aktualisierungen installieren"},"apps":{"log":{"title":"Log","empty":"Im ausgew\xe4hlten Intervall sind keine Logs vorhanden","filter-button":"Log-Intervall:","filter":{"title":"Filter","filter":"Zeige generierte Logs","7-days":"der letzten 7 Tagen","1-month":"der letzten 30 Tagen","3-months":"der letzten 3 Monaten","6-months":"der letzten 6 Monaten","1-year":"des letzten Jahres","all":"Zeige alle"}},"apps-list":{"title":"Anwendungen","list-title":"Anwendungsliste","app-name":"Name","port":"Port","state":"Status","state-tooltip":"Aktueller Status","auto-start":"Auto-Start","empty":"Visor hat keine Anwendungen.","empty-with-filter":"Keine Anwendung erf\xfcllt die Filterkriterien","disable-autostart":"Autostart ausschalten","enable-autostart":"Autostart einschalten","autostart-disabled":"Autostart aus","autostart-enabled":"Autostart ein","unavailable-logs-error":"Kann Logs nicht zeigen, solange die Anwendung gestoppt ist.","filter-dialog":{"state":"Der Status muss sein","name":"Der Name muss enthalten","port":"Der Port muss enthalten","autostart":"Autostart muss sein","state-options":{"any":"L\xe4uft oder gestoppt","running":"L\xe4uft","stopped":"Gestoppt"},"autostart-options":{"any":"An oder Aus","enabled":"An","disabled":"Aus"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Einstellungen","vpn-title":"VPN-Server Einstellungen","new-password":"Neues Passwort (Um Passwort zu entfernen leer lassen)","repeat-password":"Passwort wiederholen","passwords-not-match":"Passw\xf6rter stimmen nicht \xfcberein.","secure-mode-check":"Sicherheitsmodus benutzen","secure-mode-info":"Wenn aktiv, erlaubt der Server kein Client/Server SSH und erlaubt kein Datenverkehr vom VPN-Client zum lokalen Netzwerk des Servers.","save":"Speichern","remove-passowrd-confirmation":"Kein Passwort eingegeben. Wirklich Passwort entfernen?","change-passowrd-confirmation":"Passwort wirklich \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Einstellungen","vpn-title":"VPN-Client Einstellungen","discovery-tab":"Suche","remote-visor-tab":"Manuelle Eingabe","history-tab":"Verlauf","settings-tab":"Einstellungen","use":"Diese Daten benutzen","change-note":"Notiz \xe4ndern","remove-entry":"Eintrag l\xf6schen","note":"Notiz:","note-entered-manually":"Manuell eingegeben","note-obtained":"Von Discovery-Service erhalten","key":"Schl\xfcssel:","port":"Port:","location":"Ort:","state-available":"Verf\xfcgbar","state-offline":"Offline","public-key":"Remote Visor \xf6ffentlicher Schl\xfcssel","password":"Passwort","password-history-warning":"Achtung: Das Passwort wird nicht im Verlauf gespeichert.","copy-pk-info":"\xd6ffentlichen Schl\xfcssel kopieren.","copied-pk-info":"\xd6ffentlicher Schl\xfcssel wurde kopiert","copy-pk-error":"Beim Kopieren des \xf6ffentlichen Schl\xfcssels ist ein Problem aufgetreten.","no-elements":"Derzeit k\xf6nnen keine Elemente angezeigt werden. Bitte sp\xe4ter versuchen.","no-elements-for-filters":"Keine Elemente, welche die Filterkriterien erf\xfcllen.","no-filter":"Es wurde kein Filter gew\xe4hlt.","click-to-change":"Zum \xc4ndern klicken","remote-key-length-error":"Der \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","save":"Speichern","remove-from-history-confirmation":"Eintrag wirklich aus dem Verlauf l\xf6schen?","change-key-confirmation":"Wirklich den \xf6ffentlichen Schl\xfcssel des remote Visors \xe4ndern?","changes-made":"\xc4nderungen wurden gespeichert.","no-history":"Dieser Tab zeigt die letzten {{ number }} \xf6ffentlichen Schl\xfcssel, die benutzt wurden.","default-note-warning":"Die Standardnotiz wurde nicht benutzt.","pagination-info":"{{ currentElementsRange }} von {{ totalElements }}","killswitch-check":"Killswitch aktivieren","killswitch-info":"Wenn aktiv, werden alle Netzwerkverbindungen deaktiviert falls die Anwendung l\xe4uft aber der VPN Schutz unterbrochen wird (f\xfcr tempor\xe4re Fehler oder andere Probleme).","settings-changed-alert":"Die \xc4nderungen wurden noch nicht gespeichert.","save-settings":"Einstellungen speichern","change-note-dialog":{"title":"Notiz \xe4ndern","note":"Notiz"},"password-dialog":{"title":"Passwort eingeben","password":"Passwort","info":"Ein Passwort wird abgefragt, da bei der Erstellung des gew\xe4hlten Eintrags ein Passwort gesetzt wurde, aus Sicherheitsgr\xfcnden aber nicht gespeichert wurde. Das Passwort kann frei gelassen werden.","continue-button":"Fortfahren"},"filter-dialog":{"title":"Filter","country":"Das Land muss sein","any-country":"Jedes","location":"Der Ort muss enthalten","pub-key":"Der \xf6ffentliche Schl\xfcssel muss enthalten","apply":"Anwenden"}},"stop-app":"Stopp","start-app":"Start","view-logs":"Zeige Logs","settings":"Einstellungen","error":"Ein Fehler ist aufgetreten.","stop-confirmation":"Anwendung wirklich anhalten?","stop-selected-confirmation":"Ausgew\xe4hlte Anwendung wirklich anhalten?","disable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich ausschalten?","enable-autostart-confirmation":"Auto-Start f\xfcr diese Anwendung wirklich einschalten?","disable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich ausschalten?","enable-autostart-selected-confirmation":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen wirklich einschalten","operation-completed":"Operation ausgef\xfchrt","operation-unnecessary":"Gew\xfcnschte Einstellungen schon aktiv.","status-running":"L\xe4uft","status-stopped":"Gestoppt","status-failed":"Fehler","status-running-tooltip":"Anwendung l\xe4uft","status-stopped-tooltip":"Anwendung gestoppt","status-failed-tooltip":"Ein Fehler ist aufgetreten. Log der Anwendung \xfcberpr\xfcfen."},"transports":{"title":"Transporte","remove-all-offline":"Alle offline Transporte l\xf6schen","remove-all-offline-confirmation":"Wirkliche alle offline Transporte l\xf6schen?","remove-all-filtered-offline-confirmation":"Alle offline Transporte, welche die Filterkriterien erf\xfcllen werden gel\xf6scht. Wirklich fortfahren?","info":"Verbindungen mit remote Skywire Visor, um lokalen Skywire Anwendungen zu erlauben mit diesen remote Visor zu kommunizieren.","list-title":"Transport-Liste","state":"Status","state-tooltip":"Aktueller Status","id":"ID","remote-node":"Remote","type":"Typ","create":"Transport erstellen","delete-confirmation":"Transport wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Transporte wirklich entfernen?","delete":"Transport entfernen","deleted":"Transport erfolgreich entfernt.","empty":"Visor hat keine Transporte.","empty-with-filter":"Kein Transport erf\xfcllt die gew\xe4hlten Filterkriterien.","statuses":{"online":"Online","online-tooltip":"Transport ist online","offline":"Offline","offline-tooltip":"Transport ist offline"},"details":{"title":"Details","basic":{"title":"Basis Info","state":"Status:","id":"ID:","local-pk":"Lokaler \xf6ffentlicher Schl\xfcssel:","remote-pk":"Remote \xf6ffentlicher Schl\xfcssel:","type":"Typ:"},"data":{"title":"Daten\xfcbertragung","uploaded":"Hochgeladen:","downloaded":"Heruntergeladen:"}},"dialog":{"remote-key":"Remote \xf6ffentlicher Schl\xfcssel:","label":"Bezeichnung (optional)","transport-type":"Transport-Typ","success":"Transport erstellt.","success-without-label":"Der Transport wurde erstellt, aber die Bezeichnung konnte nicht gespeichert werden.","errors":{"remote-key-length-error":"Der remote \xf6ffentliche Schl\xfcssel muss 66 Zeichen lang sein.","remote-key-chars-error":"Der remote \xf6ffentliche Schl\xfcssel darf nur hexadezimale Zeichen enthalten.","transport-type-error":"Ein Transport-Typ wird ben\xf6tigt."}},"filter-dialog":{"online":"Der Transport muss sein","id":"Die ID muss enthalten","remote-node":"Der remote Schl\xfcssel muss enthalten","online-options":{"any":"Online oder offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routen","info":"Netzwerkpfade zum Erreichen von remote Visor. Routen werden bei Bedarf automatisch generiert.","list-title":"Routen-Liste","key":"Schl\xfcssel","type":"Typ","source":"Quelle","destination":"Ziel","delete-confirmation":"Diese Route wirklich entfernen?","delete-selected-confirmation":"Ausgew\xe4hlte Routen wirklich entfernen?","delete":"Route entfernen","deleted":"Route erfolgreich entfernt.","empty":"Visor hat keine Routen.","empty-with-filter":"Keine Route erf\xfcllt die gew\xe4hlten Filterkriterien.","details":{"title":"Details","basic":{"title":"Basis Info","key":"Schl\xfcssel:","rule":"Regel:"},"summary":{"title":"Regel Zusammenfassung","keep-alive":"Keep alive:","type":"Typ:","key-route-id":"Schl\xfcssel-Route ID:"},"specific-fields-titles":{"app":"Anwendung","forward":"Weiterleitung","intermediary-forward":"Vermittelte Weiterleitung"},"specific-fields":{"route-id":"N\xe4chste Routen ID:","transport-id":"N\xe4chste Transport ID:","destination-pk":"Ziel \xf6ffentlicher Schl\xfcssel:","source-pk":"Quelle \xf6ffentlicher Schl\xfcssel:","destination-port":"Ziel Port:","source-port":"Quelle Port:"}},"filter-dialog":{"key":"Der Schl\xfcssel muss enthalten","type":"Der Typ muss sein","source":"Die Quelle muss enhalten","destination":"Das Ziel muss enthalten","any-type-option":"Egal"}},"copy":{"tooltip":"In Zwischenablage kopieren","tooltip-with-text":"{{ text }} (In Zwischenablage kopieren)","copied":"In Zwischenablage kopiert!"},"selection":{"select-all":"Alle ausw\xe4hlen","unselect-all":"Alle abw\xe4hlen","delete-all":"Alle ausgew\xe4hlten Elemente entfernen","start-all":"Starte ausgew\xe4hlte Anwendung","stop-all":"Stoppe ausgew\xe4hlte Anwendung","enable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen einschalten","disable-autostart-all":"Auto-Start f\xfcr ausgew\xe4hlte Anwendungen ausschalten"},"refresh-button":{"seconds":"K\xfcrzlich aktualisiert","minute":"Vor einer Minute aktualisiert","minutes":"Vor {{ time }} Minuten aktualisiert","hour":"Vor einer Stunde aktualisiert","hours":"Vor {{ time }} Stunden aktualisert","day":"Vor einem Tag aktualisiert","days":"Vor {{ time }} Tagen aktualisert","week":"Vor einer Woche aktualisiert","weeks":"Vor {{ time }} Wochen aktualisert","error-tooltip":"Fehler beim Aktualiseren aufgetreten. Versuche erneut alle {{ time }} Sekunden..."},"view-all-link":{"label":"Zeige alle {{ number }} Elemente"},"paginator":{"first":"Erste","last":"Letzte","total":"Insgesamt: {{ number }} Seiten","select-page-title":"Seite ausw\xe4hlen"},"confirmation":{"header-text":"Best\xe4tigung","confirm-button":"Ja","cancel-button":"Nein","close":"Schlie\xdfen","error-header-text":"Fehler","done-header-text":"Fertig"},"language":{"title":"Sprache ausw\xe4hlen"},"tabs-window":{"title":"Tab wechseln"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/7.72a6169da00a1ffee18d.js b/cmd/skywire-visor/static/7.72a6169da00a1ffee18d.js deleted file mode 100644 index 1f558ed8b7..0000000000 --- a/cmd/skywire-visor/static/7.72a6169da00a1ffee18d.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{amrp:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","unknown":"Unknown","close":"Close","window-size-error":"The window is too narrow for the content."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","filter-info":"Filter list.","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","ip":"IP:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"router-info":{"title":"Router Info","min-hops":"Min hops:","max-hops":"Max hops:","change-config-button":"Change configuration"},"node-health":{"title":"Health Info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"router-config":{"title":"Router Configuration","info":"Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.","min-hops":"Min hops","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all online visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot","logs":"View logs"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","open":"Open","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"},"vpn":{"title":"VPN Control Panel","start":"Start","servers":"Servers","settings":"Settings","starting-blocked-server-error":"Unable to connect to the selected server because it has been added to the blocked servers list.","unexpedted-error":"An unexpected error occurred and the operation could not be completed.","remote-access-title":"It appears that you are accessing the system remotely","remote-access-text":"This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.","server-change":{"busy-error":"The system is busy. Please wait.","backend-error":"It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.","already-selected-warning":"The selected server is already being used.","change-server-while-connected-confirmation":"The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?","start-same-server-confirmation":"You had already selected that server. Do you want to connect to it?"},"error-page":{"text":"The VPN client app is not available.","more-info":"It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.","text-pk":"Invalid configuration.","more-info-pk":"The application cannot be started because you have not specified the visor public key.","text-storage":"Error saving data.","more-info-storage":"There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.","text-pk-change":"Invalid operation.","more-info-pk-change":"Please use this application to manage only one VPN client."},"connection-info":{"state-connecting":"Connecting","state-connecting-info":"The VPN protection is being activated.","state-connected":"Connected","state-connected-info":"The VPN protection is on.","state-disconnecting":"Disconnecting","state-disconnecting-info":"The VPN protection is being deactivated.","state-reconnecting":"Reconnecting","state-reconnecting-info":"The VPN protection is being restored.","state-disconnected":"Disconnected","state-disconnected-info":"The VPN protection is off.","state-info":"Current connection status.","latency-info":"Current latency.","upload-info":"Upload speed.","download-info":"Download speed."},"status-page":{"start-title":"Start VPN","no-server":"No server selected!","disconnect":"Disconnect","disconnect-confirmation":"Are you sure you want to stop the VPN protection?","entered-manually":"Entered manually","upload-info":"Uploaded data stats.","download-info":"Downloaded data stats.","latency-info":"Latency stats.","total-data-label":"total","problem-connecting-error":"It was not possible to connect to the server. The server may be invalid or temporarily down.","problem-starting-error":"It was not possible to start the VPN. Please make sure the base VPN client app is running.","problem-stopping-error":"It was not possible to stop the VPN. Please make sure the base VPN client app is running.","generic-problem-error":"It was not possible to perform the operation. Please make sure the base VPN client app is running.","select-server-warning":"Please select a server first.","data":{"ip":"IP address:","ip-problem-info":"There was a problem trying to get the IP. Please verify it using an external service.","ip-country-problem-info":"There was a problem trying to get the country. Please verify it using an external service.","ip-refresh-info":"Refresh","ip-refresh-time-warning":"Please wait {{ seconds }} second(s) before refreshing the data.","ip-refresh-loading-warning":"Please wait for the previous operation to finish.","country":"Country:","server":"Server:","server-note":"Server note:","original-server-note":"Original server note:","local-pk":"Local visor public key:","remote-pk":"Remote visor public key:","unavailable":"Unavailable"}},"server-options":{"tooltip":"Options","connect-without-password":"Connect without password","connect-without-password-confirmation":"The connection will be made without the password. Are you sure you want to continue?","connect-using-password":"Connect using a password","edit-name":"Custom name","edit-label":"Custom note","make-favorite":"Make favorite","make-favorite-confirmation":"Are you sure you want to mark this server as favorite? It will be removed from the blocked list.","make-favorite-done":"Added to the favorites list.","remove-from-favorites":"Remove from favorites","remove-from-favorites-done":"Removed from the favorites list.","block":"Block server","block-done":"Added to the blocked list.","block-confirmation":"Are you sure you want to block this server? It will be removed from the favorites list.","block-selected-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed.","block-selected-favorite-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.","unblock":"Unblock server","unblock-done":"Removed from the blocked list.","remove-from-history":"Remove from history","remove-from-history-confirmation":"Are you sure you want to remove this server from the history?","remove-from-history-done":"Removed from history.","edit-value":{"name-title":"Custom Name","note-title":"Custom Note","name-label":"Custom name","note-label":"Custom note","apply-button":"Apply","changes-made-confirmation":"The change has been made."}},"server-conditions":{"selected-info":"This is the currently selected server.","blocked-info":"This server is in the blocked list.","favorite-info":"This server is in the favorites list.","history-info":"This server is in the server history.","has-password-info":"A password was set for connecting with this server."},"server-list":{"date-small-table-label":"Date","date-info":"Last time you used this server.","country-small-table-label":"Country","country-info":"Country where the server is located.","name-small-table-label":"Name","location-small-table-label":"Location","public-key-small-table-label":"Pk","public-key-info":"Server public key.","congestion-rating-small-table-label":"Congestion rating","congestion-rating-info":"Rating of the server related to how congested it tends to be.","congestion-small-table-label":"Congestion","congestion-info":"Current server congestion.","latency-rating-small-table-label":"Latency rating","latency-rating-info":"Rating of the server related to how much latency it tends to have.","latency-small-table-label":"Latency","latency-info":"Current server latency.","hops-small-table-label":"Hops","hops-info":"How many hops are needed for connecting with the server.","note-small-table-label":"Note","note-info":"Note about the server.","gold-rating-info":"Gold","silver-rating-info":"Silver","bronze-rating-info":"Bronze","notes-info":"Custom note: {{ custom }} - Original note: {{ original }}","empty-discovery":"Currently there are no VPN servers to show. Please try again later.","empty-history":"There is no history to show.","empty-favorites":"There are no favorite servers to show.","empty-blocked":"There are no blocked servers to show.","empty-with-filter":"No VPN server matches the selected filtering criteria.","add-manually-info":"Add server manually.","current-filters":"Current filters (press to remove)","none":"None","unknown":"Unknown","tabs":{"public":"Public","history":"History","favorites":"Favorites","blocked":"Blocked"},"add-server-dialog":{"title":"Enter manually","pk-label":"Server public key","password-label":"Server password (if any)","name-label":"Server name (optional)","note-label":"Personal note (optional)","pk-length-error":"The public key must be 66 characters long.","pk-chars-error":"The public key must only contain hexadecimal characters.","use-server-button":"Use server"},"password-dialog":{"title":"Enter Password","password-if-any-label":"Server password (if any)","password-label":"Server password","continue-button":"Continue"},"filter-dialog":{"country":"The country must be","name":"The name must contain","location":"The location must contain","public-key":"The public key must contain","congestion-rating":"The congestion rating must be","latency-rating":"The latency rating must be","rating-options":{"any":"Any","gold":"Gold","silver":"Silver","bronze":"Bronze"},"country-options":{"any":"Any"}}},"settings-page":{"setting-small-table-label":"Setting","value-small-table-label":"Value","killswitch":"Killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","get-ip":"Get IP info","get-ip-info":"When active, the application will use external services to obtain information about the current IP.","data-units":"Data units","data-units-info":"Allows to select the units that will be used to display the data transmission statistics.","setting-on":"On","setting-off":"Off","working-warning":"The system is busy. Please wait for the previous operation to finish.","change-while-connected-confirmation":"The VPN protection will be interrupted while changing the setting. Do you want to continue?","data-units-modal":{"title":"Data Units","only-bits":"Bits for all stats","only-bytes":"Bytes for all stats","bits-speed-and-bytes-volume":"Bits for speed and bytes for volume (default)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/733.cc7b7ed566bcafed0765.js b/cmd/skywire-visor/static/733.cc7b7ed566bcafed0765.js new file mode 100644 index 0000000000..f0afc95b43 --- /dev/null +++ b/cmd/skywire-visor/static/733.cc7b7ed566bcafed0765.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[733],{5733:function(e){e.exports=JSON.parse('{"common":{"save":"Salvar","cancel":"Cancelar","downloaded":"Baixado","uploaded":"Enviado","loading-error":"Ocorreu um erro ao obter os dados. Tentando novamente...","operation-error":"Ocorreu um erro ao tentar concluir a opera\xe7\xe3o.","no-connection-error":"N\xe3o h\xe1 conex\xe3o com a Internet ou conex\xe3o com o Hypervisor.","error":"Erro:","refreshed":"Dados atualizados.","options":"Op\xe7\xf5es","logout":"Sair","logout-error":"Erro ao sair.","logout-confirmation":"Tem certeza que deseja sair?","time-in-ms":"{{ time }}ms","ok":"Ok","unknown":"Desconhecido","close":"Fechar"},"labeled-element":{"edit-label":"Editar r\xf3tulo","remove-label":"Remover r\xf3tulo","copy":"Copiar","remove-label-confirmation":"Tem certeza de que deseja remover o r\xf3tulo?","unnamed-element":"Sem nome","unnamed-local-visor":"Visor local","local-element":"Local","tooltip":"Clique para copiar a entrada ou alterar o r\xf3tulo","tooltip-with-text":"{{ text }} (Clique para copiar a entrada ou alterar o r\xf3tulo)"},"labels":{"title":"R\xf3tulos","info":"R\xf3tulos que voc\xea inseriu para identificar facilmente visores, transportes e outros elementos, em vez de ter que ler identificadores gerados por m\xe1quina.","list-title":"Lista de R\xf3tulos","label":"R\xf3tulo","id":"ID do elemento","type":"Tipo","delete-confirmation":"Tem certeza de que deseja excluir o r\xf3tulo?","delete-selected-confirmation":"Tem certeza de que deseja excluir os r\xf3tulos selecionados?","delete":"Apagar r\xf3tulo","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"N\xe3o h\xe1 r\xf3tulos salvos.","empty-with-filter":"Nenhum r\xf3tulo corresponde aos crit\xe9rios de filtragem selecionados.","filter-dialog":{"label":"O r\xf3tulo deve conter","id":"O id deve conter","type":"O tipo deve ser","type-options":{"any":"Algum","visor":"Visor","dmsg-server":"Servidor DMSG","transport":"Transporte"}}},"filters":{"filter-action":"Filtro","press-to-remove":"(Pressione para remover os filtros)","remove-confirmation":"Tem certeza de que deseja remover os filtros?"},"tables":{"title":"Ordenar por","sorting-title":"Ordenado por:","sort-by-value":"Valor","sort-by-label":"R\xf3tulo","label":"(R\xf3tulo)","inverted-order":"(invertido)"},"start":{"title":"Come\xe7ar"},"node":{"title":"Detalhes do Visor","not-found":"Visor n\xe3o encontrado.","statuses":{"online":"Online","online-tooltip":"Visor est\xe1 online.","partially-online":"Online com problemas","partially-online-tooltip":"O Visor est\xe1 online, mas nem todos os servi\xe7os est\xe3o funcionando. Para mais informa\xe7\xf5es, abra a p\xe1gina de detalhes e verifique a se\xe7\xe3o \\"Informa\xe7\xf5es de sa\xfade\\".","offline":"Offline","offline-tooltip":"Visor est\xe1 offline."},"details":{"node-info":{"title":"Informa\xe7\xe3o do Visor","label":"R\xf3tulo:","public-key":"Chave p\xfablica:","port":"Porta:","dmsg-server":"Servidor DMSG:","ping":"Ping:","node-version":"Vers\xe3o do Visor:","time":{"title":"Tempo online:","seconds":"alguns segundos","minute":"1 minuto","minutes":"{{ time }} minutos","hour":"1 hora","hours":"{{ time }} horas","day":"1 dia","days":"{{ time }} dias","week":"1 semana","weeks":"{{ time }} semanas"}},"node-health":{"title":"Informa\xe7\xe3o de sa\xfade","status":"Status:","transport-discovery":"Descoberta de transporte:","route-finder":"Localizador de rota:","setup-node":"Configura\xe7\xe3o de N\xf3:","uptime-tracker":"Rastreador de tempo de atividade:","address-resolver":"Resolvedor de endere\xe7os:","element-offline":"Offline"},"node-traffic-data":"Tr\xe1fego de dados"},"tabs":{"info":"Informa\xe7\xe3o","apps":"Aplicativos","routing":"Encaminhamento"},"error-load":"Ocorreu um erro ao atualizar os dados. Tentando novamente..."},"nodes":{"title":"Lista de Visor","dmsg-title":"DMSG","update-all":"Atualizar todas as Visores","hypervisor":"Hypervisor","state":"Estado","state-tooltip":"Estado atual","label":"R\xf3tulo","key":"Chave","dmsg-server":"Servidor DMSG","ping":"Ping","hypervisor-info":"Este visor \xe9 o hipervisor atual.","copy-key":"Copiar chave","copy-dmsg":"Copiar chave do servidor DMSG","copy-data":"Copiar dados","view-node":"Ver visor","delete-node":"Remover visor","delete-all-offline":"Remover todos visores offline","error-load":"Ocorreu um erro ao atualizar a lista. Tentando novamente...","empty":"N\xe3o h\xe1 visores conectados a este hipervisor.","empty-with-filter":"Nenhum visor corresponde aos crit\xe9rios de filtragem selecionados.","delete-node-confirmation":"Tem certeza de que deseja remover o visor da lista?","delete-all-offline-confirmation":"Tem certeza de que deseja remover todas as visores offline da lista?","delete-all-filtered-offline-confirmation":"Todos os visores offline que satisfa\xe7am os crit\xe9rios de filtragem atuais ser\xe3o removidos da lista. Voc\xea tem certeza que quer continuar?","deleted":"Visor removido.","deleted-singular":"1 visor offline removido.","deleted-plural":"{{ number }} visores offline removidos.","no-visors-to-update":"N\xe3o h\xe1 visores para atualizar.","filter-dialog":{"online":"O visor deve ser","label":"O r\xf3tulo deve conter","key":"A chave p\xfablica deve conter","dmsg":"A chave do servidor DMSG deve conter","online-options":{"any":"Online ou offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"R\xf3tulo","done":"R\xf3tulo salvo.","label-removed-warning":"O r\xf3tulo foi removido."},"settings":{"title":"Defini\xe7\xf5es","password":{"initial-config-help":"Use esta op\xe7\xe3o para definir a senha inicial. Depois de definir uma senha, n\xe3o \xe9 poss\xedvel usar esta op\xe7\xe3o para modific\xe1-la.","help":"Op\xe7\xf5es para alterar sua senha.","old-password":"Senha Antiga","new-password":"Nova Senha","repeat-password":"Repita a senha","password-changed":"Senha alterada.","error-changing":"Erro ao alterar a senha.","initial-config":{"title":"Definir senha inicial","password":"Senha","repeat-password":"Repita a senha","set-password":"Definir senha","done":"Senha definida. Use-a para acessar o sistema.","error":"Erro. Certifique-se de que ainda n\xe3o definiu a senha."},"errors":{"bad-old-password":"A senha antiga fornecida n\xe3o est\xe1 correta.","old-password-required":"A senha antiga \xe9 necess\xe1ria.","new-password-error":"A senha deve ter de 6 a 64 caracteres.","passwords-not-match":"As senhas n\xe3o coincidem.","default-password":"N\xe3o use a senha padr\xe3o (1234)."}},"updater-config":{"open-link":"Mostrar configura\xe7\xf5es do atualizador","open-confirmation":"As configura\xe7\xf5es do atualizador s\xe3o apenas para usu\xe1rios experientes. Voc\xea tem certeza que quer continuar?","help":"Use este formul\xe1rio para substituir as configura\xe7\xf5es que ser\xe3o usadas pelo atualizador. Todos os campos vazios ser\xe3o ignorados. As configura\xe7\xf5es ser\xe3o usadas para todas as opera\xe7\xf5es de atualiza\xe7\xe3o, independentemente de qual elemento est\xe1 sendo atualizado, portanto, tome cuidado.","channel":"Canal","version":"Vers\xe3o","archive-url":"URL do arquivo","checksum-url":"URL do Checksum ","not-saved":"As altera\xe7\xf5es ainda n\xe3o foram salvas.","save":"Salvar altera\xe7\xf5es","remove-settings":"Remover as configura\xe7\xf5es","saved":"As configura\xe7\xf5es personalizadas foram salvas.","removed":"As configura\xe7\xf5es personalizadas foram removidas.","save-confirmation":"Tem certeza de que deseja aplicar as configura\xe7\xf5es personalizadas?","remove-confirmation":"Tem certeza de que deseja remover as configura\xe7\xf5es personalizadas?"},"change-password":"Mudar senha","refresh-rate":"Taxa de atualiza\xe7\xe3o","refresh-rate-help":"Tempo que o sistema espera para atualizar os dados automaticamente.","refresh-rate-confirmation":"Taxa de atualiza\xe7\xe3o alterada.","seconds":"segundos"},"login":{"password":"Senha","incorrect-password":"Senha incorreta.","initial-config":"Configurar a inicializa\xe7\xe3o inicial"},"actions":{"menu":{"terminal":"Terminal","config":"Configura\xe7\xe3o","update":"Atualizar","reboot":"Reiniciar"},"reboot":{"confirmation":"Tem certeza de que deseja reiniciar o visor?","done":"O visor est\xe1 reiniciando."},"terminal-options":{"full":"Terminal completo","simple":"Terminal simples"},"terminal":{"title":"Terminal","input-start":"Terminal Skywire para {{address}}","error":"Erro inesperado ao tentar executar o comando."}},"update":{"title":"Atualizar","error-title":"Erro","processing":"Procurando por atualiza\xe7\xf5es...","no-update":"N\xe3o h\xe1 atualiza\xe7\xe3o para o visor. A vers\xe3o atualmente instalada \xe9:","no-updates":"Nenhuma nova atualiza\xe7\xe3o foi encontrada.","already-updating":"Algumas visores j\xe1 est\xe3o sendo atualizadas:","update-available":"As seguintes atualiza\xe7\xf5es foram encontradas:","update-available-singular":"As seguintes atualiza\xe7\xf5es para 1 visor foram encontradas:","update-available-plural":"As seguintes atualiza\xe7\xf5es para visores {{ number }} foram encontradas:","update-available-additional-singular":"As seguintes atualiza\xe7\xf5es adicionais para 1 visor foram encontradas:","update-available-additional-plural":"As seguintes atualiza\xe7\xf5es adicionais para visores {{ number }} foram encontradas:","update-instructions":"Clique no bot\xe3o \'Instalar atualiza\xe7\xf5es\' para continuar.","updating":"A opera\xe7\xe3o de atualiza\xe7\xe3o foi iniciada, voc\xea pode abrir esta janela novamente para verificar o andamento:","version-change":"De {{ currentVersion }} para {{ newVersion }}","selected-channel":"Canal selecionado:","downloaded-file-name-prefix":"Baixando: ","speed-prefix":"Velocidade: ","time-downloading-prefix":"Tempo de download: ","time-left-prefix":"Tempo restante (aprox.): ","starting":"Preparando para atualizar","finished":"Conex\xe3o de status finalizada","install":"Instalar atualiza\xe7\xf5es"},"apps":{"log":{"title":"Registro","empty":"N\xe3o h\xe1 mensagens de registro para o intervalo de tempo selecionado.","filter-button":"Mostrando apenas os registros gerados desde:","filter":{"title":"Filtro","filter":"Mostrar apenas os registros gerados desde","7-days":"\xdaltimos 7 dias","1-month":"\xdaltimos 30 dias","3-months":"\xdaltimos 03 meses","6-months":"\xdaltimos 06 meses","1-year":"\xdaltimo ano","all":"Mostrar todos"}},"apps-list":{"title":"Aplicativos","list-title":"Lista de aplicativos","app-name":"Nome","port":"Porta","state":"Estado","state-tooltip":"Estado atual","auto-start":"Inicializa\xe7\xe3o automaticamente","empty":"Visor n\xe3o tem nenhum aplicativo.","empty-with-filter":"Nenhum aplicativo corresponde aos crit\xe9rios de filtragem selecionados.","disable-autostart":"Desativar inicializa\xe7\xe3o autom\xe1tica","enable-autostart":"Habilitar inicializa\xe7\xe3o autom\xe1tica","autostart-disabled":"Inicializa\xe7\xe3o autom\xe1tica desativada","autostart-enabled":"Inicializa\xe7\xe3o autom\xe1tica ativada","unavailable-logs-error":"N\xe3o \xe9 poss\xedvel mostrar os logs enquanto o aplicativo n\xe3o est\xe1 em execu\xe7\xe3o.","filter-dialog":{"state":"O estado deve ser","name":"O nome deve conter","port":"A porta deve conter","autostart":"A inicializa\xe7\xe3o autom\xe1tica deve ser","state-options":{"any":"Executando ou parado","running":"Executando","stopped":"Parado"},"autostart-options":{"any":"Habilitado ou desabilitado","enabled":"Habilitado","disabled":"Desabilitado"}}},"vpn-socks-server-settings":{"socks-title":"Configura\xe7\xf5es do Skysocks","vpn-title":"Configura\xe7\xf5es do servidor VPN","new-password":"Nova senha (deixe em branco para remover a senha)","repeat-password":"Repita a senha","passwords-not-match":"As senhas n\xe3o coincidem.","secure-mode-check":"Use o modo seguro","secure-mode-info":"Quando ativo, o servidor n\xe3o permite SSH cliente / servidor e n\xe3o permite nenhum tr\xe1fego de clientes VPN para a rede local do servidor.","save":"Salvar","remove-passowrd-confirmation":"Voc\xea deixou o campo de senha vazio. Tem certeza de que deseja remover a senha?","change-passowrd-confirmation":"Tem certeza que deseja alterar a senha?","changes-made":"As mudan\xe7as foram feitas."},"vpn-socks-client-settings":{"socks-title":"Configura\xe7\xf5es do cliente Skysocks","vpn-title":"Configura\xe7\xf5es de cliente VPN","discovery-tab":"Procurar","remote-visor-tab":"Inserir manualmente","history-tab":"Hist\xf3rico","settings-tab":"Configura\xe7\xf5es","use":"Use estes dados","change-note":"Mudar nota","remove-entry":"Remover entrada","note":"Nota:","note-entered-manually":"Inserida manualmente","note-obtained":"Obtida do servi\xe7o de descoberta","key":"Chave:","port":"Porta:","location":"Localiza\xe7\xe3o:","state-available":"Dispon\xedvel","state-offline":"Offline","public-key":"Chave p\xfablica do visor remoto","password":"Senha","password-history-warning":"Nota: a senha n\xe3o ser\xe1 salva no hist\xf3rico.","copy-pk-info":"Copiar chave p\xfablica.","copied-pk-info":"A chave p\xfablica foi copiada.","copy-pk-error":"Ocorreu um problema ao copiar a chave p\xfablica.","no-elements":"Atualmente n\xe3o h\xe1 elementos para mostrar. Por favor, tente novamente mais tarde.","no-elements-for-filters":"N\xe3o h\xe1 elementos que atendam aos crit\xe9rios do filtro.","no-filter":"Nenhum filtro foi selecionado","click-to-change":"Clique para mudar","remote-key-length-error":"A chave p\xfablica deve ter 66 caracteres.","remote-key-chars-error":"A chave p\xfablica deve conter apenas caracteres hexadecimais.","save":"Salvar","remove-from-history-confirmation":"Tem certeza de que deseja remover a entrada do hist\xf3rico?","change-key-confirmation":"Tem certeza de que deseja alterar a chave p\xfablica do visor remoto?","changes-made":"As mudan\xe7as foram feitas.","no-history":"Esta guia mostrar\xe1 as \xfaltimas {{ number }} chaves p\xfablicas usadas.","default-note-warning":"A nota padr\xe3o foi usada.","pagination-info":"{{ currentElementsRange }} de {{ totalElements }}","killswitch-check":"Ativar killswitch","killswitch-info":"Quando ativo, todas as conex\xf5es de rede ser\xe3o desativadas se o aplicativo estiver em execu\xe7\xe3o, exceto a prote\xe7\xe3o VPN for interrompida (por erros tempor\xe1rios ou qualquer outro problema).","settings-changed-alert":"As altera\xe7\xf5es ainda n\xe3o foram salvas.","save-settings":"Salvar configura\xe7\xf5es","change-note-dialog":{"title":"Mudar nota","note":"Nota"},"password-dialog":{"title":"Digite a senha","password":"Senha","info":"Uma senha est\xe1 sendo solicitada porque uma senha foi definida quando a entrada selecionada foi criada, mas n\xe3o foi salva por motivos de seguran\xe7a. Voc\xea pode deixar a senha em branco, se necess\xe1rio.","continue-button":"Continuar"},"filter-dialog":{"title":"Filtros","country":"O pa\xeds deve ser","any-country":"Qualquer um","location":"O local deve conter","pub-key":"A chave p\xfablica deve conter","apply":"Aplicar"}},"stop-app":"Parar","start-app":"Iniciar","view-logs":"Ver registros","settings":"Configura\xe7\xf5es","error":"Ocorreu um erro e n\xe3o foi poss\xedvel realizar a opera\xe7\xe3o.","stop-confirmation":"Tem certeza de que deseja parar o aplicativo?","stop-selected-confirmation":"Tem certeza de que deseja parar os aplicativos selecionados?","disable-autostart-confirmation":"Tem certeza de que deseja desativar a inicializa\xe7\xe3o autom\xe1tica do aplicativo?","enable-autostart-confirmation":"Tem certeza de que deseja ativar a inicializa\xe7\xe3o autom\xe1tica do aplicativo?","disable-autostart-selected-confirmation":"Tem certeza de que deseja desativar o in\xedcio autom\xe1tico para os aplicativos selecionados?","enable-autostart-selected-confirmation":"Tem certeza de que deseja ativar o in\xedcio autom\xe1tico para os aplicativos selecionados?","operation-completed":"Opera\xe7\xe3o conclu\xedda.","operation-unnecessary":"A sele\xe7\xe3o j\xe1 possui a configura\xe7\xe3o solicitada.","status-running":"Executando","status-stopped":"Parado","status-failed":"Fracassado","status-running-tooltip":"O aplicativo est\xe1 em execu\xe7\xe3o","status-stopped-tooltip":"O aplicativo est\xe1 parado no momento","status-failed-tooltip":"Algo deu errado. Verifique as mensagens do aplicativo para obter mais informa\xe7\xf5es"},"transports":{"title":"Transportes","remove-all-offline":"Remover todos os transportes offline","remove-all-offline-confirmation":"Tem certeza de que deseja remover todos os transportes offline?","remove-all-filtered-offline-confirmation":"Todos os transportes off-line que atendem aos crit\xe9rios de filtragem atuais ser\xe3o removidos. Tem certeza de que deseja continuar?","info":"Conex\xf5es que voc\xea tem com visores Skywire remotos, para permitir que aplicativos Skywire locais se comuniquem com aplicativos executados nesses visores remotos.","list-title":"Lista de transporte","state":"Estado","state-tooltip":"Estado atual","id":"ID","remote-node":"Remoto","type":"Tipo","create":"Criar transporte","delete-confirmation":"Tem certeza que deseja excluir o transporte?","delete-selected-confirmation":"Tem certeza que deseja excluir os transportes selecionados?","delete":"Excluir transporte","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"Visor n\xe3o tem transportes.","empty-with-filter":"Nenhum transporte corresponde aos crit\xe9rios de filtragem selecionados.","statuses":{"online":"Online","online-tooltip":"Transporte est\xe1 online","offline":"Offline","offline-tooltip":"Transporte est\xe1 offline"},"details":{"title":"Detalhes","basic":{"title":"Informa\xe7\xe3o b\xe1sica","state":"Estado:","id":"ID:","local-pk":"Chave p\xfablica local:","remote-pk":"Chave p\xfablica remota:","type":"Tipo:"},"data":{"title":"Transmiss\xe3o de dados","uploaded":"Dados carregados:","downloaded":"Dados baixados:"}},"dialog":{"remote-key":"Chave p\xfablica remota","label":"Nome de identifica\xe7\xe3o (opcional)","transport-type":"Tipo de transporte","success":"Transporte criado.","success-without-label":"O transporte foi criado, mas n\xe3o foi poss\xedvel salvar a etiqueta.","errors":{"remote-key-length-error":"A chave p\xfablica remota deve ter 66 caracteres.","remote-key-chars-error":"A chave p\xfablica remota deve conter apenas caracteres hexadecimais.","transport-type-error":"O tipo de transporte \xe9 obrigat\xf3rio."}},"filter-dialog":{"online":"O transporte deve ser","id":"O id deve conter","remote-node":"A chave remota deve conter","online-options":{"any":"Online ou offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Rotas","info":"Caminhos usados para alcan\xe7ar os visores remotos para os quais os transportes foram estabelecidos. As rotas s\xe3o geradas automaticamente conforme necess\xe1rio.","list-title":"Lista de rotas","key":"Chave","type":"Tipo","source":"Fonte","destination":"Destino","delete-confirmation":"Tem certeza que deseja excluir a rota?","delete-selected-confirmation":"Tem certeza que deseja excluir as rotas selecionadas?","delete":"Excluir rota","deleted":"Opera\xe7\xe3o de exclus\xe3o conclu\xedda.","empty":"Visor n\xe3o tem nenhuma rota.","empty-with-filter":"Nenhuma rota corresponde aos crit\xe9rios de filtragem selecionados.","details":{"title":"Detalhes","basic":{"title":"Informa\xe7\xe3o b\xe1sica","key":"Chave:","rule":"Regras:"},"summary":{"title":"Resumo da regra","keep-alive":"Ativo:","type":"Tipo de regra:","key-route-id":"ID de rota chave:"},"specific-fields-titles":{"app":"Campos de aplicativos","forward":"Campos de encaminhamento","intermediary-forward":"Campos intermedi\xe1rios de encaminhamento"},"specific-fields":{"route-id":"Pr\xf3ximo ID de rota:","transport-id":"Pr\xf3ximo ID de transporte:","destination-pk":"Chave p\xfablica de destino:","source-pk":"Chave p\xfablica de origem:","destination-port":"Porta de destino:","source-port":"Porta de origem:"}},"filter-dialog":{"key":"A chave deve conter","type":"O tipo deve ser","source":"A fonte deve conter","destination":"O destino deve conter","any-type-option":"Qualquer uma"}},"copy":{"tooltip":"Clique para copiar","tooltip-with-text":"{{ text }} (Clique para copiar)","copied":"Copiado!"},"selection":{"select-all":"Selecionar tudo","unselect-all":"Desmarque todos","delete-all":"Excluir todos os elementos selecionados","start-all":"Iniciar todos os aplicativos selecionados","stop-all":"Parar todos os aplicativos selecionados","enable-autostart-all":"Habilitar inicializa\xe7\xe3o autom\xe1tica para todos os aplicativos selecionados","disable-autostart-all":"Desativar inicializa\xe7\xe3o autom\xe1tica para todos os aplicativos selecionados"},"refresh-button":{"seconds":"Atualizado alguns segundos atr\xe1s","minute":"Atualizado 1 minuto atr\xe1s","minutes":"Atualizado {{ time }} minutos atr\xe1s","hour":"Atualizado 1 hora atr\xe1s","hours":"Atualizado {{ time }} horas atr\xe1s","day":"Atualizado 1 dia atr\xe1s","days":"Atualizado {{ time }} dias atr\xe1s","week":"Atualizado 1 semana atr\xe1s","weeks":"Atualizado {{ time }} semanas atr\xe1s","error-tooltip":"Ocorreu um erro ao atualizar os dados. Tentando novamente a cada {{ time }} segundos automaticamente..."},"view-all-link":{"label":"Ver todos os elementos {{ number }}"},"paginator":{"first":"Primeira","last":"\xdaltima","total":"Total: {{ number }} p\xe1ginas","select-page-title":"Selecione a p\xe1gina"},"confirmation":{"header-text":"Confirma\xe7\xe3o","confirm-button":"Sim","cancel-button":"N\xe3o","close":"Fechar","error-header-text":"Erro","done-header-text":"Feito"},"language":{"title":"Selecione o idioma"},"tabs-window":{"title":"Alterar guia"}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/8.2df6eecb0737fbac3a92.js b/cmd/skywire-visor/static/8.2df6eecb0737fbac3a92.js deleted file mode 100644 index b619e52e67..0000000000 --- a/cmd/skywire-visor/static/8.2df6eecb0737fbac3a92.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{"ZF/7":function(e){e.exports=JSON.parse('{"common":{"save":"Guardar","cancel":"Cancelar","downloaded":"Recibido","uploaded":"Enviado","loading-error":"Hubo un error obteniendo los datos. Reintentando...","operation-error":"Hubo un error al intentar completar la operaci\xf3n.","no-connection-error":"No hay conexi\xf3n a Internet o conexi\xf3n con el hipervisor.","error":"Error:","refreshed":"Datos refrescados.","options":"Opciones","logout":"Cerrar sesi\xf3n","logout-error":"Error cerrando la sesi\xf3n.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","unknown":"Desconocido","close":"Cerrar","window-size-error":"La ventana es demasiado estrecha para el contenido."},"labeled-element":{"edit-label":"Editar etiqueta","remove-label":"Remover etiqueta","copy":"Copiar","remove-label-confirmation":"\xbfRealmente desea eliminar la etiqueta?","unnamed-element":"Sin nombre","unnamed-local-visor":"Visor local","local-element":"Local","tooltip":"Haga clic para copiar la entrada o cambiar la etiqueta","tooltip-with-text":"{{ text }} (Haga clic para copiar la entrada o cambiar la etiqueta)"},"labels":{"title":"Etiquetas","info":"Etiquetas que ha introducido para identificar f\xe1cilmente visores, transportes y otros elementos, en lugar de tener que leer identificadores generados por una m\xe1quina.","list-title":"Lista de etiquetas","label":"Etiqueta","id":"ID del elemento","type":"Tipo","delete-confirmation":"\xbfSeguro que desea borrar la etiqueta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las etiquetas seleccionados?","delete":"Borrar etiqueta","deleted":"Operaci\xf3n de borrado completada.","empty":"No hay etiquetas guardadas.","empty-with-filter":"Ninguna etiqueta coincide con los criterios de filtrado seleccionados.","filter-dialog":{"label":"La etiqueta debe contener","id":"El id debe contener","type":"El tipo debe ser","type-options":{"any":"Cualquiera","visor":"Visor","dmsg-server":"Servidor DMSG","transport":"Transporte"}}},"filters":{"filter-action":"Filtrar","filter-info":"Lista de filtros.","press-to-remove":"(Presione para remover los filtros)","remove-confirmation":"\xbfSeguro que desea remover los filtros?"},"tables":{"title":"Ordenar por","sorting-title":"Ordenado por:","sort-by-value":"Valor","sort-by-label":"Etiqueta","label":"(etiqueta)","inverted-order":"(invertido)"},"start":{"title":"Inicio"},"node":{"title":"Detalles del visor","not-found":"Visor no encontrado.","statuses":{"online":"Online","online-tooltip":"El visor se encuentra online.","partially-online":"Online con problemas","partially-online-tooltip":"El visor se encuentra online pero no todos los servicios est\xe1n funcionando. Para m\xe1s informaci\xf3n, abra la p\xe1gina de detalles y consulte la secci\xf3n \\"Informaci\xf3n de salud\\".","offline":"Offline","offline-tooltip":"El visor se encuentra offline."},"details":{"node-info":{"title":"Informaci\xf3n del visor","label":"Etiqueta:","public-key":"Llave p\xfablica:","ip":"IP:","dmsg-server":"Servidor DMSG:","ping":"Ping:","node-version":"Versi\xf3n del visor:","time":{"title":"Tiempo online:","seconds":"unos segundos","minute":"1 minuto","minutes":"{{ time }} minutos","hour":"1 hora","hours":"{{ time }} horas","day":"1 d\xeda","days":"{{ time }} d\xedas","week":"1 semana","weeks":"{{ time }} semanas"}},"router-info":{"title":"Informaci\xf3n del Enrutador","min-hops":"Saltos m\xednimos:","max-hops":"Saltos m\xe1ximos:","change-config-button":"Cambiar configuraci\xf3n"},"node-health":{"title":"Informaci\xf3n de Salud","status":"Estatus:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Datos de tr\xe1fico"},"tabs":{"info":"Info","apps":"Apps","routing":"Enrutamiento"},"error-load":"Hubo un error al intentar refrescar los datos. Reintentando..."},"router-config":{"title":"Configuraci\xf3n del Enrutador","info":"Aqu\xed podr\xe1 configurar cuantos saltos la conexi\xf3n deber\xe1 realizar a trav\xe9s de otros visores de Skywire antes de alcanzar el destino final. NOTA: los cambios no afectar\xe1n a las rutas ya existentes.","min-hops":"Saltos m\xednimos","save-config-button":"Guardar configuraci\xf3n","done":"Cambios guardados."},"nodes":{"title":"Lista de visores","dmsg-title":"DMSG","update-all":"Actualizar todos los visores online","hypervisor":"Hypervisor","state":"Estado","state-tooltip":"Estado actual","label":"Etiqueta","key":"Llave","dmsg-server":"Servidor DMSG","ping":"Ping","hypervisor-info":"Este visor es el Hypervisor actual.","copy-key":"Copiar llave","copy-dmsg":"Copiar llave DMSG","copy-data":"Copiar datos","view-node":"Ver visor","delete-node":"Remover visor","delete-all-offline":"Remover todos los visores offline","error-load":"Hubo un error al intentar refrescar la lista. Reintentando...","empty":"No hay ning\xfan visor conectado a este hypervisor.","empty-with-filter":"Ningun visor coincide con los criterios de filtrado seleccionados.","delete-node-confirmation":"\xbfSeguro que desea remover el visor de la lista?","delete-all-offline-confirmation":"\xbfSeguro que desea remover todos los visores offline de la lista?","delete-all-filtered-offline-confirmation":"Todos los visores offline que satisfagan los criterios de filtrado actuales ser\xe1n removidos de la lista. \xbfSeguro que desea continuar?","deleted":"Visor removido.","deleted-singular":"1 visor offline removido.","deleted-plural":"{{ number }} visores offline removidos.","no-visors-to-update":"No hay visores para actualizar.","filter-dialog":{"online":"El visor debe estar","label":"La etiqueta debe contener","key":"La llave debe contener","dmsg":"La llave del servidor DMSG debe contener","online-options":{"any":"Online u offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Etiqueta","done":"Etiqueta guardada.","label-removed-warning":"La etiqueta fue removida."},"settings":{"title":"Configuraci\xf3n","password":{"initial-config-help":"Use esta opci\xf3n para establecer la contrase\xf1a inicial. Despu\xe9s de establecer una contrase\xf1a no es posible usar esta opci\xf3n para modificarla.","help":"Opciones para cambiar la contrase\xf1a.","old-password":"Contrase\xf1a actual","new-password":"Nueva contrase\xf1a","repeat-password":"Repita la contrase\xf1a","password-changed":"Contrase\xf1a cambiada.","error-changing":"Error cambiando la contrase\xf1a.","initial-config":{"title":"Establecer contrase\xf1a inicial","password":"Contrase\xf1a","repeat-password":"Repita la contrase\xf1a","set-password":"Establecer contrase\xf1a","done":"Contrase\xf1a establecida. Por favor \xfasela para acceder al sistema.","error":"Error. Por favor aseg\xfarese de que no hubiese establecido la contrase\xf1a anteriormente."},"errors":{"bad-old-password":"La contrase\xf1a actual introducida no es correcta.","old-password-required":"La contrase\xf1a actual es requerida.","new-password-error":"La contrase\xf1a debe tener entre 6 y 64 caracteres.","passwords-not-match":"Las contrase\xf1as no coinciden.","default-password":"No utilice la contrase\xf1a por defecto (1234)."}},"updater-config":{"open-link":"Mostrar la configuraci\xf3n del actualizador","open-confirmation":"La configuraci\xf3n del actualizador es s\xf3lo para usuarios experimentados. Seguro que desea continuar?","help":"Utilice este formulario para modificar la configuraci\xf3n que utilizar\xe1 el actualizador. Se ignorar\xe1n todos los campos vac\xedos. La configuraci\xf3n se utilizar\xe1 para todas las operaciones de actualizaci\xf3n, sin importar qu\xe9 elemento se est\xe9 actualizando, as\xed que por favor tenga cuidado.","channel":"Canal","version":"Versi\xf3n","archive-url":"URL del archivo","checksum-url":"URL del checksum","not-saved":"Los cambios a\xfan no se han guardado.","save":"Guardar cambios","remove-settings":"Remover la configuraci\xf3n","saved":"Las configuracion personalizada ha sido guardada.","removed":"Las configuracion personalizada ha sido removida.","save-confirmation":"\xbfSeguro que desea aplicar la configuraci\xf3n personalizada?","remove-confirmation":"\xbfSeguro que desea remover la configuraci\xf3n personalizada?"},"change-password":"Cambiar contrase\xf1a","refresh-rate":"Frecuencia de refrescado","refresh-rate-help":"Tiempo que el sistema espera para actualizar autom\xe1ticamente los datos.","refresh-rate-confirmation":"Frecuencia de refrescado cambiada.","seconds":"segundos"},"login":{"password":"Contrase\xf1a","incorrect-password":"Contrase\xf1a incorrecta.","initial-config":"Configurar lanzamiento inicial"},"actions":{"menu":{"terminal":"Terminal","config":"Configuraci\xf3n","update":"Actualizar","reboot":"Reiniciar","logs":"Ver logs"},"reboot":{"confirmation":"\xbfSeguro que desea reiniciar el visor?","done":"El visor se est\xe1 reiniciando."},"terminal-options":{"full":"Terminal completa","simple":"Terminal simple"},"terminal":{"title":"Terminal","input-start":"Terminal de Skywire para {{address}}","error":"Error inesperado mientras se intentaba ejecutar el comando."}},"update":{"title":"Actualizar","error-title":"Error","processing":"Buscando actualizaciones...","no-update":"No hay ninguna actualizaci\xf3n para el visor. La versi\xf3n instalada actualmente es:","no-updates":"No se encontraron nuevas actualizaciones.","already-updating":"Algunos visores ya est\xe1n siendo actualizandos:","update-available":"Las siguientes actualizaciones fueron encontradas:","update-available-singular":"Las siguientes actualizaciones para 1 visor fueron encontradas:","update-available-plural":"Las siguientes actualizaciones para {{ number }} visores fueron encontradas:","update-available-additional-singular":"Las siguientes actualizaciones adicionales para 1 visor fueron encontradas:","update-available-additional-plural":"Las siguientes actualizaciones adicionales para {{ number }} visores fueron encontradas:","update-instructions":"Haga clic en el bot\xf3n \'Instalar actualizaciones\' para continuar.","updating":"La operaci\xf3n de actualizaci\xf3n se ha iniciado, puede abrir esta ventana nuevamente para verificar el progreso:","version-change":"De {{ currentVersion }} a {{ newVersion }}","selected-channel":"Canal seleccionado:","downloaded-file-name-prefix":"Descargando: ","speed-prefix":"Velocidad: ","time-downloading-prefix":"Tiempo descargando: ","time-left-prefix":"Tiempo aprox. faltante: ","starting":"Preparando para actualizar","finished":"Conexi\xf3n de estado terminada","install":"Instalar actualizaciones"},"apps":{"log":{"title":"Log","empty":"No hay mensajes de log para el rango de fecha seleccionado.","filter-button":"Mostrando s\xf3lo logs generados desde:","filter":{"title":"Filtro","filter":"Mostrar s\xf3lo logs generados desde","7-days":"Los \xfaltimos 7 d\xedas","1-month":"Los \xfaltimos 30 d\xedas","3-months":"Los \xfaltimos 3 meses","6-months":"Los \xfaltimos 6 meses","1-year":"El \xfaltimo a\xf1o","all":"mostrar todos"}},"apps-list":{"title":"Aplicaciones","list-title":"Lista de aplicaciones","app-name":"Nombre","port":"Puerto","state":"Estado","state-tooltip":"Estado actual","auto-start":"Autoinicio","empty":"El visor no tiene ninguna aplicaci\xf3n.","empty-with-filter":"Ninguna app coincide con los criterios de filtrado seleccionados.","disable-autostart":"Deshabilitar autoinicio","enable-autostart":"Habilitar autoinicio","autostart-disabled":"Autoinicio deshabilitado","autostart-enabled":"Autoinicio habilitado","unavailable-logs-error":"No es posible mostrar los logs mientras la aplicaci\xf3n no se est\xe1 ejecutando.","filter-dialog":{"state":"El estado debe ser","name":"El nombre debe contener","port":"El puerto debe contener","autostart":"El autoinicio debe estar","state-options":{"any":"Iniciada o detenida","running":"Iniciada","stopped":"Detenida"},"autostart-options":{"any":"Activado or desactivado","enabled":"Activado","disabled":"Desactivado"}}},"vpn-socks-server-settings":{"socks-title":"Configuraci\xf3n de Skysocks","vpn-title":"Configuraci\xf3n de VPN-Server","new-password":"Nueva contrase\xf1a (dejar en blanco para eliminar la contrase\xf1a)","repeat-password":"Repita la contrase\xf1a","passwords-not-match":"Las contrase\xf1as no coinciden.","secure-mode-check":"Usar modo seguro","secure-mode-info":"Cuando est\xe1 activo, el servidor no permite SSH con los clientes y no permite ning\xfan tr\xe1fico de clientes VPN a la red local del servidor.","save":"Guardar","remove-passowrd-confirmation":"Ha dejado el campo de contrase\xf1a vac\xedo. \xbfSeguro que desea eliminar la contrase\xf1a?","change-passowrd-confirmation":"\xbfSeguro que desea cambiar la contrase\xf1a?","changes-made":"Los cambios han sido realizados."},"vpn-socks-client-settings":{"socks-title":"Configuraci\xf3n de Skysocks-Client","vpn-title":"Configuraci\xf3n de VPN-Client","discovery-tab":"Buscar","remote-visor-tab":"Introducir manualmente","settings-tab":"Configuracion","history-tab":"Historial","use":"Usar estos datos","change-note":"Cambiar nota","remove-entry":"Remover entrada","note":"Nota:","note-entered-manually":"Introducido manualmente","note-obtained":"Obtenido del servicio de descubrimiento","key":"Llave:","port":"Puerto:","location":"Ubicaci\xf3n:","state-available":"Disponible","state-offline":"Offline","public-key":"Llave p\xfablica del visor remoto","password":"Contrase\xf1a","password-history-warning":"Nota: la contrase\xf1a no se guardar\xe1 en el historial.","copy-pk-info":"Copiar la llave p\xfablica.","copied-pk-info":"La llave p\xfablica ha sido copiada.","copy-pk-error":"Hubo un problema al intentar cambiar la llave p\xfablica.","no-elements":"Actualmente no hay elementos para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","no-elements-for-filters":"No hay elementos que cumplan los criterios de filtro.","no-filter":"No se ha seleccionado ning\xfan filtro","click-to-change":"Haga clic para cambiar","remote-key-length-error":"La llave p\xfablica debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","save":"Guardar","remove-from-history-confirmation":"\xbfSeguro de que desea eliminar la entrada del historial?","change-key-confirmation":"\xbfSeguro que desea cambiar la llave p\xfablica del visor remoto?","changes-made":"Los cambios han sido realizados.","no-history":"Esta pesta\xf1a mostrar\xe1 las \xfaltimas {{ number }} llaves p\xfablicas usadas.","default-note-warning":"La nota por defecto ha sido utilizada.","pagination-info":"{{ currentElementsRange }} de {{ totalElements }}","killswitch-check":"Activar killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN est\xe1 interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.","settings-changed-alert":"Los cambios a\xfan no se han guardado.","save-settings":"Guardar configuracion","change-note-dialog":{"title":"Cambiar Nota","note":"Nota"},"password-dialog":{"title":"Introducir Contrase\xf1a","password":"Contrase\xf1a","info":"Se le solicita una contrase\xf1a porque una contrase\xf1a fue utilizada cuando se cre\xf3 la entrada seleccionada, pero no fue guardada por razones de seguridad. Puede dejar la contrase\xf1a vac\xeda si es necesario.","continue-button":"Continuar"},"filter-dialog":{"title":"Filtros","country":"El pa\xeds debe ser","any-country":"Cualquiera","location":"La ubicaci\xf3n debe contener","pub-key":"La llave p\xfablica debe contener","apply":"Aplicar"}},"stop-app":"Detener","start-app":"Iniciar","view-logs":"Ver logs","settings":"Configuraci\xf3n","open":"Abrir","error":"Se produjo un error y no fue posible realizar la operaci\xf3n.","stop-confirmation":"\xbfSeguro que desea detener la aplicaci\xf3n?","stop-selected-confirmation":"\xbfSeguro que desea detener las aplicaciones seleccionadas?","disable-autostart-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de la aplicaci\xf3n?","enable-autostart-confirmation":"\xbfSeguro que desea habilitar el autoinicio de la aplicaci\xf3n?","disable-autostart-selected-confirmation":"\xbfSeguro que desea deshabilitar el autoinicio de las aplicaciones seleccionadas?","enable-autostart-selected-confirmation":"\xbfSeguro que desea habilitar el autoinicio de las aplicaciones seleccionadas?","operation-completed":"Operaci\xf3n completada.","operation-unnecessary":"La selecci\xf3n ya tiene la configuraci\xf3n solicitada.","status-running":"Corriendo","status-stopped":"Detenida","status-failed":"Fallida","status-running-tooltip":"La aplicaci\xf3n est\xe1 actualmente corriendo","status-stopped-tooltip":"La aplicaci\xf3n est\xe1 actualmente detenida","status-failed-tooltip":"Algo sali\xf3 mal. Revise los mensajes de la aplicaci\xf3n para m\xe1s informaci\xf3n"},"transports":{"title":"Transportes","remove-all-offline":"Remover todos los transportes offline","remove-all-offline-confirmation":"\xbfSeguro que desea remover todos los transportes offline?","remove-all-filtered-offline-confirmation":"Todos los transportes offline que satisfagan los criterios de filtrado actuales ser\xe1n removidos. \xbfSeguro que desea continuar?","info":"Conexiones que tiene con visores remotos de Skywire, para permitir que las aplicaciones Skywire locales se comuniquen con las aplicaciones que se ejecutan en esos visores remotos.","list-title":"Lista de transportes","state":"Estado","state-tooltip":"Estado actual","id":"ID","remote-node":"Remoto","type":"Tipo","create":"Crear transporte","delete-confirmation":"\xbfSeguro que desea borrar el transporte?","delete-selected-confirmation":"\xbfSeguro que desea borrar los transportes seleccionados?","delete":"Borrar transporte","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ning\xfan transporte.","empty-with-filter":"Ningun transporte coincide con los criterios de filtrado seleccionados.","statuses":{"online":"Online","online-tooltip":"El transporte est\xe1 online","offline":"Offline","offline-tooltip":"El transporte est\xe1 offline"},"details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","state":"Estado:","id":"ID:","local-pk":"Llave p\xfablica local:","remote-pk":"Llave p\xfablica remota:","type":"Tipo:"},"data":{"title":"Transmisi\xf3n de datos","uploaded":"Datos enviados:","downloaded":"Datos recibidos:"}},"dialog":{"remote-key":"Llave p\xfablica remota","label":"Nombre del transporte (opcional)","transport-type":"Tipo de transporte","success":"Transporte creado.","success-without-label":"El transporte fue creado, pero no fue posible guardar la etiqueta.","errors":{"remote-key-length-error":"La llave p\xfablica remota debe tener 66 caracteres.","remote-key-chars-error":"La llave p\xfablica remota s\xf3lo debe contener caracteres hexadecimales.","transport-type-error":"El tipo de transporte es requerido."}},"filter-dialog":{"online":"El transporte debe estar","id":"El id debe contener","remote-node":"La llave remota debe contener","online-options":{"any":"Online u offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Rutas","info":"Caminos utilizados para llegar a los visores remotos con los que se han establecido transportes. Las rutas se generan autom\xe1ticamente seg\xfan sea necesario.","list-title":"Lista de rutas","key":"Llave","type":"Tipo","source":"Inicio","destination":"Destino","delete-confirmation":"\xbfSeguro que desea borrar la ruta?","delete-selected-confirmation":"\xbfSeguro que desea borrar las rutas seleccionadas?","delete":"Borrar ruta","deleted":"Operaci\xf3n de borrado completada.","empty":"El visor no tiene ninguna ruta.","empty-with-filter":"Ninguna ruta coincide con los criterios de filtrado seleccionados.","details":{"title":"Detalles","basic":{"title":"Informaci\xf3n b\xe1sica","key":"Llave:","rule":"Regla:"},"summary":{"title":"Resumen de regla","keep-alive":"Keep alive:","type":"Tipo de regla:","key-route-id":"ID de la llave de la ruta:"},"specific-fields-titles":{"app":"Campos de applicaci\xf3n","forward":"Campos de reenv\xedo","intermediary-forward":"Campos de reenv\xedo intermedio"},"specific-fields":{"route-id":"ID de la siguiente ruta:","transport-id":"ID del siguiente transporte:","destination-pk":"Llave p\xfablica de destino:","source-pk":"Llave p\xfablica de origen:","destination-port":"Puerto de destino:","source-port":"Puerto de origen:"}},"filter-dialog":{"key":"La llave debe contener","type":"El tipo debe ser","source":"El inicio debe contener","destination":"El destino debe contener","any-type-option":"Cualquiera"}},"copy":{"tooltip":"Presione para copiar","tooltip-with-text":"{{ text }} (Presione para copiar)","copied":"\xa1Copiado!"},"selection":{"select-all":"Seleccionar todo","unselect-all":"Deseleccionar todo","delete-all":"Borrar los elementos seleccionados","start-all":"Iniciar las apps seleccionadas","stop-all":"Detener las apps seleccionadas","enable-autostart-all":"Habilitar el autoinicio de las apps seleccionadas","disable-autostart-all":"Deshabilitar el autoinicio de las apps seleccionadas"},"refresh-button":{"seconds":"Refrescado hace unos segundos","minute":"Refrescado hace un minuto","minutes":"Refrescado hace {{ time }} minutos","hour":"Refrescado hace una hora","hours":"Refrescado hace {{ time }} horas","day":"Refrescado hace un d\xeda","days":"Refrescado hace {{ time }} d\xedas","week":"Refrescado hace una semana","weeks":"Refrescado hace {{ time }} semanas","error-tooltip":"Hubo un error al intentar refrescar los datos. Reintentando autom\xe1ticamente cada {{ time }} segundos..."},"view-all-link":{"label":"Ver todos los {{ number }} elementos"},"paginator":{"first":"Primera","last":"\xdaltima","total":"Total: {{ number }} p\xe1ginas","select-page-title":"Seleccionar p\xe1gina"},"confirmation":{"header-text":"Confirmaci\xf3n","confirm-button":"S\xed","cancel-button":"No","close":"Cerrar","error-header-text":"Error","done-header-text":"Hecho"},"language":{"title":"Seleccionar lenguaje"},"tabs-window":{"title":"Cambiar pesta\xf1a"},"vpn":{"title":"Panel de Control de VPN","start":"Inicio","servers":"Servidores","settings":"Configuracion","starting-blocked-server-error":"No se puede conectar con el servidor seleccionado porque se ha agregado a la lista de servidores bloqueados.","unexpedted-error":"Se produjo un error inesperado y no se pudo completar la operaci\xf3n.","remote-access-title":"Parece que est\xe1 accediendo al sistema de manera remota","remote-access-text":"Esta aplicaci\xf3n s\xf3lo permite administrar la protecci\xf3n VPN del dispositivo en el que fue instalada. Los cambios hechos con ella no afectar\xe1n a dispositivos remotos como el que parece estar usando. Tambi\xe9n es posible que los datos de IP que se muestren sean incorrectos.","server-change":{"busy-error":"El sistema est\xe1 ocupado. Por favor, espere.","backend-error":"No fue posible cambiar el servidor. Por favor, aseg\xfarese de que la clave p\xfablica sea correcta y de que la aplicaci\xf3n VPN se est\xe9 ejecutando.","already-selected-warning":"El servidor seleccionado ya est\xe1 siendo utilizando.","change-server-while-connected-confirmation":"La protecci\xf3n VPN se interrumpir\xe1 mientras se cambia el servidor y algunos datos pueden transmitirse sin protecci\xf3n durante el proceso. \xbfDesea continuar?","start-same-server-confirmation":"Ya hab\xeda seleccionado ese servidor. \xbfDesea conectarte a \xe9l?"},"error-page":{"text":"La aplicaci\xf3n de cliente VPN no est\xe1 disponible.","more-info":"No fue posible conectarse a la aplicaci\xf3n cliente VPN. Esto puede deberse a un error de configuraci\xf3n, un problema inesperado con el visor o porque utiliz\xf3 una clave p\xfablica no v\xe1lida en la URL.","text-pk":"Configuraci\xf3n inv\xe1lida.","more-info-pk":"La aplicaci\xf3n no puede ser iniciada porque no ha especificado la clave p\xfablica del visor.","text-storage":"Error al guardar los datos.","more-info-storage":"Ha habido un conflicto al intentar guardar los datos y la aplicaci\xf3n se ha cerrado para prevenir errores. Esto puede suceder si abre la aplicaci\xf3n en m\xe1s de una pesta\xf1a o ventana.","text-pk-change":"Operaci\xf3n inv\xe1lida.","more-info-pk-change":"Por favor, utilice esta aplicaci\xf3n para administrar s\xf3lo un cliente VPN."},"connection-info":{"state-connecting":"Conectando","state-connecting-info":"Se est\xe1 activando la protecci\xf3n VPN.","state-connected":"Conectado","state-connected-info":"La protecci\xf3n VPN est\xe1 activada.","state-disconnecting":"Desconectando","state-disconnecting-info":"Se est\xe1 desactivando la protecci\xf3n VPN.","state-reconnecting":"Reconectando","state-reconnecting-info":"Se est\xe1 restaurando la protecci\xf3n de VPN.","state-disconnected":"Desconectado","state-disconnected-info":"La protecci\xf3n VPN est\xe1 desactivada.","state-info":"Estado actual de la conexi\xf3n.","latency-info":"Latencia actual.","upload-info":"Velocidad de subida.","download-info":"Velocidad de descarga."},"status-page":{"start-title":"Iniciar VPN","no-server":"\xa1Ning\xfan servidor seleccionado!","disconnect":"Desconectar","disconnect-confirmation":"\xbfRealmente desea detener la protecci\xf3n VPN?","entered-manually":"Ingresado manualmente","upload-info":"Estad\xedsticas de datos subidos.","download-info":"Estad\xedsticas de datos descargados.","latency-info":"Estad\xedsticas de latencia.","total-data-label":"total","problem-connecting-error":"No fue posible conectarse al servidor. El servidor puede no ser v\xe1lido o estar temporalmente inactivo.","problem-starting-error":"No fue posible iniciar la VPN. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","problem-stopping-error":"No fue posible detener la VPN. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","generic-problem-error":"No fue posible realizar la operaci\xf3n. Por favor, aseg\xfarese de que la aplicaci\xf3n base de cliente VPN est\xe9 ejecutandose.","select-server-warning":"Por favor, seleccione un servidor primero.","data":{"ip":"Direcci\xf3n IP:","ip-problem-info":"Hubo un problema al intentar obtener la IP. Por favor, verif\xedquela utilizando un servicio externo.","ip-country-problem-info":"Hubo un problema al intentar obtener el pa\xeds. Por favor, verif\xedquelo utilizando un servicio externo.","ip-refresh-info":"Refrescar","ip-refresh-time-warning":"Por favor, espere {{ seconds }} segundo(s) antes de refrescar los datos.","ip-refresh-loading-warning":"Por favor, espere a que finalice la operaci\xf3n anterior.","country":"Pa\xeds:","server":"Servidor:","server-note":"Nota del servidor:","original-server-note":"Nota original del servidor:","local-pk":"Llave p\xfablica del visor local:","remote-pk":"Llave p\xfablica del visor remoto:","unavailable":"No disponible"}},"server-options":{"tooltip":"Opciones","connect-without-password":"Conectarse sin contrase\xf1a","connect-without-password-confirmation":"La conexi\xf3n se realizar\xe1 sin la contrase\xf1a. \xbfSeguro que desea continuar?","connect-using-password":"Conectarse usando una contrase\xf1a","edit-name":"Nombre personalizado","edit-label":"Nota personalizada","make-favorite":"Hacer favorito","make-favorite-confirmation":"\xbfRealmente desea marcar este servidor como favorito? Se eliminar\xe1 de la lista de bloqueados.","make-favorite-done":"Agregado a la lista de favoritos.","remove-from-favorites":"Quitar de favoritos","remove-from-favorites-done":"Eliminado de la lista de favoritos.","block":"Bloquear servidor","block-done":"Agregado a la lista de bloqueados.","block-confirmation":"\xbfRealmente desea bloquear este servidor? Se eliminar\xe1 de la lista de favoritos.","block-selected-confirmation":"\xbfRealmente desea bloquear el servidor actualmente seleccionado? Se cerrar\xe1n todas las conexiones.","block-selected-favorite-confirmation":"\xbfRealmente desea bloquear el servidor actualmente seleccionado? Se cerrar\xe1n todas las conexiones y se eliminar\xe1 de la lista de favoritos.","unblock":"Desbloquear servidor","unblock-done":"Eliminado de la lista de bloqueados.","remove-from-history":"Quitar del historial","remove-from-history-confirmation":"\xbfRealmente desea quitar del historial el servidor?","remove-from-history-done":"Eliminado del historial.","edit-value":{"name-title":"Nombre Personalizado","note-title":"Nota Personalizada","name-label":"Nombre personalizado","note-label":"Nota personalizada","apply-button":"Aplicar","changes-made-confirmation":"Se ha realizado el cambio."}},"server-conditions":{"selected-info":"Este es el servidor actualmente seleccionado.","blocked-info":"Este servidor est\xe1 en la lista de bloqueados.","favorite-info":"Este servidor est\xe1 en la lista de favoritos.","history-info":"Este servidor est\xe1 en el historial de servidores.","has-password-info":"Se estableci\xf3 una contrase\xf1a para conectarse con este servidor."},"server-list":{"date-small-table-label":"Fecha","date-info":"\xdaltima vez en la que us\xf3 este servidor.","country-small-table-label":"Pa\xeds","country-info":"Pa\xeds donde se encuentra el servidor.","name-small-table-label":"Nombre","location-small-table-label":"Ubicaci\xf3n","public-key-small-table-label":"Lp","public-key-info":"Llave p\xfablica del servidor.","congestion-rating-small-table-label":"Calificaci\xf3n de congesti\xf3n","congestion-rating-info":"Calificaci\xf3n del servidor relacionada con lo congestionado que suele estar.","congestion-small-table-label":"Congesti\xf3n","congestion-info":"Congesti\xf3n actual del servidor.","latency-rating-small-table-label":"Calificaci\xf3n de latencia","latency-rating-info":"Calificaci\xf3n del servidor relacionada con la latencia que suele tener.","latency-small-table-label":"Latencia","latency-info":"Latencia actual del servidor.","hops-small-table-label":"Saltos","hops-info":"Cu\xe1ntos saltos se necesitan para conectarse con el servidor.","note-small-table-label":"Nota","note-info":"Nota acerca del servidor.","gold-rating-info":"Oro","silver-rating-info":"Plata","bronze-rating-info":"Bronce","notes-info":"Nota personalizada: {{ custom }} - Nota original: {{ original }}","empty-discovery":"Actualmente no hay servidores VPN para mostrar. Por favor, int\xe9ntelo de nuevo m\xe1s tarde.","empty-history":"No hay historial que mostrar.","empty-favorites":"No hay servidores favoritos para mostrar.","empty-blocked":"No hay servidores bloqueados para mostrar.","empty-with-filter":"Ning\xfan servidor VPN coincide con los criterios de filtrado seleccionados.","add-manually-info":"Agregar el servidor manualmente.","current-filters":"Filtros actuales (presione para eliminar)","none":"Ninguno","unknown":"Desconocido","tabs":{"public":"P\xfablicos","history":"Historial","favorites":"Favoritos","blocked":"Bloqueados"},"add-server-dialog":{"title":"Ingresar manualmente","pk-label":"Llave p\xfablica del servidor","password-label":"Contrase\xf1a del servidor (si tiene)","name-label":"Nombre del servidor (opcional)","note-label":"Nota personal (opcional)","pk-length-error":"La llave p\xfablica debe tener 66 caracteres.","pk-chars-error":"La llave p\xfablica s\xf3lo debe contener caracteres hexadecimales.","use-server-button":"Usar servidor"},"password-dialog":{"title":"Introducir Contrase\xf1a","password-if-any-label":"Contrase\xf1a del servidor (si tiene)","password-label":"Contrase\xf1a del servidor","continue-button":"Continuar"},"filter-dialog":{"country":"El pa\xeds debe ser","name":"El nombre debe contener","location":"La ubicaci\xf3n debe contener","public-key":"La llave p\xfablica debe contener","congestion-rating":"La calificaci\xf3n de congesti\xf3n debe ser","latency-rating":"La calificaci\xf3n de latencia debe ser","rating-options":{"any":"Cualquiera","gold":"Oro","silver":"Plata","bronze":"Bronce"},"country-options":{"any":"Cualquiera"}}},"settings-page":{"setting-small-table-label":"Ajuste","value-small-table-label":"Valor","killswitch":"Killswitch","killswitch-info":"Cuando est\xe1 activo, todas las conexiones de red se desactivar\xe1n si la aplicaci\xf3n se est\xe1 ejecutando pero la protecci\xf3n VPN es interrumpida (por errores temporales o cualquier otro problema). Esto evita fugas de datos.","get-ip":"Obtener informaci\xf3n de IP","get-ip-info":"Cuando est\xe1 activa, la aplicaci\xf3n utilizar\xe1 servicios externos para obtener informaci\xf3n sobre la IP actual.","data-units":"Unidades de datos","data-units-info":"Permite seleccionar las unidades que se utilizar\xe1n para mostrar las estad\xedsticas de transmisi\xf3n de datos.","setting-on":"Encendido","setting-off":"Apagado","working-warning":"El sistema est\xe1 ocupado. Por favor, espere a que finalice la operaci\xf3n anterior.","change-while-connected-confirmation":"La protecci\xf3n VPN se interrumpir\xe1 mientras se realiza el cambio. \xbfDesea continuar?","data-units-modal":{"title":"Unidades de Datos","only-bits":"Bits para todas las estad\xedsticas","only-bytes":"Bytes para todas las estad\xedsticas","bits-speed-and-bytes-volume":"Bits para velocidad y bytes para volumen (predeterminado)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/9.5338194eab44f674bbd0.js b/cmd/skywire-visor/static/9.5338194eab44f674bbd0.js deleted file mode 100644 index 162a44e6fd..0000000000 --- a/cmd/skywire-visor/static/9.5338194eab44f674bbd0.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{bIFx:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","unknown":"Unknown","close":"Close","window-size-error":"The window is too narrow for the content."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","filter-info":"Filter list.","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"Visor is online.","partially-online":"Online with problems","partially-online-tooltip":"Visor is online but not all services are working. For more information, open the details page and check the \\"Health info\\" section.","offline":"Offline","offline-tooltip":"Visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","ip":"IP:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"router-info":{"title":"Router Info","min-hops":"Min hops:","max-hops":"Max hops:","change-config-button":"Change configuration"},"node-health":{"title":"Health Info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"router-config":{"title":"Router Configuration","info":"Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.","min-hops":"Min hops","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all online visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot","logs":"View logs"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","open":"Open","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","remove-all-offline":"Remove all offline transports","remove-all-offline-confirmation":"Are you sure you want to remove all offline transports?","remove-all-filtered-offline-confirmation":"All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","state":"State","state-tooltip":"Current state","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","delete-confirmation":"Are you sure you want to delete the transport?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","statuses":{"online":"Online","online-tooltip":"Transport is online","offline":"Offline","offline-tooltip":"Transport is offline"},"details":{"title":"Details","basic":{"title":"Basic info","state":"State:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"online":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"},"vpn":{"title":"VPN Control Panel","start":"Start","servers":"Servers","settings":"Settings","starting-blocked-server-error":"Unable to connect to the selected server because it has been added to the blocked servers list.","unexpedted-error":"An unexpected error occurred and the operation could not be completed.","remote-access-title":"It appears that you are accessing the system remotely","remote-access-text":"This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.","server-change":{"busy-error":"The system is busy. Please wait.","backend-error":"It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.","already-selected-warning":"The selected server is already being used.","change-server-while-connected-confirmation":"The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?","start-same-server-confirmation":"You had already selected that server. Do you want to connect to it?"},"error-page":{"text":"The VPN client app is not available.","more-info":"It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.","text-pk":"Invalid configuration.","more-info-pk":"The application cannot be started because you have not specified the visor public key.","text-storage":"Error saving data.","more-info-storage":"There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.","text-pk-change":"Invalid operation.","more-info-pk-change":"Please use this application to manage only one VPN client."},"connection-info":{"state-connecting":"Connecting","state-connecting-info":"The VPN protection is being activated.","state-connected":"Connected","state-connected-info":"The VPN protection is on.","state-disconnecting":"Disconnecting","state-disconnecting-info":"The VPN protection is being deactivated.","state-reconnecting":"Reconnecting","state-reconnecting-info":"The VPN protection is being restored.","state-disconnected":"Disconnected","state-disconnected-info":"The VPN protection is off.","state-info":"Current connection status.","latency-info":"Current latency.","upload-info":"Upload speed.","download-info":"Download speed."},"status-page":{"start-title":"Start VPN","no-server":"No server selected!","disconnect":"Disconnect","disconnect-confirmation":"Are you sure you want to stop the VPN protection?","entered-manually":"Entered manually","upload-info":"Uploaded data stats.","download-info":"Downloaded data stats.","latency-info":"Latency stats.","total-data-label":"total","problem-connecting-error":"It was not possible to connect to the server. The server may be invalid or temporarily down.","problem-starting-error":"It was not possible to start the VPN. Please make sure the base VPN client app is running.","problem-stopping-error":"It was not possible to stop the VPN. Please make sure the base VPN client app is running.","generic-problem-error":"It was not possible to perform the operation. Please make sure the base VPN client app is running.","select-server-warning":"Please select a server first.","data":{"ip":"IP address:","ip-problem-info":"There was a problem trying to get the IP. Please verify it using an external service.","ip-country-problem-info":"There was a problem trying to get the country. Please verify it using an external service.","ip-refresh-info":"Refresh","ip-refresh-time-warning":"Please wait {{ seconds }} second(s) before refreshing the data.","ip-refresh-loading-warning":"Please wait for the previous operation to finish.","country":"Country:","server":"Server:","server-note":"Server note:","original-server-note":"Original server note:","local-pk":"Local visor public key:","remote-pk":"Remote visor public key:","unavailable":"Unavailable"}},"server-options":{"tooltip":"Options","connect-without-password":"Connect without password","connect-without-password-confirmation":"The connection will be made without the password. Are you sure you want to continue?","connect-using-password":"Connect using a password","edit-name":"Custom name","edit-label":"Custom note","make-favorite":"Make favorite","make-favorite-confirmation":"Are you sure you want to mark this server as favorite? It will be removed from the blocked list.","make-favorite-done":"Added to the favorites list.","remove-from-favorites":"Remove from favorites","remove-from-favorites-done":"Removed from the favorites list.","block":"Block server","block-done":"Added to the blocked list.","block-confirmation":"Are you sure you want to block this server? It will be removed from the favorites list.","block-selected-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed.","block-selected-favorite-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.","unblock":"Unblock server","unblock-done":"Removed from the blocked list.","remove-from-history":"Remove from history","remove-from-history-confirmation":"Are you sure you want to remove this server from the history?","remove-from-history-done":"Removed from history.","edit-value":{"name-title":"Custom Name","note-title":"Custom Note","name-label":"Custom name","note-label":"Custom note","apply-button":"Apply","changes-made-confirmation":"The change has been made."}},"server-conditions":{"selected-info":"This is the currently selected server.","blocked-info":"This server is in the blocked list.","favorite-info":"This server is in the favorites list.","history-info":"This server is in the server history.","has-password-info":"A password was set for connecting with this server."},"server-list":{"date-small-table-label":"Date","date-info":"Last time you used this server.","country-small-table-label":"Country","country-info":"Country where the server is located.","name-small-table-label":"Name","location-small-table-label":"Location","public-key-small-table-label":"Pk","public-key-info":"Server public key.","congestion-rating-small-table-label":"Congestion rating","congestion-rating-info":"Rating of the server related to how congested it tends to be.","congestion-small-table-label":"Congestion","congestion-info":"Current server congestion.","latency-rating-small-table-label":"Latency rating","latency-rating-info":"Rating of the server related to how much latency it tends to have.","latency-small-table-label":"Latency","latency-info":"Current server latency.","hops-small-table-label":"Hops","hops-info":"How many hops are needed for connecting with the server.","note-small-table-label":"Note","note-info":"Note about the server.","gold-rating-info":"Gold","silver-rating-info":"Silver","bronze-rating-info":"Bronze","notes-info":"Custom note: {{ custom }} - Original note: {{ original }}","empty-discovery":"Currently there are no VPN servers to show. Please try again later.","empty-history":"There is no history to show.","empty-favorites":"There are no favorite servers to show.","empty-blocked":"There are no blocked servers to show.","empty-with-filter":"No VPN server matches the selected filtering criteria.","add-manually-info":"Add server manually.","current-filters":"Current filters (press to remove)","none":"None","unknown":"Unknown","tabs":{"public":"Public","history":"History","favorites":"Favorites","blocked":"Blocked"},"add-server-dialog":{"title":"Enter manually","pk-label":"Server public key","password-label":"Server password (if any)","name-label":"Server name (optional)","note-label":"Personal note (optional)","pk-length-error":"The public key must be 66 characters long.","pk-chars-error":"The public key must only contain hexadecimal characters.","use-server-button":"Use server"},"password-dialog":{"title":"Enter Password","password-if-any-label":"Server password (if any)","password-label":"Server password","continue-button":"Continue"},"filter-dialog":{"country":"The country must be","name":"The name must contain","location":"The location must contain","public-key":"The public key must contain","congestion-rating":"The congestion rating must be","latency-rating":"The latency rating must be","rating-options":{"any":"Any","gold":"Gold","silver":"Silver","bronze":"Bronze"},"country-options":{"any":"Any"}}},"settings-page":{"setting-small-table-label":"Setting","value-small-table-label":"Value","killswitch":"Killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","get-ip":"Get IP info","get-ip-info":"When active, the application will use external services to obtain information about the current IP.","data-units":"Data units","data-units-info":"Allows to select the units that will be used to display the data transmission statistics.","setting-on":"On","setting-off":"Off","working-warning":"The system is busy. Please wait for the previous operation to finish.","change-while-connected-confirmation":"The VPN protection will be interrupted while changing the setting. Do you want to continue?","data-units-modal":{"title":"Data Units","only-bits":"Bits for all stats","only-bytes":"Bytes for all stats","bits-speed-and-bytes-volume":"Bits for speed and bytes for volume (default)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/974.75912ef3d0e91c36ba42.js b/cmd/skywire-visor/static/974.75912ef3d0e91c36ba42.js new file mode 100644 index 0000000000..24a5752957 --- /dev/null +++ b/cmd/skywire-visor/static/974.75912ef3d0e91c36ba42.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[974],{43974:function(e){e.exports=JSON.parse('{"common":{"save":"Save","cancel":"Cancel","downloaded":"Downloaded","uploaded":"Uploaded","loading-error":"There was an error getting the data. Retrying...","operation-error":"There was an error trying to complete the operation.","no-connection-error":"There is no internet connection or connection to the Hypervisor.","error":"Error:","refreshed":"Data refreshed.","options":"Options","logout":"Logout","logout-error":"Error logging out.","logout-confirmation":"Are you sure you want to log out?","time-in-ms":"{{ time }}ms.","time-in-segs":"{{ time }}s.","ok":"Ok","yes":"Yes","no":"No","unknown":"Unknown","close":"Close","window-size-error":"The window is too narrow for the content."},"labeled-element":{"edit-label":"Edit label","remove-label":"Remove label","copy":"Copy","remove-label-confirmation":"Do you really want to remove the label?","unnamed-element":"Unnamed","unnamed-local-visor":"Local visor","local-element":"Local","tooltip":"Click to copy the entry or change the label","tooltip-with-text":"{{ text }} (Click to copy the entry or change the label)"},"labels":{"title":"Labels","info":"Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.","list-title":"Label list","label":"Label","id":"Element ID","type":"Type","delete-confirmation":"Are you sure you want to delete the label?","delete-selected-confirmation":"Are you sure you want to delete the selected labels?","delete":"Delete label","deleted":"Delete operation completed.","empty":"There aren\'t any saved labels.","empty-with-filter":"No label matches the selected filtering criteria.","filter-dialog":{"label":"The label must contain","id":"The id must contain","type":"The type must be","type-options":{"any":"Any","visor":"Visor","dmsg-server":"DMSG server","transport":"Transport"}}},"filters":{"filter-action":"Filter","filter-info":"Filter list.","press-to-remove":"(Press to remove the filters)","remove-confirmation":"Are you sure you want to remove the filters?"},"tables":{"title":"Order by","sorting-title":"Ordered by:","sort-by-value":"Value","sort-by-label":"Label","label":"(label)","inverted-order":"(inverted)"},"start":{"title":"Start"},"node":{"title":"Visor details","not-found":"Visor not found.","statuses":{"online":"Online","online-tooltip":"The visor is online.","connecting":"Connecting","connecting-tooltip":"The visor is online, but still connecting to the uptime tracker.","unknown":"Unknown","unknown-tooltip":"The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.","partially-online":"Online with problems","partially-online-tooltip":"The visor is online, but disconnected from the uptime tracker.","offline":"Offline","offline-tooltip":"The visor is offline."},"details":{"node-info":{"title":"Visor Info","label":"Label:","public-key":"Public key:","symmetic-nat":"Symmetic NAT:","public-ip":"Public IP:","ip":"IP:","dmsg-server":"DMSG server:","ping":"Ping:","node-version":"Visor version:","skybian-version":"Skybian version:","no-skybian-version":"(not using Skybian)","time":{"title":"Time online:","seconds":"a few seconds","minute":"1 minute","minutes":"{{ time }} minutes","hour":"1 hour","hours":"{{ time }} hours","day":"1 day","days":"{{ time }} days","week":"1 week","weeks":"{{ time }} weeks"}},"transports-info":{"title":"Transports Info","autoconnect":"Autoconnect:","autoconnect-info":"When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.","enabled":"Enabled","disabled":"Disabled","enable-button":"Enable","disable-button":"Disable","enable-confirmation":"Are you sure you want to enable the autoconnect feature?","disable-confirmation":"Are you sure you want to disable the autoconnect feature?","enable-done":"The autoconnect feature has been enabled.","disable-done":"The autoconnect feature has been disabled."},"router-info":{"title":"Router Info","min-hops":"Min hops:","max-hops":"Max hops:","change-config-button":"Change configuration"},"node-health":{"title":"Health Info","status":"Status:","transport-discovery":"Transport discovery:","route-finder":"Route finder:","setup-node":"Setup node:","uptime-tracker":"Uptime tracker:","address-resolver":"Address resolver:","element-offline":"Offline"},"node-traffic-data":"Traffic data"},"tabs":{"info":"Info","apps":"Apps","routing":"Routing"},"error-load":"An error occurred while refreshing the data. Retrying..."},"router-config":{"title":"Router Configuration","info":"Here you can configure how many hops the connections must pass through other Skywire visors before reaching the final destination. NOTE: the changes will not affect the existing routes.","min-hops":"Min hops","save-config-button":"Save configuration","done":"Changes saved."},"nodes":{"title":"Visor list","dmsg-title":"DMSG","update-all":"Update all online visors","hypervisor":"Hypervisor","state":"State","state-tooltip":"Current state","label":"Label","key":"Key","dmsg-server":"DMSG server","ping":"Ping","hypervisor-info":"This visor is the current Hypervisor.","copy-key":"Copy key","copy-dmsg":"Copy DMSG server key","copy-data":"Copy data","view-node":"View visor","delete-node":"Remove visor","delete-all-offline":"Remove all offline visors","error-load":"An error occurred while refreshing the list. Retrying...","empty":"There aren\'t any visors connected to this hypervisor.","empty-with-filter":"No visor matches the selected filtering criteria.","delete-node-confirmation":"Are you sure you want to remove the visor from the list?","delete-all-offline-confirmation":"Are you sure you want to remove all offline visors from the list?","delete-all-filtered-offline-confirmation":"All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?","deleted":"Visor removed.","deleted-singular":"1 offline visor removed.","deleted-plural":"{{ number }} offline visors removed.","no-visors-to-update":"There are no visors to update.","filter-dialog":{"online":"The visor must be","label":"The label must contain","key":"The public key must contain","dmsg":"The DMSG server key must contain","online-options":{"any":"Online or offline","online":"Online","offline":"Offline"}}},"edit-label":{"label":"Label","done":"Label saved.","label-removed-warning":"The label was removed."},"settings":{"title":"Settings","password":{"initial-config-help":"Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.","help":"Options for changing your password.","old-password":"Old password","new-password":"New password","repeat-password":"Repeat password","password-changed":"Password changed.","error-changing":"Error changing password.","initial-config":{"title":"Set initial password","password":"Password","repeat-password":"Repeat password","set-password":"Set password","done":"Password set. Please use it to access the system.","error":"Error. Please make sure you have not already set the password."},"errors":{"bad-old-password":"The provided old password is not correct.","old-password-required":"Old password is required.","new-password-error":"Password must be 6-64 characters long.","passwords-not-match":"Passwords do not match.","default-password":"Don\'t use the default password (1234)."}},"updater-config":{"open-link":"Show updater settings","open-confirmation":"The updater settings are for experienced users only. Are you sure you want to continue?","help":"Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.","channel":"Channel","version":"Version","archive-url":"Archive URL","checksum-url":"Checksum URL","not-saved":"The changes have not been saved yet.","save":"Save changes","remove-settings":"Remove the settings","saved":"The custom settings have been saved.","removed":"The custom settings have been removed.","save-confirmation":"Are you sure you want to apply the custom settings?","remove-confirmation":"Are you sure you want to remove the custom settings?"},"change-password":"Change password","refresh-rate":"Refresh rate","refresh-rate-help":"Time the system waits to update the data automatically.","refresh-rate-confirmation":"Refresh rate changed.","seconds":"seconds"},"login":{"password":"Password","incorrect-password":"Incorrect password.","initial-config":"Configure initial launch"},"actions":{"menu":{"terminal":"Terminal","config":"Configuration","update":"Update","reboot":"Reboot","logs":"View logs"},"reboot":{"confirmation":"Are you sure you want to reboot the visor?","done":"The visor is restarting."},"terminal-options":{"full":"Full terminal","simple":"Simple terminal"},"terminal":{"title":"Terminal","input-start":"Skywire terminal for {{address}}","error":"Unexpected error while trying to execute the command."}},"update":{"title":"Update","error-title":"Error","processing":"Looking for updates...","no-update":"There is no update for the visor. The currently installed version is:","no-updates":"No new updates were found.","already-updating":"Some visors are already being updated:","update-available":"The following updates were found:","update-available-singular":"The following updates for 1 visor were found:","update-available-plural":"The following updates for {{ number }} visors were found:","update-available-additional-singular":"The following additional updates for 1 visor were found:","update-available-additional-plural":"The following additional updates for {{ number }} visors were found:","update-instructions":"Click the \'Install updates\' button to continue.","updating":"The update operation has been started, you can open this window again for checking the progress:","version-change":"From {{ currentVersion }} to {{ newVersion }}","selected-channel":"Selected channel:","downloaded-file-name-prefix":"Downloading: ","speed-prefix":"Speed: ","time-downloading-prefix":"Time downloading: ","time-left-prefix":"Aprox. time left: ","starting":"Preparing to update","finished":"Status connection finished","install":"Install updates"},"apps":{"log":{"title":"Log","empty":"There are no log messages for the selected time range.","filter-button":"Only showing logs generated since:","filter":{"title":"Filter","filter":"Only show logs generated since","7-days":"The last 7 days","1-month":"The last 30 days","3-months":"The last 3 months","6-months":"The last 6 months","1-year":"The last year","all":"Show all"}},"apps-list":{"title":"Applications","list-title":"Application list","app-name":"Name","port":"Port","state":"State","state-tooltip":"Current state","auto-start":"Auto start","empty":"Visor doesn\'t have any applications.","empty-with-filter":"No app matches the selected filtering criteria.","disable-autostart":"Disable autostart","enable-autostart":"Enable autostart","autostart-disabled":"Autostart disabled","autostart-enabled":"Autostart enabled","unavailable-logs-error":"Unable to show the logs while the app is not running.","filter-dialog":{"state":"The state must be","name":"The name must contain","port":"The port must contain","autostart":"The autostart must be","state-options":{"any":"Running or stopped","running":"Running","stopped":"Stopped"},"autostart-options":{"any":"Enabled or disabled","enabled":"Enabled","disabled":"Disabled"}}},"vpn-socks-server-settings":{"socks-title":"Skysocks Settings","vpn-title":"VPN-Server Settings","new-password":"New password (Leave empty to remove the password)","repeat-password":"Repeat password","passwords-not-match":"Passwords do not match.","secure-mode-check":"Use secure mode","secure-mode-info":"When active, the server doesn\'t allow client/server SSH and doesn\'t allow any traffic from VPN clients to the server local network.","save":"Save","remove-passowrd-confirmation":"You left the password field empty. Are you sure you want to remove the password?","change-passowrd-confirmation":"Are you sure you want to change the password?","changes-made":"The changes have been made."},"vpn-socks-client-settings":{"socks-title":"Skysocks-Client Settings","vpn-title":"VPN-Client Settings","discovery-tab":"Search","remote-visor-tab":"Enter manually","history-tab":"History","settings-tab":"Settings","use":"Use this data","change-note":"Change note","remove-entry":"Remove entry","note":"Note:","note-entered-manually":"Entered manually","note-obtained":"Obtained from the discovery service","key":"Key:","port":"Port:","location":"Location:","state-available":"Available","state-offline":"Offline","public-key":"Remote visor public key","password":"Password","password-history-warning":"Note: the password will not be saved in the history.","copy-pk-info":"Copy public key.","copied-pk-info":"The public key has been copied.","copy-pk-error":"There was a problem copying the public key.","no-elements":"Currently there are no elements to show. Please try again later.","no-elements-for-filters":"There are no elements that meet the filter criteria.","no-filter":"No filter has been selected","click-to-change":"Click to change","remote-key-length-error":"The public key must be 66 characters long.","remote-key-chars-error":"The public key must only contain hexadecimal characters.","save":"Save","remove-from-history-confirmation":"Are you sure you want to remove the entry from the history?","change-key-confirmation":"Are you sure you want to change the remote visor public key?","changes-made":"The changes have been made.","no-history":"This tab will show the last {{ number }} public keys used.","default-note-warning":"The default note has been used.","pagination-info":"{{ currentElementsRange }} of {{ totalElements }}","killswitch-check":"Activate killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","settings-changed-alert":" The changes have not been saved yet.","save-settings":"Save settings","change-note-dialog":{"title":"Change Note","note":"Note"},"password-dialog":{"title":"Enter Password","password":"Password","info":"You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.","continue-button":"Continue"},"filter-dialog":{"title":"Filters","country":"The country must be","any-country":"Any","location":"The location must contain","pub-key":"The public key must contain","apply":"Apply"}},"stop-app":"Stop","start-app":"Start","view-logs":"View logs","settings":"Settings","open":"Open","error":"An error has occured and it was not possible to perform the operation.","stop-confirmation":"Are you sure you want to stop the app?","stop-selected-confirmation":"Are you sure you want to stop the selected apps?","disable-autostart-confirmation":"Are you sure you want to disable autostart for the app?","enable-autostart-confirmation":"Are you sure you want to enable autostart for the app?","disable-autostart-selected-confirmation":"Are you sure you want to disable autostart for the selected apps?","enable-autostart-selected-confirmation":"Are you sure you want to enable autostart for the selected apps?","operation-completed":"Operation completed.","operation-unnecessary":"The selection already has the requested setting.","status-running":"Running","status-stopped":"Stopped","status-failed":"Failed","status-running-tooltip":"App is currently running","status-stopped-tooltip":"App is currently stopped","status-failed-tooltip":"Something went wrong. Check the app\'s messages for more information"},"transports":{"title":"Transports","info":"Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.","list-title":"Transport list","offline":"Offline","persistent":"Persistent","persistent-tooltip":"Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.","persistent-transport-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.","persistent-transport-button-tooltip":"This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.","non-persistent-transport-button-tooltip":"Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","make-persistent":"Make persistent","make-non-persistent":"Make non-persistent","make-selected-persistent":"Make all selected persistent","make-selected-non-persistent":"Make all selected non-persistent","changes-made":"Changes made.","no-changes-needed":"No changes were needed.","id":"ID","remote-node":"Remote","type":"Type","create":"Create transport","make-persistent-confirmation":"Are you sure you want to make the transport persistent?","make-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent?","make-selected-persistent-confirmation":"Are you sure you want to make the selected transports persistent?","make-selected-non-persistent-confirmation":"Are you sure you want to make the selected transports non-persistent?","make-offline-non-persistent-confirmation":"Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.","delete-confirmation":"Are you sure you want to delete the transport?","delete-persistent-confirmation":"This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?","delete-selected-confirmation":"Are you sure you want to delete the selected transports?","delete":"Delete transport","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any transports.","empty-with-filter":"No transport matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","persistent":"Persistent:","id":"ID:","local-pk":"Local public key:","remote-pk":"Remote public key:","type":"Type:"},"data":{"title":"Data transmission","uploaded":"Uploaded data:","downloaded":"Downloaded data:"}},"dialog":{"remote-key":"Remote public key","label":"Identification name (optional)","transport-type":"Transport type","make-persistent":"Make persistent","persistent-tooltip":"Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.","only-persistent-created":"The persistent transport was created, but it may have not been activated.","success":"Transport created.","success-without-label":"The transport was created, but it was not possible to save the label.","errors":{"remote-key-length-error":"The remote public key must be 66 characters long.","remote-key-chars-error":"The remote public key must only contain hexadecimal characters.","transport-type-error":"The transport type is required."}},"filter-dialog":{"persistent":"The transport must be","id":"The id must contain","remote-node":"The remote key must contain","persistent-options":{"any":"Any","persistent":"Persistent","non-persistent":"Non-persistent"}}},"routes":{"title":"Routes","info":"Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.","list-title":"Route list","key":"Key","type":"Type","source":"Source","destination":"Destination","delete-confirmation":"Are you sure you want to delete the route?","delete-selected-confirmation":"Are you sure you want to delete the selected routes?","delete":"Delete route","deleted":"Delete operation completed.","empty":"Visor doesn\'t have any routes.","empty-with-filter":"No route matches the selected filtering criteria.","details":{"title":"Details","basic":{"title":"Basic info","key":"Key:","rule":"Rule:"},"summary":{"title":"Rule summary","keep-alive":"Keep alive:","type":"Rule type:","key-route-id":"Key route ID:"},"specific-fields-titles":{"app":"App fields","forward":"Forward fields","intermediary-forward":"Intermediary forward fields"},"specific-fields":{"route-id":"Next route ID:","transport-id":"Next transport ID:","destination-pk":"Destination public key:","source-pk":"Source public key:","destination-port":"Destination port:","source-port":"Source port:"}},"filter-dialog":{"key":"The key must contain","type":"The type must be","source":"The source must contain","destination":"The destination must contain","any-type-option":"Any"}},"copy":{"tooltip":"Click to copy","tooltip-with-text":"{{ text }} (Click to copy)","copied":"Copied!"},"selection":{"select-all":"Select all","unselect-all":"Unselect all","delete-all":"Delete all selected elements","start-all":"Start all selected apps","stop-all":"Stop all selected apps","enable-autostart-all":"Enable autostart for all selected apps","disable-autostart-all":"Disable autostart for all selected apps"},"refresh-button":{"seconds":"Updated a few seconds ago","minute":"Updated 1 minute ago","minutes":"Updated {{ time }} minutes ago","hour":"Updated 1 hour ago","hours":"Updated {{ time }} hours ago","day":"Updated 1 day ago","days":"Updated {{ time }} days ago","week":"Updated 1 week ago","weeks":"Updated {{ time }} weeks ago","error-tooltip":"There was an error updating the data. Retrying automatically every {{ time }} seconds..."},"view-all-link":{"label":"View all {{ number }} elements"},"paginator":{"first":"First","last":"Last","total":"Total: {{ number }} pages","select-page-title":"Select page"},"confirmation":{"header-text":"Confirmation","confirm-button":"Yes","cancel-button":"No","close":"Close","error-header-text":"Error","done-header-text":"Done"},"language":{"title":"Select language"},"tabs-window":{"title":"Change tab"},"vpn":{"title":"VPN Control Panel","start":"Start","servers":"Servers","settings":"Settings","unnamed":"Unnamed","starting-blocked-server-error":"Unable to connect to the selected server because it has been added to the blocked servers list.","unexpedted-error":"An unexpected error occurred and the operation could not be completed.","remote-access-title":"It appears that you are accessing the system remotely","remote-access-text":"This application only allows you to manage the VPN protection of the device on which it was installed. Changes made with it will not affect remote devices like the one you seem to be using. Also, the displayed IP data may be incorrect.","server-change":{"busy-error":"The system is busy. Please wait.","backend-error":"It was not possible to change the server. Please make sure the public key is correct and the VPN app is running.","already-selected-warning":"The selected server is already being used.","change-server-while-connected-confirmation":"The VPN protection will be interrupted while changing the server and some data may be transmitted unprotected during the process. Do you want to continue?","start-same-server-confirmation":"You had already selected that server. Do you want to connect to it?"},"error-page":{"text":"The VPN client app is not available.","more-info":"It was not possible to connect to the VPN client app. This may be due to a configuration error, an unexpected problem with the visor or because you used an invalid public key in the URL.","text-pk":"Invalid configuration.","more-info-pk":"The application cannot be started because you have not specified the visor public key.","text-storage":"Error saving data.","more-info-storage":"There has been a conflict when trying to save the data and the application has been closed to prevent errors. This could happen if you open the application in more than one tab or window.","text-pk-change":"Invalid operation.","more-info-pk-change":"Please use this application to manage only one VPN client."},"connection-info":{"state-title":"Your connection is currently:","state-connecting":"Connecting","state-connecting-info":"The VPN protection is being activated.","state-connected":"Connected","state-connected-info":"The VPN protection is on.","state-disconnecting":"Disconnecting","state-disconnecting-info":"The VPN protection is being deactivated.","state-reconnecting":"Reconnecting","state-reconnecting-info":"The VPN protection is being restored.","state-disconnected":"Disconnected","state-disconnected-info":"The VPN protection is off.","state-info":"Current connection status.","latency-info":"Current latency.","upload-info":"Upload speed.","download-info":"Download speed."},"connection-error":{"text":"Connection error","info":"Problem connecting with the vpn app. Some data being displayed could be outdated."},"status-page":{"start-title":"Start VPN","no-server":"No server selected!","disconnect":"Disconnect","last-error":"Last error:","unknown-error":"Unknown error.","disconnect-confirmation":"Are you sure you want to stop the VPN protection?","upload-info":"Uploaded data stats.","download-info":"Downloaded data stats.","latency-info":"Latency stats.","total-data-label":"total","problem-connecting-error":"It was not possible to connect to the server. The server may be invalid or temporarily down.","problem-starting-error":"It was not possible to start the VPN. Please make sure the base VPN client app is running.","problem-stopping-error":"It was not possible to stop the VPN. Please make sure the base VPN client app is running.","generic-problem-error":"It was not possible to perform the operation. Please make sure the base VPN client app is running.","select-server-warning":"Please select a server first.","data":{"ip":"IP address:","ip-problem-info":"There was a problem trying to get the IP. Please verify it using an external service.","ip-country-problem-info":"There was a problem trying to get the country. Please verify it using an external service.","ip-refresh-info":"Refresh","ip-refresh-time-warning":"Please wait {{ seconds }} second(s) before refreshing the data.","ip-refresh-loading-warning":"Please wait for the previous operation to finish.","country":"Country:","server":"Server:","server-note":"Server note:","original-server-note":"Original server note:","local-pk":"Local visor public key:","remote-pk":"Remote visor public key:","unavailable":"Unavailable"}},"server-options":{"tooltip":"Options","connect-without-password":"Connect without password","connect-without-password-confirmation":"The connection will be made without the password. Are you sure you want to continue?","connect-using-password":"Connect using a password","connect-using-another-password":"Connect using another password","edit-name":"Custom name","edit-label":"Custom note","make-favorite":"Make favorite","make-favorite-confirmation":"Are you sure you want to mark this server as favorite? It will be removed from the blocked list.","make-favorite-done":"Added to the favorites list.","remove-from-favorites":"Remove from favorites","remove-from-favorites-done":"Removed from the favorites list.","block":"Block server","block-done":"Added to the blocked list.","block-confirmation":"Are you sure you want to block this server? It will be removed from the favorites list.","block-selected-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed.","block-selected-favorite-confirmation":"Are you sure you want to block the currently selected server? All connections will be closed and it will be removed from the favorites list.","unblock":"Unblock server","unblock-done":"Removed from the blocked list.","remove-from-history":"Remove from history","remove-from-history-confirmation":"Are you sure you want to remove this server from the history?","remove-from-history-done":"Removed from history.","edit-value":{"name-title":"Custom Name","note-title":"Custom Note","name-label":"Custom name","note-label":"Custom note","apply-button":"Apply","changes-made-confirmation":"The change has been made."}},"server-conditions":{"selected-info":"This is the currently selected server.","blocked-info":"This server is in the blocked list.","favorite-info":"This server is in the favorites list.","history-info":"This server is in the server history.","has-password-info":"A password was set for connecting with this server."},"server-list":{"date-small-table-label":"Date","date-info":"Last time you used this server.","country-small-table-label":"Country","country-info":"Country where the server is located.","name-small-table-label":"Name","location-small-table-label":"Location","public-key-small-table-label":"Pk","public-key-info":"Server public key.","congestion-rating-small-table-label":"Congestion rating","congestion-rating-info":"Rating of the server related to how congested it tends to be.","congestion-small-table-label":"Congestion","congestion-info":"Current server congestion.","latency-rating-small-table-label":"Latency rating","latency-rating-info":"Rating of the server related to how much latency it tends to have.","latency-small-table-label":"Latency","latency-info":"Current server latency.","hops-small-table-label":"Hops","hops-info":"How many hops are needed for connecting with the server.","note-small-table-label":"Note","note-info":"Note about the server.","gold-rating-info":"Gold","silver-rating-info":"Silver","bronze-rating-info":"Bronze","notes-info":"Custom note: {{ custom }} - Original note: {{ original }}","empty-discovery":"Currently there are no VPN servers to show. Please try again later.","empty-history":"There is no history to show.","empty-favorites":"There are no favorite servers to show.","empty-blocked":"There are no blocked servers to show.","empty-with-filter":"No VPN server matches the selected filtering criteria.","add-manually-info":"Add server manually.","current-filters":"Current filters (press to remove)","none":"None","unknown":"Unknown","tabs":{"public":"Public","history":"History","favorites":"Favorites","blocked":"Blocked"},"add-server-dialog":{"title":"Enter manually","pk-label":"Server public key","password-label":"Server password (if any)","name-label":"Server name (optional)","note-label":"Personal note (optional)","pk-length-error":"The public key must be 66 characters long.","pk-chars-error":"The public key must only contain hexadecimal characters.","use-server-button":"Use server"},"password-dialog":{"title":"Enter Password","password-if-any-label":"Server password (if any)","password-label":"Server password","continue-button":"Continue"},"filter-dialog":{"country":"The country must be","name":"The name must contain","location":"The location must contain","public-key":"The public key must contain","congestion-rating":"The congestion rating must be","latency-rating":"The latency rating must be","rating-options":{"any":"Any","gold":"Gold","silver":"Silver","bronze":"Bronze"},"country-options":{"any":"Any"}}},"settings-page":{"setting-small-table-label":"Setting","value-small-table-label":"Value","killswitch":"Killswitch","killswitch-info":"When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem). This avoids data leaks.","get-ip":"Get IP info","get-ip-info":"When active, the application will use external services to obtain information about the current IP.","data-units":"Data units","data-units-info":"Allows to select the units that will be used to display the data transmission statistics.","minimum-hops":"Minimum hops","minimum-hops-info":"Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.","setting-on":"On","setting-off":"Off","working-warning":"The system is busy. Please wait for the previous operation to finish.","change-while-connected-confirmation":"The VPN protection will be interrupted while changing the setting. Do you want to continue?","data-units-modal":{"title":"Data Units","only-bits":"Bits for all stats","only-bytes":"Bytes for all stats","bits-speed-and-bytes-volume":"Bits for speed and bytes for volume (default)"}}}}')}}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/assets/i18n/en.json b/cmd/skywire-visor/static/assets/i18n/en.json index 240d2a5f38..1863502b4d 100644 --- a/cmd/skywire-visor/static/assets/i18n/en.json +++ b/cmd/skywire-visor/static/assets/i18n/en.json @@ -16,6 +16,8 @@ "time-in-ms": "{{ time }}ms.", "time-in-segs": "{{ time }}s.", "ok": "Ok", + "yes": "Yes", + "no": "No", "unknown": "Unknown", "close": "Close", "window-size-error": "The window is too narrow for the content." @@ -85,21 +87,29 @@ "not-found": "Visor not found.", "statuses": { "online": "Online", - "online-tooltip": "Visor is online.", + "online-tooltip": "The visor is online.", + "connecting": "Connecting", + "connecting-tooltip": "The visor is online, but still connecting to the uptime tracker.", + "unknown": "Unknown", + "unknown-tooltip": "The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.", "partially-online": "Online with problems", - "partially-online-tooltip": "Visor is online but not all services are working. For more information, open the details page and check the \"Health info\" section.", + "partially-online-tooltip": "The visor is online, but disconnected from the uptime tracker.", "offline": "Offline", - "offline-tooltip": "Visor is offline." + "offline-tooltip": "The visor is offline." }, "details": { "node-info": { "title": "Visor Info", "label": "Label:", "public-key": "Public key:", + "symmetic-nat": "Symmetic NAT:", + "public-ip": "Public IP:", "ip": "IP:", "dmsg-server": "DMSG server:", "ping": "Ping:", "node-version": "Visor version:", + "skybian-version": "Skybian version:", + "no-skybian-version": "(not using Skybian)", "time": { "title": "Time online:", "seconds": "a few seconds", @@ -113,6 +123,19 @@ "weeks": "{{ time }} weeks" } }, + "transports-info": { + "title": "Transports Info", + "autoconnect": "Autoconnect:", + "autoconnect-info": "When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.", + "enabled": "Enabled", + "disabled": "Disabled", + "enable-button": "Enable", + "disable-button": "Disable", + "enable-confirmation": "Are you sure you want to enable the autoconnect feature?", + "disable-confirmation": "Are you sure you want to disable the autoconnect feature?", + "enable-done": "The autoconnect feature has been enabled.", + "disable-done": "The autoconnect feature has been disabled." + }, "router-info": { "title": "Router Info", "min-hops": "Min hops:", @@ -121,13 +144,9 @@ }, "node-health": { "title": "Health Info", - "status": "Status:", - "transport-discovery": "Transport discovery:", - "route-finder": "Route finder:", - "setup-node": "Setup node:", "uptime-tracker": "Uptime tracker:", - "address-resolver": "Address resolver:", - "element-offline": "Offline" + "connected": "Connected", + "disconnected": "Disconnected" }, "node-traffic-data": "Traffic data" }, @@ -449,34 +468,41 @@ "transports": { "title": "Transports", - "remove-all-offline": "Remove all offline transports", - "remove-all-offline-confirmation": "Are you sure you want to remove all offline transports?", - "remove-all-filtered-offline-confirmation": "All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?", "info": "Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.", "list-title": "Transport list", - "state": "State", - "state-tooltip": "Current state", + "offline": "Offline", + "persistent": "Persistent", + "persistent-tooltip": "Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.", + "persistent-transport-tooltip": "This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "persistent-transport-button-tooltip": "This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.", + "non-persistent-transport-button-tooltip": "Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "make-persistent": "Make persistent", + "make-non-persistent": "Make non-persistent", + "make-selected-persistent": "Make all selected persistent", + "make-selected-non-persistent": "Make all selected non-persistent", + "changes-made": "Changes made.", + "no-changes-needed": "No changes were needed.", "id": "ID", "remote-node": "Remote", "type": "Type", "create": "Create transport", + "make-persistent-confirmation": "Are you sure you want to make the transport persistent?", + "make-non-persistent-confirmation": "Are you sure you want to make the transport non-persistent?", + "make-selected-persistent-confirmation": "Are you sure you want to make the selected transports persistent?", + "make-selected-non-persistent-confirmation": "Are you sure you want to make the selected transports non-persistent?", + "make-offline-non-persistent-confirmation": "Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.", "delete-confirmation": "Are you sure you want to delete the transport?", + "delete-persistent-confirmation": "This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?", "delete-selected-confirmation": "Are you sure you want to delete the selected transports?", "delete": "Delete transport", "deleted": "Delete operation completed.", "empty": "Visor doesn't have any transports.", "empty-with-filter": "No transport matches the selected filtering criteria.", - "statuses": { - "online": "Online", - "online-tooltip": "Transport is online", - "offline": "Offline", - "offline-tooltip": "Transport is offline" - }, "details": { "title": "Details", "basic": { "title": "Basic info", - "state": "State:", + "persistent": "Persistent:", "id": "ID:", "local-pk": "Local public key:", "remote-pk": "Remote public key:", @@ -492,6 +518,9 @@ "remote-key": "Remote public key", "label": "Identification name (optional)", "transport-type": "Transport type", + "make-persistent": "Make persistent", + "persistent-tooltip": "Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "only-persistent-created": "The persistent transport was created, but it may have not been activated.", "success": "Transport created.", "success-without-label": "The transport was created, but it was not possible to save the label.", "errors": { @@ -501,14 +530,14 @@ } }, "filter-dialog": { - "online": "The transport must be", + "persistent": "The transport must be", "id": "The id must contain", "remote-node": "The remote key must contain", - "online-options": { - "any": "Online or offline", - "online": "Online", - "offline": "Offline" + "persistent-options": { + "any": "Any", + "persistent": "Persistent", + "non-persistent": "Non-persistent" } } }, @@ -626,6 +655,8 @@ "servers": "Servers", "settings": "Settings", + "unnamed": "Unnamed", + "starting-blocked-server-error": "Unable to connect to the selected server because it has been added to the blocked servers list.", "unexpedted-error": "An unexpected error occurred and the operation could not be completed.", @@ -652,6 +683,7 @@ }, "connection-info" : { + "state-title": "Your connection is currently:", "state-connecting": "Connecting", "state-connecting-info": "The VPN protection is being activated.", "state-connected": "Connected", @@ -668,12 +700,18 @@ "download-info": "Download speed." }, + "connection-error" : { + "text": "Connection error", + "info": "Problem connecting with the vpn app. Some data being displayed could be outdated." + }, + "status-page": { "start-title": "Start VPN", "no-server": "No server selected!", "disconnect": "Disconnect", + "last-error": "Last error:", + "unknown-error": "Unknown error.", "disconnect-confirmation": "Are you sure you want to stop the VPN protection?", - "entered-manually": "Entered manually", "upload-info": "Uploaded data stats.", "download-info": "Downloaded data stats.", "latency-info": "Latency stats.", @@ -706,6 +744,7 @@ "connect-without-password": "Connect without password", "connect-without-password-confirmation": "The connection will be made without the password. Are you sure you want to continue?", "connect-using-password": "Connect using a password", + "connect-using-another-password": "Connect using another password", "edit-name": "Custom name", "edit-label": "Custom note", "make-favorite": "Make favorite", @@ -832,6 +871,8 @@ "get-ip-info": "When active, the application will use external services to obtain information about the current IP.", "data-units": "Data units", "data-units-info": "Allows to select the units that will be used to display the data transmission statistics.", + "minimum-hops": "Minimum hops", + "minimum-hops-info": "Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.", "setting-on": "On", "setting-off": "Off", "working-warning": "The system is busy. Please wait for the previous operation to finish.", diff --git a/cmd/skywire-visor/static/assets/i18n/es.json b/cmd/skywire-visor/static/assets/i18n/es.json index 7812802fad..685d9ad3d7 100644 --- a/cmd/skywire-visor/static/assets/i18n/es.json +++ b/cmd/skywire-visor/static/assets/i18n/es.json @@ -16,6 +16,8 @@ "time-in-ms": "{{ time }}ms.", "time-in-segs": "{{ time }}s.", "ok": "Ok", + "yes": "Sí", + "no": "No", "unknown": "Desconocido", "close": "Cerrar", "window-size-error": "La ventana es demasiado estrecha para el contenido." @@ -86,8 +88,12 @@ "statuses": { "online": "Online", "online-tooltip": "El visor se encuentra online.", + "connecting": "Conectando", + "connecting-tooltip": "El visor se encuentra online, pero todavía está conectando con el uptime tracker.", + "unknown": "Desconocido", + "unknown-tooltip": "El visor se encuentra online, pero no ha sido posible determinar si está conectado con el uptime tracker.", "partially-online": "Online con problemas", - "partially-online-tooltip": "El visor se encuentra online pero no todos los servicios están funcionando. Para más información, abra la página de detalles y consulte la sección \"Información de salud\".", + "partially-online-tooltip": "El visor se encuentra online, pero desconectado del uptime tracker.", "offline": "Offline", "offline-tooltip": "El visor se encuentra offline." }, @@ -96,10 +102,14 @@ "title": "Información del visor", "label": "Etiqueta:", "public-key": "Llave pública:", + "symmetic-nat": "NAT simétrica:", + "public-ip": "IP pública:", "ip": "IP:", "dmsg-server": "Servidor DMSG:", "ping": "Ping:", "node-version": "Versión del visor:", + "skybian-version": "Versión de Skybian:", + "no-skybian-version": "(no se usa Skybian)", "time": { "title": "Tiempo online:", "seconds": "unos segundos", @@ -113,6 +123,19 @@ "weeks": "{{ time }} semanas" } }, + "transports-info": { + "title": "Información de Transportes", + "autoconnect": "Autoconectar:", + "autoconnect-info": "Al activarse, el visor creará automáticamente los transportes necesarios cuando se solicite la conexión a un visor público. Al desactivarse, los transportes deberán ser creados antes de poder establecer la conexión.", + "enabled": "Activado", + "disabled": "Desactivado", + "enable-button": "Activar", + "disable-button": "Desactivar", + "enable-confirmation": "¿Seguro que desea activar la función de autoconectar?", + "disable-confirmation": "¿Seguro que desea desactivar la función de autoconectar?", + "enable-done": "La función de autoconectar ha sido activada.", + "disable-done": "La función de autoconectar ha sido desactivada." + }, "router-info": { "title": "Información del Enrutador", "min-hops": "Saltos mínimos:", @@ -449,34 +472,41 @@ "transports": { "title": "Transportes", - "remove-all-offline": "Remover todos los transportes offline", - "remove-all-offline-confirmation": "¿Seguro que desea remover todos los transportes offline?", - "remove-all-filtered-offline-confirmation": "Todos los transportes offline que satisfagan los criterios de filtrado actuales serán removidos. ¿Seguro que desea continuar?", "info": "Conexiones que tiene con visores remotos de Skywire, para permitir que las aplicaciones Skywire locales se comuniquen con las aplicaciones que se ejecutan en esos visores remotos.", "list-title": "Lista de transportes", - "state": "Estado", - "state-tooltip": "Estado actual", + "offline": "Offline", + "persistent": "Persistente", + "persistent-tooltip": "Transportes persistentes, los cuales son creados automáticamente al iniciar el visor y son recreados automáticamente en caso de desconexión.", + "persistent-transport-tooltip": "Este transporte es persistente, así que es creado automáticamente al iniciar el visor y es recreado automáticamente en caso de desconexión.", + "persistent-transport-button-tooltip": "Este transporte es persistente, así que es creado automáticamente al iniciar el visor y es recreado automáticamente en caso de desconexión. Presione aquí para volverlo no persistente.", + "non-persistent-transport-button-tooltip": "Presione aquí para volver persistente el transporte. Los transportes persistentes son creados automáticamente al iniciar el visor y son recreados automáticamente en caso de desconexión.", + "make-persistent": "Volver persistente", + "make-non-persistent": "Volver no persistente", + "make-selected-persistent": "Volver persistentes los seleccionados", + "make-selected-non-persistent": "Volver no persistentes los seleccionados", + "changes-made": "Cambios hechos.", + "no-changes-needed": "Ningún cambio fue necesario.", "id": "ID", "remote-node": "Remoto", "type": "Tipo", "create": "Crear transporte", + "make-persistent-confirmation": "¿Seguro que desea volver persistente el transporte?", + "make-non-persistent-confirmation": "¿Seguro que desea volver no persistente el transporte?", + "make-selected-persistent-confirmation": "¿Seguro que desea volver persistentes los transportes seleccionados?", + "make-selected-non-persistent-confirmation": "¿Seguro que desea volver no persistentes los transportes seleccionados?", + "make-offline-non-persistent-confirmation": "¿Seguro que desea volver no persistente el transporte? No seguirá siendo mostrado en la lista mientras se encuentre offline.", "delete-confirmation": "¿Seguro que desea borrar el transporte?", + "delete-persistent-confirmation": "Este transporte es persistente, así que puede ser recreado poco después de ser borrado. ¿Seguro que desea borrarlo?", "delete-selected-confirmation": "¿Seguro que desea borrar los transportes seleccionados?", "delete": "Borrar transporte", "deleted": "Operación de borrado completada.", "empty": "El visor no tiene ningún transporte.", "empty-with-filter": "Ningun transporte coincide con los criterios de filtrado seleccionados.", - "statuses": { - "online": "Online", - "online-tooltip": "El transporte está online", - "offline": "Offline", - "offline-tooltip": "El transporte está offline" - }, "details": { "title": "Detalles", "basic": { "title": "Información básica", - "state": "Estado:", + "persistent": "Persistente:", "id": "ID:", "local-pk": "Llave pública local:", "remote-pk": "Llave pública remota:", @@ -492,6 +522,9 @@ "remote-key": "Llave pública remota", "label": "Nombre del transporte (opcional)", "transport-type": "Tipo de transporte", + "make-persistent": "Hacer persistente", + "persistent-tooltip": "Los transportes persistentes son creados automáticamente al iniciar el visor y son recreados automáticamente en caso de desconexión.", + "only-persistent-created": "El transporte persistente fue creado, pero podría no haber sido activado.", "success": "Transporte creado.", "success-without-label": "El transporte fue creado, pero no fue posible guardar la etiqueta.", "errors": { @@ -501,14 +534,14 @@ } }, "filter-dialog": { - "online": "El transporte debe estar", + "persistent": "El transporte debe ser", "id": "El id debe contener", "remote-node": "La llave remota debe contener", - "online-options": { - "any": "Online u offline", - "online": "Online", - "offline": "Offline" + "persistent-options": { + "any": "Cualquiera", + "persistent": "Persistente", + "non-persistent": "No persistente" } } }, @@ -626,6 +659,8 @@ "servers": "Servidores", "settings": "Configuracion", + "unnamed": "Sin nombre", + "starting-blocked-server-error": "No se puede conectar con el servidor seleccionado porque se ha agregado a la lista de servidores bloqueados.", "unexpedted-error": "Se produjo un error inesperado y no se pudo completar la operación.", @@ -652,6 +687,7 @@ }, "connection-info" : { + "state-title": "El estado de tu conexión es actualmente:", "state-connecting": "Conectando", "state-connecting-info": "Se está activando la protección VPN.", "state-connected": "Conectado", @@ -668,12 +704,18 @@ "download-info": "Velocidad de descarga." }, + "connection-error" : { + "text": "Error de conexión", + "info": "Problema conectando con la app vpn. Algunos datos mostrados podrían estar desactualizados." + }, + "status-page": { "start-title": "Iniciar VPN", "no-server": "¡Ningún servidor seleccionado!", "disconnect": "Desconectar", + "last-error": "Último error:", + "unknown-error": "Error desconocido.", "disconnect-confirmation": "¿Realmente desea detener la protección VPN?", - "entered-manually": "Ingresado manualmente", "upload-info": "Estadísticas de datos subidos.", "download-info": "Estadísticas de datos descargados.", "latency-info": "Estadísticas de latencia.", @@ -706,6 +748,7 @@ "connect-without-password": "Conectarse sin contraseña", "connect-without-password-confirmation": "La conexión se realizará sin la contraseña. ¿Seguro que desea continuar?", "connect-using-password": "Conectarse usando una contraseña", + "connect-using-another-password": "Conectarse usando otra contraseña", "edit-name": "Nombre personalizado", "edit-label": "Nota personalizada", "make-favorite": "Hacer favorito", @@ -832,6 +875,8 @@ "get-ip-info": "Cuando está activa, la aplicación utilizará servicios externos para obtener información sobre la IP actual.", "data-units": "Unidades de datos", "data-units-info": "Permite seleccionar las unidades que se utilizarán para mostrar las estadísticas de transmisión de datos.", + "minimum-hops": "Saltos mínimos", + "minimum-hops-info": "Permite configurar la cantidad mínima de saltos que la conexión deberá realizar a través de otros visores de Skywire antes de alcanzar el destino final.", "setting-on": "Encendido", "setting-off": "Apagado", "working-warning": "El sistema está ocupado. Por favor, espere a que finalice la operación anterior.", diff --git a/cmd/skywire-visor/static/assets/i18n/es_base.json b/cmd/skywire-visor/static/assets/i18n/es_base.json index 1ffce09e32..3a005ed2cd 100644 --- a/cmd/skywire-visor/static/assets/i18n/es_base.json +++ b/cmd/skywire-visor/static/assets/i18n/es_base.json @@ -16,6 +16,8 @@ "time-in-ms": "{{ time }}ms.", "time-in-segs": "{{ time }}s.", "ok": "Ok", + "yes": "Yes", + "no": "No", "unknown": "Unknown", "close": "Close", "window-size-error": "The window is too narrow for the content." @@ -85,21 +87,29 @@ "not-found": "Visor not found.", "statuses": { "online": "Online", - "online-tooltip": "Visor is online.", + "online-tooltip": "The visor is online.", + "connecting": "Connecting", + "connecting-tooltip": "The visor is online, but still connecting to the uptime tracker.", + "unknown": "Unknown", + "unknown-tooltip": "The visor is online, but it has not been possible to determine if it is connected to the uptime tracker.", "partially-online": "Online with problems", - "partially-online-tooltip": "Visor is online but not all services are working. For more information, open the details page and check the \"Health info\" section.", + "partially-online-tooltip": "The visor is online, but disconnected from the uptime tracker.", "offline": "Offline", - "offline-tooltip": "Visor is offline." + "offline-tooltip": "The visor is offline." }, "details": { "node-info": { "title": "Visor Info", "label": "Label:", "public-key": "Public key:", + "symmetic-nat": "Symmetic NAT:", + "public-ip": "Public IP:", "ip": "IP:", "dmsg-server": "DMSG server:", "ping": "Ping:", "node-version": "Visor version:", + "skybian-version": "Skybian version:", + "no-skybian-version": "(not using Skybian)", "time": { "title": "Time online:", "seconds": "a few seconds", @@ -113,6 +123,19 @@ "weeks": "{{ time }} weeks" } }, + "transports-info": { + "title": "Transports Info", + "autoconnect": "Autoconnect:", + "autoconnect-info": "When enabled, the visor will automatically create the transports needed when a connection to a public visor is requested. If disabled, the transports will have to be created before being able to make the connection.", + "enabled": "Enabled", + "disabled": "Disabled", + "enable-button": "Enable", + "disable-button": "Disable", + "enable-confirmation": "Are you sure you want to enable the autoconnect feature?", + "disable-confirmation": "Are you sure you want to disable the autoconnect feature?", + "enable-done": "The autoconnect feature has been enabled.", + "disable-done": "The autoconnect feature has been disabled." + }, "router-info": { "title": "Router Info", "min-hops": "Min hops:", @@ -449,34 +472,41 @@ "transports": { "title": "Transports", - "remove-all-offline": "Remove all offline transports", - "remove-all-offline-confirmation": "Are you sure you want to remove all offline transports?", - "remove-all-filtered-offline-confirmation": "All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?", "info": "Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.", "list-title": "Transport list", - "state": "State", - "state-tooltip": "Current state", + "offline": "Offline", + "persistent": "Persistent", + "persistent-tooltip": "Persistent transports, which are created automatically when the visor is turned on and are automatically recreated in case of disconnection.", + "persistent-transport-tooltip": "This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "persistent-transport-button-tooltip": "This transport is persistent, so it is created automatically when the visor is turned on and automatically recreated in case of disconnection. Press to make non-persistent.", + "non-persistent-transport-button-tooltip": "Press to make this transport persistent. Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "make-persistent": "Make persistent", + "make-non-persistent": "Make non-persistent", + "make-selected-persistent": "Make all selected persistent", + "make-selected-non-persistent": "Make all selected non-persistent", + "changes-made": "Changes made.", + "no-changes-needed": "No changes were needed.", "id": "ID", "remote-node": "Remote", "type": "Type", "create": "Create transport", + "make-persistent-confirmation": "Are you sure you want to make the transport persistent?", + "make-non-persistent-confirmation": "Are you sure you want to make the transport non-persistent?", + "make-selected-persistent-confirmation": "Are you sure you want to make the selected transports persistent?", + "make-selected-non-persistent-confirmation": "Are you sure you want to make the selected transports non-persistent?", + "make-offline-non-persistent-confirmation": "Are you sure you want to make the transport non-persistent? It will not be shown in the list while offline anymore.", "delete-confirmation": "Are you sure you want to delete the transport?", + "delete-persistent-confirmation": "This transport is persistent, so it may be recreated shortly after deletion. Are you sure you want to delete it?", "delete-selected-confirmation": "Are you sure you want to delete the selected transports?", "delete": "Delete transport", "deleted": "Delete operation completed.", "empty": "Visor doesn't have any transports.", "empty-with-filter": "No transport matches the selected filtering criteria.", - "statuses": { - "online": "Online", - "online-tooltip": "Transport is online", - "offline": "Offline", - "offline-tooltip": "Transport is offline" - }, "details": { "title": "Details", "basic": { "title": "Basic info", - "state": "State:", + "persistent": "Persistent:", "id": "ID:", "local-pk": "Local public key:", "remote-pk": "Remote public key:", @@ -492,6 +522,9 @@ "remote-key": "Remote public key", "label": "Identification name (optional)", "transport-type": "Transport type", + "make-persistent": "Make persistent", + "persistent-tooltip": "Persistent transports are created automatically when the visor is turned on and automatically recreated in case of disconnection.", + "only-persistent-created": "The persistent transport was created, but it may have not been activated.", "success": "Transport created.", "success-without-label": "The transport was created, but it was not possible to save the label.", "errors": { @@ -501,14 +534,14 @@ } }, "filter-dialog": { - "online": "The transport must be", + "persistent": "The transport must be", "id": "The id must contain", "remote-node": "The remote key must contain", - "online-options": { - "any": "Online or offline", - "online": "Online", - "offline": "Offline" + "persistent-options": { + "any": "Any", + "persistent": "Persistent", + "non-persistent": "Non-persistent" } } }, @@ -626,6 +659,8 @@ "servers": "Servers", "settings": "Settings", + "unnamed": "Unnamed", + "starting-blocked-server-error": "Unable to connect to the selected server because it has been added to the blocked servers list.", "unexpedted-error": "An unexpected error occurred and the operation could not be completed.", @@ -652,6 +687,7 @@ }, "connection-info" : { + "state-title": "Your connection is currently:", "state-connecting": "Connecting", "state-connecting-info": "The VPN protection is being activated.", "state-connected": "Connected", @@ -668,12 +704,18 @@ "download-info": "Download speed." }, + "connection-error" : { + "text": "Connection error", + "info": "Problem connecting with the vpn app. Some data being displayed could be outdated." + }, + "status-page": { "start-title": "Start VPN", "no-server": "No server selected!", "disconnect": "Disconnect", + "last-error": "Last error:", + "unknown-error": "Unknown error.", "disconnect-confirmation": "Are you sure you want to stop the VPN protection?", - "entered-manually": "Entered manually", "upload-info": "Uploaded data stats.", "download-info": "Downloaded data stats.", "latency-info": "Latency stats.", @@ -706,6 +748,7 @@ "connect-without-password": "Connect without password", "connect-without-password-confirmation": "The connection will be made without the password. Are you sure you want to continue?", "connect-using-password": "Connect using a password", + "connect-using-another-password": "Connect using another password", "edit-name": "Custom name", "edit-label": "Custom note", "make-favorite": "Make favorite", @@ -832,6 +875,8 @@ "get-ip-info": "When active, the application will use external services to obtain information about the current IP.", "data-units": "Data units", "data-units-info": "Allows to select the units that will be used to display the data transmission statistics.", + "minimum-hops": "Minimum hops", + "minimum-hops-info": "Allows to set the minimum number of hops the connections must pass through other Skywire visors before reaching the final destination.", "setting-on": "On", "setting-off": "Off", "working-warning": "The system is busy. Please wait for the previous operation to finish.", diff --git a/cmd/skywire-visor/static/assets/i18n/pt.json b/cmd/skywire-visor/static/assets/i18n/pt.json new file mode 100644 index 0000000000..599e931a86 --- /dev/null +++ b/cmd/skywire-visor/static/assets/i18n/pt.json @@ -0,0 +1,571 @@ +{ + "common": { + "save": "Salvar", + "cancel": "Cancelar", + "downloaded": "Baixado", + "uploaded": "Enviado", + "loading-error": "Ocorreu um erro ao obter os dados. Tentando novamente...", + "operation-error": "Ocorreu um erro ao tentar concluir a operação.", + "no-connection-error": "Não há conexão com a Internet ou conexão com o Hypervisor.", + "error": "Erro:", + "refreshed": "Dados atualizados.", + "options": "Opções", + "logout": "Sair", + "logout-error": "Erro ao sair.", + "logout-confirmation": "Tem certeza que deseja sair?", + "time-in-ms": "{{ time }}ms", + "ok": "Ok", + "unknown": "Desconhecido", + "close": "Fechar" + }, + "labeled-element": { + "edit-label": "Editar rótulo", + "remove-label": "Remover rótulo", + "copy": "Copiar", + "remove-label-confirmation": "Tem certeza de que deseja remover o rótulo?", + "unnamed-element": "Sem nome", + "unnamed-local-visor": "Visor local", + "local-element": "Local", + "tooltip": "Clique para copiar a entrada ou alterar o rótulo", + "tooltip-with-text": "{{ text }} (Clique para copiar a entrada ou alterar o rótulo)" + }, + "labels": { + "title": "Rótulos", + "info": "Rótulos que você inseriu para identificar facilmente visores, transportes e outros elementos, em vez de ter que ler identificadores gerados por máquina.", + "list-title": "Lista de Rótulos", + "label": "Rótulo", + "id": "ID do elemento", + "type": "Tipo", + "delete-confirmation": "Tem certeza de que deseja excluir o rótulo?", + "delete-selected-confirmation": "Tem certeza de que deseja excluir os rótulos selecionados?", + "delete": "Apagar rótulo", + "deleted": "Operação de exclusão concluída.", + "empty": "Não há rótulos salvos.", + "empty-with-filter": "Nenhum rótulo corresponde aos critérios de filtragem selecionados.", + "filter-dialog": { + "label": "O rótulo deve conter", + "id": "O id deve conter", + "type": "O tipo deve ser", + "type-options": { + "any": "Algum", + "visor": "Visor", + "dmsg-server": "Servidor DMSG", + "transport": "Transporte" + } + } + }, + "filters": { + "filter-action": "Filtro", + "press-to-remove": "(Pressione para remover os filtros)", + "remove-confirmation": "Tem certeza de que deseja remover os filtros?" + }, + "tables": { + "title": "Ordenar por", + "sorting-title": "Ordenado por:", + "sort-by-value": "Valor", + "sort-by-label": "Rótulo", + "label": "(Rótulo)", + "inverted-order": "(invertido)" + }, + "start": { + "title": "Começar" + }, + "node": { + "title": "Detalhes do Visor", + "not-found": "Visor não encontrado.", + "statuses": { + "online": "Online", + "online-tooltip": "Visor está online.", + "partially-online": "Online com problemas", + "partially-online-tooltip": "O Visor está online, mas nem todos os serviços estão funcionando. Para mais informações, abra a página de detalhes e verifique a seção \"Informações de saúde\".", + "offline": "Offline", + "offline-tooltip": "Visor está offline." + }, + "details": { + "node-info": { + "title": "Informação do Visor", + "label": "Rótulo:", + "public-key": "Chave pública:", + "port": "Porta:", + "dmsg-server": "Servidor DMSG:", + "ping": "Ping:", + "node-version": "Versão do Visor:", + "time": { + "title": "Tempo online:", + "seconds": "alguns segundos", + "minute": "1 minuto", + "minutes": "{{ time }} minutos", + "hour": "1 hora", + "hours": "{{ time }} horas", + "day": "1 dia", + "days": "{{ time }} dias", + "week": "1 semana", + "weeks": "{{ time }} semanas" + } + }, + "node-health": { + "title": "Informação de saúde", + "status": "Status:", + "transport-discovery": "Descoberta de transporte:", + "route-finder": "Localizador de rota:", + "setup-node": "Configuração de Nó:", + "uptime-tracker": "Rastreador de tempo de atividade:", + "address-resolver": "Resolvedor de endereços:", + "element-offline": "Offline" + }, + "node-traffic-data": "Tráfego de dados" + }, + "tabs": { + "info": "Informação", + "apps": "Aplicativos", + "routing": "Encaminhamento" + }, + "error-load": "Ocorreu um erro ao atualizar os dados. Tentando novamente..." + }, + "nodes": { + "title": "Lista de Visor", + "dmsg-title": "DMSG", + "update-all": "Atualizar todas as Visores", + "hypervisor": "Hypervisor", + "state": "Estado", + "state-tooltip": "Estado atual", + "label": "Rótulo", + "key": "Chave", + "dmsg-server": "Servidor DMSG", + "ping": "Ping", + "hypervisor-info": "Este visor é o hipervisor atual.", + "copy-key": "Copiar chave", + "copy-dmsg": "Copiar chave do servidor DMSG", + "copy-data": "Copiar dados", + "view-node": "Ver visor", + "delete-node": "Remover visor", + "delete-all-offline": "Remover todos visores offline", + "error-load": "Ocorreu um erro ao atualizar a lista. Tentando novamente...", + "empty": "Não há visores conectados a este hipervisor.", + "empty-with-filter": "Nenhum visor corresponde aos critérios de filtragem selecionados.", + "delete-node-confirmation": "Tem certeza de que deseja remover o visor da lista?", + "delete-all-offline-confirmation": "Tem certeza de que deseja remover todas as visores offline da lista?", + "delete-all-filtered-offline-confirmation": "Todos os visores offline que satisfaçam os critérios de filtragem atuais serão removidos da lista. Você tem certeza que quer continuar?", + "deleted": "Visor removido.", + "deleted-singular": "1 visor offline removido.", + "deleted-plural": "{{ number }} visores offline removidos.", + "no-visors-to-update": "Não há visores para atualizar.", + "filter-dialog": { + "online": "O visor deve ser", + "label": "O rótulo deve conter", + "key": "A chave pública deve conter", + "dmsg": "A chave do servidor DMSG deve conter", + "online-options": { + "any": "Online ou offline", + "online": "Online", + "offline": "Offline" + } + } + }, + "edit-label": { + "label": "Rótulo", + "done": "Rótulo salvo.", + "label-removed-warning": "O rótulo foi removido." + }, + "settings": { + "title": "Definições", + "password": { + "initial-config-help": "Use esta opção para definir a senha inicial. Depois de definir uma senha, não é possível usar esta opção para modificá-la.", + "help": "Opções para alterar sua senha.", + "old-password": "Senha Antiga", + "new-password": "Nova Senha", + "repeat-password": "Repita a senha", + "password-changed": "Senha alterada.", + "error-changing": "Erro ao alterar a senha.", + "initial-config": { + "title": "Definir senha inicial", + "password": "Senha", + "repeat-password": "Repita a senha", + "set-password": "Definir senha", + "done": "Senha definida. Use-a para acessar o sistema.", + "error": "Erro. Certifique-se de que ainda não definiu a senha." + }, + "errors": { + "bad-old-password": "A senha antiga fornecida não está correta.", + "old-password-required": "A senha antiga é necessária.", + "new-password-error": "A senha deve ter de 6 a 64 caracteres.", + "passwords-not-match": "As senhas não coincidem.", + "default-password": "Não use a senha padrão (1234)." + } + }, + "updater-config": { + "open-link": "Mostrar configurações do atualizador", + "open-confirmation": "As configurações do atualizador são apenas para usuários experientes. Você tem certeza que quer continuar?", + "help": "Use este formulário para substituir as configurações que serão usadas pelo atualizador. Todos os campos vazios serão ignorados. As configurações serão usadas para todas as operações de atualização, independentemente de qual elemento está sendo atualizado, portanto, tome cuidado.", + "channel": "Canal", + "version": "Versão", + "archive-url": "URL do arquivo", + "checksum-url": "URL do Checksum ", + "not-saved": "As alterações ainda não foram salvas.", + "save": "Salvar alterações", + "remove-settings": "Remover as configurações", + "saved": "As configurações personalizadas foram salvas.", + "removed": "As configurações personalizadas foram removidas.", + "save-confirmation": "Tem certeza de que deseja aplicar as configurações personalizadas?", + "remove-confirmation": "Tem certeza de que deseja remover as configurações personalizadas?" + }, + "change-password": "Mudar senha", + "refresh-rate": "Taxa de atualização", + "refresh-rate-help": "Tempo que o sistema espera para atualizar os dados automaticamente.", + "refresh-rate-confirmation": "Taxa de atualização alterada.", + "seconds": "segundos" + }, + "login": { + "password": "Senha", + "incorrect-password": "Senha incorreta.", + "initial-config": "Configurar a inicialização inicial" + }, + "actions": { + "menu": { + "terminal": "Terminal", + "config": "Configuração", + "update": "Atualizar", + "reboot": "Reiniciar" + }, + "reboot": { + "confirmation": "Tem certeza de que deseja reiniciar o visor?", + "done": "O visor está reiniciando." + }, + "terminal-options": { + "full": "Terminal completo", + "simple": "Terminal simples" + }, + "terminal": { + "title": "Terminal", + "input-start": "Terminal Skywire para {{address}}", + "error": "Erro inesperado ao tentar executar o comando." + } + }, + "update": { + "title": "Atualizar", + "error-title": "Erro", + "processing": "Procurando por atualizações...", + "no-update": "Não há atualização para o visor. A versão atualmente instalada é:", + "no-updates": "Nenhuma nova atualização foi encontrada.", + "already-updating": "Algumas visores já estão sendo atualizadas:", + "update-available": "As seguintes atualizações foram encontradas:", + "update-available-singular": "As seguintes atualizações para 1 visor foram encontradas:", + "update-available-plural": "As seguintes atualizações para visores {{ number }} foram encontradas:", + "update-available-additional-singular": "As seguintes atualizações adicionais para 1 visor foram encontradas:", + "update-available-additional-plural": "As seguintes atualizações adicionais para visores {{ number }} foram encontradas:", + "update-instructions": "Clique no botão 'Instalar atualizações' para continuar.", + "updating": "A operação de atualização foi iniciada, você pode abrir esta janela novamente para verificar o andamento:", + "version-change": "De {{ currentVersion }} para {{ newVersion }}", + "selected-channel": "Canal selecionado:", + "downloaded-file-name-prefix": "Baixando: ", + "speed-prefix": "Velocidade: ", + "time-downloading-prefix": "Tempo de download: ", + "time-left-prefix": "Tempo restante (aprox.): ", + "starting": "Preparando para atualizar", + "finished": "Conexão de status finalizada", + "install": "Instalar atualizações" + }, + "apps": { + "log": { + "title": "Registro", + "empty": "Não há mensagens de registro para o intervalo de tempo selecionado.", + "filter-button": "Mostrando apenas os registros gerados desde:", + "filter": { + "title": "Filtro", + "filter": "Mostrar apenas os registros gerados desde", + "7-days": "Últimos 7 dias", + "1-month": "Últimos 30 dias", + "3-months": "Últimos 03 meses", + "6-months": "Últimos 06 meses", + "1-year": "Último ano", + "all": "Mostrar todos" + } + }, + "apps-list": { + "title": "Aplicativos", + "list-title": "Lista de aplicativos", + "app-name": "Nome", + "port": "Porta", + "state": "Estado", + "state-tooltip": "Estado atual", + "auto-start": "Inicialização automaticamente", + "empty": "Visor não tem nenhum aplicativo.", + "empty-with-filter": "Nenhum aplicativo corresponde aos critérios de filtragem selecionados.", + "disable-autostart": "Desativar inicialização automática", + "enable-autostart": "Habilitar inicialização automática", + "autostart-disabled": "Inicialização automática desativada", + "autostart-enabled": "Inicialização automática ativada", + "unavailable-logs-error": "Não é possível mostrar os logs enquanto o aplicativo não está em execução.", + "filter-dialog": { + "state": "O estado deve ser", + "name": "O nome deve conter", + "port": "A porta deve conter", + "autostart": "A inicialização automática deve ser", + "state-options": { + "any": "Executando ou parado", + "running": "Executando", + "stopped": "Parado" + }, + "autostart-options": { + "any": "Habilitado ou desabilitado", + "enabled": "Habilitado", + "disabled": "Desabilitado" + } + } + }, + "vpn-socks-server-settings": { + "socks-title": "Configurações do Skysocks", + "vpn-title": "Configurações do servidor VPN", + "new-password": "Nova senha (deixe em branco para remover a senha)", + "repeat-password": "Repita a senha", + "passwords-not-match": "As senhas não coincidem.", + "secure-mode-check": "Use o modo seguro", + "secure-mode-info": "Quando ativo, o servidor não permite SSH cliente / servidor e não permite nenhum tráfego de clientes VPN para a rede local do servidor.", + "save": "Salvar", + "remove-passowrd-confirmation": "Você deixou o campo de senha vazio. Tem certeza de que deseja remover a senha?", + "change-passowrd-confirmation": "Tem certeza que deseja alterar a senha?", + "changes-made": "As mudanças foram feitas." + }, + "vpn-socks-client-settings": { + "socks-title": "Configurações do cliente Skysocks", + "vpn-title": "Configurações de cliente VPN", + "discovery-tab": "Procurar", + "remote-visor-tab": "Inserir manualmente", + "history-tab": "Histórico", + "settings-tab": "Configurações", + "use": "Use estes dados", + "change-note": "Mudar nota", + "remove-entry": "Remover entrada", + "note": "Nota:", + "note-entered-manually": "Inserida manualmente", + "note-obtained": "Obtida do serviço de descoberta", + "key": "Chave:", + "port": "Porta:", + "location": "Localização:", + "state-available": "Disponível", + "state-offline": "Offline", + "public-key": "Chave pública do visor remoto", + "password": "Senha", + "password-history-warning": "Nota: a senha não será salva no histórico.", + "copy-pk-info": "Copiar chave pública.", + "copied-pk-info": "A chave pública foi copiada.", + "copy-pk-error": "Ocorreu um problema ao copiar a chave pública.", + "no-elements": "Atualmente não há elementos para mostrar. Por favor, tente novamente mais tarde.", + "no-elements-for-filters": "Não há elementos que atendam aos critérios do filtro.", + "no-filter": "Nenhum filtro foi selecionado", + "click-to-change": "Clique para mudar", + "remote-key-length-error": "A chave pública deve ter 66 caracteres.", + "remote-key-chars-error": "A chave pública deve conter apenas caracteres hexadecimais.", + "save": "Salvar", + "remove-from-history-confirmation": "Tem certeza de que deseja remover a entrada do histórico?", + "change-key-confirmation": "Tem certeza de que deseja alterar a chave pública do visor remoto?", + "changes-made": "As mudanças foram feitas.", + "no-history": "Esta guia mostrará as últimas {{ number }} chaves públicas usadas.", + "default-note-warning": "A nota padrão foi usada.", + "pagination-info": "{{ currentElementsRange }} de {{ totalElements }}", + "killswitch-check": "Ativar killswitch", + "killswitch-info": "Quando ativo, todas as conexões de rede serão desativadas se o aplicativo estiver em execução, exceto a proteção VPN for interrompida (por erros temporários ou qualquer outro problema).", + "settings-changed-alert": "As alterações ainda não foram salvas.", + "save-settings": "Salvar configurações", + "change-note-dialog": { + "title": "Mudar nota", + "note": "Nota" + }, + "password-dialog": { + "title": "Digite a senha", + "password": "Senha", + "info": "Uma senha está sendo solicitada porque uma senha foi definida quando a entrada selecionada foi criada, mas não foi salva por motivos de segurança. Você pode deixar a senha em branco, se necessário.", + "continue-button": "Continuar" + }, + "filter-dialog": { + "title": "Filtros", + "country": "O país deve ser", + "any-country": "Qualquer um", + "location": "O local deve conter", + "pub-key": "A chave pública deve conter", + "apply": "Aplicar" + } + }, + "stop-app": "Parar", + "start-app": "Iniciar", + "view-logs": "Ver registros", + "settings": "Configurações", + "error": "Ocorreu um erro e não foi possível realizar a operação.", + "stop-confirmation": "Tem certeza de que deseja parar o aplicativo?", + "stop-selected-confirmation": "Tem certeza de que deseja parar os aplicativos selecionados?", + "disable-autostart-confirmation": "Tem certeza de que deseja desativar a inicialização automática do aplicativo?", + "enable-autostart-confirmation": "Tem certeza de que deseja ativar a inicialização automática do aplicativo?", + "disable-autostart-selected-confirmation": "Tem certeza de que deseja desativar o início automático para os aplicativos selecionados?", + "enable-autostart-selected-confirmation": "Tem certeza de que deseja ativar o início automático para os aplicativos selecionados?", + "operation-completed": "Operação concluída.", + "operation-unnecessary": "A seleção já possui a configuração solicitada.", + "status-running": "Executando", + "status-stopped": "Parado", + "status-failed": "Fracassado", + "status-running-tooltip": "O aplicativo está em execução", + "status-stopped-tooltip": "O aplicativo está parado no momento", + "status-failed-tooltip": "Algo deu errado. Verifique as mensagens do aplicativo para obter mais informações" + }, + "transports": { + "title": "Transportes", + "remove-all-offline": "Remover todos os transportes offline", + "remove-all-offline-confirmation": "Tem certeza de que deseja remover todos os transportes offline?", + "remove-all-filtered-offline-confirmation": "Todos os transportes off-line que atendem aos critérios de filtragem atuais serão removidos. Tem certeza de que deseja continuar?", + "info": "Conexões que você tem com visores Skywire remotos, para permitir que aplicativos Skywire locais se comuniquem com aplicativos executados nesses visores remotos.", + "list-title": "Lista de transporte", + "state": "Estado", + "state-tooltip": "Estado atual", + "id": "ID", + "remote-node": "Remoto", + "type": "Tipo", + "create": "Criar transporte", + "delete-confirmation": "Tem certeza que deseja excluir o transporte?", + "delete-selected-confirmation": "Tem certeza que deseja excluir os transportes selecionados?", + "delete": "Excluir transporte", + "deleted": "Operação de exclusão concluída.", + "empty": "Visor não tem transportes.", + "empty-with-filter": "Nenhum transporte corresponde aos critérios de filtragem selecionados.", + "statuses": { + "online": "Online", + "online-tooltip": "Transporte está online", + "offline": "Offline", + "offline-tooltip": "Transporte está offline" + }, + "details": { + "title": "Detalhes", + "basic": { + "title": "Informação básica", + "state": "Estado:", + "id": "ID:", + "local-pk": "Chave pública local:", + "remote-pk": "Chave pública remota:", + "type": "Tipo:" + }, + "data": { + "title": "Transmissão de dados", + "uploaded": "Dados carregados:", + "downloaded": "Dados baixados:" + } + }, + "dialog": { + "remote-key": "Chave pública remota", + "label": "Nome de identificação (opcional)", + "transport-type": "Tipo de transporte", + "success": "Transporte criado.", + "success-without-label": "O transporte foi criado, mas não foi possível salvar a etiqueta.", + "errors": { + "remote-key-length-error": "A chave pública remota deve ter 66 caracteres.", + "remote-key-chars-error": "A chave pública remota deve conter apenas caracteres hexadecimais.", + "transport-type-error": "O tipo de transporte é obrigatório." + } + }, + "filter-dialog": { + "online": "O transporte deve ser", + "id": "O id deve conter", + "remote-node": "A chave remota deve conter", + "online-options": { + "any": "Online ou offline", + "online": "Online", + "offline": "Offline" + } + } + }, + "routes": { + "title": "Rotas", + "info": "Caminhos usados para alcançar os visores remotos para os quais os transportes foram estabelecidos. As rotas são geradas automaticamente conforme necessário.", + "list-title": "Lista de rotas", + "key": "Chave", + "type": "Tipo", + "source": "Fonte", + "destination": "Destino", + "delete-confirmation": "Tem certeza que deseja excluir a rota?", + "delete-selected-confirmation": "Tem certeza que deseja excluir as rotas selecionadas?", + "delete": "Excluir rota", + "deleted": "Operação de exclusão concluída.", + "empty": "Visor não tem nenhuma rota.", + "empty-with-filter": "Nenhuma rota corresponde aos critérios de filtragem selecionados.", + "details": { + "title": "Detalhes", + "basic": { + "title": "Informação básica", + "key": "Chave:", + "rule": "Regras:" + }, + "summary": { + "title": "Resumo da regra", + "keep-alive": "Ativo:", + "type": "Tipo de regra:", + "key-route-id": "ID de rota chave:" + }, + "specific-fields-titles": { + "app": "Campos de aplicativos", + "forward": "Campos de encaminhamento", + "intermediary-forward": "Campos intermediários de encaminhamento" + }, + "specific-fields": { + "route-id": "Próximo ID de rota:", + "transport-id": "Próximo ID de transporte:", + "destination-pk": "Chave pública de destino:", + "source-pk": "Chave pública de origem:", + "destination-port": "Porta de destino:", + "source-port": "Porta de origem:" + } + }, + "filter-dialog": { + "key": "A chave deve conter", + "type": "O tipo deve ser", + "source": "A fonte deve conter", + "destination": "O destino deve conter", + "any-type-option": "Qualquer uma" + } + }, + "copy": { + "tooltip": "Clique para copiar", + "tooltip-with-text": "{{ text }} (Clique para copiar)", + "copied": "Copiado!" + }, + "selection": { + "select-all": "Selecionar tudo", + "unselect-all": "Desmarque todos", + "delete-all": "Excluir todos os elementos selecionados", + "start-all": "Iniciar todos os aplicativos selecionados", + "stop-all": "Parar todos os aplicativos selecionados", + "enable-autostart-all": "Habilitar inicialização automática para todos os aplicativos selecionados", + "disable-autostart-all": "Desativar inicialização automática para todos os aplicativos selecionados" + }, + "refresh-button": { + "seconds": "Atualizado alguns segundos atrás", + "minute": "Atualizado 1 minuto atrás", + "minutes": "Atualizado {{ time }} minutos atrás", + "hour": "Atualizado 1 hora atrás", + "hours": "Atualizado {{ time }} horas atrás", + "day": "Atualizado 1 dia atrás", + "days": "Atualizado {{ time }} dias atrás", + "week": "Atualizado 1 semana atrás", + "weeks": "Atualizado {{ time }} semanas atrás", + "error-tooltip": "Ocorreu um erro ao atualizar os dados. Tentando novamente a cada {{ time }} segundos automaticamente..." + }, + "view-all-link": { + "label": "Ver todos os elementos {{ number }}" + }, + "paginator": { + "first": "Primeira", + "last": "Última", + "total": "Total: {{ number }} páginas", + "select-page-title": "Selecione a página" + }, + "confirmation": { + "header-text": "Confirmação", + "confirm-button": "Sim", + "cancel-button": "Não", + "close": "Fechar", + "error-header-text": "Erro", + "done-header-text": "Feito" + }, + "language": { + "title": "Selecione o idioma" + }, + "tabs-window": { + "title": "Alterar guia" + } +} \ No newline at end of file diff --git a/cmd/skywire-visor/static/assets/i18n/pt_base.json b/cmd/skywire-visor/static/assets/i18n/pt_base.json new file mode 100644 index 0000000000..d274ee959e --- /dev/null +++ b/cmd/skywire-visor/static/assets/i18n/pt_base.json @@ -0,0 +1,603 @@ +{ + "common": { + "save": "Save", + "cancel": "Cancel", + "downloaded": "Downloaded", + "uploaded": "Uploaded", + "loading-error": "There was an error getting the data. Retrying...", + "operation-error": "There was an error trying to complete the operation.", + "no-connection-error": "There is no internet connection or connection to the Hypervisor.", + "error": "Error:", + "refreshed": "Data refreshed.", + "options": "Options", + "logout": "Logout", + "logout-error": "Error logging out.", + "logout-confirmation": "Are you sure you want to log out?", + "time-in-ms": "{{ time }}ms", + "ok": "Ok", + "unknown": "Unknown", + "close": "Close" + }, + + "labeled-element": { + "edit-label": "Edit label", + "remove-label": "Remove label", + "copy": "Copy", + "remove-label-confirmation": "Do you really want to remove the label?", + "unnamed-element": "Unnamed", + "unnamed-local-visor": "Local visor", + "local-element": "Local", + "tooltip": "Click to copy the entry or change the label", + "tooltip-with-text": "{{ text }} (Click to copy the entry or change the label)" + }, + + "labels": { + "title": "Labels", + "info": "Labels you have entered to easily identify visors, transports and other elements, instead of having to read machine generated identifiers.", + "list-title": "Label list", + "label": "Label", + "id": "Element ID", + "type": "Type", + "delete-confirmation": "Are you sure you want to delete the label?", + "delete-selected-confirmation": "Are you sure you want to delete the selected labels?", + "delete": "Delete label", + "deleted": "Delete operation completed.", + "empty": "There aren't any saved labels.", + "empty-with-filter": "No label matches the selected filtering criteria.", + "filter-dialog": { + "label": "The label must contain", + "id": "The id must contain", + "type": "The type must be", + + "type-options": { + "any": "Any", + "visor": "Visor", + "dmsg-server": "DMSG server", + "transport": "Transport" + } + } + }, + + "filters": { + "filter-action": "Filter", + "press-to-remove": "(Press to remove the filters)", + "remove-confirmation": "Are you sure you want to remove the filters?" + }, + + "tables": { + "title": "Order by", + "sorting-title": "Ordered by:", + "sort-by-value": "Value", + "sort-by-label": "Label", + "label": "(label)", + "inverted-order": "(inverted)" + }, + + "start": { + "title": "Start" + }, + + "node": { + "title": "Visor details", + "not-found": "Visor not found.", + "statuses": { + "online": "Online", + "online-tooltip": "Visor is online.", + "partially-online": "Online with problems", + "partially-online-tooltip": "Visor is online but not all services are working. For more information, open the details page and check the \"Health info\" section.", + "offline": "Offline", + "offline-tooltip": "Visor is offline." + }, + "details": { + "node-info": { + "title": "Visor Info", + "label": "Label:", + "public-key": "Public key:", + "port": "Port:", + "dmsg-server": "DMSG server:", + "ping": "Ping:", + "node-version": "Visor version:", + "time": { + "title": "Time online:", + "seconds": "a few seconds", + "minute": "1 minute", + "minutes": "{{ time }} minutes", + "hour": "1 hour", + "hours": "{{ time }} hours", + "day": "1 day", + "days": "{{ time }} days", + "week": "1 week", + "weeks": "{{ time }} weeks" + } + }, + "node-health": { + "title": "Health info", + "status": "Status:", + "transport-discovery": "Transport discovery:", + "route-finder": "Route finder:", + "setup-node": "Setup node:", + "uptime-tracker": "Uptime tracker:", + "address-resolver": "Address resolver:", + "element-offline": "Offline" + }, + "node-traffic-data": "Traffic data" + }, + "tabs": { + "info": "Info", + "apps": "Apps", + "routing": "Routing" + }, + "error-load": "An error occurred while refreshing the data. Retrying..." + }, + + "nodes": { + "title": "Visor list", + "dmsg-title": "DMSG", + "update-all": "Update all visors", + "hypervisor": "Hypervisor", + "state": "State", + "state-tooltip": "Current state", + "label": "Label", + "key": "Key", + "dmsg-server": "DMSG server", + "ping": "Ping", + "hypervisor-info": "This visor is the current Hypervisor.", + "copy-key": "Copy key", + "copy-dmsg": "Copy DMSG server key", + "copy-data": "Copy data", + "view-node": "View visor", + "delete-node": "Remove visor", + "delete-all-offline": "Remove all offline visors", + "error-load": "An error occurred while refreshing the list. Retrying...", + "empty": "There aren't any visors connected to this hypervisor.", + "empty-with-filter": "No visor matches the selected filtering criteria.", + "delete-node-confirmation": "Are you sure you want to remove the visor from the list?", + "delete-all-offline-confirmation": "Are you sure you want to remove all offline visors from the list?", + "delete-all-filtered-offline-confirmation": "All offline visors satisfying the current filtering criteria will be removed from the list. Are you sure you want to continue?", + "deleted": "Visor removed.", + "deleted-singular": "1 offline visor removed.", + "deleted-plural": "{{ number }} offline visors removed.", + "no-visors-to-update": "There are no visors to update.", + "filter-dialog": { + "online": "The visor must be", + "label": "The label must contain", + "key": "The public key must contain", + "dmsg": "The DMSG server key must contain", + + "online-options": { + "any": "Online or offline", + "online": "Online", + "offline": "Offline" + } + } + }, + + "edit-label": { + "label": "Label", + "done": "Label saved.", + "label-removed-warning": "The label was removed." + }, + + "settings": { + "title": "Settings", + "password" : { + "initial-config-help": "Use this option for setting the initial password. After a password has been set, it is not possible to use this option to modify it.", + "help": "Options for changing your password.", + "old-password": "Old password", + "new-password": "New password", + "repeat-password": "Repeat password", + "password-changed": "Password changed.", + "error-changing": "Error changing password.", + "initial-config": { + "title": "Set initial password", + "password": "Password", + "repeat-password": "Repeat password", + "set-password": "Set password", + "done": "Password set. Please use it to access the system.", + "error": "Error. Please make sure you have not already set the password." + }, + "errors": { + "bad-old-password": "The provided old password is not correct.", + "old-password-required": "Old password is required.", + "new-password-error": "Password must be 6-64 characters long.", + "passwords-not-match": "Passwords do not match.", + "default-password": "Don't use the default password (1234)." + } + }, + "updater-config" : { + "open-link": "Show updater settings", + "open-confirmation": "The updater settings are for experienced users only. Are you sure you want to continue?", + "help": "Use this form for overriding the settings that will be used by the updater. All empty fields will be ignored. The settings will be used for all updating operations, no mater which element is being updated, so please be careful.", + "channel": "Channel", + "version": "Version", + "archive-url": "Archive URL", + "checksum-url": "Checksum URL", + "not-saved": "The changes have not been saved yet.", + "save": "Save changes", + "remove-settings": "Remove the settings", + "saved": "The custom settings have been saved.", + "removed": "The custom settings have been removed.", + "save-confirmation": "Are you sure you want to apply the custom settings?", + "remove-confirmation": "Are you sure you want to remove the custom settings?" + }, + "change-password": "Change password", + "refresh-rate": "Refresh rate", + "refresh-rate-help": "Time the system waits to update the data automatically.", + "refresh-rate-confirmation": "Refresh rate changed.", + "seconds": "seconds" + }, + + "login": { + "password": "Password", + "incorrect-password": "Incorrect password.", + "initial-config": "Configure initial launch" + }, + + "actions": { + "menu": { + "terminal": "Terminal", + "config": "Configuration", + "update": "Update", + "reboot": "Reboot" + }, + "reboot": { + "confirmation": "Are you sure you want to reboot the visor?", + "done": "The visor is restarting." + }, + "terminal-options": { + "full": "Full terminal", + "simple": "Simple terminal" + }, + "terminal": { + "title": "Terminal", + "input-start": "Skywire terminal for {{address}}", + "error": "Unexpected error while trying to execute the command." + } + }, + + "update": { + "title": "Update", + "error-title": "Error", + "processing": "Looking for updates...", + "no-update": "There is no update for the visor. The currently installed version is:", + "no-updates": "No new updates were found.", + "already-updating": "Some visors are already being updated:", + "update-available": "The following updates were found:", + "update-available-singular": "The following updates for 1 visor were found:", + "update-available-plural": "The following updates for {{ number }} visors were found:", + "update-available-additional-singular": "The following additional updates for 1 visor were found:", + "update-available-additional-plural": "The following additional updates for {{ number }} visors were found:", + "update-instructions": "Click the 'Install updates' button to continue.", + "updating": "The update operation has been started, you can open this window again for checking the progress:", + "version-change": "From {{ currentVersion }} to {{ newVersion }}", + "selected-channel": "Selected channel:", + "downloaded-file-name-prefix": "Downloading: ", + "speed-prefix": "Speed: ", + "time-downloading-prefix": "Time downloading: ", + "time-left-prefix": "Aprox. time left: ", + "starting": "Preparing to update", + "finished": "Status connection finished", + "install": "Install updates" + }, + + "apps": { + "log": { + "title": "Log", + "empty": "There are no log messages for the selected time range.", + "filter-button": "Only showing logs generated since:", + "filter": { + "title": "Filter", + "filter": "Only show logs generated since", + "7-days": "The last 7 days", + "1-month": "The last 30 days", + "3-months": "The last 3 months", + "6-months": "The last 6 months", + "1-year": "The last year", + "all": "Show all" + } + }, + "apps-list": { + "title": "Applications", + "list-title": "Application list", + "app-name": "Name", + "port": "Port", + "state": "State", + "state-tooltip": "Current state", + "auto-start": "Auto start", + "empty": "Visor doesn't have any applications.", + "empty-with-filter": "No app matches the selected filtering criteria.", + "disable-autostart": "Disable autostart", + "enable-autostart": "Enable autostart", + "autostart-disabled": "Autostart disabled", + "autostart-enabled": "Autostart enabled", + "unavailable-logs-error": "Unable to show the logs while the app is not running.", + + "filter-dialog": { + "state": "The state must be", + "name": "The name must contain", + "port": "The port must contain", + "autostart": "The autostart must be", + + "state-options": { + "any": "Running or stopped", + "running": "Running", + "stopped": "Stopped" + }, + + "autostart-options": { + "any": "Enabled or disabled", + "enabled": "Enabled", + "disabled": "Disabled" + } + } + }, + "vpn-socks-server-settings": { + "socks-title": "Skysocks Settings", + "vpn-title": "VPN-Server Settings", + "new-password": "New password (Leave empty to remove the password)", + "repeat-password": "Repeat password", + "passwords-not-match": "Passwords do not match.", + "secure-mode-check": "Use secure mode", + "secure-mode-info": "When active, the server doesn't allow client/server SSH and doesn't allow any traffic from VPN clients to the server local network.", + "save": "Save", + "remove-passowrd-confirmation": "You left the password field empty. Are you sure you want to remove the password?", + "change-passowrd-confirmation": "Are you sure you want to change the password?", + "changes-made": "The changes have been made." + }, + "vpn-socks-client-settings": { + "socks-title": "Skysocks-Client Settings", + "vpn-title": "VPN-Client Settings", + "discovery-tab": "Search", + "remote-visor-tab": "Enter manually", + "history-tab": "History", + "settings-tab": "Settings", + "use": "Use this data", + "change-note": "Change note", + "remove-entry": "Remove entry", + "note": "Note:", + "note-entered-manually": "Entered manually", + "note-obtained": "Obtained from the discovery service", + "key": "Key:", + "port": "Port:", + "location": "Location:", + "state-available": "Available", + "state-offline": "Offline", + "public-key": "Remote visor public key", + "password": "Password", + "password-history-warning": "Note: the password will not be saved in the history.", + "copy-pk-info": "Copy public key.", + "copied-pk-info": "The public key has been copied.", + "copy-pk-error": "There was a problem copying the public key.", + "no-elements": "Currently there are no elements to show. Please try again later.", + "no-elements-for-filters": "There are no elements that meet the filter criteria.", + "no-filter": "No filter has been selected", + "click-to-change": "Click to change", + "remote-key-length-error": "The public key must be 66 characters long.", + "remote-key-chars-error": "The public key must only contain hexadecimal characters.", + "save": "Save", + "remove-from-history-confirmation": "Are you sure you want to remove the entry from the history?", + "change-key-confirmation": "Are you sure you want to change the remote visor public key?", + "changes-made": "The changes have been made.", + "no-history": "This tab will show the last {{ number }} public keys used.", + "default-note-warning": "The default note has been used.", + "pagination-info": "{{ currentElementsRange }} of {{ totalElements }}", + "killswitch-check": "Activate killswitch", + "killswitch-info": "When active, all network connections will be disabled if the app is running but the VPN protection is interrupted (for temporary errors or any other problem).", + "settings-changed-alert": " The changes have not been saved yet.", + "save-settings": "Save settings", + + "change-note-dialog": { + "title": "Change Note", + "note": "Note" + }, + + "password-dialog": { + "title": "Enter Password", + "password": "Password", + "info": "You are being asked for a password because a password was set when the selected entry was created, but the it was not saved for security reasons. You can leave the password empty if needed.", + "continue-button": "Continue" + }, + + "filter-dialog": { + "title": "Filters", + "country": "The country must be", + "any-country": "Any", + "location": "The location must contain", + "pub-key": "The public key must contain", + "apply": "Apply" + } + }, + "stop-app": "Stop", + "start-app": "Start", + "view-logs": "View logs", + "settings": "Settings", + "error": "An error has occured and it was not possible to perform the operation.", + "stop-confirmation": "Are you sure you want to stop the app?", + "stop-selected-confirmation": "Are you sure you want to stop the selected apps?", + "disable-autostart-confirmation": "Are you sure you want to disable autostart for the app?", + "enable-autostart-confirmation": "Are you sure you want to enable autostart for the app?", + "disable-autostart-selected-confirmation": "Are you sure you want to disable autostart for the selected apps?", + "enable-autostart-selected-confirmation": "Are you sure you want to enable autostart for the selected apps?", + "operation-completed": "Operation completed.", + "operation-unnecessary": "The selection already has the requested setting.", + "status-running": "Running", + "status-stopped": "Stopped", + "status-failed": "Failed", + "status-running-tooltip": "App is currently running", + "status-stopped-tooltip": "App is currently stopped", + "status-failed-tooltip": "Something went wrong. Check the app's messages for more information" + }, + + "transports": { + "title": "Transports", + "remove-all-offline": "Remove all offline transports", + "remove-all-offline-confirmation": "Are you sure you want to remove all offline transports?", + "remove-all-filtered-offline-confirmation": "All offline transports satisfying the current filtering criteria will be removed. Are you sure you want to continue?", + "info": "Connections you have with remote Skywire visors, to allow local Skywire apps to communicate with apps running on those remote visors.", + "list-title": "Transport list", + "state": "State", + "state-tooltip": "Current state", + "id": "ID", + "remote-node": "Remote", + "type": "Type", + "create": "Create transport", + "delete-confirmation": "Are you sure you want to delete the transport?", + "delete-selected-confirmation": "Are you sure you want to delete the selected transports?", + "delete": "Delete transport", + "deleted": "Delete operation completed.", + "empty": "Visor doesn't have any transports.", + "empty-with-filter": "No transport matches the selected filtering criteria.", + "statuses": { + "online": "Online", + "online-tooltip": "Transport is online", + "offline": "Offline", + "offline-tooltip": "Transport is offline" + }, + "details": { + "title": "Details", + "basic": { + "title": "Basic info", + "state": "State:", + "id": "ID:", + "local-pk": "Local public key:", + "remote-pk": "Remote public key:", + "type": "Type:" + }, + "data": { + "title": "Data transmission", + "uploaded": "Uploaded data:", + "downloaded": "Downloaded data:" + } + }, + "dialog": { + "remote-key": "Remote public key", + "label": "Identification name (optional)", + "transport-type": "Transport type", + "success": "Transport created.", + "success-without-label": "The transport was created, but it was not possible to save the label.", + "errors": { + "remote-key-length-error": "The remote public key must be 66 characters long.", + "remote-key-chars-error": "The remote public key must only contain hexadecimal characters.", + "transport-type-error": "The transport type is required." + } + }, + "filter-dialog": { + "online": "The transport must be", + "id": "The id must contain", + "remote-node": "The remote key must contain", + + "online-options": { + "any": "Online or offline", + "online": "Online", + "offline": "Offline" + } + } + }, + + "routes": { + "title": "Routes", + "info": "Paths used to reach the remote visors to which transports have been established. Routes are automatically generated as needed.", + "list-title": "Route list", + "key": "Key", + "type": "Type", + "source": "Source", + "destination": "Destination", + "delete-confirmation": "Are you sure you want to delete the route?", + "delete-selected-confirmation": "Are you sure you want to delete the selected routes?", + "delete": "Delete route", + "deleted": "Delete operation completed.", + "empty": "Visor doesn't have any routes.", + "empty-with-filter": "No route matches the selected filtering criteria.", + "details": { + "title": "Details", + "basic": { + "title": "Basic info", + "key": "Key:", + "rule": "Rule:" + }, + "summary": { + "title": "Rule summary", + "keep-alive": "Keep alive:", + "type": "Rule type:", + "key-route-id": "Key route ID:" + }, + "specific-fields-titles": { + "app": "App fields", + "forward": "Forward fields", + "intermediary-forward": "Intermediary forward fields" + }, + "specific-fields": { + "route-id": "Next route ID:", + "transport-id": "Next transport ID:", + "destination-pk": "Destination public key:", + "source-pk": "Source public key:", + "destination-port": "Destination port:", + "source-port": "Source port:" + } + }, + "filter-dialog": { + "key": "The key must contain", + "type": "The type must be", + "source": "The source must contain", + "destination": "The destination must contain", + "any-type-option": "Any" + } + }, + + "copy": { + "tooltip": "Click to copy", + "tooltip-with-text": "{{ text }} (Click to copy)", + "copied": "Copied!" + }, + + "selection": { + "select-all": "Select all", + "unselect-all": "Unselect all", + "delete-all": "Delete all selected elements", + "start-all": "Start all selected apps", + "stop-all": "Stop all selected apps", + "enable-autostart-all": "Enable autostart for all selected apps", + "disable-autostart-all": "Disable autostart for all selected apps" + }, + + "refresh-button": { + "seconds": "Updated a few seconds ago", + "minute": "Updated 1 minute ago", + "minutes": "Updated {{ time }} minutes ago", + "hour": "Updated 1 hour ago", + "hours": "Updated {{ time }} hours ago", + "day": "Updated 1 day ago", + "days": "Updated {{ time }} days ago", + "week": "Updated 1 week ago", + "weeks": "Updated {{ time }} weeks ago", + "error-tooltip": "There was an error updating the data. Retrying automatically every {{ time }} seconds..." + }, + + "view-all-link": { + "label": "View all {{ number }} elements" + }, + + "paginator": { + "first": "First", + "last": "Last", + "total": "Total: {{ number }} pages", + "select-page-title": "Select page" + }, + + "confirmation" : { + "header-text": "Confirmation", + "confirm-button": "Yes", + "cancel-button": "No", + "close": "Close", + "error-header-text": "Error", + "done-header-text": "Done" + }, + + "language" : { + "title": "Select language" + }, + + "tabs-window" : { + "title" : "Change tab" + } +} diff --git a/cmd/skywire-visor/static/assets/img/lang/pt.png b/cmd/skywire-visor/static/assets/img/lang/pt.png new file mode 100644 index 0000000000..fef9c359db Binary files /dev/null and b/cmd/skywire-visor/static/assets/img/lang/pt.png differ diff --git a/cmd/skywire-visor/static/assets/scss/_icons.scss b/cmd/skywire-visor/static/assets/scss/_icons.scss index 42dfa3245c..b1d824aae7 100644 --- a/cmd/skywire-visor/static/assets/scss/_icons.scss +++ b/cmd/skywire-visor/static/assets/scss/_icons.scss @@ -10,7 +10,7 @@ $dot-size-sm: 7px; @each $color-name, $color-value in $dot-icons { - .dot-#{$color-name} + .dot-#{"" + $color-name} { height: $dot-size; width: $dot-size; @@ -34,7 +34,7 @@ $outlines: ( @each $color-name, $color-value in $outlines { - .dot-outline-#{$color-name} + .dot-outline-#{"" + $color-name} { height: $dot-size; width: $dot-size; diff --git a/cmd/skywire-visor/static/assets/scss/_text.scss b/cmd/skywire-visor/static/assets/scss/_text.scss index 012e6c80b7..fe2c883c00 100644 --- a/cmd/skywire-visor/static/assets/scss/_text.scss +++ b/cmd/skywire-visor/static/assets/scss/_text.scss @@ -45,3 +45,7 @@ span { .red-clear-text { color: $red-clear; } + +.grey-text { + color: $light-gray !important; +} diff --git a/cmd/skywire-visor/static/index.html b/cmd/skywire-visor/static/index.html index 1495d24415..66b26d1460 100644 --- a/cmd/skywire-visor/static/index.html +++ b/cmd/skywire-visor/static/index.html @@ -1,15 +1,14 @@ - - - + Skywire - +
- - + + + \ No newline at end of file diff --git a/cmd/skywire-visor/static/main.850502a4cefd2f48f8a2.js b/cmd/skywire-visor/static/main.850502a4cefd2f48f8a2.js new file mode 100644 index 0000000000..728f669480 --- /dev/null +++ b/cmd/skywire-visor/static/main.850502a4cefd2f48f8a2.js @@ -0,0 +1 @@ +(self.webpackChunkskywire_manager=self.webpackChunkskywire_manager||[]).push([[179],{98255:function(ge){function ke(B){return Promise.resolve().then(function(){var x=new Error("Cannot find module '"+B+"'");throw x.code="MODULE_NOT_FOUND",x})}ke.keys=function(){return[]},ke.resolve=ke,ke.id=98255,ge.exports=ke},61287:function(ge,ke,B){var x;!function(w){"use strict";var D,_=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,f=Math.ceil,c=Math.floor,k="[BigNumber Error] ",h=k+"Number primitive has more than 15 significant digits: ",P=1e14,S=14,O=9007199254740991,L=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],C=1e7,R=1e9;function W(Z){var re=0|Z;return Z>0||Z===re?re:re-1}function G(Z){for(var re,se,ue=1,ee=Z.length,Ee=Z[0]+"";ueJe^se?1:-1;for(Fe=(Be=ee.length)<(Je=Ee.length)?Be:Je,Pe=0;PeEe[Pe]^se?1:-1;return Be==Je?0:Be>Je^se?1:-1}function fe(Z,re,se,ue){if(Zse||Z!==(Z<0?f(Z):c(Z)))throw Error(k+(ue||"Argument")+("number"==typeof Z?Zse?" out of range: ":" not an integer: ":" not a primitive number: ")+Z)}function te(Z){return"[object Array]"==Object.prototype.toString.call(Z)}function Q(Z){var re=Z.c.length-1;return W(Z.e/S)==re&&Z.c[re]%2!=0}function ce(Z,re){return(Z.length>1?Z.charAt(0)+"."+Z.slice(1):Z)+(re<0?"e":"e+")+re}function ne(Z,re,se){var ue,ee;if(re<0){for(ee=se+".";++re;ee+=se);Z=ee+Z}else if(++re>(ue=Z.length)){for(ee=se,re-=ue;--re;ee+=se);Z+=ee}else re=10;Me/=10,me++);return xe.e=me,void(xe.c=[j])}Le=j+""}else{if(!_.test(Le=j+""))return ue(xe,Le,ye);xe.s=45==Le.charCodeAt(0)?(Le=Le.slice(1),-1):1}(me=Le.indexOf("."))>-1&&(Le=Le.replace(".","")),(Me=Le.search(/e/i))>0?(me<0&&(me=Me),me+=+Le.slice(Me+1),Le=Le.substring(0,Me)):me<0&&(me=Le.length)}else{if(fe(ie,2,vn.length,"Base"),Le=j+"",10==ie)return Hn(xe=new Ue(j instanceof Ue?j:Le),Pe+xe.e+1,Fe);if(ye="number"==typeof j){if(0*j!=0)return ue(xe,Le,ye,ie);if(xe.s=1/j<0?(Le=Le.slice(1),-1):1,Ue.DEBUG&&Le.replace(/^0\.0*|\./,"").length>15)throw Error(h+j);ye=!1}else xe.s=45===Le.charCodeAt(0)?(Le=Le.slice(1),-1):1;for(oe=vn.slice(0,ie),me=Me=0,De=Le.length;Meme){me=De;continue}}else if(!ve&&(Le==Le.toUpperCase()&&(Le=Le.toLowerCase())||Le==Le.toLowerCase()&&(Le=Le.toUpperCase()))){ve=!0,Me=-1,me=0;continue}return ue(xe,j+"",ye,ie)}(me=(Le=se(Le,ie,10,xe.s)).indexOf("."))>-1?Le=Le.replace(".",""):me=Le.length}for(Me=0;48===Le.charCodeAt(Me);Me++);for(De=Le.length;48===Le.charCodeAt(--De););if(Le=Le.slice(Me,++De)){if(De-=Me,ye&&Ue.DEBUG&&De>15&&(j>O||j!==c(j)))throw Error(h+xe.s*j);if((me=me-Me-1)>He)xe.c=xe.e=null;else if(meye){if(--ie>0)for(De+=".";ie--;De+="0");}else if((ie+=me-ye)>0)for(me+1==ye&&(De+=".");ie--;De+="0");return j.s<0&&ve?"-"+De:De}function St(j,ie){var oe,de,ve=0;for(te(j[0])&&(j=j[0]),oe=new Ue(j[0]);++ve=10;ve/=10,de++);return(oe=de+oe*S-1)>He?j.c=j.e=null:oe=10;ye/=10,ve++);if((me=ie-ve)<0)me+=S,xe=(De=Ie[Le=0])/ct[ve-(Me=ie)-1]%10|0;else if((Le=f((me+1)/S))>=Ie.length){if(!de)break e;for(;Ie.length<=Le;Ie.push(0));De=xe=0,ve=1,Me=(me%=S)-S+1}else{for(De=ye=Ie[Le],ve=1;ye>=10;ye/=10,ve++);xe=(Me=(me%=S)-S+ve)<0?0:De/ct[ve-Me-1]%10|0}if(de=de||ie<0||null!=Ie[Le+1]||(Me<0?De:De%ct[ve-Me-1]),de=oe<4?(xe||de)&&(0==oe||oe==(j.s<0?3:2)):xe>5||5==xe&&(4==oe||de||6==oe&&(me>0?Me>0?De/ct[ve-Me]:0:Ie[Le-1])%10&1||oe==(j.s<0?8:7)),ie<1||!Ie[0])return Ie.length=0,de?(Ie[0]=ct[(S-(ie-=j.e+1)%S)%S],j.e=-ie||0):Ie[0]=j.e=0,j;if(0==me?(Ie.length=Le,ye=1,Le--):(Ie.length=Le+1,ye=ct[S-me],Ie[Le]=Me>0?c(De/ct[ve-Me]%ct[Me])*ye:0),de)for(;;){if(0==Le){for(me=1,Me=Ie[0];Me>=10;Me/=10,me++);for(Me=Ie[0]+=ye,ye=1;Me>=10;Me/=10,ye++);me!=ye&&(j.e++,Ie[0]==P&&(Ie[0]=1));break}if(Ie[Le]+=ye,Ie[Le]!=P)break;Ie[Le--]=0,ye=1}for(me=Ie.length;0===Ie[--me];Ie.pop());}j.e>He?j.c=j.e=null:j.e>>11))>=9e15?(ve=crypto.getRandomValues(new Uint32Array(2)),de[De]=ve[0],de[De+1]=ve[1]):(Le.push(ye%1e14),De+=2);De=Me/2}else{if(!crypto.randomBytes)throw lt=!1,Error(k+"crypto unavailable");for(de=crypto.randomBytes(Me*=7);De=9e15?crypto.randomBytes(7).copy(de,De):(Le.push(ye%1e14),De+=7);De=Me/7}if(!lt)for(;De=10;ye/=10,De++);Deve-1&&(null==ye[Me+1]&&(ye[Me+1]=0),ye[Me+1]+=ye[Me]/ve|0,ye[Me]%=ve)}return ye.reverse()}return function(oe,de,ve,me,Me){var ye,De,Le,xe,Ie,ct,ft,rt,gn=oe.indexOf("."),In=Pe,Rt=Fe;for(gn>=0&&(xe=jt,jt=0,oe=oe.replace(".",""),ct=(rt=new Ue(de)).pow(oe.length-gn),jt=xe,rt.c=ie(ne(G(ct.c),ct.e,"0"),10,ve,j),rt.e=rt.c.length),Le=xe=(ft=ie(oe,de,ve,Me?(ye=vn,j):(ye=j,vn))).length;0==ft[--xe];ft.pop());if(!ft[0])return ye.charAt(0);if(gn<0?--Le:(ct.c=ft,ct.e=Le,ct.s=me,ft=(ct=re(ct,rt,In,Rt,ve)).c,Ie=ct.r,Le=ct.e),gn=ft[De=Le+In+1],xe=ve/2,Ie=Ie||De<0||null!=ft[De+1],Ie=Rt<4?(null!=gn||Ie)&&(0==Rt||Rt==(ct.s<0?3:2)):gn>xe||gn==xe&&(4==Rt||Ie||6==Rt&&1&ft[De-1]||Rt==(ct.s<0?8:7)),De<1||!ft[0])oe=Ie?ne(ye.charAt(1),-In,ye.charAt(0)):ye.charAt(0);else{if(ft.length=De,Ie)for(--ve;++ft[--De]>ve;)ft[De]=0,De||(++Le,ft=[1].concat(ft));for(xe=ft.length;!ft[--xe];);for(gn=0,oe="";gn<=xe;oe+=ye.charAt(ft[gn++]));oe=ne(oe,Le,ye.charAt(0))}return oe}}(),re=function(){function j(de,ve,me){var Me,ye,De,Le,xe=0,Ie=de.length,ct=ve%C,ft=ve/C|0;for(de=de.slice();Ie--;)xe=((ye=ct*(De=de[Ie]%C)+(Me=ft*De+(Le=de[Ie]/C|0)*ct)%C*C+xe)/me|0)+(Me/C|0)+ft*Le,de[Ie]=ye%me;return xe&&(de=[xe].concat(de)),de}function ie(de,ve,me,Me){var ye,De;if(me!=Me)De=me>Me?1:-1;else for(ye=De=0;yeve[ye]?1:-1;break}return De}function oe(de,ve,me,Me){for(var ye=0;me--;)de[me]-=ye,de[me]=(ye=de[me]1;de.splice(0,1));}return function(de,ve,me,Me,ye){var De,Le,xe,Ie,ct,ft,rt,gn,In,Rt,Ut,Kn,Vn,ya,zi,yr,qt,An=de.s==ve.s?1:-1,_n=de.c,$e=ve.c;if(!(_n&&_n[0]&&$e&&$e[0]))return new Ue(de.s&&ve.s&&(_n?!$e||_n[0]!=$e[0]:$e)?_n&&0==_n[0]||!$e?0*An:An/0:NaN);for(In=(gn=new Ue(An)).c=[],An=me+(Le=de.e-ve.e)+1,ye||(ye=P,Le=W(de.e/S)-W(ve.e/S),An=An/S|0),xe=0;$e[xe]==(_n[xe]||0);xe++);if($e[xe]>(_n[xe]||0)&&Le--,An<0)In.push(1),Ie=!0;else{for(ya=_n.length,yr=$e.length,xe=0,An+=2,(ct=c(ye/($e[0]+1)))>1&&($e=j($e,ct,ye),_n=j(_n,ct,ye),yr=$e.length,ya=_n.length),Vn=yr,Ut=(Rt=_n.slice(0,yr)).length;Ut=ye/2&&zi++;do{if(ct=0,(De=ie($e,Rt,yr,Ut))<0){if(Kn=Rt[0],yr!=Ut&&(Kn=Kn*ye+(Rt[1]||0)),(ct=c(Kn/zi))>1)for(ct>=ye&&(ct=ye-1),rt=(ft=j($e,ct,ye)).length,Ut=Rt.length;1==ie(ft,Rt,rt,Ut);)ct--,oe(ft,yr=10;An/=10,xe++);Hn(gn,me+(gn.e=xe+Le*S-1)+1,Me,Ie)}else gn.e=Le,gn.r=+Ie;return gn}}(),ue=function(){var j=/^(-?)0([xbo])(?=\w[\w.]*$)/i,ie=/^([^.]+)\.$/,oe=/^\.([^.]+)$/,de=/^-?(Infinity|NaN)$/,ve=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(me,Me,ye,De){var Le,xe=ye?Me:Me.replace(ve,"");if(de.test(xe))me.s=isNaN(xe)?null:xe<0?-1:1,me.c=me.e=null;else{if(!ye&&(xe=xe.replace(j,function(Ie,ct,ft){return Le="x"==(ft=ft.toLowerCase())?16:"b"==ft?2:8,De&&De!=Le?Ie:ct}),De&&(Le=De,xe=xe.replace(ie,"$1").replace(oe,"0.$1")),Me!=xe))return new Ue(xe,Le);if(Ue.DEBUG)throw Error(k+"Not a"+(De?" base "+De:"")+" number: "+Me);me.c=me.e=me.s=null}}}(),ee.absoluteValue=ee.abs=function(){var j=new Ue(this);return j.s<0&&(j.s=1),j},ee.comparedTo=function(j,ie){return ae(this,new Ue(j,ie))},ee.decimalPlaces=ee.dp=function(j,ie){var oe,de,ve;if(null!=j)return fe(j,0,R),null==ie?ie=Fe:fe(ie,0,8),Hn(new Ue(this),j+this.e+1,ie);if(!(oe=this.c))return null;if(de=((ve=oe.length-1)-W(this.e/S))*S,ve=oe[ve])for(;ve%10==0;ve/=10,de--);return de<0&&(de=0),de},ee.dividedBy=ee.div=function(j,ie){return re(this,new Ue(j,ie),Pe,Fe)},ee.dividedToIntegerBy=ee.idiv=function(j,ie){return re(this,new Ue(j,ie),0,1)},ee.exponentiatedBy=ee.pow=function(j,ie){var oe,de,ve,Me,ye,De,Le,xe=this;if((j=new Ue(j)).c&&!j.isInteger())throw Error(k+"Exponent not an integer: "+j);if(null!=ie&&(ie=new Ue(ie)),Me=j.e>14,!xe.c||!xe.c[0]||1==xe.c[0]&&!xe.e&&1==xe.c.length||!j.c||!j.c[0])return Le=new Ue(Math.pow(+xe.valueOf(),Me?2-Q(j):+j)),ie?Le.mod(ie):Le;if(ye=j.s<0,ie){if(ie.c?!ie.c[0]:!ie.s)return new Ue(NaN);(de=!ye&&xe.isInteger()&&ie.isInteger())&&(xe=xe.mod(ie))}else{if(j.e>9&&(xe.e>0||xe.e<-1||(0==xe.e?xe.c[0]>1||Me&&xe.c[1]>=24e7:xe.c[0]<8e13||Me&&xe.c[0]<=9999975e7)))return ve=xe.s<0&&Q(j)?-0:0,xe.e>-1&&(ve=1/ve),new Ue(ye?1/ve:ve);jt&&(ve=f(jt/S+2))}for(Me?(oe=new Ue(.5),De=Q(j)):De=j%2,ye&&(j.s=1),Le=new Ue(Ee);;){if(De){if(!(Le=Le.times(xe)).c)break;ve?Le.c.length>ve&&(Le.c.length=ve):de&&(Le=Le.mod(ie))}if(Me){if(Hn(j=j.times(oe),j.e+1,1),!j.c[0])break;Me=j.e>14,De=Q(j)}else{if(!(j=c(j/2)))break;De=j%2}xe=xe.times(xe),ve?xe.c&&xe.c.length>ve&&(xe.c.length=ve):de&&(xe=xe.mod(ie))}return de?Le:(ye&&(Le=Ee.div(Le)),ie?Le.mod(ie):ve?Hn(Le,jt,Fe,void 0):Le)},ee.integerValue=function(j){var ie=new Ue(this);return null==j?j=Fe:fe(j,0,8),Hn(ie,ie.e+1,j)},ee.isEqualTo=ee.eq=function(j,ie){return 0===ae(this,new Ue(j,ie))},ee.isFinite=function(){return!!this.c},ee.isGreaterThan=ee.gt=function(j,ie){return ae(this,new Ue(j,ie))>0},ee.isGreaterThanOrEqualTo=ee.gte=function(j,ie){return 1===(ie=ae(this,new Ue(j,ie)))||0===ie},ee.isInteger=function(){return!!this.c&&W(this.e/S)>this.c.length-2},ee.isLessThan=ee.lt=function(j,ie){return ae(this,new Ue(j,ie))<0},ee.isLessThanOrEqualTo=ee.lte=function(j,ie){return-1===(ie=ae(this,new Ue(j,ie)))||0===ie},ee.isNaN=function(){return!this.s},ee.isNegative=function(){return this.s<0},ee.isPositive=function(){return this.s>0},ee.isZero=function(){return!!this.c&&0==this.c[0]},ee.minus=function(j,ie){var oe,de,ve,me,Me=this,ye=Me.s;if(ie=(j=new Ue(j,ie)).s,!ye||!ie)return new Ue(NaN);if(ye!=ie)return j.s=-ie,Me.plus(j);var De=Me.e/S,Le=j.e/S,xe=Me.c,Ie=j.c;if(!De||!Le){if(!xe||!Ie)return xe?(j.s=-ie,j):new Ue(Ie?Me:NaN);if(!xe[0]||!Ie[0])return Ie[0]?(j.s=-ie,j):new Ue(xe[0]?Me:3==Fe?-0:0)}if(De=W(De),Le=W(Le),xe=xe.slice(),ye=De-Le){for((me=ye<0)?(ye=-ye,ve=xe):(Le=De,ve=Ie),ve.reverse(),ie=ye;ie--;ve.push(0));ve.reverse()}else for(de=(me=(ye=xe.length)<(ie=Ie.length))?ye:ie,ye=ie=0;ie0)for(;ie--;xe[oe++]=0);for(ie=P-1;de>ye;){if(xe[--de]=0;){for(oe=0,ct=Kn[ve]%In,ft=Kn[ve]/In|0,me=ve+(Me=De);me>ve;)oe=((Le=ct*(Le=Ut[--Me]%In)+(ye=ft*Le+(xe=Ut[Me]/In|0)*ct)%In*In+rt[me]+oe)/gn|0)+(ye/In|0)+ft*xe,rt[me--]=Le%gn;rt[me]=oe}return oe?++de:rt.splice(0,1),Sr(j,rt,de)},ee.negated=function(){var j=new Ue(this);return j.s=-j.s||null,j},ee.plus=function(j,ie){var oe,de=this,ve=de.s;if(ie=(j=new Ue(j,ie)).s,!ve||!ie)return new Ue(NaN);if(ve!=ie)return j.s=-ie,de.minus(j);var me=de.e/S,Me=j.e/S,ye=de.c,De=j.c;if(!me||!Me){if(!ye||!De)return new Ue(ve/0);if(!ye[0]||!De[0])return De[0]?j:new Ue(ye[0]?de:0*ve)}if(me=W(me),Me=W(Me),ye=ye.slice(),ve=me-Me){for(ve>0?(Me=me,oe=De):(ve=-ve,oe=ye),oe.reverse();ve--;oe.push(0));oe.reverse()}for((ve=ye.length)-(ie=De.length)<0&&(oe=De,De=ye,ye=oe,ie=ve),ve=0;ie;)ve=(ye[--ie]=ye[ie]+De[ie]+ve)/P|0,ye[ie]=P===ye[ie]?0:ye[ie]%P;return ve&&(ye=[ve].concat(ye),++Me),Sr(j,ye,Me)},ee.precision=ee.sd=function(j,ie){var oe,de,ve;if(null!=j&&j!==!!j)return fe(j,1,R),null==ie?ie=Fe:fe(ie,0,8),Hn(new Ue(this),j,ie);if(!(oe=this.c))return null;if(de=(ve=oe.length-1)*S+1,ve=oe[ve]){for(;ve%10==0;ve/=10,de--);for(ve=oe[0];ve>=10;ve/=10,de++);}return j&&this.e+1>de&&(de=this.e+1),de},ee.shiftedBy=function(j){return fe(j,-O,O),this.times("1e"+j)},ee.squareRoot=ee.sqrt=function(){var j,ie,oe,de,ve,me=this,Me=me.c,ye=me.s,De=me.e,Le=Pe+4,xe=new Ue("0.5");if(1!==ye||!Me||!Me[0])return new Ue(!ye||ye<0&&(!Me||Me[0])?NaN:Me?me:1/0);if(0==(ye=Math.sqrt(+me))||ye==1/0?(((ie=G(Me)).length+De)%2==0&&(ie+="0"),ye=Math.sqrt(ie),De=W((De+1)/2)-(De<0||De%2),oe=new Ue(ie=ye==1/0?"1e"+De:(ie=ye.toExponential()).slice(0,ie.indexOf("e")+1)+De)):oe=new Ue(ye+""),oe.c[0])for((ye=(De=oe.e)+Le)<3&&(ye=0);;)if(oe=xe.times((ve=oe).plus(re(me,ve,Le,1))),G(ve.c).slice(0,ye)===(ie=G(oe.c)).slice(0,ye)){if(oe.e0&&ct>0){for(De=Ie.substr(0,de=ct%me||me);de0&&(De+=ye+Ie.slice(de)),xe&&(De="-"+De)}oe=Le?De+an.decimalSeparator+((Me=+an.fractionGroupSize)?Le.replace(new RegExp("\\d{"+Me+"}\\B","g"),"$&"+an.fractionGroupSeparator):Le):De}return oe},ee.toFraction=function(j){var ie,oe,de,ve,me,Me,ye,De,Le,xe,Ie,ct,ft=this,rt=ft.c;if(null!=j&&(!(De=new Ue(j)).isInteger()&&(De.c||1!==De.s)||De.lt(Ee)))throw Error(k+"Argument "+(De.isInteger()?"out of range: ":"not an integer: ")+j);if(!rt)return ft.toString();for(oe=new Ue(Ee),xe=de=new Ue(Ee),ve=Le=new Ue(Ee),ct=G(rt),Me=oe.e=ct.length-ft.e-1,oe.c[0]=L[(ye=Me%S)<0?S+ye:ye],j=!j||De.comparedTo(oe)>0?Me>0?oe:xe:De,ye=He,He=1/0,De=new Ue(ct),Le.c[0]=0;Ie=re(De,oe,0,1),1!=(me=de.plus(Ie.times(ve))).comparedTo(j);)de=ve,ve=me,xe=Le.plus(Ie.times(me=xe)),Le=me,oe=De.minus(Ie.times(me=oe)),De=me;return me=re(j.minus(de),ve,0,1),Le=Le.plus(me.times(xe)),de=de.plus(me.times(ve)),Le.s=xe.s=ft.s,ie=re(xe,ve,Me*=2,Fe).minus(ft).abs().comparedTo(re(Le,de,Me,Fe).minus(ft).abs())<1?[xe.toString(),ve.toString()]:[Le.toString(),de.toString()],He=ye,ie},ee.toNumber=function(){return+this},ee.toPrecision=function(j,ie){return null!=j&&fe(j,1,R),_r(this,j,ie,2)},ee.toString=function(j){var ie,de=this.s,ve=this.e;return null===ve?de?(ie="Infinity",de<0&&(ie="-"+ie)):ie="NaN":(ie=G(this.c),null==j?ie=ve<=Be||ve>=Je?ce(ie,ve):ne(ie,ve,"0"):(fe(j,2,vn.length,"Base"),ie=se(ne(ie,ve,"0"),10,j,de,!0)),de<0&&this.c[0]&&(ie="-"+ie)),ie},ee.valueOf=ee.toJSON=function(){var j,oe=this.e;return null===oe?this.toString():(j=G(this.c),j=oe<=Be||oe>=Je?ce(j,oe):ne(j,oe,"0"),this.s<0?"-"+j:j)},ee._isBigNumber=!0,null!=Z&&Ue.set(Z),Ue}()).default=D.BigNumber=D,void 0!==(x=function(){return D}.call(ke,B,ke,ge))&&(ge.exports=x)}()},55494:function(ge,ke,B){var x=B(47753)();x.helpers=B(74060),B(14583)(x),x.defaults=B(46566),x.Element=B(33399),x.elements=B(82561),x.Interaction=B(5781),x.layouts=B(71382),x.platform=B(28341),x.plugins=B(8598),x.Ticks=B(64941),B(78723)(x),B(88034)(x),B(46155)(x),B(72737)(x),B(82462)(x),B(42267)(x),B(47705)(x),B(98978)(x),B(4620)(x),B(6341)(x),B(16467)(x),B(38669)(x),B(35009)(x),B(13048)(x),B(39871)(x),B(99983)(x),B(61358)(x),B(41088)(x),B(11396)(x),B(74234)(x),B(52329)(x),B(11234)(x),B(18261)(x),B(83303)(x),B(94632)(x),B(76775)(x);var w=B(76657);for(var D in w)w.hasOwnProperty(D)&&x.plugins.register(w[D]);x.platform.initialize(),ge.exports=x,"undefined"!=typeof window&&(window.Chart=x),x.Legend=w.legend._element,x.Title=w.title._element,x.pluginService=x.plugins,x.PluginBase=x.Element.extend({}),x.canvasHelpers=x.helpers.canvas,x.layoutService=x.layouts},74234:function(ge){"use strict";ge.exports=function(ke){ke.Bar=function(B,x){return x.type="bar",new ke(B,x)}}},52329:function(ge){"use strict";ge.exports=function(ke){ke.Bubble=function(B,x){return x.type="bubble",new ke(B,x)}}},11234:function(ge){"use strict";ge.exports=function(ke){ke.Doughnut=function(B,x){return x.type="doughnut",new ke(B,x)}}},18261:function(ge){"use strict";ge.exports=function(ke){ke.Line=function(B,x){return x.type="line",new ke(B,x)}}},83303:function(ge){"use strict";ge.exports=function(ke){ke.PolarArea=function(B,x){return x.type="polarArea",new ke(B,x)}}},94632:function(ge){"use strict";ge.exports=function(ke){ke.Radar=function(B,x){return x.type="radar",new ke(B,x)}}},76775:function(ge){"use strict";ge.exports=function(ke){ke.Scatter=function(B,x){return x.type="scatter",new ke(B,x)}}},35009:function(ge,ke,B){"use strict";var x=B(46566),w=B(82561),D=B(74060);x._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),x._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(h,P){var S="";return h.length>0&&(h[0].yLabel?S=h[0].yLabel:P.labels.length>0&&h[0].index0?Math.min(P,L-O):P,O=L;return P}(S,W):-1,pixels:W,start:R,end:Y,stackCount:O,scale:S}},calculateBarValuePixels:function(P,S){var te,Q,ce,ne,Z,re,O=this,L=O.chart,C=O.getMeta(),R=O.getValueScale(),Y=L.data.datasets,W=R.getRightValue(Y[P].data[S]),G=R.options.stacked,ae=C.stack,fe=0;if(G||void 0===G&&void 0!==ae)for(te=0;te=0&&ce>0)&&(fe+=ce));return ne=R.getPixelForValue(fe),{size:re=((Z=R.getPixelForValue(fe+W))-ne)/2,base:ne,head:Z,center:Z+re/2}},calculateBarIndexPixels:function(P,S,O){var C=O.scale.options,R="flex"===C.barThickness?function(k,h,P){var S=h.pixels,O=S[k],L=k>0?S[k-1]:null,C=k');var k=f.data,h=k.datasets,P=k.labels;if(h.length)for(var S=0;S'),P[S]&&c.push(P[S]),c.push("");return c.push(""),c.join("")},legend:{labels:{generateLabels:function(f){var c=f.data;return c.labels.length&&c.datasets.length?c.labels.map(function(k,h){var P=f.getDatasetMeta(0),S=c.datasets[0],O=P.data[h],L=O&&O.custom||{},C=D.valueAtIndexOrDefault,R=f.options.elements.arc;return{text:k,fillStyle:L.backgroundColor?L.backgroundColor:C(S.backgroundColor,h,R.backgroundColor),strokeStyle:L.borderColor?L.borderColor:C(S.borderColor,h,R.borderColor),lineWidth:L.borderWidth?L.borderWidth:C(S.borderWidth,h,R.borderWidth),hidden:isNaN(S.data[h])||P.data[h].hidden,index:h}}):[]}},onClick:function(f,c){var P,S,O,k=c.index,h=this.chart;for(P=0,S=(h.data.datasets||[]).length;P=Math.PI?-1:fe<-Math.PI?1:0))+ae,Q={x:Math.cos(fe),y:Math.sin(fe)},ce={x:Math.cos(te),y:Math.sin(te)},ne=fe<=0&&te>=0||fe<=2*Math.PI&&2*Math.PI<=te,Z=fe<=.5*Math.PI&&.5*Math.PI<=te||fe<=2.5*Math.PI&&2.5*Math.PI<=te,re=fe<=-Math.PI&&-Math.PI<=te||fe<=Math.PI&&Math.PI<=te,se=fe<=.5*-Math.PI&&.5*-Math.PI<=te||fe<=1.5*Math.PI&&1.5*Math.PI<=te,ue=G/100,ee={x:re?-1:Math.min(Q.x*(Q.x<0?1:ue),ce.x*(ce.x<0?1:ue)),y:se?-1:Math.min(Q.y*(Q.y<0?1:ue),ce.y*(ce.y<0?1:ue))},Ee={x:ne?1:Math.max(Q.x*(Q.x>0?1:ue),ce.x*(ce.x>0?1:ue)),y:Z?1:Math.max(Q.y*(Q.y>0?1:ue),ce.y*(ce.y>0?1:ue))},Pe={width:.5*(Ee.x-ee.x),height:.5*(Ee.y-ee.y)};R=Math.min(L/Pe.width,C/Pe.height),Y={x:-.5*(Ee.x+ee.x),y:-.5*(Ee.y+ee.y)}}h.borderWidth=k.getMaxBorderWidth(W.data),h.outerRadius=Math.max((R-h.borderWidth)/2,0),h.innerRadius=Math.max(G?h.outerRadius/100*G:0,0),h.radiusLength=(h.outerRadius-h.innerRadius)/h.getVisibleDatasetCount(),h.offsetX=Y.x*h.outerRadius,h.offsetY=Y.y*h.outerRadius,W.total=k.calculateTotal(),k.outerRadius=h.outerRadius-h.radiusLength*k.getRingIndex(k.index),k.innerRadius=Math.max(k.outerRadius-h.radiusLength,0),D.each(W.data,function(Fe,Be){k.updateElement(Fe,Be,c)})},updateElement:function(c,k,h){var P=this,S=P.chart,O=S.chartArea,L=S.options,C=L.animation,R=(O.left+O.right)/2,Y=(O.top+O.bottom)/2,W=L.rotation,G=L.rotation,ae=P.getDataset(),fe=h&&C.animateRotate||c.hidden?0:P.calculateCircumference(ae.data[k])*(L.circumference/(2*Math.PI));D.extend(c,{_datasetIndex:P.index,_index:k,_model:{x:R+S.offsetX,y:Y+S.offsetY,startAngle:W,endAngle:G,circumference:fe,outerRadius:h&&C.animateScale?0:P.outerRadius,innerRadius:h&&C.animateScale?0:P.innerRadius,label:(0,D.valueAtIndexOrDefault)(ae.label,k,S.data.labels[k])}});var ne=c._model;this.removeHoverStyle(c),(!h||!C.animateRotate)&&(ne.startAngle=0===k?L.rotation:P.getMeta().data[k-1]._model.endAngle,ne.endAngle=ne.startAngle+ne.circumference),c.pivot()},removeHoverStyle:function(c){_.DatasetController.prototype.removeHoverStyle.call(this,c,this.chart.options.elements.arc)},calculateTotal:function(){var P,c=this.getDataset(),k=this.getMeta(),h=0;return D.each(k.data,function(S,O){P=c.data[O],!isNaN(P)&&!S.hidden&&(h+=Math.abs(P))}),h},calculateCircumference:function(c){var k=this.getMeta().total;return k>0&&!isNaN(c)?2*Math.PI*(Math.abs(c)/k):0},getMaxBorderWidth:function(c){for(var S,O,k=0,h=this.index,P=c.length,L=0;L(k=(S=c[L]._model?c[L]._model.borderWidth:0)>k?S:k)?O:k;return k}})}},99983:function(ge,ke,B){"use strict";var x=B(46566),w=B(82561),D=B(74060);x._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),ge.exports=function(_){function f(c,k){return D.valueOrDefault(c.showLine,k.showLines)}_.controllers.line=_.DatasetController.extend({datasetElementType:w.Line,dataElementType:w.Point,update:function(k){var Y,W,G,h=this,P=h.getMeta(),S=P.dataset,O=P.data||[],L=h.chart.options,C=L.elements.line,R=h.getScaleForId(P.yAxisID),ae=h.getDataset(),fe=f(ae,L);for(fe&&(G=S.custom||{},void 0!==ae.tension&&void 0===ae.lineTension&&(ae.lineTension=ae.tension),S._scale=R,S._datasetIndex=h.index,S._children=O,S._model={spanGaps:ae.spanGaps?ae.spanGaps:L.spanGaps,tension:G.tension?G.tension:D.valueOrDefault(ae.lineTension,C.tension),backgroundColor:G.backgroundColor?G.backgroundColor:ae.backgroundColor||C.backgroundColor,borderWidth:G.borderWidth?G.borderWidth:ae.borderWidth||C.borderWidth,borderColor:G.borderColor?G.borderColor:ae.borderColor||C.borderColor,borderCapStyle:G.borderCapStyle?G.borderCapStyle:ae.borderCapStyle||C.borderCapStyle,borderDash:G.borderDash?G.borderDash:ae.borderDash||C.borderDash,borderDashOffset:G.borderDashOffset?G.borderDashOffset:ae.borderDashOffset||C.borderDashOffset,borderJoinStyle:G.borderJoinStyle?G.borderJoinStyle:ae.borderJoinStyle||C.borderJoinStyle,fill:G.fill?G.fill:void 0!==ae.fill?ae.fill:C.fill,steppedLine:G.steppedLine?G.steppedLine:D.valueOrDefault(ae.steppedLine,C.stepped),cubicInterpolationMode:G.cubicInterpolationMode?G.cubicInterpolationMode:D.valueOrDefault(ae.cubicInterpolationMode,C.cubicInterpolationMode)},S.pivot()),Y=0,W=O.length;Y');var k=f.data,h=k.datasets,P=k.labels;if(h.length)for(var S=0;S'),P[S]&&c.push(P[S]),c.push("");return c.push(""),c.join("")},legend:{labels:{generateLabels:function(f){var c=f.data;return c.labels.length&&c.datasets.length?c.labels.map(function(k,h){var P=f.getDatasetMeta(0),S=c.datasets[0],L=P.data[h].custom||{},C=D.valueAtIndexOrDefault,R=f.options.elements.arc;return{text:k,fillStyle:L.backgroundColor?L.backgroundColor:C(S.backgroundColor,h,R.backgroundColor),strokeStyle:L.borderColor?L.borderColor:C(S.borderColor,h,R.borderColor),lineWidth:L.borderWidth?L.borderWidth:C(S.borderWidth,h,R.borderWidth),hidden:isNaN(S.data[h])||P.data[h].hidden,index:h}}):[]}},onClick:function(f,c){var P,S,O,k=c.index,h=this.chart;for(P=0,S=(h.data.datasets||[]).length;P0&&!isNaN(c)?2*Math.PI/k:0}})}},41088:function(ge,ke,B){"use strict";var x=B(46566),w=B(82561),D=B(74060);x._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),ge.exports=function(_){_.controllers.radar=_.DatasetController.extend({datasetElementType:w.Line,dataElementType:w.Point,linkScales:D.noop,update:function(c){var k=this,h=k.getMeta(),S=h.data,O=h.dataset.custom||{},L=k.getDataset(),C=k.chart.options.elements.line,R=k.chart.scale;void 0!==L.tension&&void 0===L.lineTension&&(L.lineTension=L.tension),D.extend(h.dataset,{_datasetIndex:k.index,_scale:R,_children:S,_loop:!0,_model:{tension:O.tension?O.tension:D.valueOrDefault(L.lineTension,C.tension),backgroundColor:O.backgroundColor?O.backgroundColor:L.backgroundColor||C.backgroundColor,borderWidth:O.borderWidth?O.borderWidth:L.borderWidth||C.borderWidth,borderColor:O.borderColor?O.borderColor:L.borderColor||C.borderColor,fill:O.fill?O.fill:void 0!==L.fill?L.fill:C.fill,borderCapStyle:O.borderCapStyle?O.borderCapStyle:L.borderCapStyle||C.borderCapStyle,borderDash:O.borderDash?O.borderDash:L.borderDash||C.borderDash,borderDashOffset:O.borderDashOffset?O.borderDashOffset:L.borderDashOffset||C.borderDashOffset,borderJoinStyle:O.borderJoinStyle?O.borderJoinStyle:L.borderJoinStyle||C.borderJoinStyle}}),h.dataset.pivot(),D.each(S,function(Y,W){k.updateElement(Y,W,c)},k),k.updateBezierControlPoints()},updateElement:function(c,k,h){var P=this,S=c.custom||{},O=P.getDataset(),L=P.chart.scale,C=P.chart.options.elements.point,R=L.getPointPositionForValue(k,O.data[k]);void 0!==O.radius&&void 0===O.pointRadius&&(O.pointRadius=O.radius),void 0!==O.hitRadius&&void 0===O.pointHitRadius&&(O.pointHitRadius=O.hitRadius),D.extend(c,{_datasetIndex:P.index,_index:k,_scale:L,_model:{x:h?L.xCenter:R.x,y:h?L.yCenter:R.y,tension:S.tension?S.tension:D.valueOrDefault(O.lineTension,P.chart.options.elements.line.tension),radius:S.radius?S.radius:D.valueAtIndexOrDefault(O.pointRadius,k,C.radius),backgroundColor:S.backgroundColor?S.backgroundColor:D.valueAtIndexOrDefault(O.pointBackgroundColor,k,C.backgroundColor),borderColor:S.borderColor?S.borderColor:D.valueAtIndexOrDefault(O.pointBorderColor,k,C.borderColor),borderWidth:S.borderWidth?S.borderWidth:D.valueAtIndexOrDefault(O.pointBorderWidth,k,C.borderWidth),pointStyle:S.pointStyle?S.pointStyle:D.valueAtIndexOrDefault(O.pointStyle,k,C.pointStyle),hitRadius:S.hitRadius?S.hitRadius:D.valueAtIndexOrDefault(O.pointHitRadius,k,C.hitRadius)}}),c._model.skip=S.skip?S.skip:isNaN(c._model.x)||isNaN(c._model.y)},updateBezierControlPoints:function(){var c=this.chart.chartArea,k=this.getMeta();D.each(k.data,function(h,P){var S=h._model,O=D.splineCurve(D.previousItem(k.data,P,!0)._model,S,D.nextItem(k.data,P,!0)._model,S.tension);S.controlPointPreviousX=Math.max(Math.min(O.previous.x,c.right),c.left),S.controlPointPreviousY=Math.max(Math.min(O.previous.y,c.bottom),c.top),S.controlPointNextX=Math.max(Math.min(O.next.x,c.right),c.left),S.controlPointNextY=Math.max(Math.min(O.next.y,c.bottom),c.top),h.pivot()})},setHoverStyle:function(c){var k=this.chart.data.datasets[c._datasetIndex],h=c.custom||{},P=c._index,S=c._model;S.radius=h.hoverRadius?h.hoverRadius:D.valueAtIndexOrDefault(k.pointHoverRadius,P,this.chart.options.elements.point.hoverRadius),S.backgroundColor=h.hoverBackgroundColor?h.hoverBackgroundColor:D.valueAtIndexOrDefault(k.pointHoverBackgroundColor,P,D.getHoverColor(S.backgroundColor)),S.borderColor=h.hoverBorderColor?h.hoverBorderColor:D.valueAtIndexOrDefault(k.pointHoverBorderColor,P,D.getHoverColor(S.borderColor)),S.borderWidth=h.hoverBorderWidth?h.hoverBorderWidth:D.valueAtIndexOrDefault(k.pointHoverBorderWidth,P,S.borderWidth)},removeHoverStyle:function(c){var k=this.chart.data.datasets[c._datasetIndex],h=c.custom||{},P=c._index,S=c._model,O=this.chart.options.elements.point;S.radius=h.radius?h.radius:D.valueAtIndexOrDefault(k.pointRadius,P,O.radius),S.backgroundColor=h.backgroundColor?h.backgroundColor:D.valueAtIndexOrDefault(k.pointBackgroundColor,P,O.backgroundColor),S.borderColor=h.borderColor?h.borderColor:D.valueAtIndexOrDefault(k.pointBorderColor,P,O.borderColor),S.borderWidth=h.borderWidth?h.borderWidth:D.valueAtIndexOrDefault(k.pointBorderWidth,P,O.borderWidth)}})}},11396:function(ge,ke,B){"use strict";B(46566)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(D){return"("+D.xLabel+", "+D.yLabel+")"}}}}),ge.exports=function(w){w.controllers.scatter=w.controllers.line}},78723:function(ge,ke,B){"use strict";var x=B(46566),w=B(33399),D=B(74060);x._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:D.noop,onComplete:D.noop}}),ge.exports=function(_){_.Animation=w.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),_.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(c,k,h,P){var O,L,S=this.animations;for(k.chart=c,P||(c.animating=!0),O=0,L=S.length;O1&&(h=Math.floor(c.dropFrames),c.dropFrames=c.dropFrames%1),c.advance(1+h);var P=Date.now();c.dropFrames+=(P-k)/c.frameDuration,c.animations.length>0&&c.requestAnimationFrame()},advance:function(c){for(var h,P,k=this.animations,S=0;S=h.numSteps?(D.callback(h.onAnimationComplete,[h],P),P.animating=!1,k.splice(S,1)):++S}},Object.defineProperty(_.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(_.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(c){this.chart=c}})}},88034:function(ge,ke,B){"use strict";var x=B(46566),w=B(74060),D=B(5781),_=B(71382),f=B(28341),c=B(8598);ge.exports=function(k){function P(O){var L=O.options;w.each(O.scales,function(C){_.removeBox(O,C)}),L=w.configMerge(k.defaults.global,k.defaults[O.config.type],L),O.options=O.config.options=L,O.ensureScalesHaveIDs(),O.buildOrUpdateScales(),O.tooltip._options=L.tooltips,O.tooltip.initialize()}function S(O){return"top"===O||"bottom"===O}k.types={},k.instances={},k.controllers={},w.extend(k.prototype,{construct:function(L,C){var R=this;C=function(O){var L=(O=O||{}).data=O.data||{};return L.datasets=L.datasets||[],L.labels=L.labels||[],O.options=w.configMerge(x.global,x[O.type],O.options||{}),O}(C);var Y=f.acquireContext(L,C),W=Y&&Y.canvas,G=W&&W.height,ae=W&&W.width;R.id=w.uid(),R.ctx=Y,R.canvas=W,R.config=C,R.width=ae,R.height=G,R.aspectRatio=G?ae/G:null,R.options=C.options,R._bufferedRender=!1,R.chart=R,R.controller=R,k.instances[R.id]=R,Object.defineProperty(R,"data",{get:function(){return R.config.data},set:function(te){R.config.data=te}}),Y&&W?(R.initialize(),R.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var L=this;return c.notify(L,"beforeInit"),w.retinaScale(L,L.options.devicePixelRatio),L.bindEvents(),L.options.responsive&&L.resize(!0),L.ensureScalesHaveIDs(),L.buildOrUpdateScales(),L.initToolTip(),c.notify(L,"afterInit"),L},clear:function(){return w.canvas.clear(this),this},stop:function(){return k.animationService.cancelAnimation(this),this},resize:function(L){var C=this,R=C.options,Y=C.canvas,W=R.maintainAspectRatio&&C.aspectRatio||null,G=Math.max(0,Math.floor(w.getMaximumWidth(Y))),ae=Math.max(0,Math.floor(W?G/W:w.getMaximumHeight(Y)));if((C.width!==G||C.height!==ae)&&(Y.width=C.width=G,Y.height=C.height=ae,Y.style.width=G+"px",Y.style.height=ae+"px",w.retinaScale(C,R.devicePixelRatio),!L)){var fe={width:G,height:ae};c.notify(C,"resize",[fe]),C.options.onResize&&C.options.onResize(C,fe),C.stop(),C.update(C.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var L=this.options,C=L.scales||{},R=L.scale;w.each(C.xAxes,function(Y,W){Y.id=Y.id||"x-axis-"+W}),w.each(C.yAxes,function(Y,W){Y.id=Y.id||"y-axis-"+W}),R&&(R.id=R.id||"scale")},buildOrUpdateScales:function(){var L=this,C=L.options,R=L.scales||{},Y=[],W=Object.keys(R).reduce(function(G,ae){return G[ae]=!1,G},{});C.scales&&(Y=Y.concat((C.scales.xAxes||[]).map(function(G){return{options:G,dtype:"category",dposition:"bottom"}}),(C.scales.yAxes||[]).map(function(G){return{options:G,dtype:"linear",dposition:"left"}}))),C.scale&&Y.push({options:C.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),w.each(Y,function(G){var ae=G.options,fe=ae.id,te=w.valueOrDefault(ae.type,G.dtype);S(ae.position)!==S(G.dposition)&&(ae.position=G.dposition),W[fe]=!0;var Q=null;if(fe in R&&R[fe].type===te)(Q=R[fe]).options=ae,Q.ctx=L.ctx,Q.chart=L;else{var ce=k.scaleService.getScaleConstructor(te);if(!ce)return;Q=new ce({id:fe,type:te,options:ae,ctx:L.ctx,chart:L}),R[Q.id]=Q}Q.mergeTicksOptions(),G.isDefault&&(L.scale=Q)}),w.each(W,function(G,ae){G||delete R[ae]}),L.scales=R,k.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var L=this,C=[],R=[];return w.each(L.data.datasets,function(Y,W){var G=L.getDatasetMeta(W),ae=Y.type||L.config.type;if(G.type&&G.type!==ae&&(L.destroyDatasetMeta(W),G=L.getDatasetMeta(W)),G.type=ae,C.push(G.type),G.controller)G.controller.updateIndex(W),G.controller.linkScales();else{var fe=k.controllers[G.type];if(void 0===fe)throw new Error('"'+G.type+'" is not a chart type.');G.controller=new fe(L,W),R.push(G.controller)}},L),R},resetElements:function(){var L=this;w.each(L.data.datasets,function(C,R){L.getDatasetMeta(R).controller.reset()},L)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(L){var C=this;if((!L||"object"!=typeof L)&&(L={duration:L,lazy:arguments[1]}),P(C),c._invalidate(C),!1!==c.notify(C,"beforeUpdate")){C.tooltip._data=C.data;var R=C.buildOrUpdateControllers();w.each(C.data.datasets,function(Y,W){C.getDatasetMeta(W).controller.buildOrUpdateElements()},C),C.updateLayout(),C.options.animation&&C.options.animation.duration&&w.each(R,function(Y){Y.reset()}),C.updateDatasets(),C.tooltip.initialize(),C.lastActive=[],c.notify(C,"afterUpdate"),C._bufferedRender?C._bufferedRequest={duration:L.duration,easing:L.easing,lazy:L.lazy}:C.render(L)}},updateLayout:function(){var L=this;!1!==c.notify(L,"beforeLayout")&&(_.update(this,this.width,this.height),c.notify(L,"afterScaleUpdate"),c.notify(L,"afterLayout"))},updateDatasets:function(){var L=this;if(!1!==c.notify(L,"beforeDatasetsUpdate")){for(var C=0,R=L.data.datasets.length;C=0;--R)C.isDatasetVisible(R)&&C.drawDataset(R,L);c.notify(C,"afterDatasetsDraw",[L])}},drawDataset:function(L,C){var R=this,Y=R.getDatasetMeta(L),W={meta:Y,index:L,easingValue:C};!1!==c.notify(R,"beforeDatasetDraw",[W])&&(Y.controller.draw(C),c.notify(R,"afterDatasetDraw",[W]))},_drawTooltip:function(L){var C=this,R=C.tooltip,Y={tooltip:R,easingValue:L};!1!==c.notify(C,"beforeTooltipDraw",[Y])&&(R.draw(),c.notify(C,"afterTooltipDraw",[Y]))},getElementAtEvent:function(L){return D.modes.single(this,L)},getElementsAtEvent:function(L){return D.modes.label(this,L,{intersect:!0})},getElementsAtXAxis:function(L){return D.modes["x-axis"](this,L,{intersect:!0})},getElementsAtEventForMode:function(L,C,R){var Y=D.modes[C];return"function"==typeof Y?Y(this,L,R):[]},getDatasetAtEvent:function(L){return D.modes.dataset(this,L,{intersect:!0})},getDatasetMeta:function(L){var C=this,R=C.data.datasets[L];R._meta||(R._meta={});var Y=R._meta[C.id];return Y||(Y=R._meta[C.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),Y},getVisibleDatasetCount:function(){for(var L=0,C=0,R=this.data.datasets.length;C0)&&(D.forEach(function(O){delete c[O]}),delete c._chartjs)}}w.DatasetController=function(c,k){this.initialize(c,k)},x.extend(w.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(k,h){var P=this;P.chart=k,P.index=h,P.linkScales(),P.addElements()},updateIndex:function(k){this.index=k},linkScales:function(){var k=this,h=k.getMeta(),P=k.getDataset();(null===h.xAxisID||!(h.xAxisID in k.chart.scales))&&(h.xAxisID=P.xAxisID||k.chart.options.scales.xAxes[0].id),(null===h.yAxisID||!(h.yAxisID in k.chart.scales))&&(h.yAxisID=P.yAxisID||k.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(k){return this.chart.scales[k]},reset:function(){this.update(!0)},destroy:function(){this._data&&f(this._data,this)},createMetaDataset:function(){var k=this,h=k.datasetElementType;return h&&new h({_chart:k.chart,_datasetIndex:k.index})},createMetaData:function(k){var h=this,P=h.dataElementType;return P&&new P({_chart:h.chart,_datasetIndex:h.index,_index:k})},addElements:function(){var O,L,k=this,h=k.getMeta(),P=k.getDataset().data||[],S=h.data;for(O=0,L=P.length;OS&&k.insertElements(S,O-S)},insertElements:function(k,h){for(var P=0;P=S[P].length&&S[P].push({}),D.merge(S[P][R],!S[P][R].type||W.type&&W.type!==S[P][R].type?[_.scaleService.getScaleDefaults(Y),W]:W)}else D._merger(P,S,O,L)}})},D.where=function(h,P){if(D.isArray(h)&&Array.prototype.filter)return h.filter(P);var S=[];return D.each(h,function(O){P(O)&&S.push(O)}),S},D.findIndex=Array.prototype.findIndex?function(h,P,S){return h.findIndex(P,S)}:function(h,P,S){S=void 0===S?h:S;for(var O=0,L=h.length;O=0;O--){var L=h[O];if(P(L))return L}},D.isNumber=function(h){return!isNaN(parseFloat(h))&&isFinite(h)},D.almostEquals=function(h,P,S){return Math.abs(h-P)h},D.max=function(h){return h.reduce(function(P,S){return isNaN(S)?P:Math.max(P,S)},Number.NEGATIVE_INFINITY)},D.min=function(h){return h.reduce(function(P,S){return isNaN(S)?P:Math.min(P,S)},Number.POSITIVE_INFINITY)},D.sign=Math.sign?function(h){return Math.sign(h)}:function(h){return 0==(h=+h)||isNaN(h)?h:h>0?1:-1},D.log10=Math.log10?function(h){return Math.log10(h)}:function(h){var P=Math.log(h)*Math.LOG10E,S=Math.round(P);return h===Math.pow(10,S)?S:P},D.toRadians=function(h){return h*(Math.PI/180)},D.toDegrees=function(h){return h*(180/Math.PI)},D.getAngleFromPoint=function(h,P){var S=P.x-h.x,O=P.y-h.y,L=Math.sqrt(S*S+O*O),C=Math.atan2(O,S);return C<-.5*Math.PI&&(C+=2*Math.PI),{angle:C,distance:L}},D.distanceBetweenPoints=function(h,P){return Math.sqrt(Math.pow(P.x-h.x,2)+Math.pow(P.y-h.y,2))},D.aliasPixel=function(h){return h%2==0?0:.5},D.splineCurve=function(h,P,S,O){var L=h.skip?P:h,C=P,R=S.skip?P:S,Y=Math.sqrt(Math.pow(C.x-L.x,2)+Math.pow(C.y-L.y,2)),W=Math.sqrt(Math.pow(R.x-C.x,2)+Math.pow(R.y-C.y,2)),G=Y/(Y+W),ae=W/(Y+W),fe=O*(G=isNaN(G)?0:G),te=O*(ae=isNaN(ae)?0:ae);return{previous:{x:C.x-fe*(R.x-L.x),y:C.y-fe*(R.y-L.y)},next:{x:C.x+te*(R.x-L.x),y:C.y+te*(R.y-L.y)}}},D.EPSILON=Number.EPSILON||1e-14,D.splineCurveMonotone=function(h){var O,L,C,R,W,G,ae,fe,te,P=(h||[]).map(function(Q){return{model:Q._model,deltaK:0,mK:0}}),S=P.length;for(O=0;O0?P[O-1]:null,(R=O0?P[O-1]:null)&&!L.model.skip&&(C.model.controlPointPreviousX=C.model.x-(te=(C.model.x-L.model.x)/3),C.model.controlPointPreviousY=C.model.y-te*C.mK),R&&!R.model.skip&&(C.model.controlPointNextX=C.model.x+(te=(R.model.x-C.model.x)/3),C.model.controlPointNextY=C.model.y+te*C.mK))},D.nextItem=function(h,P,S){return S?P>=h.length-1?h[0]:h[P+1]:P>=h.length-1?h[h.length-1]:h[P+1]},D.previousItem=function(h,P,S){return S?P<=0?h[h.length-1]:h[P-1]:P<=0?h[0]:h[P-1]},D.niceNum=function(h,P){var S=Math.floor(D.log10(h)),O=h/Math.pow(10,S);return(P?O<1.5?1:O<3?2:O<7?5:10:O<=1?1:O<=2?2:O<=5?5:10)*Math.pow(10,S)},D.requestAnimFrame="undefined"==typeof window?function(h){h()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(h){return window.setTimeout(h,1e3/60)},D.getRelativePosition=function(h,P){var S,O,L=h.originalEvent||h,C=h.currentTarget||h.srcElement,R=C.getBoundingClientRect(),Y=L.touches;Y&&Y.length>0?(S=Y[0].clientX,O=Y[0].clientY):(S=L.clientX,O=L.clientY);var W=parseFloat(D.getStyle(C,"padding-left")),G=parseFloat(D.getStyle(C,"padding-top")),ae=parseFloat(D.getStyle(C,"padding-right")),fe=parseFloat(D.getStyle(C,"padding-bottom")),Q=R.bottom-R.top-G-fe;return{x:S=Math.round((S-R.left-W)/(R.right-R.left-W-ae)*C.width/P.currentDevicePixelRatio),y:O=Math.round((O-R.top-G)/Q*C.height/P.currentDevicePixelRatio)}},D.getConstraintWidth=function(h){return k(h,"max-width","clientWidth")},D.getConstraintHeight=function(h){return k(h,"max-height","clientHeight")},D.getMaximumWidth=function(h){var P=h.parentNode;if(!P)return h.clientWidth;var S=parseInt(D.getStyle(P,"padding-left"),10),O=parseInt(D.getStyle(P,"padding-right"),10),L=P.clientWidth-S-O,C=D.getConstraintWidth(h);return isNaN(C)?L:Math.min(L,C)},D.getMaximumHeight=function(h){var P=h.parentNode;if(!P)return h.clientHeight;var S=parseInt(D.getStyle(P,"padding-top"),10),O=parseInt(D.getStyle(P,"padding-bottom"),10),L=P.clientHeight-S-O,C=D.getConstraintHeight(h);return isNaN(C)?L:Math.min(L,C)},D.getStyle=function(h,P){return h.currentStyle?h.currentStyle[P]:document.defaultView.getComputedStyle(h,null).getPropertyValue(P)},D.retinaScale=function(h,P){var S=h.currentDevicePixelRatio=P||window.devicePixelRatio||1;if(1!==S){var O=h.canvas,L=h.height,C=h.width;O.height=L*S,O.width=C*S,h.ctx.scale(S,S),!O.style.height&&!O.style.width&&(O.style.height=L+"px",O.style.width=C+"px")}},D.fontString=function(h,P,S){return P+" "+h+"px "+S},D.longestText=function(h,P,S,O){var L=(O=O||{}).data=O.data||{},C=O.garbageCollect=O.garbageCollect||[];O.font!==P&&(L=O.data={},C=O.garbageCollect=[],O.font=P),h.font=P;var R=0;D.each(S,function(G){null!=G&&!0!==D.isArray(G)?R=D.measureText(h,L,C,R,G):D.isArray(G)&&D.each(G,function(ae){null!=ae&&!D.isArray(ae)&&(R=D.measureText(h,L,C,R,ae))})});var Y=C.length/2;if(Y>S.length){for(var W=0;WO&&(O=C),O},D.numberOfLabelLines=function(h){var P=1;return D.each(h,function(S){D.isArray(S)&&S.length>P&&(P=S.length)}),P},D.color=x?function(h){return h instanceof CanvasGradient&&(h=w.global.defaultColor),x(h)}:function(h){return console.error("Color.js not found!"),h},D.getHoverColor=function(h){return h instanceof CanvasPattern?h:D.color(h).saturate(.5).darken(.1).rgbString()}}},5781:function(ge,ke,B){"use strict";var x=B(74060);function w(h,P){return h.native?{x:h.x,y:h.y}:x.getRelativePosition(h,P)}function D(h,P){var O,L,C,R,Y;for(L=0,R=h.data.datasets.length;L0&&(R=P.getDatasetMeta(R[0]._datasetIndex).data),R},"x-axis":function(P,S){return k(P,S,{intersect:!1})},point:function(P,S){return _(P,w(S,P))},nearest:function(P,S,O){var L=w(S,P);O.axis=O.axis||"xy";var C=c(O.axis),R=f(P,L,O.intersect,C);return R.length>1&&R.sort(function(Y,W){var fe=Y.getArea()-W.getArea();return 0===fe&&(fe=Y._datasetIndex-W._datasetIndex),fe}),R.slice(0,1)},x:function(P,S,O){var L=w(S,P),C=[],R=!1;return D(P,function(Y){Y.inXRange(L.x)&&C.push(Y),Y.inRange(L.x,L.y)&&(R=!0)}),O.intersect&&!R&&(C=[]),C},y:function(P,S,O){var L=w(S,P),C=[],R=!1;return D(P,function(Y){Y.inYRange(L.y)&&C.push(Y),Y.inRange(L.x,L.y)&&(R=!0)}),O.intersect&&!R&&(C=[]),C}}}},47753:function(ge,ke,B){"use strict";B(46566)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),ge.exports=function(){var w=function(_,f){return this.construct(_,f),this};return w.Chart=w,w}},71382:function(ge,ke,B){"use strict";var x=B(74060);function w(_,f){return x.where(_,function(c){return c.position===f})}function D(_,f){_.forEach(function(c,k){return c._tmpIndex_=k,c}),_.sort(function(c,k){var h=f?k:c,P=f?c:k;return h.weight===P.weight?h._tmpIndex_-P._tmpIndex_:h.weight-P.weight}),_.forEach(function(c){delete c._tmpIndex_})}ge.exports={defaults:{},addBox:function(f,c){f.boxes||(f.boxes=[]),c.fullWidth=c.fullWidth||!1,c.position=c.position||"top",c.weight=c.weight||0,f.boxes.push(c)},removeBox:function(f,c){var k=f.boxes?f.boxes.indexOf(c):-1;-1!==k&&f.boxes.splice(k,1)},configure:function(f,c,k){for(var O,h=["fullWidth","position","weight"],P=h.length,S=0;Sce&&GL.maxHeight){G--;break}G++,fe=te*ae}L.labelRotation=G},afterCalculateTickRotation:function(){D.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){D.callback(this.options.beforeFit,[this])},fit:function(){var L=this,C=L.minSize={width:0,height:0},R=f(L._ticks),Y=L.options,W=Y.ticks,G=Y.scaleLabel,ae=Y.gridLines,fe=Y.display,te=L.isHorizontal(),Q=P(W),ce=Y.gridLines.tickMarkLength;if(C.width=te?L.isFullWidth()?L.maxWidth-L.margins.left-L.margins.right:L.maxWidth:fe&&ae.drawTicks?ce:0,C.height=te?fe&&ae.drawTicks?ce:0:L.maxHeight,G.display&&fe){var re=S(G)+D.options.toPadding(G.padding).height;te?C.height+=re:C.width+=re}if(W.display&&fe){var se=D.longestText(L.ctx,Q.font,R,L.longestTextCache),ue=D.numberOfLabelLines(R),ee=.5*Q.size,Ee=L.options.ticks.padding;if(te){L.longestLabelWidth=se;var Pe=D.toRadians(L.labelRotation),Fe=Math.cos(Pe),Be=Math.sin(Pe);C.height=Math.min(L.maxHeight,C.height+(Be*se+Q.size*ue+ee*(ue-1)+ee)+Ee),L.ctx.font=Q.font;var tt=h(L.ctx,R[0],Q.font),He=h(L.ctx,R[R.length-1],Q.font);0!==L.labelRotation?(L.paddingLeft="bottom"===Y.position?Fe*tt+3:Fe*ee+3,L.paddingRight="bottom"===Y.position?Fe*ee+3:Fe*He+3):(L.paddingLeft=tt/2+3,L.paddingRight=He/2+3)}else W.mirror?se=0:se+=Ee+ee,C.width=Math.min(L.maxWidth,C.width+se),L.paddingTop=Q.size/2,L.paddingBottom=Q.size/2}L.handleMargins(),L.width=C.width,L.height=C.height},handleMargins:function(){var L=this;L.margins&&(L.paddingLeft=Math.max(L.paddingLeft-L.margins.left,0),L.paddingTop=Math.max(L.paddingTop-L.margins.top,0),L.paddingRight=Math.max(L.paddingRight-L.margins.right,0),L.paddingBottom=Math.max(L.paddingBottom-L.margins.bottom,0))},afterFit:function(){D.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(L){if(D.isNullOrUndef(L))return NaN;if("number"==typeof L&&!isFinite(L))return NaN;if(L)if(this.isHorizontal()){if(void 0!==L.x)return this.getRightValue(L.x)}else if(void 0!==L.y)return this.getRightValue(L.y);return L},getLabelForIndex:D.noop,getPixelForValue:D.noop,getValueForPixel:D.noop,getPixelForTick:function(L){var C=this,R=C.options.offset;if(C.isHorizontal()){var W=(C.width-(C.paddingLeft+C.paddingRight))/Math.max(C._ticks.length-(R?0:1),1),G=W*L+C.paddingLeft;return R&&(G+=W/2),C.left+Math.round(G)+(C.isFullWidth()?C.margins.left:0)}return C.top+L*((C.height-(C.paddingTop+C.paddingBottom))/(C._ticks.length-1))},getPixelForDecimal:function(L){var C=this;return C.isHorizontal()?C.left+Math.round((C.width-(C.paddingLeft+C.paddingRight))*L+C.paddingLeft)+(C.isFullWidth()?C.margins.left:0):C.top+L*C.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var L=this,C=L.min,R=L.max;return L.beginAtZero?0:C<0&&R<0?R:C>0&&R>0?C:0},_autoSkip:function(L){var C,ce,ne,re,R=this,Y=R.isHorizontal(),W=R.options.ticks.minor,G=L.length,ae=D.toRadians(R.labelRotation),fe=Math.cos(ae),te=R.longestLabelWidth*fe,Q=[];for(W.maxTicksLimit&&(re=W.maxTicksLimit),Y&&(C=!1,(te+W.autoSkipPadding)*G>R.width-(R.paddingLeft+R.paddingRight)&&(C=1+Math.floor((te+W.autoSkipPadding)*G/(R.width-(R.paddingLeft+R.paddingRight)))),re&&G>re&&(C=Math.max(C,Math.floor(G/re)))),ce=0;ce1&&ce%C>0||ce%C==0&&ce+C>=G)&&ce!==G-1&&delete ne.label,Q.push(ne);return Q},draw:function(L){var C=this,R=C.options;if(R.display){var Y=C.ctx,W=x.global,G=R.ticks.minor,ae=R.ticks.major||G,fe=R.gridLines,te=R.scaleLabel,Q=0!==C.labelRotation,ce=C.isHorizontal(),ne=G.autoSkip?C._autoSkip(C.getTicks()):C.getTicks(),Z=D.valueOrDefault(G.fontColor,W.defaultFontColor),re=P(G),se=D.valueOrDefault(ae.fontColor,W.defaultFontColor),ue=P(ae),ee=fe.drawTicks?fe.tickMarkLength:0,Ee=D.valueOrDefault(te.fontColor,W.defaultFontColor),Pe=P(te),Fe=D.options.toPadding(te.padding),Be=D.toRadians(C.labelRotation),Je=[],tt=C.options.gridLines.lineWidth,He="right"===R.position?C.right:C.right-tt-ee,lt="right"===R.position?C.right+ee:C.right,Nt="bottom"===R.position?C.top+tt:C.bottom-ee-tt,jt="bottom"===R.position?C.top+tt+ee:C.bottom+tt;if(D.each(ne,function(de,ve){if(!D.isNullOrUndef(de.label)){var Me,ye,De,Le,me=de.label;ve===C.zeroLineIndex&&R.offset===fe.offsetGridLines?(Me=fe.zeroLineWidth,ye=fe.zeroLineColor,De=fe.zeroLineBorderDash,Le=fe.zeroLineBorderDashOffset):(Me=D.valueAtIndexOrDefault(fe.lineWidth,ve),ye=D.valueAtIndexOrDefault(fe.color,ve),De=D.valueOrDefault(fe.borderDash,W.borderDash),Le=D.valueOrDefault(fe.borderDashOffset,W.borderDashOffset));var xe,Ie,ct,ft,rt,gn,In,Rt,Ut,Kn,Vn="middle",ya="middle",zi=G.padding;if(ce){var yr=ee+zi;"bottom"===R.position?(ya=Q?"middle":"top",Vn=Q?"right":"center",Kn=C.top+yr):(ya=Q?"middle":"bottom",Vn=Q?"left":"center",Kn=C.bottom-yr);var qt=c(C,ve,fe.offsetGridLines&&ne.length>1);qt1);$e3?f[2]-f[1]:f[1]-f[0];Math.abs(c)>1&&D!==Math.floor(D)&&(c=D-Math.floor(D));var k=x.log10(Math.abs(c)),h="";if(0!==D){var P=-1*Math.floor(k);P=Math.max(Math.min(P,20),0),h=D.toFixed(P)}else h="0";return h},logarithmic:function(D,_,f){var c=D/Math.pow(10,Math.floor(x.log10(D)));return 0===D?"0":1===c||2===c||5===c||0===_||_===f.length-1?D.toExponential():""}}}},42267:function(ge,ke,B){"use strict";var x=B(46566),w=B(33399),D=B(74060);x._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:D.noop,title:function(f,c){var k="",h=c.labels,P=h?h.length:0;if(f.length>0){var S=f[0];S.xLabel?k=S.xLabel:P>0&&S.indexY.height-C.height&&(ae="bottom");var fe,te,Q,ce,ne,Z=(W.left+W.right)/2,re=(W.top+W.bottom)/2;"center"===ae?(fe=function(ee){return ee<=Z},te=function(ee){return ee>Z}):(fe=function(ee){return ee<=C.width/2},te=function(ee){return ee>=Y.width-C.width/2}),Q=function(ee){return ee+C.width+R.caretSize+R.caretPadding>Y.width},ce=function(ee){return ee-C.width-R.caretSize-R.caretPadding<0},ne=function(ee){return ee<=re?"top":"bottom"},fe(R.x)?(G="left",Q(R.x)&&(G="center",ae=ne(R.y))):te(R.x)&&(G="right",ce(R.x)&&(G="center",ae=ne(R.y)));var se=L._options;return{xAlign:se.xAlign?se.xAlign:G,yAlign:se.yAlign?se.yAlign:ae}}(this,ce=function(L,C){var R=L._chart.ctx,Y=2*C.yPadding,W=0,G=C.body,ae=G.reduce(function(se,ue){return se+ue.before.length+ue.lines.length+ue.after.length},0),fe=C.title.length,te=C.footer.length,Q=C.titleFontSize,ce=C.bodyFontSize,ne=C.footerFontSize;Y+=fe*Q,Y+=fe?(fe-1)*C.titleSpacing:0,Y+=fe?C.titleMarginBottom:0,Y+=(ae+=C.beforeBody.length+C.afterBody.length)*ce,Y+=ae?(ae-1)*C.bodySpacing:0,Y+=te?C.footerMarginTop:0,Y+=te*ne,Y+=te?(te-1)*C.footerSpacing:0;var Z=0,re=function(ue){W=Math.max(W,R.measureText(ue).width+Z)};return R.font=D.fontString(Q,C._titleFontStyle,C._titleFontFamily),D.each(C.title,re),R.font=D.fontString(ce,C._bodyFontStyle,C._bodyFontFamily),D.each(C.beforeBody.concat(C.afterBody),re),Z=C.displayColors?ce+2:0,D.each(G,function(se){D.each(se.before,re),D.each(se.lines,re),D.each(se.after,re)}),Z=0,R.font=D.fontString(ne,C._footerFontStyle,C._footerFontFamily),D.each(C.footer,re),{width:W+=2*C.xPadding,height:Y}}(this,G)),Q=function(L,C,R,Y){var W=L.x,G=L.y,fe=L.caretPadding,Q=R.xAlign,ce=R.yAlign,ne=L.caretSize+fe,Z=L.cornerRadius+fe;return"right"===Q?W-=C.width:"center"===Q&&((W-=C.width/2)+C.width>Y.width&&(W=Y.width-C.width),W<0&&(W=0)),"top"===ce?G+=ne:G-="bottom"===ce?C.height+ne:C.height/2,"center"===ce?"left"===Q?W+=ne:"right"===Q&&(W-=ne):"left"===Q?W-=Z:"right"===Q&&(W+=Z),{x:W,y:G}}(G,ce,te,R._chart)}else G.opacity=0;return G.xAlign=te.xAlign,G.yAlign=te.yAlign,G.x=Q.x,G.y=Q.y,G.width=ce.width,G.height=ce.height,G.caretX=ne.x,G.caretY=ne.y,R._model=G,C&&Y.custom&&Y.custom.call(R,G),R},drawCaret:function(C,R){var Y=this._chart.ctx,G=this.getCaretPosition(C,R,this._view);Y.lineTo(G.x1,G.y1),Y.lineTo(G.x2,G.y2),Y.lineTo(G.x3,G.y3)},getCaretPosition:function(C,R,Y){var W,G,ae,fe,te,Q,ce=Y.caretSize,ne=Y.cornerRadius,Z=Y.xAlign,re=Y.yAlign,se=C.x,ue=C.y,ee=R.width,Ee=R.height;if("center"===re)te=ue+Ee/2,"left"===Z?(G=(W=se)-ce,ae=W,fe=te+ce,Q=te-ce):(G=(W=se+ee)+ce,ae=W,fe=te-ce,Q=te+ce);else if("left"===Z?(W=(G=se+ne+ce)-ce,ae=G+ce):"right"===Z?(W=(G=se+ee-ne-ce)-ce,ae=G+ce):(W=(G=Y.caretX)-ce,ae=G+ce),"top"===re)te=(fe=ue)-ce,Q=fe;else{te=(fe=ue+Ee)+ce,Q=fe;var Pe=ae;ae=W,W=Pe}return{x1:W,x2:G,x3:ae,y1:fe,y2:te,y3:Q}},drawTitle:function(C,R,Y,W){var G=R.title;if(G.length){Y.textAlign=R._titleAlign,Y.textBaseline="top";var te,Q,ae=R.titleFontSize,fe=R.titleSpacing;for(Y.fillStyle=f(R.titleFontColor,W),Y.font=D.fontString(ae,R._titleFontStyle,R._titleFontFamily),te=0,Q=G.length;te0&&Y.stroke()},draw:function(){var C=this._chart.ctx,R=this._view;if(0!==R.opacity){var Y={width:R.width,height:R.height},W={x:R.x,y:R.y},G=Math.abs(R.opacity<.001)?0:R.opacity;this._options.enabled&&(R.title.length||R.beforeBody.length||R.body.length||R.afterBody.length||R.footer.length)&&(this.drawBackground(W,R,C,Y,G),W.x+=R.xPadding,W.y+=R.yPadding,this.drawTitle(W,R,C,G),this.drawBody(W,R,C,G),this.drawFooter(W,R,C,G))}},handleEvent:function(C){var W,R=this,Y=R._options;return R._lastActive=R._lastActive||[],R._active="mouseout"===C.type?[]:R._chart.getElementsAtEventForMode(C,Y.mode,Y),(W=!D.arrayEquals(R._active,R._lastActive))&&(R._lastActive=R._active,(Y.enabled||Y.custom)&&(R._eventPosition={x:C.x,y:C.y},R.update(!0),R.pivot())),W}}),_.Tooltip.positioners={average:function(C){if(!C.length)return!1;var R,Y,W=0,G=0,ae=0;for(R=0,Y=C.length;RL;)P-=2*Math.PI;for(;P=O&&P<=L&&S>=k.innerRadius&&S<=k.outerRadius}return!1},getCenterPoint:function(){var f=this._view,c=(f.startAngle+f.endAngle)/2,k=(f.innerRadius+f.outerRadius)/2;return{x:f.x+Math.cos(c)*k,y:f.y+Math.sin(c)*k}},getArea:function(){var f=this._view;return Math.PI*((f.endAngle-f.startAngle)/(2*Math.PI))*(Math.pow(f.outerRadius,2)-Math.pow(f.innerRadius,2))},tooltipPosition:function(){var f=this._view,c=f.startAngle+(f.endAngle-f.startAngle)/2,k=(f.outerRadius-f.innerRadius)/2+f.innerRadius;return{x:f.x+Math.cos(c)*k,y:f.y+Math.sin(c)*k}},draw:function(){var f=this._chart.ctx,c=this._view,k=c.startAngle,h=c.endAngle;f.beginPath(),f.arc(c.x,c.y,c.outerRadius,k,h),f.arc(c.x,c.y,c.innerRadius,h,k,!0),f.closePath(),f.strokeStyle=c.borderColor,f.lineWidth=c.borderWidth,f.fillStyle=c.backgroundColor,f.fill(),f.lineJoin="bevel",c.borderWidth&&f.stroke()}})},65314:function(ge,ke,B){"use strict";var x=B(46566),w=B(33399),D=B(74060),_=x.global;x._set("global",{elements:{line:{tension:.4,backgroundColor:_.defaultColor,borderWidth:3,borderColor:_.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),ge.exports=w.extend({draw:function(){var C,R,Y,W,c=this,k=c._view,h=c._chart.ctx,P=k.spanGaps,S=c._children.slice(),O=_.elements.line,L=-1;for(c._loop&&S.length&&S.push(S[0]),h.save(),h.lineCap=k.borderCapStyle||O.borderCapStyle,h.setLineDash&&h.setLineDash(k.borderDash||O.borderDash),h.lineDashOffset=k.borderDashOffset||O.borderDashOffset,h.lineJoin=k.borderJoinStyle||O.borderJoinStyle,h.lineWidth=k.borderWidth||O.borderWidth,h.strokeStyle=k.borderColor||_.defaultColor,h.beginPath(),L=-1,C=0;C(h=k.base)?1:-1,C=1,R=k.borderSkipped||"left"):(h=k.x-k.width/2,P=k.x+k.width/2,L=1,C=(O=k.base)>(S=k.y)?1:-1,R=k.borderSkipped||"bottom"),Y){var W=Math.min(Math.abs(h-P),Math.abs(S-O)),G=(Y=Y>W?W:Y)/2,ae=h+("left"!==R?G*L:0),fe=P+("right"!==R?-G*L:0),te=S+("top"!==R?G*C:0),Q=O+("bottom"!==R?-G*C:0);ae!==fe&&(S=te,O=Q),te!==Q&&(h=ae,P=fe)}c.beginPath(),c.fillStyle=k.backgroundColor,c.strokeStyle=k.borderColor,c.lineWidth=Y;var ce=[[h,O],[h,S],[P,S],[P,O]],Z=["bottom","left","top","right"].indexOf(R,0);function re(ee){return ce[(Z+ee)%4]}-1===Z&&(Z=0);var se=re(0);c.moveTo(se[0],se[1]);for(var ue=1;ue<4;ue++)se=re(ue),c.lineTo(se[0],se[1]);c.fill(),Y&&c.stroke()},height:function(){var c=this._view;return c.base-c.y},inRange:function(c,k){var h=!1;if(this._view){var P=_(this);h=c>=P.left&&c<=P.right&&k>=P.top&&k<=P.bottom}return h},inLabelRange:function(c,k){var h=this;if(!h._view)return!1;var S=_(h);return D(h)?c>=S.left&&c<=S.right:k>=S.top&&k<=S.bottom},inXRange:function(c){var k=_(this);return c>=k.left&&c<=k.right},inYRange:function(c){var k=_(this);return c>=k.top&&c<=k.bottom},getCenterPoint:function(){var k,h,c=this._view;return D(this)?(k=c.x,h=(c.y+c.base)/2):(k=(c.x+c.base)/2,h=c.y),{x:k,y:h}},getArea:function(){var c=this._view;return c.width*Math.abs(c.y-c.base)},tooltipPosition:function(){var c=this._view;return{x:c.x,y:c.y}}})},82561:function(ge,ke,B){"use strict";ge.exports={},ge.exports.Arc=B(1245),ge.exports.Line=B(65314),ge.exports.Point=B(9800),ge.exports.Rectangle=B(19837)},72039:function(ge,ke,B){"use strict";var x=B(72853),w=ge.exports={clear:function(_){_.ctx.clearRect(0,0,_.width,_.height)},roundedRect:function(_,f,c,k,h,P){if(P){var S=Math.min(P,k/2),O=Math.min(P,h/2);_.moveTo(f+S,c),_.lineTo(f+k-S,c),_.quadraticCurveTo(f+k,c,f+k,c+O),_.lineTo(f+k,c+h-O),_.quadraticCurveTo(f+k,c+h,f+k-S,c+h),_.lineTo(f+S,c+h),_.quadraticCurveTo(f,c+h,f,c+h-O),_.lineTo(f,c+O),_.quadraticCurveTo(f,c,f+S,c)}else _.rect(f,c,k,h)},drawPoint:function(_,f,c,k,h){var P,S,O,L,C,R;if(!f||"object"!=typeof f||"[object HTMLImageElement]"!==(P=f.toString())&&"[object HTMLCanvasElement]"!==P){if(!(isNaN(c)||c<=0)){switch(f){default:_.beginPath(),_.arc(k,h,c,0,2*Math.PI),_.closePath(),_.fill();break;case"triangle":_.beginPath(),C=(S=3*c/Math.sqrt(3))*Math.sqrt(3)/2,_.moveTo(k-S/2,h+C/3),_.lineTo(k+S/2,h+C/3),_.lineTo(k,h-2*C/3),_.closePath(),_.fill();break;case"rect":R=1/Math.SQRT2*c,_.beginPath(),_.fillRect(k-R,h-R,2*R,2*R),_.strokeRect(k-R,h-R,2*R,2*R);break;case"rectRounded":var Y=c/Math.SQRT2,W=k-Y,G=h-Y,ae=Math.SQRT2*c;_.beginPath(),this.roundedRect(_,W,G,ae,ae,c/2),_.closePath(),_.fill();break;case"rectRot":R=1/Math.SQRT2*c,_.beginPath(),_.moveTo(k-R,h),_.lineTo(k,h+R),_.lineTo(k+R,h),_.lineTo(k,h-R),_.closePath(),_.fill();break;case"cross":_.beginPath(),_.moveTo(k,h+c),_.lineTo(k,h-c),_.moveTo(k-c,h),_.lineTo(k+c,h),_.closePath();break;case"crossRot":_.beginPath(),O=Math.cos(Math.PI/4)*c,L=Math.sin(Math.PI/4)*c,_.moveTo(k-O,h-L),_.lineTo(k+O,h+L),_.moveTo(k-O,h+L),_.lineTo(k+O,h-L),_.closePath();break;case"star":_.beginPath(),_.moveTo(k,h+c),_.lineTo(k,h-c),_.moveTo(k-c,h),_.lineTo(k+c,h),O=Math.cos(Math.PI/4)*c,L=Math.sin(Math.PI/4)*c,_.moveTo(k-O,h-L),_.lineTo(k+O,h+L),_.moveTo(k-O,h+L),_.lineTo(k+O,h-L),_.closePath();break;case"line":_.beginPath(),_.moveTo(k-c,h),_.lineTo(k+c,h),_.closePath();break;case"dash":_.beginPath(),_.moveTo(k,h),_.lineTo(k+c,h),_.closePath()}_.stroke()}}else _.drawImage(f,k-f.width/2,h-f.height/2,f.width,f.height)},clipArea:function(_,f){_.save(),_.beginPath(),_.rect(f.left,f.top,f.right-f.left,f.bottom-f.top),_.clip()},unclipArea:function(_){_.restore()},lineTo:function(_,f,c,k){if(c.steppedLine)return"after"===c.steppedLine&&!k||"after"!==c.steppedLine&&k?_.lineTo(f.x,c.y):_.lineTo(c.x,f.y),void _.lineTo(c.x,c.y);c.tension?_.bezierCurveTo(k?f.controlPointPreviousX:f.controlPointNextX,k?f.controlPointPreviousY:f.controlPointNextY,k?c.controlPointNextX:c.controlPointPreviousX,k?c.controlPointNextY:c.controlPointPreviousY,c.x,c.y):_.lineTo(c.x,c.y)}};x.clear=w.clear,x.drawRoundedRectangle=function(D){D.beginPath(),w.roundedRect.apply(w,arguments),D.closePath()}},72853:function(ge){"use strict";var B,ke={noop:function(){},uid:(B=0,function(){return B++}),isNullOrUndef:function(x){return null==x},isArray:Array.isArray?Array.isArray:function(B){return"[object Array]"===Object.prototype.toString.call(B)},isObject:function(x){return null!==x&&"[object Object]"===Object.prototype.toString.call(x)},valueOrDefault:function(x,w){return void 0===x?w:x},valueAtIndexOrDefault:function(x,w,D){return ke.valueOrDefault(ke.isArray(x)?x[w]:x,D)},callback:function(x,w,D){if(x&&"function"==typeof x.call)return x.apply(D,w)},each:function(x,w,D,_){var f,c,k;if(ke.isArray(x))if(c=x.length,_)for(f=c-1;f>=0;f--)w.call(D,x[f],f);else for(f=0;f=1?_:-(Math.sqrt(1-_*_)-1)},easeOutCirc:function(_){return Math.sqrt(1-(_-=1)*_)},easeInOutCirc:function(_){return(_/=.5)<1?-.5*(Math.sqrt(1-_*_)-1):.5*(Math.sqrt(1-(_-=2)*_)+1)},easeInElastic:function(_){var f=1.70158,c=0,k=1;return 0===_?0:1===_?1:(c||(c=.3),k<1?(k=1,f=c/4):f=c/(2*Math.PI)*Math.asin(1/k),-k*Math.pow(2,10*(_-=1))*Math.sin((_-f)*(2*Math.PI)/c))},easeOutElastic:function(_){var f=1.70158,c=0,k=1;return 0===_?0:1===_?1:(c||(c=.3),k<1?(k=1,f=c/4):f=c/(2*Math.PI)*Math.asin(1/k),k*Math.pow(2,-10*_)*Math.sin((_-f)*(2*Math.PI)/c)+1)},easeInOutElastic:function(_){var f=1.70158,c=0,k=1;return 0===_?0:2==(_/=.5)?1:(c||(c=.45),k<1?(k=1,f=c/4):f=c/(2*Math.PI)*Math.asin(1/k),_<1?k*Math.pow(2,10*(_-=1))*Math.sin((_-f)*(2*Math.PI)/c)*-.5:k*Math.pow(2,-10*(_-=1))*Math.sin((_-f)*(2*Math.PI)/c)*.5+1)},easeInBack:function(_){var f=1.70158;return _*_*((f+1)*_-f)},easeOutBack:function(_){var f=1.70158;return(_-=1)*_*((f+1)*_+f)+1},easeInOutBack:function(_){var f=1.70158;return(_/=.5)<1?_*_*((1+(f*=1.525))*_-f)*.5:.5*((_-=2)*_*((1+(f*=1.525))*_+f)+2)},easeInBounce:function(_){return 1-w.easeOutBounce(1-_)},easeOutBounce:function(_){return _<1/2.75?7.5625*_*_:_<2/2.75?7.5625*(_-=1.5/2.75)*_+.75:_<2.5/2.75?7.5625*(_-=2.25/2.75)*_+.9375:7.5625*(_-=2.625/2.75)*_+.984375},easeInOutBounce:function(_){return _<.5?.5*w.easeInBounce(2*_):.5*w.easeOutBounce(2*_-1)+.5}};ge.exports={effects:w},x.easingEffects=w},30616:function(ge,ke,B){"use strict";var x=B(72853);ge.exports={toLineHeight:function(D,_){var f=(""+D).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!f||"normal"===f[1])return 1.2*_;switch(D=+f[2],f[3]){case"px":return D;case"%":D/=100}return _*D},toPadding:function(D){var _,f,c,k;return x.isObject(D)?(_=+D.top||0,f=+D.right||0,c=+D.bottom||0,k=+D.left||0):_=f=c=k=+D||0,{top:_,right:f,bottom:c,left:k,height:_+c,width:k+f}},resolve:function(D,_,f){var c,k,h;for(c=0,k=D.length;c
';var ee=Z.childNodes[0],Ee=Z.childNodes[1];Z._reset=function(){ee.scrollLeft=se,ee.scrollTop=se,Ee.scrollLeft=se,Ee.scrollTop=se};var Pe=function(){Z._reset(),ne()};return L(ee,"scroll",Pe.bind(ee,"expand")),L(Ee,"scroll",Pe.bind(Ee,"shrink")),Z}(function(ne,Z){var re=!1,se=[];return function(){se=Array.prototype.slice.call(arguments),Z=Z||this,re||(re=!0,x.requestAnimFrame.call(window,function(){re=!1,ne.apply(Z,se)}))}}(function(){if(se.resizer)return Z(R("resize",re))}));!function(ne,Z){var re=ne[w]||(ne[w]={}),se=re.renderProxy=function(ue){ue.animationName===f&&Z()};x.each(c,function(ue){L(ne,ue,se)}),re.reflow=!!ne.offsetParent,ne.classList.add(_)}(ne,function(){if(se.resizer){var ee=ne.parentNode;ee&&ee!==ue.parentNode&&ee.insertBefore(ue,ee.firstChild),ue._reset()}})}(ue,se,Z)},removeEventListener:function(Z,re,se){var ue=Z.canvas;if("resize"!==re){var Pe=((se[w]||{}).proxies||{})[Z.id+"_"+re];!Pe||C(ue,re,Pe)}else!function(ne){var Z=ne[w]||{},re=Z.resizer;delete Z.resizer,function(ne){var Z=ne[w]||{},re=Z.renderProxy;re&&(x.each(c,function(se){C(ne,se,re)}),delete Z.renderProxy),ne.classList.remove(_)}(ne),re&&re.parentNode&&re.parentNode.removeChild(re)}(ue)}},x.addEvent=L,x.removeEvent=C},28341:function(ge,ke,B){"use strict";var x=B(74060),w=B(33833),D=B(89958);ge.exports=x.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},D._enabled?D:w)},76657:function(ge,ke,B){"use strict";ge.exports={},ge.exports.filler=B(79410),ge.exports.legend=B(54641),ge.exports.title=B(95910)},79410:function(ge,ke,B){"use strict";var x=B(46566),w=B(82561),D=B(74060);x._set("global",{plugins:{filler:{propagate:!0}}});var _={dataset:function(C){var R=C.fill,Y=C.chart,W=Y.getDatasetMeta(R),ae=W&&Y.isDatasetVisible(R)&&W.dataset._children||[],fe=ae.length||0;return fe?function(te,Q){return Q=R)&&G;switch(W){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return W;default:return!1}}function c(L){var G,C=L.el._model||{},R=L.el._scale||{},Y=L.fill,W=null;if(isFinite(Y))return null;if("start"===Y?W=void 0===C.scaleBottom?R.bottom:C.scaleBottom:"end"===Y?W=void 0===C.scaleTop?R.top:C.scaleTop:void 0!==C.scaleZero?W=C.scaleZero:R.getBasePosition?W=R.getBasePosition():R.getBasePixel&&(W=R.getBasePixel()),null!=W){if(void 0!==W.x&&void 0!==W.y)return W;if("number"==typeof W&&isFinite(W))return{x:(G=R.isHorizontal())?W:null,y:G?null:W}}return null}function k(L,C,R){var ae,W=L[C].fill,G=[C];if(!R)return W;for(;!1!==W&&-1===G.indexOf(W);){if(!isFinite(W))return W;if(!(ae=L[W]))return!1;if(ae.visible)return W;G.push(W),W=ae.fill}return!1}function h(L){var C=L.fill,R="dataset";return!1===C?null:(isFinite(C)||(R="boundary"),_[R](L))}function P(L){return L&&!L.skip}function S(L,C,R,Y,W){var G;if(Y&&W){for(L.moveTo(C[0].x,C[0].y),G=1;G0;--G)D.canvas.lineTo(L,R[G],R[G-1],!0)}}ge.exports={id:"filler",afterDatasetsUpdate:function(C,R){var ae,fe,te,Q,Y=(C.data.datasets||[]).length,W=R.propagate,G=[];for(fe=0;fe');for(var L=0;L'),S.data.datasets[L].label&&O.push(S.data.datasets[L].label),O.push("");return O.push(""),O.join("")}});var k=w.extend({initialize:function(S){D.extend(this,S),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:f,update:function(S,O,L){var C=this;return C.beforeUpdate(),C.maxWidth=S,C.maxHeight=O,C.margins=L,C.beforeSetDimensions(),C.setDimensions(),C.afterSetDimensions(),C.beforeBuildLabels(),C.buildLabels(),C.afterBuildLabels(),C.beforeFit(),C.fit(),C.afterFit(),C.afterUpdate(),C.minSize},afterUpdate:f,beforeSetDimensions:f,setDimensions:function(){var S=this;S.isHorizontal()?(S.width=S.maxWidth,S.left=0,S.right=S.width):(S.height=S.maxHeight,S.top=0,S.bottom=S.height),S.paddingLeft=0,S.paddingTop=0,S.paddingRight=0,S.paddingBottom=0,S.minSize={width:0,height:0}},afterSetDimensions:f,beforeBuildLabels:f,buildLabels:function(){var S=this,O=S.options.labels||{},L=D.callback(O.generateLabels,[S.chart],S)||[];O.filter&&(L=L.filter(function(C){return O.filter(C,S.chart.data)})),S.options.reverse&&L.reverse(),S.legendItems=L},afterBuildLabels:f,beforeFit:f,fit:function(){var S=this,O=S.options,L=O.labels,C=O.display,R=S.ctx,Y=x.global,W=D.valueOrDefault,G=W(L.fontSize,Y.defaultFontSize),ae=W(L.fontStyle,Y.defaultFontStyle),fe=W(L.fontFamily,Y.defaultFontFamily),te=D.fontString(G,ae,fe),Q=S.legendHitBoxes=[],ce=S.minSize,ne=S.isHorizontal();if(ne?(ce.width=S.maxWidth,ce.height=C?10:0):(ce.width=C?10:0,ce.height=S.maxHeight),C)if(R.font=te,ne){var Z=S.lineWidths=[0],re=S.legendItems.length?G+L.padding:0;R.textAlign="left",R.textBaseline="top",D.each(S.legendItems,function(Be,Je){var He=c(L,G)+G/2+R.measureText(Be.text).width;Z[Z.length-1]+He+L.padding>=S.width&&(re+=G+L.padding,Z[Z.length]=S.left),Q[Je]={left:0,top:0,width:He,height:G},Z[Z.length-1]+=He+L.padding}),ce.height+=re}else{var se=L.padding,ue=S.columnWidths=[],ee=L.padding,Ee=0,Pe=0,Fe=G+se;D.each(S.legendItems,function(Be,Je){var He=c(L,G)+G/2+R.measureText(Be.text).width;Pe+Fe>ce.height&&(ee+=Ee+L.padding,ue.push(Ee),Ee=0,Pe=0),Ee=Math.max(Ee,He),Pe+=Fe,Q[Je]={left:0,top:0,width:He,height:G}}),ee+=Ee,ue.push(Ee),ce.width+=ee}S.width=ce.width,S.height=ce.height},afterFit:f,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var S=this,O=S.options,L=O.labels,C=x.global,R=C.elements.line,Y=S.width,W=S.lineWidths;if(O.display){var Z,G=S.ctx,ae=D.valueOrDefault,fe=ae(L.fontColor,C.defaultFontColor),te=ae(L.fontSize,C.defaultFontSize),Q=ae(L.fontStyle,C.defaultFontStyle),ce=ae(L.fontFamily,C.defaultFontFamily),ne=D.fontString(te,Q,ce);G.textAlign="left",G.textBaseline="middle",G.lineWidth=.5,G.strokeStyle=fe,G.fillStyle=fe,G.font=ne;var re=c(L,te),se=S.legendHitBoxes,Ee=S.isHorizontal();Z=Ee?{x:S.left+(Y-W[0])/2,y:S.top+L.padding,line:0}:{x:S.left+L.padding,y:S.top+L.padding,line:0};var Pe=te+L.padding;D.each(S.legendItems,function(Fe,Be){var Je=G.measureText(Fe.text).width,tt=re+te/2+Je,He=Z.x,lt=Z.y;Ee?He+tt>=Y&&(lt=Z.y+=Pe,Z.line++,He=Z.x=S.left+(Y-W[Z.line])/2):lt+Pe>S.bottom&&(He=Z.x=He+S.columnWidths[Z.line]+L.padding,lt=Z.y=S.top+L.padding,Z.line++),function(Be,Je,tt){if(!(isNaN(re)||re<=0)){G.save(),G.fillStyle=ae(tt.fillStyle,C.defaultColor),G.lineCap=ae(tt.lineCap,R.borderCapStyle),G.lineDashOffset=ae(tt.lineDashOffset,R.borderDashOffset),G.lineJoin=ae(tt.lineJoin,R.borderJoinStyle),G.lineWidth=ae(tt.lineWidth,R.borderWidth),G.strokeStyle=ae(tt.strokeStyle,C.defaultColor);var He=0===ae(tt.lineWidth,R.borderWidth);if(G.setLineDash&&G.setLineDash(ae(tt.lineDash,R.borderDash)),O.labels&&O.labels.usePointStyle){var lt=te*Math.SQRT2/2,Nt=lt/Math.SQRT2;D.canvas.drawPoint(G,tt.pointStyle,lt,Be+Nt,Je+Nt)}else He||G.strokeRect(Be,Je,re,te),G.fillRect(Be,Je,re,te);G.restore()}}(He,lt,Fe),se[Be].left=He,se[Be].top=lt,function(Be,Je,tt,He){var lt=te/2,Nt=re+lt+Be,jt=Je+lt;G.fillText(tt.text,Nt,jt),tt.hidden&&(G.beginPath(),G.lineWidth=2,G.moveTo(Nt,jt),G.lineTo(Nt+He,jt),G.stroke())}(He,lt,Fe,Je),Ee?Z.x+=tt+L.padding:Z.y+=Pe})}},handleEvent:function(S){var O=this,L=O.options,C="mouseup"===S.type?"click":S.type,R=!1;if("mousemove"===C){if(!L.onHover)return}else{if("click"!==C)return;if(!L.onClick)return}var Y=S.x,W=S.y;if(Y>=O.left&&Y<=O.right&&W>=O.top&&W<=O.bottom)for(var G=O.legendHitBoxes,ae=0;ae=fe.left&&Y<=fe.left+fe.width&&W>=fe.top&&W<=fe.top+fe.height){if("click"===C){L.onClick.call(O,S.native,O.legendItems[ae]),R=!0;break}if("mousemove"===C){L.onHover.call(O,S.native,O.legendItems[ae]),R=!0;break}}}return R}});function h(P,S){var O=new k({ctx:P.ctx,options:S,chart:P});_.configure(P,O,S),_.addBox(P,O),P.legend=O}ge.exports={id:"legend",_element:k,beforeInit:function(S){var O=S.options.legend;O&&h(S,O)},beforeUpdate:function(S){var O=S.options.legend,L=S.legend;O?(D.mergeIf(O,x.global.legend),L?(_.configure(S,L,O),L.options=O):h(S,O)):L&&(_.removeBox(S,L),delete S.legend)},afterEvent:function(S,O){var L=S.legend;L&&L.handleEvent(O)}}},95910:function(ge,ke,B){"use strict";var x=B(46566),w=B(33399),D=B(74060),_=B(71382),f=D.noop;x._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}});var c=w.extend({initialize:function(P){D.extend(this,P),this.legendHitBoxes=[]},beforeUpdate:f,update:function(P,S,O){var L=this;return L.beforeUpdate(),L.maxWidth=P,L.maxHeight=S,L.margins=O,L.beforeSetDimensions(),L.setDimensions(),L.afterSetDimensions(),L.beforeBuildLabels(),L.buildLabels(),L.afterBuildLabels(),L.beforeFit(),L.fit(),L.afterFit(),L.afterUpdate(),L.minSize},afterUpdate:f,beforeSetDimensions:f,setDimensions:function(){var P=this;P.isHorizontal()?(P.width=P.maxWidth,P.left=0,P.right=P.width):(P.height=P.maxHeight,P.top=0,P.bottom=P.height),P.paddingLeft=0,P.paddingTop=0,P.paddingRight=0,P.paddingBottom=0,P.minSize={width:0,height:0}},afterSetDimensions:f,beforeBuildLabels:f,buildLabels:f,afterBuildLabels:f,beforeFit:f,fit:function(){var P=this,O=P.options,L=O.display,C=(0,D.valueOrDefault)(O.fontSize,x.global.defaultFontSize),R=P.minSize,Y=D.isArray(O.text)?O.text.length:1,W=D.options.toLineHeight(O.lineHeight,C),G=L?Y*W+2*O.padding:0;P.isHorizontal()?(R.width=P.maxWidth,R.height=G):(R.width=G,R.height=P.maxHeight),P.width=R.width,P.height=R.height},afterFit:f,isHorizontal:function(){var P=this.options.position;return"top"===P||"bottom"===P},draw:function(){var P=this,S=P.ctx,O=D.valueOrDefault,L=P.options,C=x.global;if(L.display){var re,se,ue,R=O(L.fontSize,C.defaultFontSize),Y=O(L.fontStyle,C.defaultFontStyle),W=O(L.fontFamily,C.defaultFontFamily),G=D.fontString(R,Y,W),ae=D.options.toLineHeight(L.lineHeight,R),fe=ae/2+L.padding,te=0,Q=P.top,ce=P.left,ne=P.bottom,Z=P.right;S.fillStyle=O(L.fontColor,C.defaultFontColor),S.font=G,P.isHorizontal()?(se=ce+(Z-ce)/2,ue=Q+fe,re=Z-ce):(se="left"===L.position?ce+fe:Z-fe,ue=Q+(ne-Q)/2,re=ne-Q,te=Math.PI*("left"===L.position?-.5:.5)),S.save(),S.translate(se,ue),S.rotate(te),S.textAlign="center",S.textBaseline="middle";var ee=L.text;if(D.isArray(ee))for(var Ee=0,Pe=0;Peh.max)&&(h.max=Z))})});h.min=isFinite(h.min)&&!isNaN(h.min)?h.min:0,h.max=isFinite(h.max)&&!isNaN(h.max)?h.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var h,P=this,S=P.options.ticks;if(P.isHorizontal())h=Math.min(S.maxTicksLimit?S.maxTicksLimit:11,Math.ceil(P.width/50));else{var O=w.valueOrDefault(S.fontSize,x.global.defaultFontSize);h=Math.min(S.maxTicksLimit?S.maxTicksLimit:11,Math.ceil(P.height/(2*O)))}return h},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(h,P){return+this.getRightValue(this.chart.data.datasets[P].data[h])},getPixelForValue:function(h){var P=this,S=P.start,O=+P.getRightValue(h),C=P.end-S;return P.isHorizontal()?P.left+P.width/C*(O-S):P.bottom-P.height/C*(O-S)},getValueForPixel:function(h){var P=this,S=P.isHorizontal();return P.start+(S?h-P.left:P.bottom-h)/(S?P.width:P.height)*(P.end-P.start)},getPixelForTick:function(h){return this.getPixelForValue(this.ticksAsNumbers[h])}});_.scaleService.registerScaleType("linear",c,f)}},47705:function(ge,ke,B){"use strict";var x=B(74060);ge.exports=function(D){var _=x.noop;D.LinearScaleBase=D.Scale.extend({getRightValue:function(c){return"string"==typeof c?+c:D.Scale.prototype.getRightValue.call(this,c)},handleTickRangeOptions:function(){var c=this,h=c.options.ticks;if(h.beginAtZero){var P=x.sign(c.min),S=x.sign(c.max);P<0&&S<0?c.max=0:P>0&&S>0&&(c.min=0)}var O=void 0!==h.min||void 0!==h.suggestedMin,L=void 0!==h.max||void 0!==h.suggestedMax;void 0!==h.min?c.min=h.min:void 0!==h.suggestedMin&&(c.min=null===c.min?h.suggestedMin:Math.min(c.min,h.suggestedMin)),void 0!==h.max?c.max=h.max:void 0!==h.suggestedMax&&(c.max=null===c.max?h.suggestedMax:Math.max(c.max,h.suggestedMax)),O!==L&&c.min>=c.max&&(O?c.max=c.min+1:c.min=c.max-1),c.min===c.max&&(c.max++,h.beginAtZero||c.min--)},getTickLimit:_,handleDirectionalChanges:_,buildTicks:function(){var c=this,h=c.options.ticks,P=c.getTickLimit(),S={maxTicks:P=Math.max(2,P),min:h.min,max:h.max,stepSize:x.valueOrDefault(h.fixedStepSize,h.stepSize)},O=c.ticks=function(D,_){var c,f=[];if(D.stepSize&&D.stepSize>0)c=D.stepSize;else{var k=x.niceNum(_.max-_.min,!1);c=x.niceNum(k/(D.maxTicks-1),!0)}var h=Math.floor(_.min/c)*c,P=Math.ceil(_.max/c)*c;D.min&&D.max&&D.stepSize&&x.almostWhole((D.max-D.min)/D.stepSize,c/1e3)&&(h=D.min,P=D.max);var S=(P-h)/c;S=x.almostEquals(S,Math.round(S),c/1e3)?Math.round(S):Math.ceil(S);var O=1;c<1&&(O=Math.pow(10,c.toString().length-2),h=Math.round(h*O)/O,P=Math.round(P*O)/O),f.push(void 0!==D.min?D.min:h);for(var L=1;L0){var ae=x.min(G),fe=x.max(G);h.min=null===h.min?ae:Math.min(h.min,ae),h.max=null===h.max?fe:Math.max(h.max,fe)}})}else x.each(L,function(G,ae){var fe=S.getDatasetMeta(ae);S.isDatasetVisible(ae)&&R(fe)&&x.each(G.data,function(te,Q){var ce=+h.getRightValue(te);isNaN(ce)||fe.data[Q].hidden||ce<0||((null===h.min||ceh.max)&&(h.max=ce),0!==ce&&(null===h.minNotZero||ce0?h.min:h.max<1?Math.pow(10,Math.floor(x.log10(h.max))):1)},buildTicks:function(){var h=this,S=h.options.ticks,O=!h.isHorizontal(),C=h.ticks=function(_,f){var O,L,c=[],k=x.valueOrDefault,h=k(_.min,Math.pow(10,Math.floor(x.log10(f.min)))),P=Math.floor(x.log10(f.max)),S=Math.ceil(f.max/Math.pow(10,P));0===h?(O=Math.floor(x.log10(f.minNotZero)),L=Math.floor(f.minNotZero/Math.pow(10,O)),c.push(h),h=L*Math.pow(10,O)):(O=Math.floor(x.log10(h)),L=Math.floor(h/Math.pow(10,O)));var C=O<0?Math.pow(10,Math.abs(O)):1;do{c.push(h),10==++L&&(L=1,C=++O>=0?1:C),h=Math.round(L*Math.pow(10,O)*C)/C}while(OZ?{start:Q-ce-5,end:Q}:{start:Q,end:Q+ce+5}}function C(te){return 0===te||180===te?"center":te<180?"left":"right"}function R(te,Q,ce,ne){if(w.isArray(Q))for(var Z=ce.y,re=1.5*ne,se=0;se270||te<90)&&(ce.y-=Q.h)}function ae(te){return w.isNumber(te)?te:0}var fe=_.LinearScaleBase.extend({setDimensions:function(){var Q=this,ce=Q.options,ne=ce.ticks;Q.width=Q.maxWidth,Q.height=Q.maxHeight,Q.xCenter=Math.round(Q.width/2),Q.yCenter=Math.round(Q.height/2);var Z=w.min([Q.height,Q.width]),re=w.valueOrDefault(ne.fontSize,f.defaultFontSize);Q.drawingArea=ce.display?Z/2-(re/2+ne.backdropPaddingY):Z/2},determineDataLimits:function(){var Q=this,ce=Q.chart,ne=Number.POSITIVE_INFINITY,Z=Number.NEGATIVE_INFINITY;w.each(ce.data.datasets,function(re,se){if(ce.isDatasetVisible(se)){var ue=ce.getDatasetMeta(se);w.each(re.data,function(ee,Ee){var Pe=+Q.getRightValue(ee);isNaN(Pe)||ue.data[Ee].hidden||(ne=Math.min(Pe,ne),Z=Math.max(Pe,Z))})}}),Q.min=ne===Number.POSITIVE_INFINITY?0:ne,Q.max=Z===Number.NEGATIVE_INFINITY?0:Z,Q.handleTickRangeOptions()},getTickLimit:function(){var Q=this.options.ticks,ce=w.valueOrDefault(Q.fontSize,f.defaultFontSize);return Math.min(Q.maxTicksLimit?Q.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*ce)))},convertTicksToLabels:function(){var Q=this;_.LinearScaleBase.prototype.convertTicksToLabels.call(Q),Q.pointLabels=Q.chart.data.labels.map(Q.options.pointLabels.callback,Q)},getLabelForIndex:function(Q,ce){return+this.getRightValue(this.chart.data.datasets[ce].data[Q])},fit:function(){var Q;this.options.pointLabels.display?function(te){var re,se,ue,Q=h(te),ce=Math.min(te.height/2,te.width/2),ne={r:te.width,l:0,t:te.height,b:0},Z={};te.ctx.font=Q.font,te._pointLabelSizes=[];var ee=k(te);for(re=0;rene.r&&(ne.r=Fe.end,Z.r=Ee),Be.startne.b&&(ne.b=Be.end,Z.b=Ee)}te.setReductions(ce,ne,Z)}(this):(this,Q=Math.min(this.height/2,this.width/2),this.drawingArea=Math.round(Q),this.setCenterPoint(0,0,0,0))},setReductions:function(Q,ce,ne){var Z=this,re=ce.l/Math.sin(ne.l),se=Math.max(ce.r-Z.width,0)/Math.sin(ne.r),ue=-ce.t/Math.cos(ne.t),ee=-Math.max(ce.b-Z.height,0)/Math.cos(ne.b);re=ae(re),se=ae(se),ue=ae(ue),ee=ae(ee),Z.drawingArea=Math.min(Math.round(Q-(re+se)/2),Math.round(Q-(ue+ee)/2)),Z.setCenterPoint(re,se,ue,ee)},setCenterPoint:function(Q,ce,ne,Z){var re=this,ee=ne+re.drawingArea,Ee=re.height-Z-re.drawingArea;re.xCenter=Math.round((Q+re.drawingArea+(re.width-ce-re.drawingArea))/2+re.left),re.yCenter=Math.round((ee+Ee)/2+re.top)},getIndexAngle:function(Q){return Q*(2*Math.PI/k(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(Q){var ce=this;if(null===Q)return 0;var ne=ce.drawingArea/(ce.max-ce.min);return ce.options.ticks.reverse?(ce.max-Q)*ne:(Q-ce.min)*ne},getPointPosition:function(Q,ce){var Z=this.getIndexAngle(Q)-Math.PI/2;return{x:Math.round(Math.cos(Z)*ce)+this.xCenter,y:Math.round(Math.sin(Z)*ce)+this.yCenter}},getPointPositionForValue:function(Q,ce){return this.getPointPosition(Q,this.getDistanceFromCenterForValue(ce))},getBasePosition:function(){var Q=this,ce=Q.min,ne=Q.max;return Q.getPointPositionForValue(0,Q.beginAtZero?0:ce<0&&ne<0?ne:ce>0&&ne>0?ce:0)},draw:function(){var Q=this,ce=Q.options,ne=ce.gridLines,Z=ce.ticks,re=w.valueOrDefault;if(ce.display){var se=Q.ctx,ue=this.getIndexAngle(0),ee=re(Z.fontSize,f.defaultFontSize),Ee=re(Z.fontStyle,f.defaultFontStyle),Pe=re(Z.fontFamily,f.defaultFontFamily),Fe=w.fontString(ee,Ee,Pe);w.each(Q.ticks,function(Be,Je){if(Je>0||Z.reverse){var tt=Q.getDistanceFromCenterForValue(Q.ticksAsNumbers[Je]);if(ne.display&&0!==Je&&function(te,Q,ce,ne){var Z=te.ctx;if(Z.strokeStyle=w.valueAtIndexOrDefault(Q.color,ne-1),Z.lineWidth=w.valueAtIndexOrDefault(Q.lineWidth,ne-1),te.options.gridLines.circular)Z.beginPath(),Z.arc(te.xCenter,te.yCenter,ce,0,2*Math.PI),Z.closePath(),Z.stroke();else{var re=k(te);if(0===re)return;Z.beginPath();var se=te.getPointPosition(0,ce);Z.moveTo(se.x,se.y);for(var ue=1;ue=0;ue--){if(ne.display){var ee=te.getPointPosition(ue,re);Q.beginPath(),Q.moveTo(te.xCenter,te.yCenter),Q.lineTo(ee.x,ee.y),Q.stroke(),Q.closePath()}if(Z.display){var Ee=te.getPointPosition(ue,re+5),Pe=w.valueAtIndexOrDefault(Z.fontColor,ue,f.defaultFontColor);Q.font=se.font,Q.fillStyle=Pe;var Fe=te.getIndexAngle(ue),Be=w.toDegrees(Fe);Q.textAlign=C(Be),Y(Be,te._pointLabelSizes[ue],Ee),R(Q,te.pointLabels[ue]||"",Ee,se.size)}}}(Q)}}});_.scaleService.registerScaleType("radialLinear",fe,c)}},38669:function(ge,ke,B){"use strict";var x=B(29609);x="function"==typeof x?x:window.moment;var w=B(46566),D=B(74060),_=Number.MIN_SAFE_INTEGER||-9007199254740991,f=Number.MAX_SAFE_INTEGER||9007199254740991,c={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},k=Object.keys(c);function h(ne,Z){return ne-Z}function P(ne){var se,ue,ee,Z={},re=[];for(se=0,ue=ne.length;se=0&&se<=ue;){if(Pe=ne[ee=se+ue>>1],!(Ee=ne[ee-1]||null))return{lo:null,hi:Pe};if(Pe[Z]re))return{lo:Ee,hi:Pe};ue=ee-1}}return{lo:Pe,hi:null}}(ne,Z,re),ee=ue.lo?ue.hi?ue.lo:ne[ne.length-2]:ne[0],Ee=ue.lo?ue.hi?ue.hi:ne[ne.length-1]:ne[1],Pe=Ee[Z]-ee[Z];return ee[se]+(Ee[se]-ee[se])*(Pe?(re-ee[Z])/Pe:0)}function C(ne,Z){var re=Z.parser,se=Z.parser||Z.format;return"function"==typeof re?re(ne):"string"==typeof ne&&"string"==typeof se?x(ne,se):(ne instanceof x||(ne=x(ne)),ne.isValid()?ne:"function"==typeof se?se(ne):ne)}function R(ne,Z){if(D.isNullOrUndef(ne))return null;var re=Z.options.time,se=C(Z.getRightValue(ne),re);return se.isValid()?(re.round&&se.startOf(re.round),se.valueOf()):null}function ae(ne){for(var Z=k.indexOf(ne)+1,re=k.length;Z=ee&<<=Ee&&Je.push(lt);return ue.min=ee,ue.max=Ee,ue._unit=Fe.unit||function(ne,Z,re,se){var Ee,Pe,ue=x.duration(x(se).diff(x(re)));for(Ee=k.length-1;Ee>=k.indexOf(Z);Ee--)if(c[Pe=k[Ee]].common&&ue.as(Pe)>=ne.length)return Pe;return k[Z?k.indexOf(Z):0]}(Je,Fe.minUnit,ue.min,ue.max),ue._majorUnit=ae(ue._unit),ue._table=function(ne,Z,re,se){if("linear"===se||!ne.length)return[{time:Z,pos:0},{time:re,pos:1}];var Ee,Pe,Fe,Be,Je,ue=[],ee=[Z];for(Ee=0,Pe=ne.length;EeZ&&Be1?Z[1]:se,"pos")-L(ne,"time",Fe,"pos"))/2),ue.time.max||(Fe=Z.length>1?Z[Z.length-2]:re,Ee=(L(ne,"time",Z[Z.length-1],"pos")-L(ne,"time",Fe,"pos"))/2)),{left:ee,right:Ee}}(ue._table,Je,ee,Ee,Pe),ue._labelFormat=function(ne,Z){var re,se,ue,ee=ne.length;for(re=0;re=0&&ue0?Je:1}});ne.scaleService.registerScaleType("time",re,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},35963:function(ge,ke,B){var x=B(66365);function w(Q){if(Q){var ue=[0,0,0],ee=1,Ee=Q.match(/^#([a-fA-F0-9]{3})$/i);if(Ee){Ee=Ee[1];for(var Pe=0;Pek?(c+.05)/(k+.05):(k+.05)/(c+.05)},level:function(f){var c=this.contrast(f);return c>=7.1?"AAA":c>=4.5?"AA":""},dark:function(){var f=this.values.rgb;return(299*f[0]+587*f[1]+114*f[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var f=[],c=0;c<3;c++)f[c]=255-this.values.rgb[c];return this.setValues("rgb",f),this},lighten:function(f){var c=this.values.hsl;return c[2]+=c[2]*f,this.setValues("hsl",c),this},darken:function(f){var c=this.values.hsl;return c[2]-=c[2]*f,this.setValues("hsl",c),this},saturate:function(f){var c=this.values.hsl;return c[1]+=c[1]*f,this.setValues("hsl",c),this},desaturate:function(f){var c=this.values.hsl;return c[1]-=c[1]*f,this.setValues("hsl",c),this},whiten:function(f){var c=this.values.hwb;return c[1]+=c[1]*f,this.setValues("hwb",c),this},blacken:function(f){var c=this.values.hwb;return c[2]+=c[2]*f,this.setValues("hwb",c),this},greyscale:function(){var f=this.values.rgb,c=.3*f[0]+.59*f[1]+.11*f[2];return this.setValues("rgb",[c,c,c]),this},clearer:function(f){var c=this.values.alpha;return this.setValues("alpha",c-c*f),this},opaquer:function(f){var c=this.values.alpha;return this.setValues("alpha",c+c*f),this},rotate:function(f){var c=this.values.hsl,k=(c[0]+f)%360;return c[0]=k<0?360+k:k,this.setValues("hsl",c),this},mix:function(f,c){var k=this,h=f,P=void 0===c?.5:c,S=2*P-1,O=k.alpha()-h.alpha(),L=((S*O==-1?S:(S+O)/(1+S*O))+1)/2,C=1-L;return this.rgb(L*k.red()+C*h.red(),L*k.green()+C*h.green(),L*k.blue()+C*h.blue()).alpha(k.alpha()*P+h.alpha()*(1-P))},toJSON:function(){return this.rgb()},clone:function(){var h,P,f=new D,c=this.values,k=f.values;for(var S in c)c.hasOwnProperty(S)&&("[object Array]"===(P={}.toString.call(h=c[S]))?k[S]=h.slice(0):"[object Number]"===P?k[S]=h:console.error("unexpected color value:",h));return f}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},D.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},D.prototype.getValues=function(_){for(var f=this.values,c={},k=0;k<_.length;k++)c[_.charAt(k)]=f[_][k];return 1!==f.alpha&&(c.a=f.alpha),c},D.prototype.setValues=function(_,f){var S,L,c=this.values,k=this.spaces,h=this.maxes,P=1;if(this.valid=!0,"alpha"===_)P=f;else if(f.length)c[_]=f.slice(0,_.length),P=f[_.length];else if(void 0!==f[_.charAt(0)]){for(S=0;S<_.length;S++)c[_][S]=f[_.charAt(S)];P=f.a}else if(void 0!==f[k[_][0]]){var O=k[_];for(S=0;S<_.length;S++)c[_][S]=f[O[S]];P=f.alpha}if(c.alpha=Math.max(0,Math.min(1,void 0===P?c.alpha:P)),"alpha"===_)return!1;for(S=0;S<_.length;S++)L=Math.max(0,Math.min(h[_][S],c[_][S])),c[_][S]=Math.round(L);for(var C in k)C!==_&&(c[C]=x[_][C](c[_]));return!0},D.prototype.setSpace=function(_,f){var c=f[0];return void 0===c?this.getValues(_):("number"==typeof c&&(c=Array.prototype.slice.call(f)),this.setValues(_,c),this)},D.prototype.setChannel=function(_,f,c){var k=this.values[_];return void 0===c?k[f]:(c===k[f]||(k[f]=c,this.setValues(_,k)),this)},"undefined"!=typeof window&&(window.Color=D),ge.exports=D},94027:function(ge){function ke(j){var ye,Le,ie=j[0]/255,oe=j[1]/255,de=j[2]/255,ve=Math.min(ie,oe,de),me=Math.max(ie,oe,de),Me=me-ve;return me==ve?ye=0:ie==me?ye=(oe-de)/Me:oe==me?ye=2+(de-ie)/Me:de==me&&(ye=4+(ie-oe)/Me),(ye=Math.min(60*ye,360))<0&&(ye+=360),Le=(ve+me)/2,[ye,100*(me==ve?0:Le<=.5?Me/(me+ve):Me/(2-me-ve)),100*Le]}function B(j){var ye,De,ie=j[0],oe=j[1],de=j[2],ve=Math.min(ie,oe,de),me=Math.max(ie,oe,de),Me=me-ve;return De=0==me?0:Me/me*1e3/10,me==ve?ye=0:ie==me?ye=(oe-de)/Me:oe==me?ye=2+(de-ie)/Me:de==me&&(ye=4+(ie-oe)/Me),(ye=Math.min(60*ye,360))<0&&(ye+=360),[ye,De,me/255*1e3/10]}function x(j){var ie=j[0],oe=j[1],de=j[2];return[ke(j)[0],1/255*Math.min(ie,Math.min(oe,de))*100,100*(de=1-1/255*Math.max(ie,Math.max(oe,de)))]}function w(j){var ye,ie=j[0]/255,oe=j[1]/255,de=j[2]/255;return[100*((1-ie-(ye=Math.min(1-ie,1-oe,1-de)))/(1-ye)||0),100*((1-oe-ye)/(1-ye)||0),100*((1-de-ye)/(1-ye)||0),100*ye]}function D(j){return Sr[JSON.stringify(j)]}function _(j){var ie=j[0]/255,oe=j[1]/255,de=j[2]/255;return[100*(.4124*(ie=ie>.04045?Math.pow((ie+.055)/1.055,2.4):ie/12.92)+.3576*(oe=oe>.04045?Math.pow((oe+.055)/1.055,2.4):oe/12.92)+.1805*(de=de>.04045?Math.pow((de+.055)/1.055,2.4):de/12.92)),100*(.2126*ie+.7152*oe+.0722*de),100*(.0193*ie+.1192*oe+.9505*de)]}function f(j){var ie=_(j),oe=ie[0],de=ie[1],ve=ie[2];return de/=100,ve/=108.883,oe=(oe/=95.047)>.008856?Math.pow(oe,1/3):7.787*oe+16/116,[116*(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116)-16,500*(oe-de),200*(de-(ve=ve>.008856?Math.pow(ve,1/3):7.787*ve+16/116))]}function k(j){var ve,me,Me,ye,De,ie=j[0]/360,oe=j[1]/100,de=j[2]/100;if(0==oe)return[De=255*de,De,De];ve=2*de-(me=de<.5?de*(1+oe):de+oe-de*oe),ye=[0,0,0];for(var Le=0;Le<3;Le++)(Me=ie+1/3*-(Le-1))<0&&Me++,Me>1&&Me--,ye[Le]=255*(De=6*Me<1?ve+6*(me-ve)*Me:2*Me<1?me:3*Me<2?ve+(me-ve)*(2/3-Me)*6:ve);return ye}function L(j){var ie=j[0]/60,oe=j[1]/100,de=j[2]/100,ve=Math.floor(ie)%6,me=ie-Math.floor(ie),Me=255*de*(1-oe),ye=255*de*(1-oe*me),De=255*de*(1-oe*(1-me));switch(de*=255,ve){case 0:return[de,De,Me];case 1:return[ye,de,Me];case 2:return[Me,de,De];case 3:return[Me,ye,de];case 4:return[De,Me,de];case 5:return[de,Me,ye]}}function G(j){var me,Me,ye,De,ie=j[0]/360,oe=j[1]/100,de=j[2]/100,ve=oe+de;switch(ve>1&&(oe/=ve,de/=ve),ye=6*ie-(me=Math.floor(6*ie)),0!=(1&me)&&(ye=1-ye),De=oe+ye*((Me=1-de)-oe),me){default:case 6:case 0:r=Me,g=De,b=oe;break;case 1:r=De,g=Me,b=oe;break;case 2:r=oe,g=Me,b=De;break;case 3:r=oe,g=De,b=Me;break;case 4:r=De,g=oe,b=Me;break;case 5:r=Me,g=oe,b=De}return[255*r,255*g,255*b]}function ce(j){var oe=j[1]/100,de=j[2]/100,ve=j[3]/100;return[255*(1-Math.min(1,j[0]/100*(1-ve)+ve)),255*(1-Math.min(1,oe*(1-ve)+ve)),255*(1-Math.min(1,de*(1-ve)+ve))]}function ue(j){var ve,me,Me,ie=j[0]/100,oe=j[1]/100,de=j[2]/100;return me=-.9689*ie+1.8758*oe+.0415*de,Me=.0557*ie+-.204*oe+1.057*de,ve=(ve=3.2406*ie+-1.5372*oe+-.4986*de)>.0031308?1.055*Math.pow(ve,1/2.4)-.055:ve*=12.92,me=me>.0031308?1.055*Math.pow(me,1/2.4)-.055:me*=12.92,Me=Me>.0031308?1.055*Math.pow(Me,1/2.4)-.055:Me*=12.92,[255*(ve=Math.min(Math.max(0,ve),1)),255*(me=Math.min(Math.max(0,me),1)),255*(Me=Math.min(Math.max(0,Me),1))]}function ee(j){var ie=j[0],oe=j[1],de=j[2];return oe/=100,de/=108.883,ie=(ie/=95.047)>.008856?Math.pow(ie,1/3):7.787*ie+16/116,[116*(oe=oe>.008856?Math.pow(oe,1/3):7.787*oe+16/116)-16,500*(ie-oe),200*(oe-(de=de>.008856?Math.pow(de,1/3):7.787*de+16/116))]}function Pe(j){var ve,me,Me,ye,ie=j[0],oe=j[1],de=j[2];return ie<=8?ye=(me=100*ie/903.3)/100*7.787+16/116:(me=100*Math.pow((ie+16)/116,3),ye=Math.pow(me/100,1/3)),[ve=ve/95.047<=.008856?ve=95.047*(oe/500+ye-16/116)/7.787:95.047*Math.pow(oe/500+ye,3),me,Me=Me/108.883<=.008859?Me=108.883*(ye-de/200-16/116)/7.787:108.883*Math.pow(ye-de/200,3)]}function Fe(j){var me,ie=j[0],oe=j[1],de=j[2];return(me=360*Math.atan2(de,oe)/2/Math.PI)<0&&(me+=360),[ie,Math.sqrt(oe*oe+de*de),me]}function Be(j){return ue(Pe(j))}function Je(j){var Me,oe=j[1];return Me=j[2]/360*2*Math.PI,[j[0],oe*Math.cos(Me),oe*Math.sin(Me)]}function lt(j){return St[j]}ge.exports={rgb2hsl:ke,rgb2hsv:B,rgb2hwb:x,rgb2cmyk:w,rgb2keyword:D,rgb2xyz:_,rgb2lab:f,rgb2lch:function(j){return Fe(f(j))},hsl2rgb:k,hsl2hsv:function(j){var oe=j[1]/100,de=j[2]/100;return 0===de?[0,0,0]:[j[0],2*(oe*=(de*=2)<=1?de:2-de)/(de+oe)*100,(de+oe)/2*100]},hsl2hwb:function(j){return x(k(j))},hsl2cmyk:function(j){return w(k(j))},hsl2keyword:function(j){return D(k(j))},hsv2rgb:L,hsv2hsl:function(j){var ve,me,oe=j[1]/100,de=j[2]/100;return ve=oe*de,[j[0],100*(ve=(ve/=(me=(2-oe)*de)<=1?me:2-me)||0),100*(me/=2)]},hsv2hwb:function(j){return x(L(j))},hsv2cmyk:function(j){return w(L(j))},hsv2keyword:function(j){return D(L(j))},hwb2rgb:G,hwb2hsl:function(j){return ke(G(j))},hwb2hsv:function(j){return B(G(j))},hwb2cmyk:function(j){return w(G(j))},hwb2keyword:function(j){return D(G(j))},cmyk2rgb:ce,cmyk2hsl:function(j){return ke(ce(j))},cmyk2hsv:function(j){return B(ce(j))},cmyk2hwb:function(j){return x(ce(j))},cmyk2keyword:function(j){return D(ce(j))},keyword2rgb:lt,keyword2hsl:function(j){return ke(lt(j))},keyword2hsv:function(j){return B(lt(j))},keyword2hwb:function(j){return x(lt(j))},keyword2cmyk:function(j){return w(lt(j))},keyword2lab:function(j){return f(lt(j))},keyword2xyz:function(j){return _(lt(j))},xyz2rgb:ue,xyz2lab:ee,xyz2lch:function(j){return Fe(ee(j))},lab2xyz:Pe,lab2rgb:Be,lab2lch:Fe,lch2lab:Je,lch2xyz:function(j){return Pe(Je(j))},lch2rgb:function(j){return Be(Je(j))}};var St={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Sr={};for(var Hn in St)Sr[JSON.stringify(St[Hn])]=Hn},65530:function(ge,ke,B){var x=B(94027),w=function(){return new k};for(var D in x){w[D+"Raw"]=function(h){return function(P){return"number"==typeof P&&(P=Array.prototype.slice.call(arguments)),x[h](P)}}(D);var _=/(\w+)2(\w+)/.exec(D),f=_[1],c=_[2];(w[f]=w[f]||{})[c]=w[D]=function(h){return function(P){"number"==typeof P&&(P=Array.prototype.slice.call(arguments));var S=x[h](P);if("string"==typeof S||void 0===S)return S;for(var O=0;O=20?"ste":"de")},week:{dow:1,doy:4}})}(B(29609))},42758:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}})}(B(29609))},64980:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(B(29609))},9602:function(ge,ke,B){!function(x){"use strict";var w={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},D=function(P){return 0===P?0:1===P?1:2===P?2:P%100>=3&&P%100<=10?3:P%100>=11?4:5},_={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},f=function(P){return function(S,O,L,C){var R=D(S),Y=_[P][D(S)];return 2===R&&(Y=Y[O?0:1]),Y.replace(/%d/i,S)}},c=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];x.defineLocale("ar-ly",{months:c,monthsShort:c,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(P){return"\u0645"===P},meridiem:function(P,S,O){return P<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:f("s"),ss:f("s"),m:f("m"),mm:f("m"),h:f("h"),hh:f("h"),d:f("d"),dd:f("d"),M:f("M"),MM:f("M"),y:f("y"),yy:f("y")},preparse:function(P){return P.replace(/\u060c/g,",")},postformat:function(P){return P.replace(/\d/g,function(S){return w[S]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(B(29609))},52500:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:6,doy:12}})}(B(29609))},36909:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};x.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,k,h){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(c){return c.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(k){return D[k]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(B(29609))},92735:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(B(29609))},67634:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},D={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},_=function(S){return 0===S?0:1===S?1:2===S?2:S%100>=3&&S%100<=10?3:S%100>=11?4:5},f={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},c=function(S){return function(O,L,C,R){var Y=_(O),W=f[S][_(O)];return 2===Y&&(W=W[L?0:1]),W.replace(/%d/i,O)}},k=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];x.defineLocale("ar",{months:k,monthsShort:k,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(S){return"\u0645"===S},meridiem:function(S,O,L){return S<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:c("s"),ss:c("s"),m:c("m"),mm:c("m"),h:c("h"),hh:c("h"),d:c("d"),dd:c("d"),M:c("M"),MM:c("M"),y:c("y"),yy:c("y")},preparse:function(S){return S.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(O){return D[O]}).replace(/\u060c/g,",")},postformat:function(S){return S.replace(/\d/g,function(O){return w[O]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(B(29609))},27798:function(ge,ke,B){!function(x){"use strict";var w={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};x.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(f){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(f)},meridiem:function(f,c,k){return f<4?"gec\u0259":f<12?"s\u0259h\u0259r":f<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(f){if(0===f)return f+"-\u0131nc\u0131";var c=f%10;return f+(w[c]||w[f%100-c]||w[f>=100?100:null])},week:{dow:1,doy:7}})}(B(29609))},29949:function(ge,ke,B){!function(x){"use strict";function D(f,c,k){return"m"===k?c?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===k?c?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":f+" "+function(f,c){var k=f.split("_");return c%10==1&&c%100!=11?k[0]:c%10>=2&&c%10<=4&&(c%100<10||c%100>=20)?k[1]:k[2]}({ss:c?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:c?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:c?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[k],+f)}x.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:D,mm:D,h:D,hh:D,d:"\u0434\u0437\u0435\u043d\u044c",dd:D,M:"\u043c\u0435\u0441\u044f\u0446",MM:D,y:"\u0433\u043e\u0434",yy:D},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(c){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(c)},meridiem:function(c,k,h){return c<4?"\u043d\u043e\u0447\u044b":c<12?"\u0440\u0430\u043d\u0456\u0446\u044b":c<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(c,k){switch(k){case"M":case"d":case"DDD":case"w":case"W":return c%10!=2&&c%10!=3||c%100==12||c%100==13?c+"-\u044b":c+"-\u0456";case"D":return c+"-\u0433\u0430";default:return c}},week:{dow:1,doy:7}})}(B(29609))},44590:function(ge,ke,B){!function(x){"use strict";x.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(_){var f=_%10,c=_%100;return 0===_?_+"-\u0435\u0432":0===c?_+"-\u0435\u043d":c>10&&c<20?_+"-\u0442\u0438":1===f?_+"-\u0432\u0438":2===f?_+"-\u0440\u0438":7===f||8===f?_+"-\u043c\u0438":_+"-\u0442\u0438"},week:{dow:1,doy:7}})}(B(29609))},15938:function(ge,ke,B){!function(x){"use strict";x.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(B(29609))},60595:function(ge,ke,B){!function(x){"use strict";var w={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},D={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};x.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(c){return c.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(k){return D[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u09b0\u09be\u09a4"===k&&c>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===k&&c<5||"\u09ac\u09bf\u0995\u09be\u09b2"===k?c+12:c},meridiem:function(c,k,h){return c<4?"\u09b0\u09be\u09a4":c<10?"\u09b8\u0995\u09be\u09b2":c<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":c<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(B(29609))},4756:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},D={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};x.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(c){return c.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(k){return D[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===k&&c>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===k&&c<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===k?c+12:c},meridiem:function(c,k,h){return c<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":c<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":c<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":c<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(B(29609))},17277:function(ge,ke,B){!function(x){"use strict";function w(h,P,S){return h+" "+function(h,P){return 2===P?function(h){var P={m:"v",b:"v",d:"z"};return void 0===P[h.charAt(0)]?h:P[h.charAt(0)]+h.substring(1)}(h):h}({mm:"munutenn",MM:"miz",dd:"devezh"}[S],h)}function _(h){return h>9?_(h%10):h}x.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:w,h:"un eur",hh:"%d eur",d:"un devezh",dd:w,M:"ur miz",MM:w,y:"ur bloaz",yy:function(h){switch(_(h)){case 1:case 3:case 4:case 5:case 9:return h+" bloaz";default:return h+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(P){return P+(1===P?"a\xf1":"vet")},week:{dow:1,doy:4}})}(B(29609))},4166:function(ge,ke,B){!function(x){"use strict";function w(_,f,c){var k=_+" ";switch(c){case"ss":return k+(1===_?"sekunda":2===_||3===_||4===_?"sekunde":"sekundi");case"m":return f?"jedna minuta":"jedne minute";case"mm":return k+(1===_?"minuta":2===_||3===_||4===_?"minute":"minuta");case"h":return f?"jedan sat":"jednog sata";case"hh":return k+(1===_?"sat":2===_||3===_||4===_?"sata":"sati");case"dd":return k+(1===_?"dan":"dana");case"MM":return k+(1===_?"mjesec":2===_||3===_||4===_?"mjeseca":"mjeseci");case"yy":return k+(1===_?"godina":2===_||3===_||4===_?"godine":"godina")}}x.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:w,m:w,mm:w,h:w,hh:w,d:"dan",dd:w,M:"mjesec",MM:w,y:"godinu",yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},13943:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(_,f){var c=1===_?"r":2===_?"n":3===_?"r":4===_?"t":"\xe8";return("w"===f||"W"===f)&&(c="a"),_+c},week:{dow:1,doy:4}})}(B(29609))},53474:function(ge,ke,B){!function(x){"use strict";var w="leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),D="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_");function _(k){return k>1&&k<5&&1!=~~(k/10)}function f(k,h,P,S){var O=k+" ";switch(P){case"s":return h||S?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return h||S?O+(_(k)?"sekundy":"sekund"):O+"sekundami";case"m":return h?"minuta":S?"minutu":"minutou";case"mm":return h||S?O+(_(k)?"minuty":"minut"):O+"minutami";case"h":return h?"hodina":S?"hodinu":"hodinou";case"hh":return h||S?O+(_(k)?"hodiny":"hodin"):O+"hodinami";case"d":return h||S?"den":"dnem";case"dd":return h||S?O+(_(k)?"dny":"dn\xed"):O+"dny";case"M":return h||S?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return h||S?O+(_(k)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):O+"m\u011bs\xedci";case"y":return h||S?"rok":"rokem";case"yy":return h||S?O+(_(k)?"roky":"let"):O+"lety"}}x.defineLocale("cs",{months:w,monthsShort:D,monthsParse:function(k,h){var P,S=[];for(P=0;P<12;P++)S[P]=new RegExp("^"+k[P]+"$|^"+h[P]+"$","i");return S}(w,D),shortMonthsParse:function(k){var h,P=[];for(h=0;h<12;h++)P[h]=new RegExp("^"+k[h]+"$","i");return P}(D),longMonthsParse:function(k){var h,P=[];for(h=0;h<12;h++)P[h]=new RegExp("^"+k[h]+"$","i");return P}(w),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},92218:function(ge,ke,B){!function(x){"use strict";x.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(_){return _+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(_)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(_)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(B(29609))},21061:function(ge,ke,B){!function(x){"use strict";x.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(_){var c="";return _>20?c=40===_||50===_||60===_||80===_||100===_?"fed":"ain":_>0&&(c=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][_]),_+c},week:{dow:1,doy:4}})}(B(29609))},82743:function(ge,ke,B){!function(x){"use strict";x.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},28580:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return f?h[c][0]:h[c][1]}x.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:w,mm:"%d Minuten",h:w,hh:"%d Stunden",d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},3264:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return f?h[c][0]:h[c][1]}x.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:w,mm:"%d Minuten",h:w,hh:"%d Stunden",d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},31899:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[_+" Tage",_+" Tagen"],M:["ein Monat","einem Monat"],MM:[_+" Monate",_+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[_+" Jahre",_+" Jahren"]};return f?h[c][0]:h[c][1]}x.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:w,mm:"%d Minuten",h:w,hh:"%d Stunden",d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},98784:function(ge,ke,B){!function(x){"use strict";var w=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],D=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];x.defineLocale("dv",{months:w,monthsShort:w,weekdays:D,weekdaysShort:D,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(c){return"\u0789\u078a"===c},meridiem:function(c,k,h){return c<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(B(29609))},54654:function(ge,ke,B){!function(x){"use strict";x.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(f,c){return f?"string"==typeof c&&/D/.test(c.substring(0,c.indexOf("MMMM")))?this._monthsGenitiveEl[f.month()]:this._monthsNominativeEl[f.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(f,c,k){return f>11?k?"\u03bc\u03bc":"\u039c\u039c":k?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(f){return"\u03bc"===(f+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(f,c){var _,k=this._calendarEl[f],h=c&&c.hours();return((_=k)instanceof Function||"[object Function]"===Object.prototype.toString.call(_))&&(k=k.apply(c)),k.replace("{}",h%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(B(29609))},56277:function(ge,ke,B){!function(x){"use strict";x.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},76896:function(ge,ke,B){!function(x){"use strict";x.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(B(29609))},71609:function(ge,ke,B){!function(x){"use strict";x.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},24557:function(ge,ke,B){!function(x){"use strict";x.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},15836:function(ge,ke,B){!function(x){"use strict";x.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")}})}(B(29609))},43586:function(ge,ke,B){!function(x){"use strict";x.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},62777:function(ge,ke,B){!function(x){"use strict";x.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_a\u016dg_sep_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D[-a de] MMMM, YYYY",LLL:"D[-a de] MMMM, YYYY HH:mm",LLLL:"dddd, [la] D[-a de] MMMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(_){return"p"===_.charAt(0).toLowerCase()},meridiem:function(_,f,c){return _>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(B(29609))},3128:function(ge,ke,B){!function(x){"use strict";var w="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],f=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;x.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,P){return h?/-MMM-/.test(P)?D[h.month()]:w[h.month()]:w},monthsRegex:f,monthsShortRegex:f,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},83256:function(ge,ke,B){!function(x){"use strict";var w="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");x.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(c,k){return c?/-MMM-/.test(k)?D[c.month()]:w[c.month()]:w},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(B(29609))},63357:function(ge,ke,B){!function(x){"use strict";var w="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),D="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),_=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],f=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;x.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(h,P){return h?/-MMM-/.test(P)?D[h.month()]:w[h.month()]:w},monthsRegex:f,monthsShortRegex:f,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},2654:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[_+"sekundi",_+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[_+" minuti",_+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[_+" tunni",_+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[_+" kuu",_+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[_+" aasta",_+" aastat"]};return f?h[c][2]?h[c][2]:h[c][1]:k?h[c][0]:h[c][1]}x.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:"%d p\xe4eva",M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},57287:function(ge,ke,B){!function(x){"use strict";x.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},73875:function(ge,ke,B){!function(x){"use strict";var w={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},D={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};x.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(c){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(c)},meridiem:function(c,k,h){return c<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/[\u06f0-\u06f9]/g,function(k){return D[k]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(B(29609))},73431:function(ge,ke,B){!function(x){"use strict";var w="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),D=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",w[7],w[8],w[9]];function _(k,h,P,S){var O="";switch(P){case"s":return S?"muutaman sekunnin":"muutama sekunti";case"ss":return S?"sekunnin":"sekuntia";case"m":return S?"minuutin":"minuutti";case"mm":O=S?"minuutin":"minuuttia";break;case"h":return S?"tunnin":"tunti";case"hh":O=S?"tunnin":"tuntia";break;case"d":return S?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":O=S?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return S?"kuukauden":"kuukausi";case"MM":O=S?"kuukauden":"kuukautta";break;case"y":return S?"vuoden":"vuosi";case"yy":O=S?"vuoden":"vuotta"}return function(k,h){return k<10?h?D[k]:w[k]:k}(k,S)+" "+O}x.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},41781:function(ge,ke,B){!function(x){"use strict";x.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minutt",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0i",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},11539:function(ge,ke,B){!function(x){"use strict";x.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(_,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return _+(1===_?"er":"e");case"w":case"W":return _+(1===_?"re":"e")}}})}(B(29609))},19847:function(ge,ke,B){!function(x){"use strict";x.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(_,f){switch(f){default:case"M":case"Q":case"D":case"DDD":case"d":return _+(1===_?"er":"e");case"w":case"W":return _+(1===_?"re":"e")}},week:{dow:1,doy:4}})}(B(29609))},61717:function(ge,ke,B){!function(x){"use strict";x.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(_,f){switch(f){case"D":return _+(1===_?"er":"");default:case"M":case"Q":case"DDD":case"d":return _+(1===_?"er":"e");case"w":case"W":return _+(1===_?"re":"e")}},week:{dow:1,doy:4}})}(B(29609))},42250:function(ge,ke,B){!function(x){"use strict";var w="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),D="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");x.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(c,k){return c?/-MMM-/.test(k)?D[c.month()]:w[c.month()]:w},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(B(29609))},85214:function(ge,ke,B){!function(x){"use strict";x.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(P){return P+(1===P?"d":P%10==2?"na":"mh")},week:{dow:1,doy:4}})}(B(29609))},36154:function(ge,ke,B){!function(x){"use strict";x.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(_){return 0===_.indexOf("un")?"n"+_:"en "+_},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},18518:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h={s:["thodde secondanim","thodde second"],ss:[_+" secondanim",_+" second"],m:["eka mintan","ek minute"],mm:[_+" mintanim",_+" mintam"],h:["eka horan","ek hor"],hh:[_+" horanim",_+" horam"],d:["eka disan","ek dis"],dd:[_+" disanim",_+" dis"],M:["eka mhoinean","ek mhoino"],MM:[_+" mhoineanim",_+" mhoine"],y:["eka vorsan","ek voros"],yy:[_+" vorsanim",_+" vorsam"]};return f?h[c][0]:h[c][1]}x.defineLocale("gom-latn",{months:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budvar_Brestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM[achea] Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Ieta to] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fatlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(f,c){switch(c){case"D":return f+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return f}},week:{dow:1,doy:4},meridiemParse:/rati|sokalli|donparam|sanje/,meridiemHour:function(f,c){return 12===f&&(f=0),"rati"===c?f<4?f:f+12:"sokalli"===c?f:"donparam"===c?f>12?f:f+12:"sanje"===c?f+12:void 0},meridiem:function(f,c,k){return f<4?"rati":f<12?"sokalli":f<16?"donparam":f<20?"sanje":"rati"}})}(B(29609))},89221:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},D={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};x.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(c){return c.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(k){return D[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0ab0\u0abe\u0aa4"===k?c<4?c:c+12:"\u0ab8\u0ab5\u0abe\u0ab0"===k?c:"\u0aac\u0aaa\u0acb\u0ab0"===k?c>=10?c:c+12:"\u0ab8\u0abe\u0a82\u0a9c"===k?c+12:void 0},meridiem:function(c,k,h){return c<4?"\u0ab0\u0abe\u0aa4":c<10?"\u0ab8\u0ab5\u0abe\u0ab0":c<17?"\u0aac\u0aaa\u0acb\u0ab0":c<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(B(29609))},64743:function(ge,ke,B){!function(x){"use strict";x.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(_){return 2===_?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":_+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(_){return 2===_?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":_+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(_){return 2===_?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":_+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(_){return 2===_?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":_%10==0&&10!==_?_+" \u05e9\u05e0\u05d4":_+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(_){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(_)},meridiem:function(_,f,c){return _<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":_<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":_<12?c?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":_<18?c?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(B(29609))},77339:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};x.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return D[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0930\u093e\u0924"===k?c<4?c:c+12:"\u0938\u0941\u092c\u0939"===k?c:"\u0926\u094b\u092a\u0939\u0930"===k?c>=10?c:c+12:"\u0936\u093e\u092e"===k?c+12:void 0},meridiem:function(c,k,h){return c<4?"\u0930\u093e\u0924":c<10?"\u0938\u0941\u092c\u0939":c<17?"\u0926\u094b\u092a\u0939\u0930":c<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(B(29609))},13224:function(ge,ke,B){!function(x){"use strict";function w(_,f,c){var k=_+" ";switch(c){case"ss":return k+(1===_?"sekunda":2===_||3===_||4===_?"sekunde":"sekundi");case"m":return f?"jedna minuta":"jedne minute";case"mm":return k+(1===_?"minuta":2===_||3===_||4===_?"minute":"minuta");case"h":return f?"jedan sat":"jednog sata";case"hh":return k+(1===_?"sat":2===_||3===_||4===_?"sata":"sati");case"dd":return k+(1===_?"dan":"dana");case"MM":return k+(1===_?"mjesec":2===_||3===_||4===_?"mjeseca":"mjeseci");case"yy":return k+(1===_?"godina":2===_||3===_||4===_?"godine":"godina")}}x.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:w,m:w,mm:w,h:w,hh:w,d:"dan",dd:w,M:"mjesec",MM:w,y:"godinu",yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},50856:function(ge,ke,B){!function(x){"use strict";var w="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function D(c,k,h,P){var S=c;switch(h){case"s":return P||k?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return S+(P||k)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(P||k?" perc":" perce");case"mm":return S+(P||k?" perc":" perce");case"h":return"egy"+(P||k?" \xf3ra":" \xf3r\xe1ja");case"hh":return S+(P||k?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(P||k?" nap":" napja");case"dd":return S+(P||k?" nap":" napja");case"M":return"egy"+(P||k?" h\xf3nap":" h\xf3napja");case"MM":return S+(P||k?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(P||k?" \xe9v":" \xe9ve");case"yy":return S+(P||k?" \xe9v":" \xe9ve")}return""}function _(c){return(c?"":"[m\xfalt] ")+"["+w[this.day()]+"] LT[-kor]"}x.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan_feb_m\xe1rc_\xe1pr_m\xe1j_j\xfan_j\xfal_aug_szept_okt_nov_dec".split("_"),weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(k){return"u"===k.charAt(1).toLowerCase()},meridiem:function(k,h,P){return k<12?!0===P?"de":"DE":!0===P?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return _.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return _.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},76855:function(ge,ke,B){!function(x){"use strict";x.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(_){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(_)},meridiem:function(_){return _<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":_<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":_<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(_,f){switch(f){case"DDD":case"w":case"W":case"DDDo":return 1===_?_+"-\u056b\u0576":_+"-\u0580\u0564";default:return _}},week:{dow:1,doy:7}})}(B(29609))},2190:function(ge,ke,B){!function(x){"use strict";x.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(_,f){return 12===_&&(_=0),"pagi"===f?_:"siang"===f?_>=11?_:_+12:"sore"===f||"malam"===f?_+12:void 0},meridiem:function(_,f,c){return _<11?"pagi":_<15?"siang":_<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(B(29609))},53887:function(ge,ke,B){!function(x){"use strict";function w(f){return f%100==11||f%10!=1}function D(f,c,k,h){var P=f+" ";switch(k){case"s":return c||h?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return w(f)?P+(c||h?"sek\xfandur":"sek\xfandum"):P+"sek\xfanda";case"m":return c?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return w(f)?P+(c||h?"m\xedn\xfatur":"m\xedn\xfatum"):c?P+"m\xedn\xfata":P+"m\xedn\xfatu";case"hh":return w(f)?P+(c||h?"klukkustundir":"klukkustundum"):P+"klukkustund";case"d":return c?"dagur":h?"dag":"degi";case"dd":return w(f)?c?P+"dagar":P+(h?"daga":"d\xf6gum"):c?P+"dagur":P+(h?"dag":"degi");case"M":return c?"m\xe1nu\xf0ur":h?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return w(f)?c?P+"m\xe1nu\xf0ir":P+(h?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):c?P+"m\xe1nu\xf0ur":P+(h?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return c||h?"\xe1r":"\xe1ri";case"yy":return w(f)?P+(c||h?"\xe1r":"\xe1rum"):P+(c||h?"\xe1r":"\xe1ri")}}x.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:D,ss:D,m:D,mm:D,h:"klukkustund",hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},19270:function(ge,ke,B){!function(x){"use strict";x.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(_){return(/^[0-9].+$/.test(_)?"tra":"in")+" "+_},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},46595:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(_){return"\u5348\u5f8c"===_},meridiem:function(_,f,c){return _<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(_){return _.week()=11?_:_+12:"sonten"===f||"ndalu"===f?_+12:void 0},meridiem:function(_,f,c){return _<11?"enjing":_<15?"siyang":_<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(B(29609))},27477:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(_){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(_)?_.replace(/\u10d8$/,"\u10e8\u10d8"):_+"\u10e8\u10d8"},past:function(_){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(_)?_.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(_)?_.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(_){return 0===_?_:1===_?_+"-\u10da\u10d8":_<20||_<=100&&_%20==0||_%100==0?"\u10db\u10d4-"+_:_+"-\u10d4"},week:{dow:1,doy:7}})}(B(29609))},13978:function(ge,ke,B){!function(x){"use strict";var w={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};x.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(f){return f+(w[f]||w[f%10]||w[f>=100?100:null])},week:{dow:1,doy:7}})}(B(29609))},19205:function(ge,ke,B){!function(x){"use strict";var w={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},D={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};x.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(c){return"\u179b\u17d2\u1784\u17b6\u1785"===c},meridiem:function(c,k,h){return c<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(c){return c.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(k){return D[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},week:{dow:1,doy:4}})}(B(29609))},60025:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},D={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};x.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(c){return c.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(k){return D[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===k?c<4?c:c+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===k?c:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===k?c>=10?c:c+12:"\u0cb8\u0c82\u0c9c\u0cc6"===k?c+12:void 0},meridiem:function(c,k,h){return c<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":c<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":c<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":c<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(c){return c+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(B(29609))},50427:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(_,f){switch(f){case"d":case"D":case"DDD":return _+"\uc77c";case"M":return _+"\uc6d4";case"w":case"W":return _+"\uc8fc";default:return _}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(_){return"\uc624\ud6c4"===_},meridiem:function(_,f,c){return _<12?"\uc624\uc804":"\uc624\ud6c4"}})}(B(29609))},19314:function(ge,ke,B){!function(x){"use strict";var w={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};x.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(f){return f+(w[f]||w[f%10]||w[f>=100?100:null])},week:{dow:1,doy:7}})}(B(29609))},23136:function(ge,ke,B){!function(x){"use strict";function w(k,h,P,S){var O={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return h?O[P][0]:O[P][1]}function f(k){if(k=parseInt(k,10),isNaN(k))return!1;if(k<0)return!0;if(k<10)return 4<=k&&k<=7;if(k<100){var h=k%10;return f(0===h?k/10:h)}if(k<1e4){for(;k>=10;)k/=10;return f(k)}return f(k/=1e3)}x.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(k){return f(k.substr(0,k.indexOf(" ")))?"a "+k:"an "+k},past:function(k){return f(k.substr(0,k.indexOf(" ")))?"viru "+k:"virun "+k},s:"e puer Sekonnen",ss:"%d Sekonnen",m:w,mm:"%d Minutten",h:w,hh:"%d Stonnen",d:w,dd:"%d Deeg",M:w,MM:"%d M\xe9int",y:w,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},29115:function(ge,ke,B){!function(x){"use strict";x.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(_){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===_},meridiem:function(_,f,c){return _<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(_){return"\u0e97\u0eb5\u0ec8"+_}})}(B(29609))},27087:function(ge,ke,B){!function(x){"use strict";var w={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function _(P,S,O,L){return S?c(O)[0]:L?c(O)[1]:c(O)[2]}function f(P){return P%10==0||P>10&&P<20}function c(P){return w[P].split("_")}function k(P,S,O,L){var C=P+" ";return 1===P?C+_(0,S,O[0],L):S?C+(f(P)?c(O)[1]:c(O)[0]):L?C+c(O)[1]:C+(f(P)?c(O)[1]:c(O)[2])}x.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(P,S,O,L){return S?"kelios sekund\u0117s":L?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:k,m:_,mm:k,h:_,hh:k,d:_,dd:k,M:_,MM:k,y:_,yy:k},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(S){return S+"-oji"},week:{dow:1,doy:4}})}(B(29609))},95683:function(ge,ke,B){!function(x){"use strict";var w={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function D(h,P,S){return S?P%10==1&&P%100!=11?h[2]:h[3]:P%10==1&&P%100!=11?h[0]:h[1]}function _(h,P,S){return h+" "+D(w[S],h,P)}function f(h,P,S){return D(w[S],h,P)}x.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(h,P){return P?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:_,m:f,mm:_,h:f,hh:_,d:f,dd:_,M:f,MM:_,y:f,yy:_},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},79454:function(ge,ke,B){!function(x){"use strict";var w={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(f,c){return 1===f?c[0]:f>=2&&f<=4?c[1]:c[2]},translate:function(f,c,k){var h=w.words[k];return 1===k.length?c?h[0]:h[1]:f+" "+w.correctGrammaticalCase(f,h)}};x.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:w.translate,m:w.translate,mm:w.translate,h:w.translate,hh:w.translate,d:"dan",dd:w.translate,M:"mjesec",MM:w.translate,y:"godinu",yy:w.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},35507:function(ge,ke,B){!function(x){"use strict";x.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},98466:function(ge,ke,B){!function(x){"use strict";x.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(_){var f=_%10,c=_%100;return 0===_?_+"-\u0435\u0432":0===c?_+"-\u0435\u043d":c>10&&c<20?_+"-\u0442\u0438":1===f?_+"-\u0432\u0438":2===f?_+"-\u0440\u0438":7===f||8===f?_+"-\u043c\u0438":_+"-\u0442\u0438"},week:{dow:1,doy:7}})}(B(29609))},82933:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(_,f){return 12===_&&(_=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===f&&_>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===f||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===f?_+12:_},meridiem:function(_,f,c){return _<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":_<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":_<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":_<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(B(29609))},19477:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){switch(c){case"s":return f?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return _+(f?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return _+(f?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return _+(f?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return _+(f?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return _+(f?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return _+(f?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return _}}x.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(f){return"\u04ae\u0425"===f},meridiem:function(f,c,k){return f<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(f,c){switch(c){case"d":case"D":case"DDD":return f+" \u04e9\u0434\u04e9\u0440";default:return f}}})}(B(29609))},43597:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function _(c,k,h,P){var S="";if(k)switch(h){case"s":S="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":S="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":S="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":S="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":S="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":S="%d \u0924\u093e\u0938";break;case"d":S="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":S="%d \u0926\u093f\u0935\u0938";break;case"M":S="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":S="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":S="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":S="%d \u0935\u0930\u094d\u0937\u0947"}else switch(h){case"s":S="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":S="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":S="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":S="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":S="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":S="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":S="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":S="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":S="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":S="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":S="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":S="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return S.replace(/%d/i,c)}x.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:_,ss:_,m:_,mm:_,h:_,hh:_,d:_,dd:_,M:_,MM:_,y:_,yy:_},preparse:function(k){return k.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(h){return D[h]})},postformat:function(k){return k.replace(/\d/g,function(h){return w[h]})},meridiemParse:/\u0930\u093e\u0924\u094d\u0930\u0940|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940/,meridiemHour:function(k,h){return 12===k&&(k=0),"\u0930\u093e\u0924\u094d\u0930\u0940"===h?k<4?k:k+12:"\u0938\u0915\u093e\u0933\u0940"===h?k:"\u0926\u0941\u092a\u093e\u0930\u0940"===h?k>=10?k:k+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===h?k+12:void 0},meridiem:function(k,h,P){return k<4?"\u0930\u093e\u0924\u094d\u0930\u0940":k<10?"\u0938\u0915\u093e\u0933\u0940":k<17?"\u0926\u0941\u092a\u093e\u0930\u0940":k<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(B(29609))},99965:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(_,f){return 12===_&&(_=0),"pagi"===f?_:"tengahari"===f?_>=11?_:_+12:"petang"===f||"malam"===f?_+12:void 0},meridiem:function(_,f,c){return _<11?"pagi":_<15?"tengahari":_<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(B(29609))},85529:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(_,f){return 12===_&&(_=0),"pagi"===f?_:"tengahari"===f?_>=11?_:_+12:"petang"===f||"malam"===f?_+12:void 0},meridiem:function(_,f,c){return _<11?"pagi":_<15?"tengahari":_<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(B(29609))},30259:function(ge,ke,B){!function(x){"use strict";x.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},88061:function(ge,ke,B){!function(x){"use strict";var w={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},D={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};x.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(c){return c.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(k){return D[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},week:{dow:1,doy:4}})}(B(29609))},72618:function(ge,ke,B){!function(x){"use strict";x.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},28452:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},D={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};x.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(k){return D[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0930\u093e\u0924\u093f"===k?c<4?c:c+12:"\u092c\u093f\u0939\u093e\u0928"===k?c:"\u0926\u093f\u0909\u0901\u0938\u094b"===k?c>=10?c:c+12:"\u0938\u093e\u0901\u091d"===k?c+12:void 0},meridiem:function(c,k,h){return c<3?"\u0930\u093e\u0924\u093f":c<12?"\u092c\u093f\u0939\u093e\u0928":c<16?"\u0926\u093f\u0909\u0901\u0938\u094b":c<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(B(29609))},60413:function(ge,ke,B){!function(x){"use strict";var w="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),D="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],f=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;x.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,P){return h?/-MMM-/.test(P)?D[h.month()]:w[h.month()]:w},monthsRegex:f,monthsShortRegex:f,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(B(29609))},1885:function(ge,ke,B){!function(x){"use strict";var w="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),D="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),_=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],f=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;x.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(h,P){return h?/-MMM-/.test(P)?D[h.month()]:w[h.month()]:w},monthsRegex:f,monthsShortRegex:f,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:_,longMonthsParse:_,shortMonthsParse:_,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(h){return h+(1===h||8===h||h>=20?"ste":"de")},week:{dow:1,doy:4}})}(B(29609))},45107:function(ge,ke,B){!function(x){"use strict";x.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},702:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},D={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};x.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(c){return c.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(k){return D[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(c,k){return 12===c&&(c=0),"\u0a30\u0a3e\u0a24"===k?c<4?c:c+12:"\u0a38\u0a35\u0a47\u0a30"===k?c:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===k?c>=10?c:c+12:"\u0a38\u0a3c\u0a3e\u0a2e"===k?c+12:void 0},meridiem:function(c,k,h){return c<4?"\u0a30\u0a3e\u0a24":c<10?"\u0a38\u0a35\u0a47\u0a30":c<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":c<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(B(29609))},31711:function(ge,ke,B){!function(x){"use strict";var w="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),D="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function _(k){return k%10<5&&k%10>1&&~~(k/10)%10!=1}function f(k,h,P){var S=k+" ";switch(P){case"ss":return S+(_(k)?"sekundy":"sekund");case"m":return h?"minuta":"minut\u0119";case"mm":return S+(_(k)?"minuty":"minut");case"h":return h?"godzina":"godzin\u0119";case"hh":return S+(_(k)?"godziny":"godzin");case"MM":return S+(_(k)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return S+(_(k)?"lata":"lat")}}x.defineLocale("pl",{months:function(h,P){return h?""===P?"("+D[h.month()]+"|"+w[h.month()]+")":/D MMMM/.test(P)?D[h.month()]:w[h.month()]:w},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:f,m:f,mm:f,h:f,hh:f,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:f,y:"rok",yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},58238:function(ge,ke,B){!function(x){"use strict";x.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(B(29609))},10594:function(ge,ke,B){!function(x){"use strict";x.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(B(29609))},74681:function(ge,ke,B){!function(x){"use strict";function w(_,f,c){var h=" ";return(_%100>=20||_>=100&&_%100==0)&&(h=" de "),_+h+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[c]}x.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:w,m:"un minut",mm:w,h:"o or\u0103",hh:w,d:"o zi",dd:w,M:"o lun\u0103",MM:w,y:"un an",yy:w},week:{dow:1,doy:7}})}(B(29609))},16201:function(ge,ke,B){!function(x){"use strict";function D(c,k,h){return"m"===h?k?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":c+" "+function(c,k){var h=c.split("_");return k%10==1&&k%100!=11?h[0]:k%10>=2&&k%10<=4&&(k%100<10||k%100>=20)?h[1]:h[2]}({ss:k?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:k?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[h],+c)}var _=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];x.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:_,longMonthsParse:_,shortMonthsParse:_,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(k){if(k.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:D,m:D,mm:D,h:"\u0447\u0430\u0441",hh:D,d:"\u0434\u0435\u043d\u044c",dd:D,M:"\u043c\u0435\u0441\u044f\u0446",MM:D,y:"\u0433\u043e\u0434",yy:D},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(k){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(k)},meridiem:function(k,h,P){return k<4?"\u043d\u043e\u0447\u0438":k<12?"\u0443\u0442\u0440\u0430":k<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(k,h){switch(h){case"M":case"d":case"DDD":return k+"-\u0439";case"D":return k+"-\u0433\u043e";case"w":case"W":return k+"-\u044f";default:return k}},week:{dow:1,doy:4}})}(B(29609))},62912:function(ge,ke,B){!function(x){"use strict";var w=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],D=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];x.defineLocale("sd",{months:w,monthsShort:w,weekdays:D,weekdaysShort:D,weekdaysMin:D,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,k,h){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(B(29609))},6002:function(ge,ke,B){!function(x){"use strict";x.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},67942:function(ge,ke,B){!function(x){"use strict";x.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(_){return _+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(_){return"\u0db4.\u0dc0."===_||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===_},meridiem:function(_,f,c){return _>11?c?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":c?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(B(29609))},25577:function(ge,ke,B){!function(x){"use strict";var w="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),D="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function _(k){return k>1&&k<5}function f(k,h,P,S){var O=k+" ";switch(P){case"s":return h||S?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return h||S?O+(_(k)?"sekundy":"sek\xfand"):O+"sekundami";case"m":return h?"min\xfata":S?"min\xfatu":"min\xfatou";case"mm":return h||S?O+(_(k)?"min\xfaty":"min\xfat"):O+"min\xfatami";case"h":return h?"hodina":S?"hodinu":"hodinou";case"hh":return h||S?O+(_(k)?"hodiny":"hod\xedn"):O+"hodinami";case"d":return h||S?"de\u0148":"d\u0148om";case"dd":return h||S?O+(_(k)?"dni":"dn\xed"):O+"d\u0148ami";case"M":return h||S?"mesiac":"mesiacom";case"MM":return h||S?O+(_(k)?"mesiace":"mesiacov"):O+"mesiacmi";case"y":return h||S?"rok":"rokom";case"yy":return h||S?O+(_(k)?"roky":"rokov"):O+"rokmi"}}x.defineLocale("sk",{months:w,monthsShort:D,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:f,ss:f,m:f,mm:f,h:f,hh:f,d:f,dd:f,M:f,MM:f,y:f,yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},41775:function(ge,ke,B){!function(x){"use strict";function w(_,f,c,k){var h=_+" ";switch(c){case"s":return f||k?"nekaj sekund":"nekaj sekundami";case"ss":return h+(1===_?f?"sekundo":"sekundi":2===_?f||k?"sekundi":"sekundah":_<5?f||k?"sekunde":"sekundah":"sekund");case"m":return f?"ena minuta":"eno minuto";case"mm":return h+(1===_?f?"minuta":"minuto":2===_?f||k?"minuti":"minutama":_<5?f||k?"minute":"minutami":f||k?"minut":"minutami");case"h":return f?"ena ura":"eno uro";case"hh":return h+(1===_?f?"ura":"uro":2===_?f||k?"uri":"urama":_<5?f||k?"ure":"urami":f||k?"ur":"urami");case"d":return f||k?"en dan":"enim dnem";case"dd":return h+(1===_?f||k?"dan":"dnem":2===_?f||k?"dni":"dnevoma":f||k?"dni":"dnevi");case"M":return f||k?"en mesec":"enim mesecem";case"MM":return h+(1===_?f||k?"mesec":"mesecem":2===_?f||k?"meseca":"mesecema":_<5?f||k?"mesece":"meseci":f||k?"mesecev":"meseci");case"y":return f||k?"eno leto":"enim letom";case"yy":return h+(1===_?f||k?"leto":"letom":2===_?f||k?"leti":"letoma":_<5?f||k?"leta":"leti":f||k?"let":"leti")}}x.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:w,ss:w,m:w,mm:w,h:w,hh:w,d:w,dd:w,M:w,MM:w,y:w,yy:w},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},36823:function(ge,ke,B){!function(x){"use strict";x.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(_){return"M"===_.charAt(0)},meridiem:function(_,f,c){return _<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},83848:function(ge,ke,B){!function(x){"use strict";var w={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(f,c){return 1===f?c[0]:f>=2&&f<=4?c[1]:c[2]},translate:function(f,c,k){var h=w.words[k];return 1===k.length?c?h[0]:h[1]:f+" "+w.correctGrammaticalCase(f,h)}};x.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:w.translate,m:w.translate,mm:w.translate,h:w.translate,hh:w.translate,d:"\u0434\u0430\u043d",dd:w.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:w.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:w.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},59038:function(ge,ke,B){!function(x){"use strict";var w={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(f,c){return 1===f?c[0]:f>=2&&f<=4?c[1]:c[2]},translate:function(f,c,k){var h=w.words[k];return 1===k.length?c?h[0]:h[1]:f+" "+w.correctGrammaticalCase(f,h)}};x.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:w.translate,m:w.translate,mm:w.translate,h:w.translate,hh:w.translate,d:"dan",dd:w.translate,M:"mesec",MM:w.translate,y:"godinu",yy:w.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(B(29609))},96173:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(_,f,c){return _<11?"ekuseni":_<15?"emini":_<19?"entsambama":"ebusuku"},meridiemHour:function(_,f){return 12===_&&(_=0),"ekuseni"===f?_:"emini"===f?_>=11?_:_+12:"entsambama"===f||"ebusuku"===f?0===_?0:_+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(B(29609))},5788:function(ge,ke,B){!function(x){"use strict";x.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(e|a)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"e":1===f||2===f?"a":"e")},week:{dow:1,doy:4}})}(B(29609))},76882:function(ge,ke,B){!function(x){"use strict";x.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"masiku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(B(29609))},82678:function(ge,ke,B){!function(x){"use strict";var w={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},D={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};x.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(c){return c+"\u0bb5\u0ba4\u0bc1"},preparse:function(c){return c.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(k){return D[k]})},postformat:function(c){return c.replace(/\d/g,function(k){return w[k]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(c,k,h){return c<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":c<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":c<10?" \u0b95\u0bbe\u0bb2\u0bc8":c<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":c<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":c<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(c,k){return 12===c&&(c=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===k?c<2?c:c+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===k||"\u0b95\u0bbe\u0bb2\u0bc8"===k||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===k&&c>=10?c:c+12},week:{dow:0,doy:6}})}(B(29609))},82797:function(ge,ke,B){!function(x){"use strict";x.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(_,f){return 12===_&&(_=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===f?_<4?_:_+12:"\u0c09\u0c26\u0c2f\u0c02"===f?_:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===f?_>=10?_:_+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===f?_+12:void 0},meridiem:function(_,f,c){return _<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":_<10?"\u0c09\u0c26\u0c2f\u0c02":_<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":_<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(B(29609))},52447:function(ge,ke,B){!function(x){"use strict";x.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},31335:function(ge,ke,B){!function(x){"use strict";var w={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};x.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(f,c){return 12===f&&(f=0),"\u0448\u0430\u0431"===c?f<4?f:f+12:"\u0441\u0443\u0431\u04b3"===c?f:"\u0440\u04ef\u0437"===c?f>=11?f:f+12:"\u0431\u0435\u0433\u043e\u04b3"===c?f+12:void 0},meridiem:function(f,c,k){return f<4?"\u0448\u0430\u0431":f<11?"\u0441\u0443\u0431\u04b3":f<16?"\u0440\u04ef\u0437":f<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(f){return f+(w[f]||w[f%10]||w[f>=100?100:null])},week:{dow:1,doy:7}})}(B(29609))},68667:function(ge,ke,B){!function(x){"use strict";x.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(_){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===_},meridiem:function(_,f,c){return _<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(B(29609))},99914:function(ge,ke,B){!function(x){"use strict";x.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(_){return _},week:{dow:1,doy:4}})}(B(29609))},71389:function(ge,ke,B){!function(x){"use strict";var w="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function f(h,P,S,O){var L=function(h){var P=Math.floor(h%1e3/100),S=Math.floor(h%100/10),O=h%10,L="";return P>0&&(L+=w[P]+"vatlh"),S>0&&(L+=(""!==L?" ":"")+w[S]+"maH"),O>0&&(L+=(""!==L?" ":"")+w[O]),""===L?"pagh":L}(h);switch(S){case"ss":return L+" lup";case"mm":return L+" tup";case"hh":return L+" rep";case"dd":return L+" jaj";case"MM":return L+" jar";case"yy":return L+" DIS"}}x.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(h){var P=h;return-1!==h.indexOf("jaj")?P.slice(0,-3)+"leS":-1!==h.indexOf("jar")?P.slice(0,-3)+"waQ":-1!==h.indexOf("DIS")?P.slice(0,-3)+"nem":P+" pIq"},past:function(h){var P=h;return-1!==h.indexOf("jaj")?P.slice(0,-3)+"Hu\u2019":-1!==h.indexOf("jar")?P.slice(0,-3)+"wen":-1!==h.indexOf("DIS")?P.slice(0,-3)+"ben":P+" ret"},s:"puS lup",ss:f,m:"wa\u2019 tup",mm:f,h:"wa\u2019 rep",hh:f,d:"wa\u2019 jaj",dd:f,M:"wa\u2019 jar",MM:f,y:"wa\u2019 DIS",yy:f},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},3578:function(ge,ke,B){!function(x){"use strict";var w={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};x.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(f,c){switch(c){case"d":case"D":case"Do":case"DD":return f;default:if(0===f)return f+"'\u0131nc\u0131";var k=f%10;return f+(w[k]||w[f%100-k]||w[f>=100?100:null])}},week:{dow:1,doy:7}})}(B(29609))},36969:function(ge,ke,B){!function(x){"use strict";function D(_,f,c,k){var h={s:["viensas secunds","'iensas secunds"],ss:[_+" secunds",_+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[_+" m\xeduts",_+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[_+" \xfeoras",_+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[_+" ziuas",_+" ziuas"],M:["'n mes","'iens mes"],MM:[_+" mesen",_+" mesen"],y:["'n ar","'iens ar"],yy:[_+" ars",_+" ars"]};return k||f?h[c][0]:h[c][1]}x.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(f){return"d'o"===f.toLowerCase()},meridiem:function(f,c,k){return f>11?k?"d'o":"D'O":k?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:D,ss:D,m:D,mm:D,h:D,hh:D,d:D,dd:D,M:D,MM:D,y:D,yy:D},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(B(29609))},690:function(ge,ke,B){!function(x){"use strict";x.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(B(29609))},76509:function(ge,ke,B){!function(x){"use strict";x.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(B(29609))},20055:function(ge,ke,B){!function(x){"use strict";x.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(_,f){return 12===_&&(_=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===f||"\u0633\u06d5\u06be\u06d5\u0631"===f||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===f?_:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===f||"\u0643\u06d5\u0686"===f?_+12:_>=11?_:_+12},meridiem:function(_,f,c){var k=100*_+f;return k<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":k<900?"\u0633\u06d5\u06be\u06d5\u0631":k<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":k<1230?"\u0686\u06c8\u0634":k<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(_,f){switch(f){case"d":case"D":case"DDD":return _+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return _+"-\u06be\u06d5\u067e\u062a\u06d5";default:return _}},preparse:function(_){return _.replace(/\u060c/g,",")},postformat:function(_){return _.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(B(29609))},22452:function(ge,ke,B){!function(x){"use strict";function D(k,h,P){return"m"===P?h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===P?h?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":k+" "+function(k,h){var P=k.split("_");return h%10==1&&h%100!=11?P[0]:h%10>=2&&h%10<=4&&(h%100<10||h%100>=20)?P[1]:P[2]}({ss:h?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:h?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[P],+k)}function f(k){return function(){return k+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}x.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(k,h){var P={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return k?P[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(h)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(h)?"genitive":"nominative"][k.day()]:P.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:f("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:f("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:f("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:f("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return f("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return f("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:D,m:D,mm:D,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:D,d:"\u0434\u0435\u043d\u044c",dd:D,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:D,y:"\u0440\u0456\u043a",yy:D},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(h){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(h)},meridiem:function(h,P,S){return h<4?"\u043d\u043e\u0447\u0456":h<12?"\u0440\u0430\u043d\u043a\u0443":h<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(h,P){switch(P){case"M":case"d":case"DDD":case"w":case"W":return h+"-\u0439";case"D":return h+"-\u0433\u043e";default:return h}},week:{dow:1,doy:7}})}(B(29609))},91151:function(ge,ke,B){!function(x){"use strict";var w=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],D=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];x.defineLocale("ur",{months:w,monthsShort:w,weekdays:D,weekdaysShort:D,weekdaysMin:D,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,k,h){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(B(29609))},46547:function(ge,ke,B){!function(x){"use strict";x.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(B(29609))},31555:function(ge,ke,B){!function(x){"use strict";x.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(B(29609))},16541:function(ge,ke,B){!function(x){"use strict";x.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(_){return/^ch$/i.test(_)},meridiem:function(_,f,c){return _<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n r\u1ed3i l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(_){return _},week:{dow:1,doy:4}})}(B(29609))},42401:function(ge,ke,B){!function(x){"use strict";x.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(_){var f=_%10;return _+(1==~~(_%100/10)?"th":1===f?"st":2===f?"nd":3===f?"rd":"th")},week:{dow:1,doy:4}})}(B(29609))},2341:function(ge,ke,B){!function(x){"use strict";x.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(B(29609))},80619:function(ge,ke,B){!function(x){"use strict";x.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(_,f){return 12===_&&(_=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?_:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?_+12:_>=11?_:_+12},meridiem:function(_,f,c){var k=100*_+f;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(_,f){switch(f){case"d":case"D":case"DDD":return _+"\u65e5";case"M":return _+"\u6708";case"w":case"W":return _+"\u5468";default:return _}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(B(29609))},67058:function(ge,ke,B){!function(x){"use strict";x.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(_,f){return 12===_&&(_=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?_:"\u4e2d\u5348"===f?_>=11?_:_+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?_+12:void 0},meridiem:function(_,f,c){var k=100*_+f;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(_,f){switch(f){case"d":case"D":case"DDD":return _+"\u65e5";case"M":return _+"\u6708";case"w":case"W":return _+"\u9031";default:return _}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(B(29609))},22782:function(ge,ke,B){!function(x){"use strict";x.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(_,f){return 12===_&&(_=0),"\u51cc\u6668"===f||"\u65e9\u4e0a"===f||"\u4e0a\u5348"===f?_:"\u4e2d\u5348"===f?_>=11?_:_+12:"\u4e0b\u5348"===f||"\u665a\u4e0a"===f?_+12:void 0},meridiem:function(_,f,c){var k=100*_+f;return k<600?"\u51cc\u6668":k<900?"\u65e9\u4e0a":k<1130?"\u4e0a\u5348":k<1230?"\u4e2d\u5348":k<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(_,f){switch(f){case"d":case"D":case"DDD":return _+"\u65e5";case"M":return _+"\u6708";case"w":case"W":return _+"\u9031";default:return _}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(B(29609))},29609:function(ge,ke,B){(ge=B.nmd(ge)).exports=function(){"use strict";var x,W;function w(){return x.apply(null,arguments)}function _(M){return M instanceof Array||"[object Array]"===Object.prototype.toString.call(M)}function f(M){return null!=M&&"[object Object]"===Object.prototype.toString.call(M)}function k(M){return void 0===M}function h(M){return"number"==typeof M||"[object Number]"===Object.prototype.toString.call(M)}function P(M){return M instanceof Date||"[object Date]"===Object.prototype.toString.call(M)}function S(M,A){var $,z=[];for($=0;$>>0,le=0;le<$;le++)if(le in z&&A.call(this,z[le],le,z))return!0;return!1};var fe=w.momentProperties=[];function te(M,A){var z,$,le;if(k(A._isAMomentObject)||(M._isAMomentObject=A._isAMomentObject),k(A._i)||(M._i=A._i),k(A._f)||(M._f=A._f),k(A._l)||(M._l=A._l),k(A._strict)||(M._strict=A._strict),k(A._tzm)||(M._tzm=A._tzm),k(A._isUTC)||(M._isUTC=A._isUTC),k(A._offset)||(M._offset=A._offset),k(A._pf)||(M._pf=Y(A)),k(A._locale)||(M._locale=A._locale),fe.length>0)for(z=0;z=0?z?"+":"":"-")+Math.pow(10,Math.max(0,A-$.length)).toString().substr(1)+$}var xe=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Ie=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ct={},ft={};function rt(M,A,z,$){var le=$;"string"==typeof $&&(le=function(){return this[$]()}),M&&(ft[M]=le),A&&(ft[A[0]]=function(){return Le(le.apply(this,arguments),A[1],A[2])}),z&&(ft[z]=function(){return this.localeData().ordinal(le.apply(this,arguments),M)})}function gn(M){return M.match(/\[[\s\S]/)?M.replace(/^\[|\]$/g,""):M.replace(/\\/g,"")}function Rt(M,A){return M.isValid()?(A=Ut(A,M.localeData()),ct[A]=ct[A]||function(M){var z,$,A=M.match(xe);for(z=0,$=A.length;z<$;z++)A[z]=ft[A[z]]?ft[A[z]]:gn(A[z]);return function(le){var je,Oe="";for(je=0;je<$;je++)Oe+=Fe(A[je])?A[je].call(le,M):A[je];return Oe}}(A),ct[A](M)):M.localeData().invalidDate()}function Ut(M,A){var z=5;function $(le){return A.longDateFormat(le)||le}for(Ie.lastIndex=0;z>=0&&Ie.test(M);)M=M.replace(Ie,$),Ie.lastIndex=0,z-=1;return M}var Kn=/\d/,Vn=/\d\d/,ya=/\d{3}/,zi=/\d{4}/,yr=/[+-]?\d{6}/,qt=/\d\d?/,An=/\d\d\d\d?/,_n=/\d\d\d\d\d\d?/,$e=/\d{1,3}/,pd=/\d{1,4}/,mu=/[+-]?\d{1,6}/,fg=/\d+/,vu=/[+-]?\d+/,md=/Z|[+-]\d\d:?\d\d/gi,gu=/Z|[+-]\d\d(?::?\d\d)?/gi,ul=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,vd={};function ot(M,A,z){vd[M]=Fe(A)?A:function($,le){return $&&z?z:A}}function Sn(M,A){return O(vd,M)?vd[M](A._strict,A._locale):new RegExp(function(M){return Jo(M.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(A,z,$,le,Oe){return z||$||le||Oe}))}(M))}function Jo(M){return M.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var cl={};function yn(M,A){var z,$=A;for("string"==typeof M&&(M=[M]),h(A)&&($=function(Oe,je){je[A]=re(Oe)}),z=0;z68?1900:2e3)};var Xn,yu=bo("FullYear",!0);function bo(M,A){return function(z){return null!=z?(bu(this,M,z),w.updateOffset(this,A),this):Yt(this,M)}}function Yt(M,A){return M.isValid()?M._d["get"+(M._isUTC?"UTC":"")+A]():NaN}function bu(M,A,z){M.isValid()&&!isNaN(z)&&("FullYear"===A&&_u(M.year())&&1===M.month()&&29===M.date()?M._d["set"+(M._isUTC?"UTC":"")+A](z,M.month(),gd(z,M.month())):M._d["set"+(M._isUTC?"UTC":"")+A](z))}function gd(M,A){if(isNaN(M)||isNaN(A))return NaN;var z=function(M,A){return(M%A+A)%A}(A,12);return M+=(A-z)/12,1===z?_u(M)?29:28:31-z%7%2}Xn=Array.prototype.indexOf?Array.prototype.indexOf:function(A){var z;for(z=0;z=0&&isFinite(xt.getFullYear())&&xt.setFullYear(M),xt}function ku(M){var A=new Date(Date.UTC.apply(null,arguments));return M<100&&M>=0&&isFinite(A.getUTCFullYear())&&A.setUTCFullYear(M),A}function yd(M,A,z){var $=7+A-z;return-(7+ku(M,0,$).getUTCDay()-A)%7+$-1}function Ih(M,A,z,$,le){var Jt,or,xt=1+7*(A-1)+(7+z-$)%7+yd(M,$,le);return xt<=0?or=dl(Jt=M-1)+xt:xt>dl(M)?(Jt=M+1,or=xt-dl(M)):(Jt=M,or=xt),{year:Jt,dayOfYear:or}}function Cu(M,A,z){var Oe,je,$=yd(M.year(),A,z),le=Math.floor((M.dayOfYear()-$-1)/7)+1;return le<1?Oe=le+Qo(je=M.year()-1,A,z):le>Qo(M.year(),A,z)?(Oe=le-Qo(M.year(),A,z),je=M.year()+1):(je=M.year(),Oe=le),{week:Oe,year:je}}function Qo(M,A,z){var $=yd(M,A,z),le=yd(M+1,A,z);return(dl(M)-$+le)/7}rt("w",["ww",2],"wo","week"),rt("W",["WW",2],"Wo","isoWeek"),de("week","w"),de("isoWeek","W"),ye("week",5),ye("isoWeek",5),ot("w",qt),ot("ww",qt,Vn),ot("W",qt),ot("WW",qt,Vn),$o(["w","ww","W","WW"],function(M,A,z,$){A[$.substr(0,1)]=re(M)});rt("d",0,"do","day"),rt("dd",0,0,function(M){return this.localeData().weekdaysMin(this,M)}),rt("ddd",0,0,function(M){return this.localeData().weekdaysShort(this,M)}),rt("dddd",0,0,function(M){return this.localeData().weekdays(this,M)}),rt("e",0,0,"weekday"),rt("E",0,0,"isoWeekday"),de("day","d"),de("weekday","e"),de("isoWeekday","E"),ye("day",11),ye("weekday",11),ye("isoWeekday",11),ot("d",qt),ot("e",qt),ot("E",qt),ot("dd",function(M,A){return A.weekdaysMinRegex(M)}),ot("ddd",function(M,A){return A.weekdaysShortRegex(M)}),ot("dddd",function(M,A){return A.weekdaysRegex(M)}),$o(["dd","ddd","dddd"],function(M,A,z,$){var le=z._locale.weekdaysParse(M,$,z._strict);null!=le?A.d=le:Y(z).invalidWeekday=M}),$o(["d","e","E"],function(M,A,z,$){A[$]=re(M)});var kt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var bd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Cg="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Mu(M,A,z){var $,le,Oe,je=M.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],$=0;$<7;++$)Oe=C([2e3,1]).day($),this._minWeekdaysParse[$]=this.weekdaysMin(Oe,"").toLocaleLowerCase(),this._shortWeekdaysParse[$]=this.weekdaysShort(Oe,"").toLocaleLowerCase(),this._weekdaysParse[$]=this.weekdays(Oe,"").toLocaleLowerCase();return z?"dddd"===A?-1!==(le=Xn.call(this._weekdaysParse,je))?le:null:"ddd"===A?-1!==(le=Xn.call(this._shortWeekdaysParse,je))?le:null:-1!==(le=Xn.call(this._minWeekdaysParse,je))?le:null:"dddd"===A?-1!==(le=Xn.call(this._weekdaysParse,je))||-1!==(le=Xn.call(this._shortWeekdaysParse,je))||-1!==(le=Xn.call(this._minWeekdaysParse,je))?le:null:"ddd"===A?-1!==(le=Xn.call(this._shortWeekdaysParse,je))||-1!==(le=Xn.call(this._weekdaysParse,je))||-1!==(le=Xn.call(this._minWeekdaysParse,je))?le:null:-1!==(le=Xn.call(this._minWeekdaysParse,je))||-1!==(le=Xn.call(this._weekdaysParse,je))||-1!==(le=Xn.call(this._shortWeekdaysParse,je))?le:null}var Cd=ul;var Mo=ul;var M0=ul;function Zo(){function M(xi,Sa){return Sa.length-xi.length}var Oe,je,xt,Jt,or,A=[],z=[],$=[],le=[];for(Oe=0;Oe<7;Oe++)je=C([2e3,1]).day(Oe),xt=this.weekdaysMin(je,""),Jt=this.weekdaysShort(je,""),or=this.weekdays(je,""),A.push(xt),z.push(Jt),$.push(or),le.push(xt),le.push(Jt),le.push(or);for(A.sort(M),z.sort(M),$.sort(M),le.sort(M),Oe=0;Oe<7;Oe++)z[Oe]=Jo(z[Oe]),$[Oe]=Jo($[Oe]),le[Oe]=Jo(le[Oe]);this._weekdaysRegex=new RegExp("^("+le.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+$.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+z.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+A.join("|")+")","i")}function Nh(){return this.hours()%12||12}function Wi(M,A){rt(M,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),A)})}function Yh(M,A){return A._meridiemParse}rt("H",["HH",2],0,"hour"),rt("h",["hh",2],0,Nh),rt("k",["kk",2],0,function(){return this.hours()||24}),rt("hmm",0,0,function(){return""+Nh.apply(this)+Le(this.minutes(),2)}),rt("hmmss",0,0,function(){return""+Nh.apply(this)+Le(this.minutes(),2)+Le(this.seconds(),2)}),rt("Hmm",0,0,function(){return""+this.hours()+Le(this.minutes(),2)}),rt("Hmmss",0,0,function(){return""+this.hours()+Le(this.minutes(),2)+Le(this.seconds(),2)}),Wi("a",!0),Wi("A",!1),de("hour","h"),ye("hour",13),ot("a",Yh),ot("A",Yh),ot("H",qt),ot("h",qt),ot("k",qt),ot("HH",qt,Vn),ot("hh",qt,Vn),ot("kk",qt,Vn),ot("hmm",An),ot("hmmss",_n),ot("Hmm",An),ot("Hmmss",_n),yn(["H","HH"],3),yn(["k","kk"],function(M,A,z){var $=re(M);A[3]=24===$?0:$}),yn(["a","A"],function(M,A,z){z._isPm=z._locale.isPM(M),z._meridiem=M}),yn(["h","hh"],function(M,A,z){A[3]=re(M),Y(z).bigHour=!0}),yn("hmm",function(M,A,z){var $=M.length-2;A[3]=re(M.substr(0,$)),A[4]=re(M.substr($)),Y(z).bigHour=!0}),yn("hmmss",function(M,A,z){var $=M.length-4,le=M.length-2;A[3]=re(M.substr(0,$)),A[4]=re(M.substr($,2)),A[5]=re(M.substr(le)),Y(z).bigHour=!0}),yn("Hmm",function(M,A,z){var $=M.length-2;A[3]=re(M.substr(0,$)),A[4]=re(M.substr($))}),yn("Hmmss",function(M,A,z){var $=M.length-4,le=M.length-2;A[3]=re(M.substr(0,$)),A[4]=re(M.substr($,2)),A[5]=re(M.substr(le))});var on,hn=bo("Hours",!0),Eg={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:h0,monthsShort:Tt,week:{dow:0,doy:6},weekdays:kt,weekdaysMin:Cg,weekdaysShort:bd,meridiemParse:/[ap]\.?m?\.?/i},Tr={},ka={};function hl(M){return M&&M.toLowerCase().replace("_","-")}function Ls(M){var A=null;if(!Tr[M]&&ge&&ge.exports)try{A=on._abbr,B(46700)("./"+M),Xo(A)}catch($){}return Tr[M]}function Xo(M,A){var z;return M&&((z=k(A)?Gi(M):wd(M,A))?on=z:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+M+" not found. Did you forget to load it?")),on._abbr}function wd(M,A){if(null!==A){var z,$=Eg;if(A.abbr=M,null!=Tr[M])Pe("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),$=Tr[M]._config;else if(null!=A.parentLocale)if(null!=Tr[A.parentLocale])$=Tr[A.parentLocale]._config;else{if(null==(z=Ls(A.parentLocale)))return ka[A.parentLocale]||(ka[A.parentLocale]=[]),ka[A.parentLocale].push({name:M,config:A}),null;$=z._config}return Tr[M]=new tt(Je($,A)),ka[M]&&ka[M].forEach(function(le){wd(le.name,le.config)}),Xo(M),Tr[M]}return delete Tr[M],null}function Gi(M){var A;if(M&&M._locale&&M._locale._abbr&&(M=M._locale._abbr),!M)return on;if(!_(M)){if(A=Ls(M))return A;M=[M]}return function(M){for(var z,$,le,Oe,A=0;A0;){if(le=Ls(Oe.slice(0,z).join("-")))return le;if($&&$.length>=z&&se(Oe,$,!0)>=z-1)break;z--}A++}return on}(M)}function Ke(M){var A,z=M._a;return z&&-2===Y(M).overflow&&(A=z[1]<0||z[1]>11?1:z[2]<1||z[2]>gd(z[0],z[1])?2:z[3]<0||z[3]>24||24===z[3]&&(0!==z[4]||0!==z[5]||0!==z[6])?3:z[4]<0||z[4]>59?4:z[5]<0||z[5]>59?5:z[6]<0||z[6]>999?6:-1,Y(M)._overflowDayOfYear&&(A<0||A>2)&&(A=2),Y(M)._overflowWeeks&&-1===A&&(A=7),Y(M)._overflowWeekday&&-1===A&&(A=8),Y(M).overflow=A),M}function So(M,A,z){return null!=M?M:null!=A?A:z}function wu(M){var A,z,le,Oe,je,$=[];if(!M._d){for(le=function(M){var A=new Date(w.now());return M._useUTC?[A.getUTCFullYear(),A.getUTCMonth(),A.getUTCDate()]:[A.getFullYear(),A.getMonth(),A.getDate()]}(M),M._w&&null==M._a[2]&&null==M._a[1]&&function(M){var A,z,$,le,Oe,je,xt,Jt;if(null!=(A=M._w).GG||null!=A.W||null!=A.E)Oe=1,je=4,z=So(A.GG,M._a[0],Cu(Fn(),1,4).year),$=So(A.W,1),((le=So(A.E,1))<1||le>7)&&(Jt=!0);else{Oe=M._locale._week.dow,je=M._locale._week.doy;var or=Cu(Fn(),Oe,je);z=So(A.gg,M._a[0],or.year),$=So(A.w,or.week),null!=A.d?((le=A.d)<0||le>6)&&(Jt=!0):null!=A.e?(le=A.e+Oe,(A.e<0||A.e>6)&&(Jt=!0)):le=Oe}$<1||$>Qo(z,Oe,je)?Y(M)._overflowWeeks=!0:null!=Jt?Y(M)._overflowWeekday=!0:(xt=Ih(z,$,le,Oe,je),M._a[0]=xt.year,M._dayOfYear=xt.dayOfYear)}(M),null!=M._dayOfYear&&(je=So(M._a[0],le[0]),(M._dayOfYear>dl(je)||0===M._dayOfYear)&&(Y(M)._overflowDayOfYear=!0),z=ku(je,0,M._dayOfYear),M._a[1]=z.getUTCMonth(),M._a[2]=z.getUTCDate()),A=0;A<3&&null==M._a[A];++A)M._a[A]=$[A]=le[A];for(;A<7;A++)M._a[A]=$[A]=null==M._a[A]?2===A?1:0:M._a[A];24===M._a[3]&&0===M._a[4]&&0===M._a[5]&&0===M._a[6]&&(M._nextDay=!0,M._a[3]=0),M._d=(M._useUTC?ku:g0).apply(null,$),Oe=M._useUTC?M._d.getUTCDay():M._d.getDay(),null!=M._tzm&&M._d.setUTCMinutes(M._d.getUTCMinutes()-M._tzm),M._nextDay&&(M._a[3]=24),M._w&&void 0!==M._w.d&&M._w.d!==Oe&&(Y(M).weekdayMismatch=!0)}}var Ct=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pg=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Bh=/Z|[+-]\d\d(?::?\d\d)?/,Ve=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Dr=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Xr=/^\/?Date\((\-?\d+)/i;function Wa(M){var A,z,Oe,je,xt,Jt,$=M._i,le=Ct.exec($)||Pg.exec($);if(le){for(Y(M).iso=!0,A=0,z=Ve.length;A0&&Y(M).unusedInput.push(je),A=A.slice(A.indexOf($)+$.length),Jt+=$.length),ft[Oe]?($?Y(M).empty=!1:Y(M).unusedTokens.push(Oe),wi(Oe,$,M)):M._strict&&!$&&Y(M).unusedTokens.push(Oe);Y(M).charsLeftOver=xt-Jt,A.length>0&&Y(M).unusedInput.push(A),M._a[3]<=12&&!0===Y(M).bigHour&&M._a[3]>0&&(Y(M).bigHour=void 0),Y(M).parsedDateParts=M._a.slice(0),Y(M).meridiem=M._meridiem,M._a[3]=function(M,A,z){var $;return null==z?A:null!=M.meridiemHour?M.meridiemHour(A,z):(null!=M.isPM&&(($=M.isPM(z))&&A<12&&(A+=12),!$&&12===A&&(A=0)),A)}(M._locale,M._a[3],M._meridiem),wu(M),Ke(M)}else fi(M);else Wa(M)}function Ft(M){var A=M._i,z=M._f;return M._locale=M._locale||Gi(M._l),null===A||void 0===z&&""===A?ae({nullInput:!0}):("string"==typeof A&&(M._i=A=M._locale.preparse(A)),ne(A)?new ce(Ke(A)):(P(A)?M._d=A:_(z)?function(M){var A,z,$,le,Oe;if(0===M._f.length)return Y(M).invalidFormat=!0,void(M._d=new Date(NaN));for(le=0;lethis?this:M:ae()});function xs(M,A){var z,$;if(1===A.length&&_(A[0])&&(A=A[0]),!A.length)return Fn();for(z=A[0],$=1;$(Oe=Qo(M,$,le))&&(A=Oe),Zh.call(this,M,A,z,$,le))}function Zh(M,A,z,$,le){var Oe=Ih(M,A,z,$,le),je=ku(Oe.year,0,Oe.dayOfYear);return this.year(je.getUTCFullYear()),this.month(je.getUTCMonth()),this.date(je.getUTCDate()),this}rt(0,["gg",2],0,function(){return this.weekYear()%100}),rt(0,["GG",2],0,function(){return this.isoWeekYear()%100}),qa("gggg","weekYear"),qa("ggggg","weekYear"),qa("GGGG","isoWeekYear"),qa("GGGGG","isoWeekYear"),de("weekYear","gg"),de("isoWeekYear","GG"),ye("weekYear",1),ye("isoWeekYear",1),ot("G",vu),ot("g",vu),ot("GG",qt,Vn),ot("gg",qt,Vn),ot("GGGG",pd,zi),ot("gggg",pd,zi),ot("GGGGG",mu,yr),ot("ggggg",mu,yr),$o(["gggg","ggggg","GGGG","GGGGG"],function(M,A,z,$){A[$.substr(0,2)]=re(M)}),$o(["gg","GG"],function(M,A,z,$){A[$]=w.parseTwoDigitYear(M)}),rt("Q",0,"Qo","quarter"),de("quarter","Q"),ye("quarter",7),ot("Q",Kn),yn("Q",function(M,A){A[1]=3*(re(M)-1)}),rt("D",["DD",2],"Do","date"),de("date","D"),ye("date",9),ot("D",qt),ot("DD",qt,Vn),ot("Do",function(M,A){return M?A._dayOfMonthOrdinalParse||A._ordinalParse:A._dayOfMonthOrdinalParseLenient}),yn(["D","DD"],2),yn("Do",function(M,A){A[2]=re(M.match(qt)[0])});var Mt=bo("Date",!0);rt("DDD",["DDDD",3],"DDDo","dayOfYear"),de("dayOfYear","DDD"),ye("dayOfYear",4),ot("DDD",$e),ot("DDDD",ya),yn(["DDD","DDDD"],function(M,A,z){z._dayOfYear=re(M)}),rt("m",["mm",2],0,"minute"),de("minute","m"),ye("minute",14),ot("m",qt),ot("mm",qt,Vn),yn(["m","mm"],4);var Jg=bo("Minutes",!1);rt("s",["ss",2],0,"second"),de("second","s"),ye("second",15),ot("s",qt),ot("ss",qt,Vn),yn(["s","ss"],5);var Do,$g=bo("Seconds",!1);for(rt("S",0,0,function(){return~~(this.millisecond()/100)}),rt(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),rt(0,["SSS",3],0,"millisecond"),rt(0,["SSSS",4],0,function(){return 10*this.millisecond()}),rt(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),rt(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),rt(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),rt(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),rt(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),de("millisecond","ms"),ye("millisecond",16),ot("S",$e,Kn),ot("SS",$e,Vn),ot("SSS",$e,ya),Do="SSSS";Do.length<=9;Do+="S")ot(Do,fg);function Xh(M,A){A[6]=re(1e3*("0."+M))}for(Do="S";Do.length<=9;Do+="S")yn(Do,Xh);var Qg=bo("Milliseconds",!1);rt("z",0,0,"zoneAbbr"),rt("zz",0,0,"zoneName");var Ye=ce.prototype;function xd(M){return M}Ye.add=x0,Ye.calendar=function(M,A){var z=M||Fn(),$=Ei(z,this).startOf("day"),le=w.calendarFormat(this,$)||"sameElse",Oe=A&&(Fe(A[le])?A[le].call(this,z):A[le]);return this.format(Oe||this.localeData().calendar(le,this,Fn(z)))},Ye.clone=function(){return new ce(this)},Ye.diff=function(M,A,z){var $,le,Oe;if(!this.isValid())return NaN;if(!($=Ei(M,this)).isValid())return NaN;switch(le=6e4*($.utcOffset()-this.utcOffset()),A=ve(A)){case"year":Oe=Dd(this,$)/12;break;case"month":Oe=Dd(this,$);break;case"quarter":Oe=Dd(this,$)/3;break;case"second":Oe=(this-$)/1e3;break;case"minute":Oe=(this-$)/6e4;break;case"hour":Oe=(this-$)/36e5;break;case"day":Oe=(this-$-le)/864e5;break;case"week":Oe=(this-$-le)/6048e5;break;default:Oe=this-$}return z?Oe:Z(Oe)},Ye.endOf=function(M){return void 0===(M=ve(M))||"millisecond"===M?this:("date"===M&&(M="day"),this.startOf(M).add(1,"isoWeek"===M?"week":M).subtract(1,"ms"))},Ye.format=function(M){M||(M=this.isUtc()?w.defaultFormatUtc:w.defaultFormat);var A=Rt(this,M);return this.localeData().postformat(A)},Ye.from=function(M,A){return this.isValid()&&(ne(M)&&M.isValid()||Fn(M).isValid())?Ca({to:this,from:M}).locale(this.locale()).humanize(!A):this.localeData().invalidDate()},Ye.fromNow=function(M){return this.from(Fn(),M)},Ye.to=function(M,A){return this.isValid()&&(ne(M)&&M.isValid()||Fn(M).isValid())?Ca({from:this,to:M}).locale(this.locale()).humanize(!A):this.localeData().invalidDate()},Ye.toNow=function(M){return this.to(Fn(),M)},Ye.get=function(M){return Fe(this[M=ve(M)])?this[M]():this},Ye.invalidAt=function(){return Y(this).overflow},Ye.isAfter=function(M,A){var z=ne(M)?M:Fn(M);return!(!this.isValid()||!z.isValid())&&("millisecond"===(A=ve(k(A)?"millisecond":A))?this.valueOf()>z.valueOf():z.valueOf()9999?Rt(z,A?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Fe(Date.prototype.toISOString)?A?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Rt(z,"Z")):Rt(z,A?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Ye.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var M="moment",A="";this.isLocal()||(M=0===this.utcOffset()?"moment.utc":"moment.parseZone",A="Z");var z="["+M+'("]',$=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(z+$+"-MM-DD[T]HH:mm:ss.SSS"+A+'[")]')},Ye.toJSON=function(){return this.isValid()?this.toISOString():null},Ye.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Ye.unix=function(){return Math.floor(this.valueOf()/1e3)},Ye.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Ye.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Ye.year=yu,Ye.isLeapYear=function(){return _u(this.year())},Ye.weekYear=function(M){return Ka.call(this,M,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Ye.isoWeekYear=function(M){return Ka.call(this,M,this.isoWeek(),this.isoWeekday(),1,4)},Ye.quarter=Ye.quarters=function(M){return null==M?Math.ceil((this.month()+1)/3):this.month(3*(M-1)+this.month()%3)},Ye.month=fl,Ye.daysInMonth=function(){return gd(this.year(),this.month())},Ye.week=Ye.weeks=function(M){var A=this.localeData().week(this);return null==M?A:this.add(7*(M-A),"d")},Ye.isoWeek=Ye.isoWeeks=function(M){var A=Cu(this,1,4).week;return null==M?A:this.add(7*(M-A),"d")},Ye.weeksInYear=function(){var M=this.localeData()._week;return Qo(this.year(),M.dow,M.doy)},Ye.isoWeeksInYear=function(){return Qo(this.year(),1,4)},Ye.date=Mt,Ye.day=Ye.days=function(M){if(!this.isValid())return null!=M?this:NaN;var A=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=M?(M=function(M,A){return"string"!=typeof M?M:isNaN(M)?"number"==typeof(M=A.weekdaysParse(M))?M:null:parseInt(M,10)}(M,this.localeData()),this.add(M-A,"d")):A},Ye.weekday=function(M){if(!this.isValid())return null!=M?this:NaN;var A=(this.day()+7-this.localeData()._week.dow)%7;return null==M?A:this.add(M-A,"d")},Ye.isoWeekday=function(M){if(!this.isValid())return null!=M?this:NaN;if(null!=M){var A=function(M,A){return"string"==typeof M?A.weekdaysParse(M)%7||7:isNaN(M)?null:M}(M,this.localeData());return this.day(this.day()%7?A:A-7)}return this.day()||7},Ye.dayOfYear=function(M){var A=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==M?A:this.add(M-A,"d")},Ye.hour=Ye.hours=hn,Ye.minute=Ye.minutes=Jg,Ye.second=Ye.seconds=$g,Ye.millisecond=Ye.milliseconds=Qg,Ye.utcOffset=function(M,A,z){var le,$=this._offset||0;if(!this.isValid())return null!=M?this:NaN;if(null!=M){if("string"==typeof M){if(null===(M=Ji(gu,M)))return this}else Math.abs(M)<16&&!z&&(M*=60);return!this._isUTC&&A&&(le=vl(this)),this._offset=M,this._isUTC=!0,null!=le&&this.add(le,"m"),$!==M&&(!A||this._changeInProgress?Vg(this,Ca(M-$,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,w.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?$:vl(this)},Ye.utc=function(M){return this.utcOffset(0,M)},Ye.local=function(M){return this._isUTC&&(this.utcOffset(0,M),this._isUTC=!1,M&&this.subtract(vl(this),"m")),this},Ye.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var M=Ji(md,this._i);null!=M?this.utcOffset(M):this.utcOffset(0,!0)}return this},Ye.hasAlignedHourOffset=function(M){return!!this.isValid()&&(M=M?Fn(M).utcOffset():0,(this.utcOffset()-M)%60==0)},Ye.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Ye.isLocal=function(){return!!this.isValid()&&!this._isUTC},Ye.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Ye.isUtc=Ng,Ye.isUTC=Ng,Ye.zoneAbbr=function(){return this._isUTC?"UTC":""},Ye.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Ye.dates=ee("dates accessor is deprecated. Use date instead.",Mt),Ye.months=ee("months accessor is deprecated. Use month instead",fl),Ye.years=ee("years accessor is deprecated. Use year instead",yu),Ye.zone=ee("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(M,A){return null!=M?("string"!=typeof M&&(M=-M),this.utcOffset(M,A),this):-this.utcOffset()}),Ye.isDSTShifted=ee("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!k(this._isDSTShifted))return this._isDSTShifted;var M={};if(te(M,this),(M=Ft(M))._a){var A=M._isUTC?C(M._a):Fn(M._a);this._isDSTShifted=this.isValid()&&se(M._a,A.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted});var pn=tt.prototype;function Pi(M,A,z,$){var le=Gi(),Oe=C().set($,A);return le[z](Oe,M)}function xu(M,A,z){if(h(M)&&(A=M,M=void 0),M=M||"",null!=A)return Pi(M,A,z,"month");var $,le=[];for($=0;$<12;$++)le[$]=Pi(M,$,z,"month");return le}function gl(M,A,z,$){"boolean"==typeof M?(h(A)&&(z=A,A=void 0),A=A||""):(z=A=M,M=!1,h(A)&&(z=A,A=void 0),A=A||"");var le=Gi(),Oe=M?le._week.dow:0;if(null!=z)return Pi(A,(z+Oe)%7,$,"day");var je,xt=[];for(je=0;je<7;je++)xt[je]=Pi(A,(je+Oe)%7,$,"day");return xt}pn.calendar=function(M,A,z){var $=this._calendar[M]||this._calendar.sameElse;return Fe($)?$.call(A,z):$},pn.longDateFormat=function(M){var A=this._longDateFormat[M],z=this._longDateFormat[M.toUpperCase()];return A||!z?A:(this._longDateFormat[M]=z.replace(/MMMM|MM|DD|dddd/g,function($){return $.slice(1)}),this._longDateFormat[M])},pn.invalidDate=function(){return this._invalidDate},pn.ordinal=function(M){return this._ordinal.replace("%d",M)},pn.preparse=xd,pn.postformat=xd,pn.relativeTime=function(M,A,z,$){var le=this._relativeTime[z];return Fe(le)?le(M,A,z,$):le.replace(/%d/i,M)},pn.pastFuture=function(M,A){var z=this._relativeTime[M>0?"future":"past"];return Fe(z)?z(A):z.replace(/%s/i,A)},pn.set=function(M){var A,z;for(z in M)Fe(A=M[z])?this[z]=A:this["_"+z]=A;this._config=M,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},pn.months=function(M,A){return M?_(this._months)?this._months[M.month()]:this._months[(this._months.isFormat||ko).test(A)?"format":"standalone"][M.month()]:_(this._months)?this._months:this._months.standalone},pn.monthsShort=function(M,A){return M?_(this._monthsShort)?this._monthsShort[M.month()]:this._monthsShort[ko.test(A)?"format":"standalone"][M.month()]:_(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},pn.monthsParse=function(M,A,z){var $,le,Oe;if(this._monthsParseExact)return gg.call(this,M,A,z);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),$=0;$<12;$++){if(le=C([2e3,$]),z&&!this._longMonthsParse[$]&&(this._longMonthsParse[$]=new RegExp("^"+this.months(le,"").replace(".","")+"$","i"),this._shortMonthsParse[$]=new RegExp("^"+this.monthsShort(le,"").replace(".","")+"$","i")),!z&&!this._monthsParse[$]&&(Oe="^"+this.months(le,"")+"|^"+this.monthsShort(le,""),this._monthsParse[$]=new RegExp(Oe.replace(".",""),"i")),z&&"MMMM"===A&&this._longMonthsParse[$].test(M))return $;if(z&&"MMM"===A&&this._shortMonthsParse[$].test(M))return $;if(!z&&this._monthsParse[$].test(M))return $}},pn.monthsRegex=function(M){return this._monthsParseExact?(O(this,"_monthsRegex")||bg.call(this),M?this._monthsStrictRegex:this._monthsRegex):(O(this,"_monthsRegex")||(this._monthsRegex=v0),this._monthsStrictRegex&&M?this._monthsStrictRegex:this._monthsRegex)},pn.monthsShortRegex=function(M){return this._monthsParseExact?(O(this,"_monthsRegex")||bg.call(this),M?this._monthsShortStrictRegex:this._monthsShortRegex):(O(this,"_monthsShortRegex")||(this._monthsShortRegex=m0),this._monthsShortStrictRegex&&M?this._monthsShortStrictRegex:this._monthsShortRegex)},pn.week=function(M){return Cu(M,this._week.dow,this._week.doy).week},pn.firstDayOfYear=function(){return this._week.doy},pn.firstDayOfWeek=function(){return this._week.dow},pn.weekdays=function(M,A){return M?_(this._weekdays)?this._weekdays[M.day()]:this._weekdays[this._weekdays.isFormat.test(A)?"format":"standalone"][M.day()]:_(this._weekdays)?this._weekdays:this._weekdays.standalone},pn.weekdaysMin=function(M){return M?this._weekdaysMin[M.day()]:this._weekdaysMin},pn.weekdaysShort=function(M){return M?this._weekdaysShort[M.day()]:this._weekdaysShort},pn.weekdaysParse=function(M,A,z){var $,le,Oe;if(this._weekdaysParseExact)return Mu.call(this,M,A,z);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$=0;$<7;$++){if(le=C([2e3,1]).day($),z&&!this._fullWeekdaysParse[$]&&(this._fullWeekdaysParse[$]=new RegExp("^"+this.weekdays(le,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[$]=new RegExp("^"+this.weekdaysShort(le,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[$]=new RegExp("^"+this.weekdaysMin(le,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[$]||(Oe="^"+this.weekdays(le,"")+"|^"+this.weekdaysShort(le,"")+"|^"+this.weekdaysMin(le,""),this._weekdaysParse[$]=new RegExp(Oe.replace(".",""),"i")),z&&"dddd"===A&&this._fullWeekdaysParse[$].test(M))return $;if(z&&"ddd"===A&&this._shortWeekdaysParse[$].test(M))return $;if(z&&"dd"===A&&this._minWeekdaysParse[$].test(M))return $;if(!z&&this._weekdaysParse[$].test(M))return $}},pn.weekdaysRegex=function(M){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||Zo.call(this),M?this._weekdaysStrictRegex:this._weekdaysRegex):(O(this,"_weekdaysRegex")||(this._weekdaysRegex=Cd),this._weekdaysStrictRegex&&M?this._weekdaysStrictRegex:this._weekdaysRegex)},pn.weekdaysShortRegex=function(M){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||Zo.call(this),M?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(O(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Mo),this._weekdaysShortStrictRegex&&M?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},pn.weekdaysMinRegex=function(M){return this._weekdaysParseExact?(O(this,"_weekdaysRegex")||Zo.call(this),M?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(O(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=M0),this._weekdaysMinStrictRegex&&M?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},pn.isPM=function(M){return"p"===(M+"").toLowerCase().charAt(0)},pn.meridiem=function(M,A,z){return M>11?z?"pm":"PM":z?"am":"AM"},Xo("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(A){var z=A%10;return A+(1===re(A%100/10)?"th":1===z?"st":2===z?"nd":3===z?"rd":"th")}}),w.lang=ee("moment.lang is deprecated. Use moment.locale instead.",Xo),w.langData=ee("moment.langData is deprecated. Use moment.localeData instead.",Gi);var Er=Math.abs;function as(M,A,z,$){var le=Ca(A,z);return M._milliseconds+=$*le._milliseconds,M._days+=$*le._days,M._months+=$*le._months,M._bubble()}function Id(M){return M<0?Math.floor(M):Math.ceil(M)}function tp(M){return 4800*M/146097}function _l(M){return 146097*M/4800}function Ma(M){return function(){return this.as(M)}}var n_=Ma("ms"),rp=Ma("s"),Ru=Ma("m"),ip=Ma("h"),ap=Ma("d"),op=Ma("w"),sp=Ma("M"),Fu=Ma("y");function ar(M){return function(){return this.isValid()?this._data[M]:NaN}}var Eo=ar("milliseconds"),tr=ar("seconds"),wa=ar("minutes"),a_=ar("hours"),Rd=ar("days"),o_=ar("months"),s_=ar("years");var ua=Math.round,Oi={ss:44,s:45,m:45,h:22,d:26,M:11};function Nu(M,A,z,$,le){return le.relativeTime(A||1,!!z,M,$)}var os=Math.abs;function Fs(M){return(M>0)-(M<0)||+M}function Yu(){if(!this.isValid())return this.localeData().invalidDate();var $,le,M=os(this._milliseconds)/1e3,A=os(this._days),z=os(this._months);$=Z(M/60),le=Z($/60),M%=60,$%=60;var je=Z(z/12),xt=z%=12,Jt=A,or=le,xi=$,Sa=M?M.toFixed(3).replace(/\.?0+$/,""):"",yl=this.asSeconds();if(!yl)return"P0D";var Ns=yl<0?"-":"",Hu=Fs(this._months)!==Fs(yl)?"-":"",Vu=Fs(this._days)!==Fs(yl)?"-":"",Nd=Fs(this._milliseconds)!==Fs(yl)?"-":"";return Ns+"P"+(je?Hu+je+"Y":"")+(xt?Hu+xt+"M":"")+(Jt?Vu+Jt+"D":"")+(or||xi||Sa?"T":"")+(or?Nd+or+"H":"")+(xi?Nd+xi+"M":"")+(Sa?Nd+Sa+"S":"")}var Wt=To.prototype;return Wt.isValid=function(){return this._isValid},Wt.abs=function(){var M=this._data;return this._milliseconds=Er(this._milliseconds),this._days=Er(this._days),this._months=Er(this._months),M.milliseconds=Er(M.milliseconds),M.seconds=Er(M.seconds),M.minutes=Er(M.minutes),M.hours=Er(M.hours),M.months=Er(M.months),M.years=Er(M.years),this},Wt.add=function(M,A){return as(this,M,A,1)},Wt.subtract=function(M,A){return as(this,M,A,-1)},Wt.as=function(M){if(!this.isValid())return NaN;var A,z,$=this._milliseconds;if("month"===(M=ve(M))||"year"===M)return z=this._months+tp(A=this._days+$/864e5),"month"===M?z:z/12;switch(A=this._days+Math.round(_l(this._months)),M){case"week":return A/7+$/6048e5;case"day":return A+$/864e5;case"hour":return 24*A+$/36e5;case"minute":return 1440*A+$/6e4;case"second":return 86400*A+$/1e3;case"millisecond":return Math.floor(864e5*A)+$;default:throw new Error("Unknown unit "+M)}},Wt.asMilliseconds=n_,Wt.asSeconds=rp,Wt.asMinutes=Ru,Wt.asHours=ip,Wt.asDays=ap,Wt.asWeeks=op,Wt.asMonths=sp,Wt.asYears=Fu,Wt.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*re(this._months/12):NaN},Wt._bubble=function(){var le,Oe,je,xt,Jt,M=this._milliseconds,A=this._days,z=this._months,$=this._data;return M>=0&&A>=0&&z>=0||M<=0&&A<=0&&z<=0||(M+=864e5*Id(_l(z)+A),A=0,z=0),$.milliseconds=M%1e3,le=Z(M/1e3),$.seconds=le%60,Oe=Z(le/60),$.minutes=Oe%60,je=Z(Oe/60),$.hours=je%24,A+=Z(je/24),z+=Jt=Z(tp(A)),A-=Id(_l(Jt)),xt=Z(z/12),z%=12,$.days=A,$.months=z,$.years=xt,this},Wt.clone=function(){return Ca(this)},Wt.get=function(M){return M=ve(M),this.isValid()?this[M+"s"]():NaN},Wt.milliseconds=Eo,Wt.seconds=tr,Wt.minutes=wa,Wt.hours=a_,Wt.days=Rd,Wt.weeks=function(){return Z(this.days()/7)},Wt.months=o_,Wt.years=s_,Wt.humanize=function(M){if(!this.isValid())return this.localeData().invalidDate();var A=this.localeData(),z=function(M,A,z){var $=Ca(M).abs(),le=ua($.as("s")),Oe=ua($.as("m")),je=ua($.as("h")),xt=ua($.as("d")),Jt=ua($.as("M")),or=ua($.as("y")),xi=le<=Oi.ss&&["s",le]||le0,xi[4]=z,Nu.apply(null,xi)}(this,!M,A);return M&&(z=A.pastFuture(+this,z)),A.postformat(z)},Wt.toISOString=Yu,Wt.toString=Yu,Wt.toJSON=Yu,Wt.locale=Lu,Wt.localeData=Pu,Wt.toIsoString=ee("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Yu),Wt.lang=Jh,rt("X",0,0,"unix"),rt("x",0,0,"valueOf"),ot("x",vu),ot("X",/[+-]?\d+(\.\d{1,3})?/),yn("X",function(M,A,z){z._d=new Date(1e3*parseFloat(M,10))}),yn("x",function(M,A,z){z._d=new Date(re(M))}),w.version="2.22.2",x=Fn,w.fn=Ye,w.min=function(){return xs("isBefore",[].slice.call(arguments,0))},w.max=function(){return xs("isAfter",[].slice.call(arguments,0))},w.now=function(){return Date.now?Date.now():+new Date},w.utc=C,w.unix=function(M){return Fn(1e3*M)},w.months=function(M,A){return xu(M,A,"months")},w.isDate=P,w.locale=Xo,w.invalid=ae,w.duration=Ca,w.isMoment=ne,w.weekdays=function(M,A,z){return gl(M,A,z,"weekdays")},w.parseZone=function(){return Fn.apply(null,arguments).parseZone()},w.localeData=Gi,w.isDuration=As,w.monthsShort=function(M,A){return xu(M,A,"monthsShort")},w.weekdaysMin=function(M,A,z){return gl(M,A,z,"weekdaysMin")},w.defineLocale=wd,w.updateLocale=function(M,A){if(null!=A){var z,$,le=Eg;null!=($=Ls(M))&&(le=$._config),(z=new tt(A=Je(le,A))).parentLocale=Tr[M],Tr[M]=z,Xo(M)}else null!=Tr[M]&&(null!=Tr[M].parentLocale?Tr[M]=Tr[M].parentLocale:null!=Tr[M]&&delete Tr[M]);return Tr[M]},w.locales=function(){return He(Tr)},w.weekdaysShort=function(M,A,z){return gl(M,A,z,"weekdaysShort")},w.normalizeUnits=ve,w.relativeTimeRounding=function(M){return void 0===M?ua:"function"==typeof M&&(ua=M,!0)},w.relativeTimeThreshold=function(M,A){return void 0!==Oi[M]&&(void 0===A?Oi[M]:(Oi[M]=A,"s"===M&&(Oi.ss=A-1),!0))},w.calendarFormat=function(M,A){var z=M.diff(A,"days",!0);return z<-6?"sameElse":z<-1?"lastWeek":z<0?"lastDay":z<1?"sameDay":z<2?"nextDay":z<7?"nextWeek":"sameElse"},w.prototype=Ye,w.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},w}()},50329:function(ge,ke,B){"use strict";function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}function D(e,i,t){return(D="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(a,o,s){var l=function(e,i){for(;!Object.prototype.hasOwnProperty.call(e,i)&&null!==(e=x(e)););return e}(a,o);if(l){var u=Object.getOwnPropertyDescriptor(l,o);return u.get?u.get.call(s):u.value}})(e,i,t||e)}function _(e,i){for(var t=0;te.length)&&(i=e.length);for(var t=0,n=new Array(i);t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(d){throw d},f:a}}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 l,o=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var d=t.next();return o=d.done,d},e:function(d){s=!0,l=d},f:function(){try{!o&&null!=t.return&&t.return()}finally{if(s)throw l}}}}function te(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,i){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var s,l,n=[],a=!0,o=!1;try{for(t=t.call(e);!(a=(s=t.next()).done)&&(n.push(s.value),!i||n.length!==i);a=!0);}catch(u){o=!0,l=u}finally{try{!a&&null!=t.return&&t.return()}finally{if(o)throw l}}return n}}(e,i)||Y(e,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,i,t){return i in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function se(e){return function(e){if(Array.isArray(e))return R(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Y(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ue(e,i,t){return(ue=P()?Reflect.construct:function(a,o,s){var l=[null];l.push.apply(l,o);var d=new(Function.bind.apply(a,l));return s&&k(d,s.prototype),d}).apply(null,arguments)}function Ee(e){var i="function"==typeof Map?new Map:void 0;return(Ee=function(n){if(null===n||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(n))return n;if("function"!=typeof n)throw new TypeError("Super expression must either be null or a function");if(void 0!==i){if(i.has(n))return i.get(n);i.set(n,a)}function a(){return ue(n,arguments,x(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),k(a,n)})(e)}var Pe=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}();function Fe(e){return null!==e&&"object"==typeof e}function Be(e){return"function"==typeof e}var tt=function(){function e(i){return Error.call(this),this.message=i?"".concat(i.length," errors occurred during unsubscription:\n").concat(i.map(function(t,n){return"".concat(n+1,") ").concat(t.toString())}).join("\n ")):"",this.name="UnsubscriptionError",this.errors=i,this}return e.prototype=Object.create(Error.prototype),e}(),He=function(){var i,e=function(){function i(t){c(this,i),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return f(i,[{key:"unsubscribe",value:function(){var n;if(!this.closed){var a=this._parentOrParents,o=this._unsubscribe,s=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,a instanceof i)a.remove(this);else if(null!==a)for(var l=0;l4&&void 0!==arguments[4]?arguments[4]:new rt(e,t,n);if(!a.closed)return i instanceof me?i.subscribe(a):qt(i)(a)}var _n=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"notifyNext",value:function(a,o,s,l,u){this.destination.next(o)}},{key:"notifyError",value:function(a,o){this.destination.error(a)}},{key:"notifyComplete",value:function(a){this.destination.complete()}}]),t}(St);function $e(e,i){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new pd(e,i))}}var pd=function(){function e(i,t){c(this,e),this.project=i,this.thisArg=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new mu(t,this.project,this.thisArg))}}]),e}(),mu=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).project=a,s.count=0,s.thisArg=o||O(s),s}return f(t,[{key:"_next",value:function(a){var o;try{o=this.project.call(this.thisArg,a,this.count++)}catch(s){return void this.destination.error(s)}this.destination.next(o)}}]),t}(St);function md(e,i){return new me(function(t){var n=new He,a=0;return n.add(i.schedule(function(){a!==e.length?(t.next(e[a++]),t.closed||n.add(this.schedule())):t.complete()})),n})}function ot(e,i){return i?function(e,i){if(null!=e){if(function(e){return e&&"function"==typeof e[ie]}(e))return function(e,i){return new me(function(t){var n=new He;return n.add(i.schedule(function(){var a=e[ie]();n.add(a.subscribe({next:function(s){n.add(i.schedule(function(){return t.next(s)}))},error:function(s){n.add(i.schedule(function(){return t.error(s)}))},complete:function(){n.add(i.schedule(function(){return t.complete()}))}}))})),n})}(e,i);if(yr(e))return function(e,i){return new me(function(t){var n=new He;return n.add(i.schedule(function(){return e.then(function(a){n.add(i.schedule(function(){t.next(a),n.add(i.schedule(function(){return t.complete()}))}))},function(a){n.add(i.schedule(function(){return t.error(a)}))})})),n})}(e,i);if(zi(e))return md(e,i);if(function(e){return e&&"function"==typeof e[Ut]}(e)||"string"==typeof e)return function(e,i){if(!e)throw new Error("Iterable cannot be null");return new me(function(t){var a,n=new He;return n.add(function(){a&&"function"==typeof a.return&&a.return()}),n.add(i.schedule(function(){a=e[Ut](),n.add(i.schedule(function(){if(!t.closed){var o,s;try{var l=a.next();o=l.value,s=l.done}catch(u){return void t.error(u)}s?t.complete():(t.next(o),this.schedule())}}))})),n})}(e,i)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,i):e instanceof me?e:new me(qt(e))}function Sn(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof i?function(n){return n.pipe(Sn(function(a,o){return ot(e(a,o)).pipe($e(function(s,l){return i(a,s,o,l)}))},t))}:("number"==typeof i&&(t=i),function(n){return n.lift(new pg(e,t))})}var pg=function(){function e(i){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;c(this,e),this.project=i,this.concurrent=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new Jo(t,this.project,this.concurrent))}}]),e}(),Jo=function(e){h(t,e);var i=C(t);function t(n,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return c(this,t),(o=i.call(this,n)).project=a,o.concurrent=s,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return f(t,[{key:"_next",value:function(a){this.active0?this._next(o.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),t}(_n);function cl(e){return e}function yn(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Sn(cl,e)}function $o(e,i){return i?md(e,i):new me(gn(e))}function wi(){for(var e=Number.POSITIVE_INFINITY,i=null,t=arguments.length,n=new Array(t),a=0;a1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof o&&(e=n.pop()),null===i&&1===n.length&&n[0]instanceof me?n[0]:yn(e)($o(n,i))}function Si(){return function(i){return i.lift(new Ba(i))}}var Ba=function(){function e(i){c(this,e),this.connectable=i}return f(e,[{key:"call",value:function(t,n){var a=this.connectable;a._refCount++;var o=new ba(t,a),s=n.subscribe(o);return o.closed||(o.connection=a.connect()),s}}]),e}(),ba=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).connectable=a,o}return f(t,[{key:"_unsubscribe",value:function(){var a=this.connectable;if(a){this.connectable=null;var o=a._refCount;if(o<=0)this.connection=null;else if(a._refCount=o-1,o>1)this.connection=null;else{var s=this.connection,l=a._connection;this.connection=null,l&&(!s||l===s)&&l.unsubscribe()}}else this.connection=null}}]),t}(St),fr=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this)).source=n,o.subjectFactory=a,o._refCount=0,o._isComplete=!1,o}return f(t,[{key:"_subscribe",value:function(a){return this.getSubject().subscribe(a)}},{key:"getSubject",value:function(){var a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var a=this._connection;return a||(this._isComplete=!1,(a=this._connection=new He).add(this.source.subscribe(new ja(this.getSubject(),this))),a.closed&&(this._connection=null,a=He.EMPTY)),a}},{key:"refCount",value:function(){return Si()(this)}}]),t}(me),oa=function(){var e=fr.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),ja=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).connectable=a,o}return f(t,[{key:"_error",value:function(a){this._unsubscribe(),D(x(t.prototype),"_error",this).call(this,a)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),D(x(t.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var a=this.connectable;if(a){this.connectable=null;var o=a._connection;a._refCount=0,a._subject=null,a._connection=null,o&&o.unsubscribe()}}}]),t}(xe);function _u(){return new Ie}function yu(){return function(e){return Si()(function(e,i){return function(n){var a;a="function"==typeof e?e:function(){return e};var o=Object.create(n,oa);return o.source=n,o.subjectFactory=a,o}}(_u)(e))}}function cn(e){for(var i in e)if(e[i]===cn)return i;throw Error("Could not find renamed property on target object.")}function bo(e,i){for(var t in i)i.hasOwnProperty(t)&&!e.hasOwnProperty(t)&&(e[t]=i[t])}function Yt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Yt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var i=e.toString();if(null==i)return""+i;var t=i.indexOf("\n");return-1===t?i:i.substring(0,t)}function bu(e,i){return null==e||""===e?null===i?"":i:null==i||""===i?e:e+" "+i}var vg=cn({__forward_ref__:cn});function fn(e){return e.__forward_ref__=fn,e.toString=function(){return Yt(this())},e}function yt(e){return Xn(e)?e():e}function Xn(e){return"function"==typeof e&&e.hasOwnProperty(vg)&&e.__forward_ref__===fn}var ko=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,function(e,i){var t=e?"NG0".concat(e,": "):"";return"".concat(t).concat(i)}(n,a))).code=n,o}return t}(Ee(Error));function Tt(e){return"string"==typeof e?e:null==e?"":String(e)}function Zr(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Tt(e)}function fl(e,i){var t=i?" in ".concat(i):"";throw new ko("201","No provider for ".concat(Zr(e)," found").concat(t))}function Di(e,i){null==e&&function(e,i,t,n){throw new Error("ASSERTION ERROR: ".concat(e)+(null==n?"":" [Expected=> ".concat(t," ").concat(n," ").concat(i," <=Actual]")))}(i,e,null,"!=")}function We(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function kt(e){return{providers:e.providers||[],imports:e.imports||[]}}function Co(e){return bd(e,Mu)||bd(e,Rh)}function bd(e,i){return e.hasOwnProperty(i)?e[i]:null}function Ah(e){return e&&(e.hasOwnProperty(kd)||e.hasOwnProperty(Mg))?e[kd]:null}var Cd,Mu=cn({"\u0275prov":cn}),kd=cn({"\u0275inj":cn}),Rh=cn({ngInjectableDef:cn}),Mg=cn({ngInjectorDef:cn}),Kt=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function wg(){return Cd}function Mo(e){var i=Cd;return Cd=e,i}function Fh(e,i,t){var n=Co(e);return n&&"root"==n.providedIn?void 0===n.value?n.value=n.factory():n.value:t&Kt.Optional?null:void 0!==i?i:void fl(Yt(e),"Injector")}function wo(e){return{toString:e}.toString()}var Zo=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),Wi=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),Yh="undefined"!=typeof globalThis&&globalThis,Sg="undefined"!=typeof window&&window,Tg="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Dg="undefined"!=typeof global&&global,hn=Yh||Dg||Sg||Tg,ka={},on=[],hl=cn({"\u0275cmp":cn}),Md=cn({"\u0275dir":cn}),Ls=cn({"\u0275pipe":cn}),Xo=cn({"\u0275mod":cn}),wd=cn({"\u0275loc":cn}),za=cn({"\u0275fac":cn}),Gi=cn({__NG_ELEMENT_ID__:cn}),Lg=0;function Ke(e){return wo(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Zo.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||on,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Wi.Emulated,id:"c",styles:e.styles||on,_:null,setInput:null,schemas:e.schemas||null,tView:null},a=e.directives,o=e.features,s=e.pipes;return n.id+=Lg++,n.inputs=Bh(e.inputs,t),n.outputs=Bh(e.outputs),o&&o.forEach(function(l){return l(n)}),n.directiveDefs=a?function(){return("function"==typeof a?a():a).map(Hh)}:null,n.pipeDefs=s?function(){return("function"==typeof s?s():s).map(wu)}:null,n})}function So(e,i,t){var n=e.\u0275cmp;n.directiveDefs=function(){return i.map(Hh)},n.pipeDefs=function(){return t.map(wu)}}function Hh(e){return Xr(e)||function(e){return e[Md]||null}(e)}function wu(e){return function(e){return e[Ls]||null}(e)}var Vh={};function Ct(e){return wo(function(){var i={type:e.type,bootstrap:e.bootstrap||on,declarations:e.declarations||on,imports:e.imports||on,exports:e.exports||on,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Vh[e.id]=e.type),i})}function Bh(e,i){if(null==e)return ka;var t={};for(var n in e)if(e.hasOwnProperty(n)){var a=e[n],o=a;Array.isArray(a)&&(o=a[1],a=a[0]),t[a]=n,i&&(i[a]=o)}return t}var Ve=Ke;function Dr(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Xr(e){return e[hl]||null}function qi(e,i){var t=e[Xo]||null;if(!t&&!0===i)throw new Error("Type ".concat(Yt(e)," does not have '\u0275mod' property."));return t}function Ji(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ei(e){return Array.isArray(e)&&!0===e[1]}function vl(e){return 0!=(8&e.flags)}function Du(e){return 2==(2&e.flags)}function Eu(e){return 1==(1&e.flags)}function la(e){return null!==e.template}function Ag(e){return 0!=(512&e[2])}function is(e,i){return e.hasOwnProperty(za)?e[za]:null}var Uh=function(){function e(i,t,n){c(this,e),this.previousValue=i,this.currentValue=t,this.firstChange=n}return f(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Jn(){return zh}function zh(e){return e.type.prototype.ngOnChanges&&(e.setInput=Dd),Bg}function Bg(){var e=Gh(this),i=null==e?void 0:e.current;if(i){var t=e.previous;if(t===ka)e.previous=i;else for(var n in i)t[n]=i[n];e.current=null,this.ngOnChanges(i)}}function Dd(e,i,t,n){var a=Gh(e)||function(e,i){return e[Wh]=i}(e,{previous:ka,current:null}),o=a.current||(a.current={}),s=a.previous,l=this.declaredInputs[t],u=s[l];o[l]=new Uh(u&&u.currentValue,i,s===ka),e[n]=i}Jn.ngInherit=!0;var Wh="__ngSimpleChanges__";function Gh(e){return e[Wh]||null}var qh="http://www.w3.org/2000/svg",Lu=void 0;function er(e){return!!e.listen}var $h={createRenderer:function(i,t){return void 0!==Lu?Lu:"undefined"!=typeof document?document:void 0}};function pr(e){for(;Array.isArray(e);)e=e[0];return e}function Ou(e,i){return pr(i[e])}function Qi(e,i){return pr(i[e.index])}function Ld(e,i){return e.data[i]}function qa(e,i){return e[i]}function Li(e,i){var t=i[e];return Ji(t)?t:t[0]}function Qh(e){return 4==(4&e[2])}function Pd(e){return 128==(128&e[2])}function Ka(e,i){return null==i?null:e[i]}function Zh(e){e[18]=0}function Od(e,i){e[5]+=i;for(var t=e,n=e[3];null!==n&&(1===i&&1===t[5]||-1===i&&0===t[5]);)n[5]+=i,t=n,n=n[3]}var Mt={lFrame:ap(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Xh(){return Mt.bindingsEnabled}function ze(){return Mt.lFrame.lView}function Ye(){return Mt.lFrame.tView}function Ae(e){return Mt.lFrame.contextLView=e,e[8]}function br(){for(var e=xd();null!==e&&64===e.type;)e=e.parent;return e}function xd(){return Mt.lFrame.currentTNode}function Pi(e,i){var t=Mt.lFrame;t.currentTNode=e,t.isParent=i}function xu(){return Mt.lFrame.isParent}function gl(){Mt.lFrame.isParent=!1}function Iu(){return Mt.isInCheckNoChangesMode}function Au(e){Mt.isInCheckNoChangesMode=e}function ei(){var e=Mt.lFrame,i=e.bindingRootIndex;return-1===i&&(i=e.bindingRootIndex=e.tView.bindingStartIndex),i}function Er(){return Mt.lFrame.bindingIndex}function as(){return Mt.lFrame.bindingIndex++}function Ja(e){var i=Mt.lFrame,t=i.bindingIndex;return i.bindingIndex=i.bindingIndex+e,t}function t_(e,i){var t=Mt.lFrame;t.bindingIndex=t.bindingRootIndex=e,_l(i)}function _l(e){Mt.lFrame.currentDirectiveIndex=e}function Ad(e){var i=Mt.lFrame.currentDirectiveIndex;return-1===i?null:e[i]}function np(){return Mt.lFrame.currentQueryIndex}function Ma(e){Mt.lFrame.currentQueryIndex=e}function n_(e){var i=e[1];return 2===i.type?i.declTNode:1===i.type?e[6]:null}function rp(e,i,t){if(t&Kt.SkipSelf){for(var n=i,a=e;!(null!==(n=n.parent)||t&Kt.Host||null===(n=n_(a))||(a=a[15],10&n.type)););if(null===n)return!1;i=n,e=a}var o=Mt.lFrame=ip();return o.currentTNode=i,o.lView=e,!0}function Ru(e){var i=ip(),t=e[1];Mt.lFrame=i,i.currentTNode=t.firstChild,i.lView=e,i.tView=t,i.contextLView=e,i.bindingIndex=t.bindingStartIndex,i.inI18n=!1}function ip(){var e=Mt.lFrame,i=null===e?null:e.child;return null===i?ap(e):i}function ap(e){var i={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=i),i}function op(){var e=Mt.lFrame;return Mt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var sp=op;function Fu(){var e=op();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function r_(e){return(Mt.lFrame.contextLView=function(e,i){for(;e>0;)i=i[15],e--;return i}(e,Mt.lFrame.contextLView))[8]}function ar(){return Mt.lFrame.selectedIndex}function Eo(e){Mt.lFrame.selectedIndex=e}function tr(){var e=Mt.lFrame;return Ld(e.tView,e.selectedIndex)}function wa(){Mt.lFrame.currentNamespace=qh}function Rd(){Mt.lFrame.currentNamespace=null}function ua(e,i){for(var t=i.directiveStart,n=i.directiveEnd;t=n)break}else i[u]<0&&(e[18]+=65536),(l>11>16&&(3&e[2])===i){e[2]+=2048;try{o.call(l)}finally{}}}else try{o.call(l)}finally{}}var os=function e(i,t,n){c(this,e),this.factory=i,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n};function Oe(e,i,t){for(var n=er(e),a=0;ai){s=o-1;break}}}for(;o>16}(e),n=i;t>0;)n=n[15],t--;return n}var Hu=!0;function Vu(e){var i=Hu;return Hu=e,i}var VI=0;function Yd(e,i){var t=d_(e,i);if(-1!==t)return t;var n=i[1];n.firstCreatePass&&(e.injectorIndex=i.length,c_(n.data,e),c_(i,null),c_(n.blueprint,null));var a=up(e,i),o=e.injectorIndex;if(xi(a))for(var s=Sa(a),l=Ns(a,i),u=l[1].data,d=0;d<8;d++)i[o+d]=l[s+d]|u[s+d];return i[o+8]=a,o}function c_(e,i){e.push(0,0,0,0,0,0,0,0,i)}function d_(e,i){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===i[e.injectorIndex+8]?-1:e.injectorIndex}function up(e,i){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var t=0,n=null,a=i;null!==a;){var o=a[1],s=o.type;if(null===(n=2===s?o.declTNode:1===s?a[6]:null))return-1;if(t++,a=a[15],-1!==n.injectorIndex)return n.injectorIndex|t<<16}return-1}function cp(e,i,t){!function(e,i,t){var n;"string"==typeof t?n=t.charCodeAt(0)||0:t.hasOwnProperty(Gi)&&(n=t[Gi]),null==n&&(n=t[Gi]=VI++);var a=255&n;i.data[e+(a>>5)]|=1<3&&void 0!==arguments[3]?arguments[3]:Kt.Default,a=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=WI(t);if("function"==typeof o){if(!rp(i,e,n))return n&Kt.Host?U0(a,t,n):z0(i,t,n,a);try{var s=o(n);if(null!=s||n&Kt.Optional)return s;fl(t)}finally{sp()}}else if("number"==typeof o){var l=null,u=d_(e,i),d=-1,y=n&Kt.Host?i[16][6]:null;for((-1===u||n&Kt.SkipSelf)&&(-1!==(d=-1===u?up(e,i):i[u+8])&&K0(n,!1)?(l=i[1],u=Sa(d),i=Ns(d,i)):u=-1);-1!==u;){var T=i[1];if(q0(o,u,T.data)){var I=zI(u,i,t,l,n,y);if(I!==G0)return I}-1!==(d=i[u+8])&&K0(n,i[1].data[u+8]===y)&&q0(o,u,i)?(l=T,u=Sa(d),i=Ns(d,i)):u=-1}}}return z0(i,t,n,a)}var G0={};function UI(){return new Bu(br(),ze())}function zI(e,i,t,n,a,o){var s=i[1],l=s.data[e+8],y=dp(l,s,t,null==n?Du(l)&&Hu:n!=s&&0!=(3&l.type),a&Kt.Host&&o===l);return null!==y?Hd(i,s,y,l):G0}function dp(e,i,t,n,a){for(var o=e.providerIndexes,s=i.data,l=1048575&o,u=e.directiveStart,y=o>>20,I=a?l+y:e.directiveEnd,H=n?l:l+y;H=u&&q.type===t)return H}if(a){var X=s[u];if(X&&la(X)&&X.type===t)return u}return null}function Hd(e,i,t,n){var a=e[t],o=i.data;if(function(e){return e instanceof os}(a)){var s=a;s.resolving&&function(e,i){throw new ko("200","Circular dependency in DI detected for ".concat(e).concat(""))}(Zr(o[t]));var l=Vu(s.canSeeViewProviders);s.resolving=!0;var u=s.injectImpl?Mo(s.injectImpl):null;rp(e,n,Kt.Default);try{a=e[t]=s.factory(void 0,o,e,n),i.firstCreatePass&&t>=n.directiveStart&&function(e,i,t){var n=i.type.prototype,o=n.ngOnInit,s=n.ngDoCheck;if(n.ngOnChanges){var l=zh(i);(t.preOrderHooks||(t.preOrderHooks=[])).push(e,l),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,l)}o&&(t.preOrderHooks||(t.preOrderHooks=[])).push(0-e,o),s&&((t.preOrderHooks||(t.preOrderHooks=[])).push(e,s),(t.preOrderCheckHooks||(t.preOrderCheckHooks=[])).push(e,s))}(t,o[t],i)}finally{null!==u&&Mo(u),Vu(l),s.resolving=!1,sp()}}return a}function WI(e){if("string"==typeof e)return e.charCodeAt(0)||0;var i=e.hasOwnProperty(Gi)?e[Gi]:void 0;return"number"==typeof i?i>=0?255&i:UI:i}function q0(e,i,t){return!!(t[i+(e>>5)]&1<=e.length?e.push(t):e.splice(i,0,t)}function kl(e,i){return i>=e.length-1?e.pop():e.splice(i,1)[0]}function Ys(e,i){for(var t=[],n=0;n=0?e[1|n]=t:function(e,i,t,n){var a=e.length;if(a==i)e.push(t,n);else if(1===a)e.push(n,e[0]),e[0]=t;else{for(a--,e.push(e[a-1],e[a]);a>i;)e[a]=e[a-2],a--;e[i]=t,e[i+1]=n}}(e,n=~n,i,t),n}function p_(e,i){var t=Gu(e,i);if(t>=0)return e[1|t]}function Gu(e,i){return function(e,i,t){for(var n=0,a=e.length>>t;a!==n;){var o=n+(a-n>>1),s=e[o<i?a=o:n=o+1}return~(a<1&&void 0!==arguments[1]?arguments[1]:Kt.Default;if(void 0===zd)throw new Error("inject() must be called from an injection context");return null===zd?Fh(e,void 0,i):zd.get(e,i&Kt.Optional?null:void 0,i)}function _e(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Kt.Default;return(wg()||uA)(yt(e),i)}var vp=_e;function Cl(e){for(var i=[],t=0;t3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var a=Yt(i);if(Array.isArray(i))a=i.map(Yt).join(" -> ");else if("object"==typeof i){var o=[];for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];o.push(s+":"+("string"==typeof l?JSON.stringify(l):Yt(l)))}a="{".concat(o.join(", "),"}")}return"".concat(t).concat(n?"("+n+")":"","[").concat(a,"]: ").concat(e.replace(oA,"\n "))}("\n"+e.message,a,t,n),e.ngTokenPath=a,e[qu]=null,e}var yp,Ku=Wd(bl("Inject",function(i){return{token:i}}),-1),ti=Wd(bl("Optional"),8),ss=Wd(bl("SkipSelf"),4);function $u(e){var i;return(null===(i=function(){if(void 0===yp&&(yp=null,hn.trustedTypes))try{yp=hn.trustedTypes.createPolicy("angular",{createHTML:function(i){return i},createScript:function(i){return i},createScriptURL:function(i){return i}})}catch(e){}return yp}())||void 0===i?void 0:i.createHTML(e))||e}var Ml=function(){function e(i){c(this,e),this.changingThisBreaksApplicationSecurity=i}return f(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),e}(),MA=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"getTypeName",value:function(){return"HTML"}}]),t}(Ml),wA=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"getTypeName",value:function(){return"Style"}}]),t}(Ml),SA=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"getTypeName",value:function(){return"Script"}}]),t}(Ml),TA=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"getTypeName",value:function(){return"URL"}}]),t}(Ml),DA=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),t}(Ml);function da(e){return e instanceof Ml?e.changingThisBreaksApplicationSecurity:e}function Oo(e,i){var t=sC(e);if(null!=t&&t!==i){if("ResourceURL"===t&&"URL"===i)return!0;throw new Error("Required a safe ".concat(i,", got a ").concat(t," (see https://g.co/ng/security#xss)"))}return t===i}function sC(e){return e instanceof Ml&&e.getTypeName()||null}var IA=function(){function e(i){c(this,e),this.inertDocumentHelper=i}return f(e,[{key:"getInertBodyElement",value:function(t){t=""+t;try{var n=(new window.DOMParser).parseFromString($u(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(a){return null}}}]),e}(),AA=function(){function e(i){if(c(this,e),this.defaultDoc=i,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t);var n=this.inertDocument.createElement("body");t.appendChild(n)}}return f(e,[{key:"getInertBodyElement",value:function(t){var n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=$u(t),n;var a=this.inertDocument.createElement("body");return a.innerHTML=$u(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(a),a}},{key:"stripCustomNsAttrs",value:function(t){for(var n=t.attributes,a=n.length-1;0"),!0}},{key:"endElement",value:function(t){var n=t.nodeName.toLowerCase();C_.hasOwnProperty(n)&&!cC.hasOwnProperty(n)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(pC(t))}},{key:"checkClobberedElement",value:function(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return n}}]),e}(),WA=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,GA=/([^\#-~ |!])/g;function pC(e){return e.replace(/&/g,"&").replace(WA,function(i){return"&#"+(1024*(i.charCodeAt(0)-55296)+(i.charCodeAt(1)-56320)+65536)+";"}).replace(GA,function(i){return"&#"+i.charCodeAt(0)+";"}).replace(//g,">")}function mC(e,i){var t=null;try{kp=kp||function(e){var i=new AA(e);return function(){try{return!!(new window.DOMParser).parseFromString($u(""),"text/html")}catch(e){return!1}}()?new IA(i):i}(e);var n=i?String(i):"";t=kp.getInertBodyElement(n);var a=5,o=n;do{if(0===a)throw new Error("Failed to sanitize html because the input is unstable");a--,n=o,o=t.innerHTML,t=kp.getInertBodyElement(n)}while(n!==o);return $u((new zA).sanitizeChildren(S_(t)||t))}finally{if(t)for(var u=S_(t)||t;u.firstChild;)u.removeChild(u.firstChild)}}function S_(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var ni=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function Io(e){var i=function(){var e=ze();return e&&e[12]}();return i?i.sanitize(ni.URL,e)||"":Oo(e,"URL")?da(e):qd(Tt(e))}var _C="__ngContext__";function pi(e,i){e[_C]=i}function D_(e){var i=function(e){return e[_C]||null}(e);return i?Array.isArray(i)?i:i.lView:null}function Cp(e){return e.ngOriginalError}function cR(e){for(var i=arguments.length,t=new Array(i>1?i-1:0),n=1;n0&&(e[t-1][4]=n[4]);var o=kl(e,10+i);!function(e,i){Zd(e,i,i[11],2,null,null),i[0]=null,i[6]=null}(n[1],n);var s=o[19];null!==s&&s.detachView(o[1]),n[3]=null,n[4]=null,n[2]&=-129}return n}}function FC(e,i){if(!(256&i[2])){var t=i[11];er(t)&&t.destroyNode&&Zd(e,i,t,3,null,null),function(e){var i=e[13];if(!i)return N_(e[1],e);for(;i;){var t=null;if(Ji(i))t=i[13];else{var n=i[10];n&&(t=n)}if(!t){for(;i&&!i[4]&&i!==e;)Ji(i)&&N_(i[1],i),i=i[3];null===i&&(i=e),Ji(i)&&N_(i[1],i),t=i&&i[4]}i=t}}(i)}}function N_(e,i){if(!(256&i[2])){i[2]&=-129,i[2]|=256,function(e,i){var t;if(null!=e&&null!=(t=e.destroyHooks))for(var n=0;n=0?n[a=d]():n[a=-d].unsubscribe(),o+=2}else{var y=n[a=t[o+1]];t[o].call(y)}if(null!==n){for(var T=a+1;To?"":a[T+1].toLowerCase();var H=8&n?I:null;if(H&&-1!==JC(H,d,0)||2&n&&d!==I){if(Za(n))return!1;s=!0}}}}else{if(!s&&!Za(n)&&!Za(u))return!1;if(s&&Za(u))continue;s=!1,n=u|1&n}}return Za(n)||s}function Za(e){return 0==(1&e)}function HR(e,i,t,n){if(null===i)return-1;var a=0;if(n||!t){for(var o=!1;a-1)for(t++;t2&&void 0!==arguments[2]&&arguments[2],n=0;n0?'="'+l+'"':"")+"]"}else 8&n?a+="."+s:4&n&&(a+=" "+s);else""!==a&&!Za(s)&&(i+=XC(o,a),a=""),n=s,o=o||!Za(n);t++}return""!==a&&(i+=XC(o,a)),i}var It={};function v(e){eM(Ye(),ze(),ar()+e,Iu())}function eM(e,i,t,n){if(!n)if(3==(3&i[2])){var o=e.preOrderCheckHooks;null!==o&&Oi(i,o,t)}else{var s=e.preOrderHooks;null!==s&&Nu(i,s,0,t)}Eo(t)}function Tp(e,i){return e<<17|i<<2}function Xa(e){return e>>17&32767}function j_(e){return 2|e}function ls(e){return(131068&e)>>2}function U_(e,i){return-131069&e|i<<2}function z_(e){return 1|e}function cM(e,i){var t=e.contentQueries;if(null!==t)for(var n=0;n20&&eM(e,i,20,Iu()),t(n,a)}finally{Eo(o)}}function fM(e,i,t){if(vl(i))for(var a=i.directiveEnd,o=i.directiveStart;o2&&void 0!==arguments[2]?arguments[2]:Qi,n=i.localNames;if(null!==n)for(var a=i.index+1,o=0;o0;){var t=e[--i];if("number"==typeof t&&t<0)return t}return 0})(l)!=u&&l.push(u),l.push(n,a,s)}}function bM(e,i){null!==e.hostBindings&&e.hostBindings(1,i)}function kM(e,i){i.flags|=2,(e.components||(e.components=[])).push(i.index)}function gF(e,i,t){if(t){if(i.exportAs)for(var n=0;n0&&ny(t)}}function ny(e){for(var i=x_(e);null!==i;i=I_(i))for(var t=10;t0&&ny(n)}var s=e[1].components;if(null!==s)for(var l=0;l0&&ny(u)}}function wF(e,i){var t=Li(i,e),n=t[1];(function(e,i){for(var t=i.length;t1&&void 0!==arguments[1]?arguments[1]:Ud;if(n===Ud){var a=new Error("NullInjectorError: No provider for ".concat(Yt(t),"!"));throw a.name="NullInjectorError",a}return n}}]),e}(),nf=new Ze("Set Injector scope."),rf={},xF={},sy=void 0;function xM(){return void 0===sy&&(sy=new OM),sy}function IM(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3?arguments[3]:void 0;return new AF(e,t,i||xM(),n)}var AF=function(){function e(i,t,n){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;c(this,e),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var s=[];t&&Po(t,function(u){return a.processProvider(u,i,t)}),Po([i],function(u){return a.processInjectorType(u,[],s)}),this.records.set(tf,rc(void 0,this));var l=this.records.get(nf);this.scope=null!=l?l.value:null,this.source=o||("object"==typeof i?null:Yt(i))}return f(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(t){return t.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ud,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kt.Default;this.assertNotDestroyed();var o=mp(this),s=Mo(void 0);try{if(!(a&Kt.SkipSelf)){var l=this.records.get(t);if(void 0===l){var u=jF(t)&&Co(t);l=u&&this.injectableDefInScope(u)?rc(ly(t),rf):null,this.records.set(t,l)}if(null!=l)return this.hydrate(t,l)}var d=a&Kt.Self?xM():this.parent;return d.get(t,n=a&Kt.Optional&&n===Ud?null:n)}catch(T){if("NullInjectorError"===T.name){var y=T[qu]=T[qu]||[];if(y.unshift(Yt(t)),o)throw T;return dA(T,t,"R3InjectorError",this.source)}throw T}finally{Mo(s),mp(o)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach(function(n){return t.get(n)})}},{key:"toString",value:function(){var t=[];return this.records.forEach(function(a,o){return t.push(Yt(o))}),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,n,a){var o=this;if(!(t=yt(t)))return!1;var s=Ah(t),l=null==s&&t.ngModule||void 0,u=void 0===l?t:l,T=-1!==a.indexOf(u);if(void 0!==l&&(s=Ah(l)),null==s)return!1;if(null!=s.imports&&!T){var I;a.push(u);try{Po(s.imports,function(pe){o.processInjectorType(pe,n,a)&&(void 0===I&&(I=[]),I.push(pe))})}finally{}if(void 0!==I)for(var H=function(Re){var Ne=I[Re],Xe=Ne.ngModule,st=Ne.providers;Po(st,function(bt){return o.processProvider(bt,Xe,st||on)})},q=0;q0){var t=Ys(i,"?");throw new Error("Can't resolve all parameters for ".concat(Yt(e),": (").concat(t.join(", "),")."))}var n=function(e){var i=e&&(e[Mu]||e[Rh]);if(i){var t=function(e){if(e.hasOwnProperty("name"))return e.name;var i=(""+e).match(/^function\s*([^\s(]+)/);return null===i?"":i[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(t,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(t,'" class.')),i}return null}(e);return null!==n?function(){return n.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function AM(e,i,t){var n=void 0;if(ic(e)){var a=yt(e);return is(a)||ly(a)}if(RM(e))n=function(){return yt(e.useValue)};else if(function(e){return!(!e||!e.useFactory)}(e))n=function(){return e.useFactory.apply(e,se(Cl(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))n=function(){return _e(yt(e.useExisting))};else{var o=yt(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return is(o)||ly(o);n=function(){return ue(o,se(Cl(e.deps)))}}return n}function rc(e,i){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:i,multi:t?[]:void 0}}function RM(e){return null!==e&&"object"==typeof e&&__ in e}function ic(e){return"function"==typeof e}function jF(e){return"function"==typeof e||"object"==typeof e&&e instanceof Ze}var FM=function(e,i,t){return function(e){var a=IM(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,arguments.length>3?arguments[3]:void 0);return a._resolveInjectorDefTypes(),a}({name:t},i,e,t)},sn=function(){var e=function(){function i(){c(this,i)}return f(i,null,[{key:"create",value:function(n,a){return Array.isArray(n)?FM(n,a,""):FM(n.providers,n.parent,n.name||"")}}]),i}();return e.THROW_IF_NOT_FOUND=Ud,e.NULL=new OM,e.\u0275prov=We({token:e,providedIn:"any",factory:function(){return _e(tf)}}),e.__NG_ELEMENT_ID__=-1,e}();function u3(e,i){ua(D_(e)[1],br())}function ht(e){for(var i=function(e){return Object.getPrototypeOf(e.prototype).constructor}(e.type),t=!0,n=[e];i;){var a=void 0;if(la(e))a=i.\u0275cmp||i.\u0275dir;else{if(i.\u0275cmp)throw new Error("Directives cannot inherit Components");a=i.\u0275dir}if(a){if(t){n.push(a);var o=e;o.inputs=fy(e.inputs),o.declaredInputs=fy(e.declaredInputs),o.outputs=fy(e.outputs);var s=a.hostBindings;s&&h3(e,s);var l=a.viewQuery,u=a.contentQueries;if(l&&d3(e,l),u&&f3(e,u),bo(e.inputs,a.inputs),bo(e.declaredInputs,a.declaredInputs),bo(e.outputs,a.outputs),la(a)&&a.data.animation){var d=e.data;d.animation=(d.animation||[]).concat(a.data.animation)}}var y=a.features;if(y)for(var T=0;T=0;n--){var a=e[n];a.hostVars=i+=a.hostVars,a.hostAttrs=Jt(a.hostAttrs,t=Jt(t,a.hostAttrs))}}(n)}function fy(e){return e===ka?{}:e===on?[]:e}function d3(e,i){var t=e.viewQuery;e.viewQuery=t?function(n,a){i(n,a),t(n,a)}:i}function f3(e,i){var t=e.contentQueries;e.contentQueries=t?function(n,a,o){i(n,a,o),t(n,a,o)}:i}function h3(e,i){var t=e.hostBindings;e.hostBindings=t?function(n,a){i(n,a),t(n,a)}:i}var xp=null;function oc(){if(!xp){var e=hn.Symbol;if(e&&e.iterator)xp=e.iterator;else for(var i=Object.getOwnPropertyNames(Map.prototype),t=0;t1&&void 0!==arguments[1]?arguments[1]:Kt.Default,t=ze();if(null===t)return _e(e,i);var n=br();return W0(n,t,yt(e),i)}function E(e,i,t){var n=ze();return mi(n,as(),i)&&fa(Ye(),tr(),n,e,i,n[11],t,!1),E}function gy(e,i,t,n,a){var s=a?"class":"style";PM(e,t,i.inputs[s],s,n)}function p(e,i,t,n){var a=ze(),o=Ye(),s=20+e,l=a[11],u=a[s]=R_(l,i,Mt.lFrame.currentNamespace),d=o.firstCreatePass?function(e,i,t,n,a,o,s){var l=i.consts,d=ec(i,e,2,a,Ka(l,o));return ey(i,t,d,Ka(l,s)),null!==d.attrs&&Op(d,d.attrs,!1),null!==d.mergedAttrs&&Op(d,d.mergedAttrs,!0),null!==i.queries&&i.queries.elementStart(i,d),d}(s,o,a,0,i,t,n):o.data[s];Pi(d,!0);var y=d.mergedAttrs;null!==y&&Oe(l,u,y);var T=d.classes;null!==T&&B_(l,u,T);var I=d.styles;null!==I&&KC(l,u,I),64!=(64&d.flags)&&wp(o,a,u,d),0===Mt.lFrame.elementDepthCount&&pi(u,a),Mt.lFrame.elementDepthCount++,Eu(d)&&(Z_(o,a,d),fM(o,d,a)),null!==n&&X_(a,d)}function m(){var e=br();xu()?gl():Pi(e=e.parent,!1);var i=e;Mt.lFrame.elementDepthCount--;var t=Ye();t.firstCreatePass&&(ua(t,e),vl(e)&&t.queries.elementEnd(e)),null!=i.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(i)&&gy(t,i,ze(),i.classesWithoutHost,!0),null!=i.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(i)&&gy(t,i,ze(),i.stylesWithoutHost,!1)}function Te(e,i,t,n){p(e,i,t,n),m()}function Ge(e,i,t){var n=ze(),a=Ye(),o=e+20,s=a.firstCreatePass?function(e,i,t,n,a){var o=i.consts,s=Ka(o,n),l=ec(i,e,8,"ng-container",s);return null!==s&&Op(l,s,!0),ey(i,t,l,Ka(o,a)),null!==i.queries&&i.queries.elementStart(i,l),l}(o,a,n,i,t):a.data[o];Pi(s,!0);var l=n[o]=n[11].createComment("");wp(a,n,l,s),pi(l,n),Eu(s)&&(Z_(a,n,s),fM(a,s,n)),null!=t&&X_(n,s)}function qe(){var e=br(),i=Ye();xu()?gl():Pi(e=e.parent,!1),i.firstCreatePass&&(ua(i,e),vl(e)&&i.queries.elementEnd(e))}function Dl(e,i,t){Ge(e,i,t),qe()}function nt(){return ze()}function lf(e){return!!e&&"function"==typeof e.then}function pw(e){return!!e&&"function"==typeof e.subscribe}var Ap=pw;function we(e,i,t,n){var a=ze(),o=Ye(),s=br();return mw(o,a,a[11],s,e,i,!!t,n),we}function Rp(e,i){var t=br(),n=ze(),a=Ye();return mw(a,n,EM(Ad(a.data),t,n),t,e,i,!1),Rp}function mw(e,i,t,n,a,o,s,l){var u=Eu(n),y=e.firstCreatePass&&DM(e),T=i[8],I=TM(i),H=!0;if(3&n.type||l){var q=Qi(n,i),X=l?l(q):q,he=I.length,Se=l?function(Va){return l(pr(Va[n.index]))}:n.index;if(er(t)){var pe=null;if(!l&&u&&(pe=function(e,i,t,n){var a=e.cleanup;if(null!=a)for(var o=0;ou?l[u]:null}"string"==typeof s&&(o+=2)}return null}(e,i,a,n.index)),null!==pe)(pe.__ngLastListenerFn__||pe).__ngNextListenerFn__=o,pe.__ngLastListenerFn__=o,H=!1;else{o=_y(n,i,T,o,!1);var Ne=t.listen(X,a,o);I.push(o,Ne),y&&y.push(a,Se,he,he+1)}}else o=_y(n,i,T,o,!0),X.addEventListener(a,o,s),I.push(o),y&&y.push(a,Se,he,s)}else o=_y(n,i,T,o,!1);var st,Xe=n.outputs;if(H&&null!==Xe&&(st=Xe[a])){var bt=st.length;if(bt)for(var Xt=0;Xt0&&void 0!==arguments[0]?arguments[0]:1;return r_(e)}function K3(e,i){for(var t=null,n=function(e){var i=e.attrs;if(null!=i){var t=i.indexOf(5);if(0==(1&t))return i[t+1]}return null}(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2?arguments[2]:void 0,n=ze(),a=Ye(),o=ec(a,20+e,16,null,t||null);null===o.projection&&(o.projection=i),gl(),64!=(64&o.flags)&&IR(a,n,o)}function Tn(e,i,t){return yy(e,"",i,"",t),Tn}function yy(e,i,t,n,a){var o=ze(),s=lc(o,i,t,n);return s!==It&&fa(Ye(),tr(),o,e,s,o[11],a,!1),yy}function Sw(e,i,t,n,a){for(var o=e[t+1],s=null===i,l=n?Xa(o):ls(o),u=!1;0!==l&&(!1===u||s);){var y=e[l+1];Q3(e[l],i)&&(u=!0,e[l+1]=n?z_(y):j_(y)),l=n?Xa(y):ls(y)}u&&(e[t+1]=n?j_(o):z_(o))}function Q3(e,i){return null===e||null==i||(Array.isArray(e)?e[1]:e)===i||!(!Array.isArray(e)||"string"!=typeof i)&&Gu(e,i)>=0}var Hr={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Tw(e){return e.substring(Hr.key,Hr.keyEnd)}function Z3(e){return e.substring(Hr.value,Hr.valueEnd)}function Dw(e,i){var t=Hr.textEnd;return t===i?-1:(i=Hr.keyEnd=function(e,i,t){for(;i32;)i++;return i}(e,Hr.key=i,t),gc(e,i,t))}function Ew(e,i){var t=Hr.textEnd,n=Hr.key=gc(e,i,t);return t===n?-1:(n=Hr.keyEnd=function(e,i,t){for(var n;i=65&&(-33&n)<=90||n>=48&&n<=57);)i++;return i}(e,n,t),n=Pw(e,n,t),n=Hr.value=gc(e,n,t),n=Hr.valueEnd=function(e,i,t){for(var n=-1,a=-1,o=-1,s=i,l=s;s32&&(l=s),o=a,a=n,n=-33&u}return l}(e,n,t),Pw(e,n,t))}function Lw(e){Hr.key=0,Hr.keyEnd=0,Hr.value=0,Hr.valueEnd=0,Hr.textEnd=e.length}function gc(e,i,t){for(;i=0;t=Ew(i,t))Aw(e,Tw(i),Z3(i))}function pa(e){no(ca,No,e,!0)}function No(e,i){for(var t=function(e){return Lw(e),Dw(e,gc(e,0,Hr.textEnd))}(i);t>=0;t=Dw(i,t))ca(e,Tw(i),!0)}function to(e,i,t,n){var a=ze(),o=Ye(),s=Ja(2);o.firstUpdatePass&&Iw(o,e,s,n),i!==It&&mi(a,s,i)&&Rw(o,o.data[ar()],a,a[11],e,a[s+1]=function(e,i){return null==e||("string"==typeof i?e+=i:"object"==typeof e&&(e=Yt(da(e)))),e}(i,t),n,s)}function no(e,i,t,n){var a=Ye(),o=Ja(2);a.firstUpdatePass&&Iw(a,null,o,n);var s=ze();if(t!==It&&mi(s,o,t)){var l=a.data[ar()];if(Nw(l,n)&&!xw(a,o)){var d=n?l.classesWithoutHost:l.stylesWithoutHost;null!==d&&(t=bu(d,t||"")),gy(a,l,s,t,n)}else!function(e,i,t,n,a,o,s,l){a===It&&(a=on);for(var u=0,d=0,y=0=e.expandoStartIndex}function Iw(e,i,t,n){var a=e.data;if(null===a[t+1]){var o=a[ar()],s=xw(e,t);Nw(o,n)&&null===i&&!s&&(i=!1),i=function(e,i,t,n){var a=Ad(e),o=n?i.residualClasses:i.residualStyles;if(null===a)0===(n?i.classBindings:i.styleBindings)&&(t=uf(t=by(null,e,i,t,n),i.attrs,n),o=null);else{var l=i.directiveStylingLast;if(-1===l||e[l]!==a)if(t=by(a,e,i,t,n),null===o){var d=function(e,i,t){var n=t?i.classBindings:i.styleBindings;if(0!==ls(n))return e[Xa(n)]}(e,i,n);void 0!==d&&Array.isArray(d)&&function(e,i,t,n){e[Xa(t?i.classBindings:i.styleBindings)]=n}(e,i,n,d=uf(d=by(null,e,i,d[1],n),i.attrs,n))}else o=function(e,i,t){for(var n=void 0,a=i.directiveEnd,o=1+i.directiveStylingLast;o0)&&(d=!0):y=t,a)if(0!==u){var H=Xa(e[l+1]);e[n+1]=Tp(H,l),0!==H&&(e[H+1]=U_(e[H+1],n)),e[l+1]=function(e,i){return 131071&e|i<<17}(e[l+1],n)}else e[n+1]=Tp(l,0),0!==l&&(e[l+1]=U_(e[l+1],n)),l=n;else e[n+1]=Tp(u,0),0===l?l=n:e[u+1]=U_(e[u+1],n),u=n;d&&(e[n+1]=j_(e[n+1])),Sw(e,y,n,!0),Sw(e,y,n,!1),function(e,i,t,n,a){var o=a?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof i&&Gu(o,i)>=0&&(t[n+1]=z_(t[n+1]))}(i,y,e,n,o),s=Tp(l,u),o?i.classBindings=s:i.styleBindings=s}(a,o,i,t,s,n)}}function by(e,i,t,n,a){var o=null,s=t.directiveEnd,l=t.directiveStylingLast;for(-1===l?l=t.directiveStart:l++;l0;){var u=e[a],d=Array.isArray(u),y=d?u[1]:u,T=null===y,I=t[a+1];I===It&&(I=T?on:void 0);var H=T?p_(I,n):y===n?I:void 0;if(d&&!Fp(H)&&(H=p_(u,n)),Fp(H)&&(l=H,s))return l;var q=e[a+1];a=s?Xa(q):ls(q)}if(null!==i){var X=o?i.residualClasses:i.residualStyles;null!=X&&(l=p_(X,n))}return l}function Fp(e){return void 0!==e}function Nw(e,i){return 0!=(e.flags&(i?16:32))}function F(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=ze(),n=Ye(),a=e+20,o=n.firstCreatePass?ec(n,a,1,i,null):n.data[a],s=t[a]=A_(t[11],i);wp(n,t,s,o),Pi(o,!1)}function be(e){return Ce("",e,""),be}function Ce(e,i,t){var n=ze(),a=lc(n,e,i,t);return a!==It&&cs(n,ar(),a),Ce}function Ii(e,i,t,n,a){var o=ze(),s=function(e,i,t,n,a,o){var l=Tl(e,Er(),t,a);return Ja(2),l?i+Tt(t)+n+Tt(a)+o:It}(o,e,i,t,n,a);return s!==It&&cs(o,ar(),s),Ii}function ky(e,i,t,n,a,o,s){var l=ze(),u=cc(l,e,i,t,n,a,o,s);return u!==It&&cs(l,ar(),u),ky}function Cy(e,i,t,n,a,o,s,l,u){var d=ze(),y=dc(d,e,i,t,n,a,o,s,l,u);return y!==It&&cs(d,ar(),y),Cy}function Bs(e,i,t){var n=ze();return mi(n,as(),i)&&fa(Ye(),tr(),n,e,i,n[11],t,!0),Bs}function Np(e,i,t){var n=ze();if(mi(n,as(),i)){var o=Ye(),s=tr();fa(o,s,n,e,i,EM(Ad(o.data),s,n),t,!0)}return Np}var El=void 0,PN=["en",[["a","p"],["AM","PM"],El],[["AM","PM"],El,El],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],El,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],El,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",El,"{1} 'at' {0}",El],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var i=Math.floor(Math.abs(e)),t=e.toString().replace(/^[^.]*\.?/,"").length;return 1===i&&0===t?1:5}],_c={};function Ai(e){var i=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),t=eS(i);if(t)return t;var n=i.split("-")[0];if(t=eS(n))return t;if("en"===n)return PN;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function eS(e){return e in _c||(_c[e]=hn.ng&&hn.ng.common&&hn.ng.common.locales&&hn.ng.common.locales[e]),_c[e]}var $n=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({}),Yp="en-US";function My(e){Di(e,"Expected localeId to be defined"),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}function S4(e,i,t){var n=Ye();if(n.firstCreatePass){var a=la(e);Ty(t,n.data,n.blueprint,a,!0),Ty(i,n.data,n.blueprint,a,!1)}}function Ty(e,i,t,n,a){if(e=yt(e),Array.isArray(e))for(var o=0;o>20;if(ic(e)||!e.multi){var q=new os(d,a,N),X=Ey(u,i,a?T:T+H,I);-1===X?(cp(Yd(y,l),s,u),Dy(s,e,i.length),i.push(u),y.directiveStart++,y.directiveEnd++,a&&(y.providerIndexes+=1048576),t.push(q),l.push(q)):(t[X]=q,l[X]=q)}else{var he=Ey(u,i,T+H,I),Se=Ey(u,i,T,T+H),Re=Se>=0&&t[Se];if(a&&!Re||!a&&!(he>=0&&t[he])){cp(Yd(y,l),s,u);var Ne=function(e,i,t,n,a){var o=new os(e,t,N);return o.multi=[],o.index=i,o.componentProviders=0,SS(o,a,n&&!t),o}(a?D4:T4,t.length,a,n,d);!a&&Re&&(t[Se].providerFactory=Ne),Dy(s,e,i.length,0),i.push(u),y.directiveStart++,y.directiveEnd++,a&&(y.providerIndexes+=1048576),t.push(Ne),l.push(Ne)}else Dy(s,e,he>-1?he:Se,SS(t[a?Se:he],d,!a&&n));!a&&n&&Re&&t[Se].componentProviders++}}}function Dy(e,i,t,n){var a=ic(i);if(a||function(e){return!!e.useClass}(i)){var s=(i.useClass||i).prototype.ngOnDestroy;if(s){var l=e.destroyHooks||(e.destroyHooks=[]);if(!a&&i.multi){var u=l.indexOf(t);-1===u?l.push(t,[n,s]):l[u+1].push(n,s)}else l.push(t,s)}}}function SS(e,i,t){return t&&e.componentProviders++,e.multi.push(i)-1}function Ey(e,i,t,n){for(var a=t;a1&&void 0!==arguments[1]?arguments[1]:[];return function(t){t.providersResolver=function(n,a){return S4(n,a?a(e):e,i)}}}var L4=function e(){c(this,e)},TS=function e(){c(this,e)},O4=function(){function e(){c(this,e)}return f(e,[{key:"resolveComponentFactory",value:function(t){throw function(e){var i=Error("No component factory found for ".concat(Yt(e),". Did you add it to @NgModule.entryComponents?"));return i.ngComponent=e,i}(t)}}]),e}(),Yo=function(){var e=function i(){c(this,i)};return e.NULL=new O4,e}();function Up(){}function bc(e,i){return new pt(Qi(e,i))}var R4=function(){return bc(br(),ze())},pt=function(){var e=function i(t){c(this,i),this.nativeElement=t};return e.__NG_ELEMENT_ID__=R4,e}();function ES(e){return e instanceof pt?e.nativeElement:e}var Ll=function e(){c(this,e)},Ho=function(){var e=function i(){c(this,i)};return e.__NG_ELEMENT_ID__=function(){return N4()},e}(),N4=function(){var e=ze(),t=Li(br().index,e);return function(e){return e[11]}(Ji(t)?t:e)},Py=function(){var e=function i(){c(this,i)};return e.\u0275prov=We({token:e,providedIn:"root",factory:function(){return null}}),e}(),js=function e(i){c(this,e),this.full=i,this.major=i.split(".")[0],this.minor=i.split(".")[1],this.patch=i.split(".").slice(2).join(".")},V4=new js("12.2.5"),LS=function(){function e(){c(this,e)}return f(e,[{key:"supports",value:function(t){return of(t)}},{key:"create",value:function(t){return new j4(t)}}]),e}(),B4=function(i,t){return t},j4=function(){function e(i){c(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=i||B4}return f(e,[{key:"forEachItem",value:function(t){var n;for(n=this._itHead;null!==n;n=n._next)t(n)}},{key:"forEachOperation",value:function(t){for(var n=this._itHead,a=this._removalsHead,o=0,s=null;n||a;){var l=!a||n&&n.currentIndex4&&void 0!==arguments[4]&&arguments[4];null!==t;){var o=i[t.index];if(null!==o&&n.push(pr(o)),Ei(o))for(var s=10;s-1&&(F_(t,a),kl(n,a))}this._attachedToViewContainer=!1}FC(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){vM(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){ry(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){ay(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,i,t){Au(!0);try{ay(e,i,t)}finally{Au(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){this._appRef=null,function(e,i){Zd(e,i,i[11],2,null,null)}(this._lView[1],this._lView)}},{key:"attachToAppRef",value:function(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}]),e}(),K4=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this,n))._view=n,a}return f(t,[{key:"detectChanges",value:function(){SM(this._view)}},{key:"checkNoChanges",value:function(){!function(e){Au(!0);try{SM(e)}finally{Au(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),t}(pf),$4=function(e){return function(e,i,t){if(Du(e)&&!t){var n=Li(e.index,i);return new pf(n,n)}return 47&e.type?new pf(i[16],i):null}(br(),ze(),16==(16&e))},Nn=function(){var e=function i(){c(this,i)};return e.__NG_ELEMENT_ID__=$4,e}(),X4=[new xS],t5=new Pl([new LS]),n5=new kc(X4),i5=function(){return Wp(br(),ze())},Vr=function(){var e=function i(){c(this,i)};return e.__NG_ELEMENT_ID__=i5,e}(),o5=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this))._declarationLView=n,s._declarationTContainer=a,s.elementRef=o,s}return f(t,[{key:"createEmbeddedView",value:function(a){var o=this._declarationTContainer.tViews,s=Xd(this._declarationLView,o,a,16,null,o.declTNode,null,null,null,null);s[17]=this._declarationLView[this._declarationTContainer.index];var u=this._declarationLView[19];return null!==u&&(s[19]=u.createEmbeddedView(o)),ef(o,s,a),new pf(s)}}]),t}(Vr);function Wp(e,i){return 4&e.type?new o5(i,e,bc(e,i)):null}var ds=function e(){c(this,e)},RS=function e(){c(this,e)},u5=function(){return YS(br(),ze())},kr=function(){var e=function i(){c(this,i)};return e.__NG_ELEMENT_ID__=u5,e}(),FS=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this))._lContainer=n,s._hostTNode=a,s._hostLView=o,s}return f(t,[{key:"element",get:function(){return bc(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Bu(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var a=up(this._hostTNode,this._hostLView);if(xi(a)){var o=Ns(a,this._hostLView),s=Sa(a);return new Bu(o[1].data[s+8],o)}return new Bu(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(a){var o=NS(this._lContainer);return null!==o&&o[a]||null}},{key:"length",get:function(){return this._lContainer.length-10}},{key:"createEmbeddedView",value:function(a,o,s){var l=a.createEmbeddedView(o||{});return this.insert(l,s),l}},{key:"createComponent",value:function(a,o,s,l,u){var d=s||this.parentInjector;if(!u&&null==a.ngModule&&d){var y=d.get(ds,null);y&&(u=y)}var T=a.create(d,l,void 0,u);return this.insert(T.hostView,o),T}},{key:"insert",value:function(a,o){var s=a._lView,l=s[1];if(function(e){return Ei(e[3])}(s)){var u=this.indexOf(a);if(-1!==u)this.detach(u);else{var d=s[3],y=new FS(d,d[6],d[3]);y.detach(y.indexOf(a))}}var T=this._adjustIndex(o),I=this._lContainer;!function(e,i,t,n){var a=10+n,o=t.length;n>0&&(t[a-1][4]=i),n1&&void 0!==arguments[1]?arguments[1]:0;return null==a?this.length+o:a}}]),t}(kr);function NS(e){return e[8]}function Oy(e){return e[8]||(e[8]=[])}function YS(e,i){var t,n=i[e.index];if(Ei(n))t=n;else{var a;if(8&e.type)a=pr(n);else{var o=i[11];a=o.createComment("");var s=Qi(e,i);wl(o,Mp(o,s),a,function(e,i){return er(e)?e.nextSibling(i):i.nextSibling}(o,s),!1)}i[e.index]=t=wM(n,i,a,e),Pp(i,t)}return new FS(t,e,i)}var Mc={},rT=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this)).ngModule=n,a}return f(t,[{key:"resolveComponentFactory",value:function(a){var o=Xr(a);return new aT(o,this.ngModule)}}]),t}(Yo);function iT(e){var i=[];for(var t in e)e.hasOwnProperty(t)&&i.push({propName:e[t],templateName:t});return i}var iY=new Ze("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return DC}}),aT=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this)).componentDef=n,o.ngModule=a,o.componentType=n.type,o.selector=function(e){return e.map(zR).join(",")}(n.selectors),o.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],o.isBoundToModule=!!a,o}return f(t,[{key:"inputs",get:function(){return iT(this.componentDef.inputs)}},{key:"outputs",get:function(){return iT(this.componentDef.outputs)}},{key:"create",value:function(a,o,s,l){var pe,Re,u=(l=l||this.ngModule)?function(e,i){return{get:function(n,a,o){var s=e.get(n,Mc,o);return s!==Mc||a===Mc?s:i.get(n,a,o)}}}(a,l.injector):a,d=u.get(Ll,$h),y=u.get(Py,null),T=d.createRenderer(null,this.componentDef),I=this.componentDef.selectors[0][0]||"div",H=s?function(e,i,t){if(er(e))return e.selectRootElement(i,t===Wi.ShadowDom);var a="string"==typeof i?e.querySelector(i):i;return a.textContent="",a}(T,s,this.componentDef.encapsulation):R_(d.createRenderer(null,this.componentDef),I,function(e){var i=e.toLowerCase();return"svg"===i?qh:"math"===i?"http://www.w3.org/1998/MathML/":null}(I)),q=this.componentDef.onPush?576:528,X=function(e,i){return{components:[],scheduler:e||DC,clean:LF,playerHandler:i||null,flags:0}}(),he=Lp(0,null,null,1,0,null,null,null,null,null),Se=Xd(null,he,X,q,null,null,d,T,y,u);Ru(Se);try{var Ne=function(e,i,t,n,a,o){var s=t[1];t[20]=e;var u=ec(s,20,2,"#host",null),d=u.mergedAttrs=i.hostAttrs;null!==d&&(Op(u,d,!0),null!==e&&(Oe(a,e,d),null!==u.classes&&B_(a,e,u.classes),null!==u.styles&&KC(a,e,u.styles)));var y=n.createRenderer(e,i),T=Xd(t,hM(i),null,i.onPush?64:16,t[20],u,n,y,o||null,null);return s.firstCreatePass&&(cp(Yd(u,t),s,i.type),kM(s,u),CM(u,t.length,1)),Pp(t,T),t[20]=T}(H,this.componentDef,Se,d,T);if(H)if(s)Oe(T,H,["ng-version",V4.full]);else{var Xe=function(e){for(var i=[],t=[],n=1,a=2;n0&&B_(T,H,bt.join(" "))}if(Re=Ld(he,20),void 0!==o)for(var Xt=Re.projection=[],dn=0;dn1&&void 0!==arguments[1]?arguments[1]:sn.THROW_IF_NOT_FOUND,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Kt.Default;return a===sn||a===ds||a===tf?this:this._r3Injector.get(a,o,s)}},{key:"destroy",value:function(){var a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(function(o){return o()}),this.destroyCbs=null}},{key:"onDestroy",value:function(a){this.destroyCbs.push(a)}}]),t}(ds),Uy=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this)).moduleType=n,null!==qi(n)&&function(e){var i=new Set;!function t(n){var a=qi(n,!0),o=a.id;null!==o&&(function(e,i,t){if(i&&i!==t)throw new Error("Duplicate module registered for ".concat(e," - ").concat(Yt(i)," vs ").concat(Yt(i.name)))}(o,wc.get(o),n),wc.set(o,n));var d,u=W(Ao(a.imports));try{for(u.s();!(d=u.n()).done;){var y=d.value;i.has(y)||(i.add(y),t(y))}}catch(T){u.e(T)}finally{u.f()}}(e)}(n),a}return f(t,[{key:"create",value:function(a){return new cY(this.moduleType,a)}}]),t}(RS);function Yn(e,i,t){var n=ei()+e,a=ze();return a[n]===It?Fo(a,n,t?i.call(t):i()):function(e,i){return e[i]}(a,n)}function et(e,i,t,n){return lT(ze(),ei(),e,i,t,n)}function Dn(e,i,t,n,a){return uT(ze(),ei(),e,i,t,n,a)}function bf(e,i){var t=e[i];return t===It?void 0:t}function lT(e,i,t,n,a,o){var s=i+t;return mi(e,s,a)?Fo(e,s+1,o?n.call(o,a):n(a)):bf(e,s+1)}function uT(e,i,t,n,a,o,s){var l=i+t;return Tl(e,l,a,o)?Fo(e,l+2,s?n.call(s,a,o):n(a,o)):bf(e,l+2)}function V(e,i){var n,t=Ye(),a=e+20;t.firstCreatePass?(n=function(e,i){if(i)for(var t=i.length-1;t>=0;t--){var n=i[t];if(e===n.name)return n}throw new ko("302","The pipe '".concat(e,"' could not be found!"))}(i,t.pipeRegistry),t.data[a]=n,n.onDestroy&&(t.destroyHooks||(t.destroyHooks=[])).push(a,n.onDestroy)):n=t.data[a];var o=n.factory||(n.factory=is(n.type)),s=Mo(N);try{var l=Vu(!1),u=o();return Vu(l),function(e,i,t,n){t>=e.data.length&&(e.data[t]=null,e.blueprint[t]=null),i[t]=n}(t,ze(),a,u),u}finally{Mo(s)}}function U(e,i,t){var n=e+20,a=ze(),o=qa(a,n);return Cf(a,kf(a,n)?lT(a,ei(),i,o.transform,t,o):o.transform(t))}function Ht(e,i,t,n){var a=e+20,o=ze(),s=qa(o,a);return Cf(o,kf(o,a)?uT(o,ei(),i,s.transform,t,n,s):s.transform(t,n))}function kf(e,i){return e[1].data[i].pure}function Cf(e,i){return Sl.isWrapped(i)&&(i=Sl.unwrap(i),e[Er()]=It),i}function zy(e){return function(i){setTimeout(e,void 0,i)}}var mt=function(e){h(t,e);var i=C(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return c(this,t),(n=i.call(this)).__isAsync=a,n}return f(t,[{key:"emit",value:function(a){D(x(t.prototype),"next",this).call(this,a)}},{key:"subscribe",value:function(a,o,s){var l,u,d,y=a,T=o||function(){return null},I=s;if(a&&"object"==typeof a){var H=a;y=null===(l=H.next)||void 0===l?void 0:l.bind(H),T=null===(u=H.error)||void 0===u?void 0:u.bind(H),I=null===(d=H.complete)||void 0===d?void 0:d.bind(H)}this.__isAsync&&(T=zy(T),y&&(y=zy(y)),I&&(I=zy(I)));var q=D(x(t.prototype),"subscribe",this).call(this,{next:y,error:T,complete:I});return a instanceof He&&a.add(q),q}}]),t}(Ie);function MY(){return this._results[oc()]()}var Sc=function(){function e(){var i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];c(this,e),this._emitDistinctChangesOnly=i,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var t=oc(),n=e.prototype;n[t]||(n[t]=MY)}return f(e,[{key:"changes",get:function(){return this._changes||(this._changes=new mt)}},{key:"get",value:function(t){return this._results[t]}},{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,n){return this._results.reduce(t,n)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t,n){var a=this;a.dirty=!1;var o=Ta(t);(this._changesDetected=!function(e,i,t){if(e.length!==i.length)return!1;for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:[];c(this,e),this.queries=i}return f(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var a=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[],s=0;s2&&void 0!==arguments[2]?arguments[2]:null;c(this,e),this.predicate=i,this.flags=t,this.read=n},EY=function(){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];c(this,e),this.queries=i}return f(e,[{key:"elementStart",value:function(t,n){for(var a=0;a1&&void 0!==arguments[1]?arguments[1]:-1;c(this,e),this.metadata=i,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}return f(e,[{key:"elementStart",value:function(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,n){this.elementStart(t,n)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var n=this._declarationNodeIndex,a=t.parent;null!==a&&8&a.type&&a.index!==n;)a=a.parent;return n===(null!==a?a.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,n){var a=this.metadata.predicate;if(Array.isArray(a))for(var o=0;o0)n.push(s[l/2]);else{for(var d=o[l+1],y=i[-u],T=10;T0&&(l=setTimeout(function(){s._callbacks=s._callbacks.filter(function(u){return u.timeoutId!==l}),n(s._didWork,s.getPendingTasks())},a)),this._callbacks.push({doneCb:n,timeoutId:l,updateCb:o})}},{key:"whenStable",value:function(n,a,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,a,o),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(n,a,o){return[]}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(vt))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),BT=function(){var e=function(){function i(){c(this,i),this._applications=new Map,rb.addToWindow(this)}return f(i,[{key:"registerApplication",value:function(n,a){this._applications.set(n,a)}},{key:"unregisterApplication",value:function(n){this._applications.delete(n)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(n){return this._applications.get(n)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(n){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return rb.findTestabilityInTree(this,n,a)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),rb=new(function(){function e(){c(this,e)}return f(e,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,n,a){return null}}]),e}()),jT=!0,UT=!1;function ib(){return UT=!0,jT}var oo,YH=function(e,i,t){var n=new Uy(t);return Promise.resolve(n)},zT=new Ze("AllowMultipleToken"),ab=function e(i,t){c(this,e),this.name=i,this.token=t};function zH(e){if(oo&&!oo.destroyed&&!oo.injector.get(zT,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");oo=e.get(qT);var i=e.get(RT,null);return i&&i.forEach(function(t){return t()}),oo}function WT(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n="Platform: ".concat(i),a=new Ze(n);return function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=GT();if(!s||s.injector.get(zT,!1))if(e)e(t.concat(o).concat({provide:a,useValue:!0}));else{var l=t.concat(o).concat({provide:a,useValue:!0},{provide:nf,useValue:"platform"});zH(sn.create({providers:l,name:n}))}return WH(a)}}function WH(e){var i=GT();if(!i)throw new Error("No platform exists!");if(!i.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return i}function GT(){return oo&&!oo.destroyed?oo:null}var qT=function(){var e=function(){function i(t){c(this,i),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return f(i,[{key:"bootstrapModuleFactory",value:function(n,a){var o=this,d=function(e,i){return"noop"===e?new AH:("zone.js"===e?void 0:e)||new vt({enableLongStackTrace:ib(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})}(a?a.ngZone:void 0,{ngZoneEventCoalescing:a&&a.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:a&&a.ngZoneRunCoalescing||!1}),y=[{provide:vt,useValue:d}];return d.run(function(){var T=sn.create({providers:y,parent:o.injector,name:n.moduleType.name}),I=n.create(T),H=I.injector.get(Qa,null);if(!H)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return d.runOutsideAngular(function(){var q=d.onError.subscribe({next:function(he){H.handleError(he)}});I.onDestroy(function(){ob(o._modules,I),q.unsubscribe()})}),function(e,i,t){try{var n=((q=I.injector.get(Dc)).runInitializers(),q.donePromise.then(function(){return My(I.injector.get(fs,Yp)||Yp),o._moduleDoBootstrap(I),I}));return lf(n)?n.catch(function(a){throw i.runOutsideAngular(function(){return e.handleError(a)}),a}):n}catch(a){throw i.runOutsideAngular(function(){return e.handleError(a)}),a}var q}(H,d)})}},{key:"bootstrapModule",value:function(n){var a=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=KT({},o);return YH(0,0,n).then(function(l){return a.bootstrapModuleFactory(l,s)})}},{key:"_moduleDoBootstrap",value:function(n){var a=n.injector.get(Us);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(function(o){return a.bootstrap(o)});else{if(!n.instance.ngDoBootstrap)throw new Error("The module ".concat(Yt(n.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");n.instance.ngDoBootstrap(a)}this._modules.push(n)}},{key:"onDestroy",value:function(n){this._destroyListeners.push(n)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(n){return n.destroy()}),this._destroyListeners.forEach(function(n){return n()}),this._destroyed=!0}},{key:"destroyed",get:function(){return this._destroyed}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(sn))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function KT(e,i){return Array.isArray(i)?i.reduce(KT,e):Object.assign(Object.assign({},e),i)}var Us=function(){var e=function(){function i(t,n,a,o,s){var l=this;c(this,i),this._zone=t,this._injector=n,this._exceptionHandler=a,this._componentFactoryResolver=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){l._zone.run(function(){l.tick()})}});var u=new me(function(y){l._stable=l._zone.isStable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks,l._zone.runOutsideAngular(function(){y.next(l._stable),y.complete()})}),d=new me(function(y){var T;l._zone.runOutsideAngular(function(){T=l._zone.onStable.subscribe(function(){vt.assertNotInAngularZone(),Xy(function(){!l._stable&&!l._zone.hasPendingMacrotasks&&!l._zone.hasPendingMicrotasks&&(l._stable=!0,y.next(!0))})})});var I=l._zone.onUnstable.subscribe(function(){vt.assertInAngularZone(),l._stable&&(l._stable=!1,l._zone.runOutsideAngular(function(){y.next(!1)}))});return function(){T.unsubscribe(),I.unsubscribe()}});this.isStable=wi(u,d.pipe(yu()))}return f(i,[{key:"bootstrap",value:function(n,a){var s,o=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");s=n instanceof TS?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(s.componentType);var l=function(e){return e.isBoundToModule}(s)?void 0:this._injector.get(ds),d=s.create(sn.NULL,[],a||s.selector,l),y=d.location.nativeElement,T=d.injector.get(nb,null),I=T&&d.injector.get(BT);return T&&I&&I.registerApplication(y,T),d.onDestroy(function(){o.detachView(d.hostView),ob(o.components,d),I&&I.unregisterApplication(y)}),this._loadComponent(d),d}},{key:"tick",value:function(){var n=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var o,a=W(this._views);try{for(a.s();!(o=a.n()).done;)o.value.detectChanges()}catch(y){a.e(y)}finally{a.f()}}catch(y){this._zone.runOutsideAngular(function(){return n._exceptionHandler.handleError(y)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(n){var a=n;this._views.push(a),a.attachToAppRef(this)}},{key:"detachView",value:function(n){var a=n;ob(this._views,a),a.detachFromAppRef()}},{key:"_loadComponent",value:function(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(FT,[]).concat(this._bootstrapListeners).forEach(function(o){return o(n)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(n){return n.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(vt),_e(sn),_e(Qa),_e(Yo),_e(Dc))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function ob(e,i){var t=e.indexOf(i);t>-1&&e.splice(t,1)}var nm=function e(){c(this,e)},$H=function e(){c(this,e)},QH={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},ZH=function(){var e=function(){function i(t,n){c(this,i),this._compiler=t,this._config=n||QH}return f(i,[{key:"load",value:function(n){return this.loadAndCompile(n)}},{key:"loadAndCompile",value:function(n){var a=this,s=te(n.split("#"),2),l=s[0],u=s[1];return void 0===u&&(u="default"),B(98255)(l).then(function(d){return d[u]}).then(function(d){return ZT(d,l,u)}).then(function(d){return a._compiler.compileModuleAsync(d)})}},{key:"loadFactory",value:function(n){var o=te(n.split("#"),2),s=o[0],l=o[1],u="NgFactory";return void 0===l&&(l="default",u=""),B(98255)(this._config.factoryPathPrefix+s+this._config.factoryPathSuffix).then(function(d){return d[l+u]}).then(function(d){return ZT(d,s,l)})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Al),_e($H,8))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function ZT(e,i,t){if(!e)throw new Error("Cannot find '".concat(t,"' in '").concat(i,"'"));return e}var sV=WT(null,"core",[{provide:Ec,useValue:"unknown"},{provide:qT,deps:[sn]},{provide:BT,deps:[]},{provide:em,deps:[]}]),hV=[{provide:Us,useClass:Us,deps:[vt,sn,Qa,Yo,Dc]},{provide:iY,deps:[vt],useFactory:function(e){var i=[];return e.onStable.subscribe(function(){for(;i.length;)i.pop()()}),function(t){i.push(t)}}},{provide:Dc,useClass:Dc,deps:[[new ti,wf]]},{provide:Al,useClass:Al,deps:[]},_H,{provide:Pl,useFactory:function(){return t5},deps:[]},{provide:kc,useFactory:function(){return n5},deps:[]},{provide:fs,useFactory:function(e){return My(e=e||"undefined"!=typeof $localize&&$localize.locale||Yp),e},deps:[[new Ku(fs),new ti,new ss]]},{provide:NT,useValue:"USD"}],mV=function(){var e=function i(t){c(this,i)};return e.\u0275fac=function(t){return new(t||e)(_e(Us))},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:hV}),e}(),um=null;function Vo(){return um}var cB=function e(){c(this,e)},dt=new Ze("DocumentToken"),Nl=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"historyGo",value:function(n){throw new Error("Not implemented")}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({factory:dB,token:e,providedIn:"platform"}),e}();function dB(){return _e(_D)}var fB=new Ze("Location Initialized"),_D=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o;return c(this,n),(o=t.call(this))._doc=a,o._init(),o}return f(n,[{key:"_init",value:function(){this.location=window.location,this._history=window.history}},{key:"getBaseHrefFromDOM",value:function(){return Vo().getBaseHref(this._doc)}},{key:"onPopState",value:function(o){var s=Vo().getGlobalEventTarget(this._doc,"window");return s.addEventListener("popstate",o,!1),function(){return s.removeEventListener("popstate",o)}}},{key:"onHashChange",value:function(o){var s=Vo().getGlobalEventTarget(this._doc,"window");return s.addEventListener("hashchange",o,!1),function(){return s.removeEventListener("hashchange",o)}}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(o){this.location.pathname=o}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(o,s,l){yD()?this._history.pushState(o,s,l):this.location.hash=l}},{key:"replaceState",value:function(o,s,l){yD()?this._history.replaceState(o,s,l):this.location.hash=l}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"historyGo",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this._history.go(o)}},{key:"getState",value:function(){return this._history.state}}]),n}(Nl);return e.\u0275fac=function(t){return new(t||e)(_e(dt))},e.\u0275prov=We({factory:hB,token:e,providedIn:"platform"}),e}();function yD(){return!!window.history.pushState}function hB(){return new _D(_e(dt))}function Cb(e,i){if(0==e.length)return i;if(0==i.length)return e;var t=0;return e.endsWith("/")&&t++,i.startsWith("/")&&t++,2==t?e+i.substring(1):1==t?e+i:e+"/"+i}function bD(e){var i=e.match(/#|\?|$/),t=i&&i.index||e.length;return e.slice(0,t-("/"===e[t-1]?1:0))+e.slice(t)}function ps(e){return e&&"?"!==e[0]?"?"+e:e}var Oc=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"historyGo",value:function(n){throw new Error("Not implemented")}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({factory:pB,token:e,providedIn:"root"}),e}();function pB(e){var i=_e(dt).location;return new kD(_e(Nl),i&&i.origin||"")}var Mb=new Ze("appBaseHref"),kD=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;if(c(this,n),(s=t.call(this))._platformLocation=a,s._removeListenerFns=[],null==o&&(o=s._platformLocation.getBaseHrefFromDOM()),null==o)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return s._baseHref=o,s}return f(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(o){return Cb(this._baseHref,o)}},{key:"path",value:function(){var o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=this._platformLocation.pathname+ps(this._platformLocation.search),l=this._platformLocation.hash;return l&&o?"".concat(s).concat(l):s}},{key:"pushState",value:function(o,s,l,u){var d=this.prepareExternalUrl(l+ps(u));this._platformLocation.pushState(o,s,d)}},{key:"replaceState",value:function(o,s,l,u){var d=this.prepareExternalUrl(l+ps(u));this._platformLocation.replaceState(o,s,d)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var s,l,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(l=(s=this._platformLocation).historyGo)||void 0===l||l.call(s,o)}}]),n}(Oc);return e.\u0275fac=function(t){return new(t||e)(_e(Nl),_e(Mb,8))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),mB=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this))._platformLocation=a,s._baseHref="",s._removeListenerFns=[],null!=o&&(s._baseHref=o),s}return f(n,[{key:"ngOnDestroy",value:function(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}},{key:"onPopState",value:function(o){this._removeListenerFns.push(this._platformLocation.onPopState(o),this._platformLocation.onHashChange(o))}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var s=this._platformLocation.hash;return null==s&&(s="#"),s.length>0?s.substring(1):s}},{key:"prepareExternalUrl",value:function(o){var s=Cb(this._baseHref,o);return s.length>0?"#"+s:s}},{key:"pushState",value:function(o,s,l,u){var d=this.prepareExternalUrl(l+ps(u));0==d.length&&(d=this._platformLocation.pathname),this._platformLocation.pushState(o,s,d)}},{key:"replaceState",value:function(o,s,l,u){var d=this.prepareExternalUrl(l+ps(u));0==d.length&&(d=this._platformLocation.pathname),this._platformLocation.replaceState(o,s,d)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}},{key:"historyGo",value:function(){var s,l,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(l=(s=this._platformLocation).historyGo)||void 0===l||l.call(s,o)}}]),n}(Oc);return e.\u0275fac=function(t){return new(t||e)(_e(Nl),_e(Mb,8))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Yl=function(){var e=function(){function i(t,n){var a=this;c(this,i),this._subject=new mt,this._urlChangeListeners=[],this._platformStrategy=t;var o=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=bD(CD(o)),this._platformStrategy.onPopState(function(s){a._subject.emit({url:a.path(!0),pop:!0,state:s.state,type:s.type})})}return f(i,[{key:"path",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(n))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(n+ps(a))}},{key:"normalize",value:function(n){return i.stripTrailingSlash(function(e,i){return e&&i.startsWith(e)?i.substring(e.length):i}(this._baseHref,CD(n)))}},{key:"prepareExternalUrl",value:function(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)}},{key:"go",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(o,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ps(a)),o)}},{key:"replaceState",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(o,"",n,a),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+ps(a)),o)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"historyGo",value:function(){var a,o,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;null===(o=(a=this._platformStrategy).historyGo)||void 0===o||o.call(a,n)}},{key:"onUrlChange",value:function(n){var a=this;this._urlChangeListeners.push(n),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(o){a._notifyUrlChangeListeners(o.url,o.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(o){return o(n,a)})}},{key:"subscribe",value:function(n,a,o){return this._subject.subscribe({next:n,error:a,complete:o})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Oc),_e(Nl))},e.normalizeQueryParams=ps,e.joinWithSlash=Cb,e.stripTrailingSlash=bD,e.\u0275prov=We({factory:vB,token:e,providedIn:"root"}),e}();function vB(){return new Yl(_e(Oc),_e(Nl))}function CD(e){return e.replace(/\/index.html$/,"")}var Pf=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),Zi=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),zn=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),Oa=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),Pr=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e.Infinity=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({});function cm(e,i){return Ia(Ai(e)[$n.DateFormat],i)}function dm(e,i){return Ia(Ai(e)[$n.TimeFormat],i)}function fm(e,i){return Ia(Ai(e)[$n.DateTimeFormat],i)}function xa(e,i){var t=Ai(e),n=t[$n.NumberSymbols][i];if(void 0===n){if(i===Pr.CurrencyDecimal)return t[$n.NumberSymbols][Pr.Decimal];if(i===Pr.CurrencyGroup)return t[$n.NumberSymbols][Pr.Group]}return n}var wB=function(e){return Ai(e)[$n.PluralCase]};function wD(e){if(!e[$n.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[$n.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function Ia(e,i){for(var t=i;t>-1;t--)if(void 0!==e[t])return e[t];throw new Error("Locale data API: locale data undefined")}function Tb(e){var t=te(e.split(":"),2);return{hours:+t[0],minutes:+t[1]}}var PB=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Of={},OB=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Ws=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),Mn=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),wn=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function SD(e,i,t,n){var a=function(e){if(ED(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var t=te(e.split("-").map(function(T){return+T}),3),a=t[1],s=t[2];return hm(t[0],(void 0===a?1:a)-1,void 0===s?1:s)}var d,u=parseFloat(e);if(!isNaN(e-u))return new Date(u);if(d=e.match(PB))return function(e){var i=new Date(0),t=0,n=0,a=e[8]?i.setUTCFullYear:i.setFullYear,o=e[8]?i.setUTCHours:i.setHours;e[9]&&(t=Number(e[9]+e[10]),n=Number(e[9]+e[11])),a.call(i,Number(e[1]),Number(e[2])-1,Number(e[3]));var s=Number(e[4]||0)-t,l=Number(e[5]||0)-n,u=Number(e[6]||0),d=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return o.call(i,s,l,u,d),i}(d)}var y=new Date(e);if(!ED(y))throw new Error('Unable to convert "'.concat(e,'" into a date'));return y}(e);i=ms(t,i)||i;for(var l,s=[];i;){if(!(l=OB.exec(i))){s.push(i);break}var u=(s=s.concat(l.slice(1))).pop();if(!u)break;i=u}var d=a.getTimezoneOffset();n&&(d=DD(n,d),a=function(e,i,t){var a=e.getTimezoneOffset();return function(e,i){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+i),e}(e,-1*(DD(i,a)-a))}(a,n));var y="";return s.forEach(function(T){var I=function(e){if(Eb[e])return Eb[e];var i;switch(e){case"G":case"GG":case"GGG":i=Wn(wn.Eras,zn.Abbreviated);break;case"GGGG":i=Wn(wn.Eras,zn.Wide);break;case"GGGGG":i=Wn(wn.Eras,zn.Narrow);break;case"y":i=Or(Mn.FullYear,1,0,!1,!0);break;case"yy":i=Or(Mn.FullYear,2,0,!0,!0);break;case"yyy":i=Or(Mn.FullYear,3,0,!1,!0);break;case"yyyy":i=Or(Mn.FullYear,4,0,!1,!0);break;case"Y":i=gm(1);break;case"YY":i=gm(2,!0);break;case"YYY":i=gm(3);break;case"YYYY":i=gm(4);break;case"M":case"L":i=Or(Mn.Month,1,1);break;case"MM":case"LL":i=Or(Mn.Month,2,1);break;case"MMM":i=Wn(wn.Months,zn.Abbreviated);break;case"MMMM":i=Wn(wn.Months,zn.Wide);break;case"MMMMM":i=Wn(wn.Months,zn.Narrow);break;case"LLL":i=Wn(wn.Months,zn.Abbreviated,Zi.Standalone);break;case"LLLL":i=Wn(wn.Months,zn.Wide,Zi.Standalone);break;case"LLLLL":i=Wn(wn.Months,zn.Narrow,Zi.Standalone);break;case"w":i=Db(1);break;case"ww":i=Db(2);break;case"W":i=Db(1,!0);break;case"d":i=Or(Mn.Date,1);break;case"dd":i=Or(Mn.Date,2);break;case"c":case"cc":i=Or(Mn.Day,1);break;case"ccc":i=Wn(wn.Days,zn.Abbreviated,Zi.Standalone);break;case"cccc":i=Wn(wn.Days,zn.Wide,Zi.Standalone);break;case"ccccc":i=Wn(wn.Days,zn.Narrow,Zi.Standalone);break;case"cccccc":i=Wn(wn.Days,zn.Short,Zi.Standalone);break;case"E":case"EE":case"EEE":i=Wn(wn.Days,zn.Abbreviated);break;case"EEEE":i=Wn(wn.Days,zn.Wide);break;case"EEEEE":i=Wn(wn.Days,zn.Narrow);break;case"EEEEEE":i=Wn(wn.Days,zn.Short);break;case"a":case"aa":case"aaa":i=Wn(wn.DayPeriods,zn.Abbreviated);break;case"aaaa":i=Wn(wn.DayPeriods,zn.Wide);break;case"aaaaa":i=Wn(wn.DayPeriods,zn.Narrow);break;case"b":case"bb":case"bbb":i=Wn(wn.DayPeriods,zn.Abbreviated,Zi.Standalone,!0);break;case"bbbb":i=Wn(wn.DayPeriods,zn.Wide,Zi.Standalone,!0);break;case"bbbbb":i=Wn(wn.DayPeriods,zn.Narrow,Zi.Standalone,!0);break;case"B":case"BB":case"BBB":i=Wn(wn.DayPeriods,zn.Abbreviated,Zi.Format,!0);break;case"BBBB":i=Wn(wn.DayPeriods,zn.Wide,Zi.Format,!0);break;case"BBBBB":i=Wn(wn.DayPeriods,zn.Narrow,Zi.Format,!0);break;case"h":i=Or(Mn.Hours,1,-12);break;case"hh":i=Or(Mn.Hours,2,-12);break;case"H":i=Or(Mn.Hours,1);break;case"HH":i=Or(Mn.Hours,2);break;case"m":i=Or(Mn.Minutes,1);break;case"mm":i=Or(Mn.Minutes,2);break;case"s":i=Or(Mn.Seconds,1);break;case"ss":i=Or(Mn.Seconds,2);break;case"S":i=Or(Mn.FractionalSeconds,1);break;case"SS":i=Or(Mn.FractionalSeconds,2);break;case"SSS":i=Or(Mn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":i=mm(Ws.Short);break;case"ZZZZZ":i=mm(Ws.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":i=mm(Ws.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":i=mm(Ws.Long);break;default:return null}return Eb[e]=i,i}(T);y+=I?I(a,t,d):"''"===T?"'":T.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),y}function hm(e,i,t){var n=new Date(0);return n.setFullYear(e,i,t),n.setHours(0,0,0),n}function ms(e,i){var t=function(e){return Ai(e)[$n.LocaleId]}(e);if(Of[t]=Of[t]||{},Of[t][i])return Of[t][i];var n="";switch(i){case"shortDate":n=cm(e,Oa.Short);break;case"mediumDate":n=cm(e,Oa.Medium);break;case"longDate":n=cm(e,Oa.Long);break;case"fullDate":n=cm(e,Oa.Full);break;case"shortTime":n=dm(e,Oa.Short);break;case"mediumTime":n=dm(e,Oa.Medium);break;case"longTime":n=dm(e,Oa.Long);break;case"fullTime":n=dm(e,Oa.Full);break;case"short":var a=ms(e,"shortTime"),o=ms(e,"shortDate");n=pm(fm(e,Oa.Short),[a,o]);break;case"medium":var s=ms(e,"mediumTime"),l=ms(e,"mediumDate");n=pm(fm(e,Oa.Medium),[s,l]);break;case"long":var u=ms(e,"longTime"),d=ms(e,"longDate");n=pm(fm(e,Oa.Long),[u,d]);break;case"full":var y=ms(e,"fullTime"),T=ms(e,"fullDate");n=pm(fm(e,Oa.Full),[y,T])}return n&&(Of[t][i]=n),n}function pm(e,i){return i&&(e=e.replace(/\{([^}]+)}/g,function(t,n){return null!=i&&n in i?i[n]:t})),e}function uo(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",n=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,o="";(e<0||a&&e<=0)&&(a?e=1-e:(e=-e,o=t));for(var s=String(e);s.length2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(o,s){var l=IB(e,o);if((t>0||l>-t)&&(l+=t),e===Mn.Hours)0===l&&-12===t&&(l=12);else if(e===Mn.FractionalSeconds)return xB(l,i);var u=xa(s,Pr.MinusSign);return uo(l,i,u,n,a)}}function IB(e,i){switch(e){case Mn.FullYear:return i.getFullYear();case Mn.Month:return i.getMonth();case Mn.Date:return i.getDate();case Mn.Hours:return i.getHours();case Mn.Minutes:return i.getMinutes();case Mn.Seconds:return i.getSeconds();case Mn.FractionalSeconds:return i.getMilliseconds();case Mn.Day:return i.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}function Wn(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Zi.Format,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(a,o){return AB(a,o,e,i,t,n)}}function AB(e,i,t,n,a,o){switch(t){case wn.Months:return function(e,i,t){var n=Ai(e),o=Ia([n[$n.MonthsFormat],n[$n.MonthsStandalone]],i);return Ia(o,t)}(i,a,n)[e.getMonth()];case wn.Days:return function(e,i,t){var n=Ai(e),o=Ia([n[$n.DaysFormat],n[$n.DaysStandalone]],i);return Ia(o,t)}(i,a,n)[e.getDay()];case wn.DayPeriods:var s=e.getHours(),l=e.getMinutes();if(o){var u=function(e){var i=Ai(e);return wD(i),(i[$n.ExtraData][2]||[]).map(function(n){return"string"==typeof n?Tb(n):[Tb(n[0]),Tb(n[1])]})}(i),d=function(e,i,t){var n=Ai(e);wD(n);var o=Ia([n[$n.ExtraData][0],n[$n.ExtraData][1]],i)||[];return Ia(o,t)||[]}(i,a,n),y=u.findIndex(function(I){if(Array.isArray(I)){var H=te(I,2),q=H[0],X=H[1],he=s>=q.hours&&l>=q.minutes,Se=s0?Math.floor(a/60):Math.ceil(a/60);switch(e){case Ws.Short:return(a>=0?"+":"")+uo(s,2,o)+uo(Math.abs(a%60),2,o);case Ws.ShortGMT:return"GMT"+(a>=0?"+":"")+uo(s,1,o);case Ws.Long:return"GMT"+(a>=0?"+":"")+uo(s,2,o)+":"+uo(Math.abs(a%60),2,o);case Ws.Extended:return 0===n?"Z":(a>=0?"+":"")+uo(s,2,o)+":"+uo(Math.abs(a%60),2,o);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function FB(e){var i=hm(e,0,1).getDay();return hm(e,0,1+(i<=4?4:11)-i)}function TD(e){return hm(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Db(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t,n){var a;if(i){var o=new Date(t.getFullYear(),t.getMonth(),1).getDay()-1,s=t.getDate();a=1+Math.floor((s+o)/7)}else{var l=TD(t),u=FB(l.getFullYear()),d=l.getTime()-u.getTime();a=1+Math.round(d/6048e5)}return uo(a,e,xa(n,Pr.MinusSign))}}function gm(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t,n){return uo(TD(t).getFullYear(),e,xa(n,Pr.MinusSign),i)}}var Eb={};function DD(e,i){e=e.replace(/:/g,"");var t=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(t)?i:t}function ED(e){return e instanceof Date&&!isNaN(e.valueOf())}var ym=function e(){c(this,e)},ZB=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o;return c(this,n),(o=t.call(this)).locale=a,o}return f(n,[{key:"getPluralCategory",value:function(o,s){switch(wB(s||this.locale)(o)){case Pf.Zero:return"zero";case Pf.One:return"one";case Pf.Two:return"two";case Pf.Few:return"few";case Pf.Many:return"many";default:return"other"}}}]),n}(ym);return e.\u0275fac=function(t){return new(t||e)(_e(fs))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function xD(e,i){i=encodeURIComponent(i);var n,t=W(e.split(";"));try{for(t.s();!(n=t.n()).done;){var a=n.value,o=a.indexOf("="),l=te(-1==o?[a,""]:[a.slice(0,o),a.slice(o+1)],2),d=l[1];if(l[0].trim()===i)return decodeURIComponent(d)}}catch(y){t.e(y)}finally{t.f()}return null}var Cr=function(){var e=function(){function i(t,n,a,o){c(this,i),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=a,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return f(i,[{key:"klass",set:function(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(of(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){var a=this._keyValueDiffer.diff(this._rawClass);a&&this._applyKeyValueChanges(a)}}},{key:"_applyKeyValueChanges",value:function(n){var a=this;n.forEachAddedItem(function(o){return a._toggleClass(o.key,o.currentValue)}),n.forEachChangedItem(function(o){return a._toggleClass(o.key,o.currentValue)}),n.forEachRemovedItem(function(o){o.previousValue&&a._toggleClass(o.key,!1)})}},{key:"_applyIterableChanges",value:function(n){var a=this;n.forEachAddedItem(function(o){if("string"!=typeof o.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Yt(o.item)));a._toggleClass(o.item,!0)}),n.forEachRemovedItem(function(o){return a._toggleClass(o.item,!1)})}},{key:"_applyClasses",value:function(n){var a=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(o){return a._toggleClass(o,!0)}):Object.keys(n).forEach(function(o){return a._toggleClass(o,!!n[o])}))}},{key:"_removeClasses",value:function(n){var a=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach(function(o){return a._toggleClass(o,!1)}):Object.keys(n).forEach(function(o){return a._toggleClass(o,!1)}))}},{key:"_toggleClass",value:function(n,a){var o=this;(n=n.trim())&&n.split(/\s+/g).forEach(function(s){a?o._renderer.addClass(o._ngEl.nativeElement,s):o._renderer.removeClass(o._ngEl.nativeElement,s)})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(Pl),N(kc),N(pt),N(Ho))},e.\u0275dir=Ve({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),e6=function(){function e(i,t,n,a){c(this,e),this.$implicit=i,this.ngForOf=t,this.index=n,this.count=a}return f(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),xr=function(){var e=function(){function i(t,n,a){c(this,i),this._viewContainer=t,this._template=n,this._differs=a,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return f(i,[{key:"ngForOf",set:function(n){this._ngForOf=n,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(n){this._trackByFn=n}},{key:"ngForTemplate",set:function(n){n&&(this._template=n)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(o){throw new Error("Cannot find a differ supporting object '".concat(n,"' of type '").concat(function(e){return e.name||typeof e}(n),"'. NgFor only supports binding to Iterables such as Arrays."))}}if(this._differ){var a=this._differ.diff(this._ngForOf);a&&this._applyChanges(a)}}},{key:"_applyChanges",value:function(n){var a=this,o=[];n.forEachOperation(function(y,T,I){if(null==y.previousIndex){var H=a._viewContainer.createEmbeddedView(a._template,new e6(null,a._ngForOf,-1,-1),null===I?void 0:I),q=new ID(y,H);o.push(q)}else if(null==I)a._viewContainer.remove(null===T?void 0:T);else if(null!==T){var X=a._viewContainer.get(T);a._viewContainer.move(X,I);var he=new ID(y,X);o.push(he)}});for(var s=0;s1&&void 0!==arguments[1]?arguments[1]:"mediumDate",o=arguments.length>2?arguments[2]:void 0,s=arguments.length>3?arguments[3]:void 0;if(null==n||""===n||n!=n)return null;try{return SD(n,a,s||this.locale,o)}catch(l){throw co(i,l.message)}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(fs,16))},e.\u0275pipe=Dr({name:"date",type:e,pure:!0}),e}(),Bo=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[{provide:ym,useClass:ZB}]}),e}(),jD=function(){var e=function i(){c(this,i)};return e.\u0275prov=We({token:e,providedIn:"root",factory:function(){return new T6(_e(dt),window)}}),e}(),T6=function(){function e(i,t){c(this,e),this.document=i,this.window=t,this.offset=function(){return[0,0]}}return f(e,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportsScrolling()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportsScrolling()){var n=function(e,i){var t=e.getElementById(i)||e.getElementsByName(i)[0];if(t)return t;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow))for(var n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),a=n.currentNode;a;){var o=a.shadowRoot;if(o){var s=o.getElementById(i)||o.querySelector('[name="'.concat(i,'"]'));if(s)return s}a=n.nextNode()}return null}(this.document,t);n&&(this.scrollToElement(n),this.attemptFocus(n))}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var n=this.window.history;n&&n.scrollRestoration&&(n.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var n=t.getBoundingClientRect(),a=n.left+this.window.pageXOffset,o=n.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(a-s[0],o-s[1])}},{key:"attemptFocus",value:function(t){return t.focus(),this.document.activeElement===t}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var t=UD(this.window.history)||UD(Object.getPrototypeOf(this.window.history));return!(!t||!t.writable&&!t.set)}catch(n){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(t){return!1}}}]),e}();function UD(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var km,Fb=function e(){c(this,e)},L6=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"onAndCancel",value:function(a,o,s){return a.addEventListener(o,s,!1),function(){a.removeEventListener(o,s,!1)}}},{key:"dispatchEvent",value:function(a,o){a.dispatchEvent(o)}},{key:"remove",value:function(a){a.parentNode&&a.parentNode.removeChild(a)}},{key:"createElement",value:function(a,o){return(o=o||this.getDefaultDocument()).createElement(a)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(a){return a.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(a){return a instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(a,o){return"window"===o?window:"document"===o?a:"body"===o?a.body:null}},{key:"getBaseHref",value:function(a){var o=(Af=Af||document.querySelector("base"))?Af.getAttribute("href"):null;return null==o?null:function(e){(km=km||document.createElement("a")).setAttribute("href",e);var i=km.pathname;return"/"===i.charAt(0)?i:"/".concat(i)}(o)}},{key:"resetBaseElement",value:function(){Af=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"getCookie",value:function(a){return xD(document.cookie,a)}}],[{key:"makeCurrent",value:function(){!function(e){um||(um=e)}(new t)}}]),t}(function(e){h(t,e);var i=C(t);function t(){var n;return c(this,t),(n=i.apply(this,arguments)).supportsDOMEvents=!0,n}return t}(cB)),Af=null,zD=new Ze("TRANSITION_ID"),I6=[{provide:wf,useFactory:function(e,i,t){return function(){t.get(Dc).donePromise.then(function(){for(var n=Vo(),a=i.querySelectorAll('style[ng-transition="'.concat(e,'"]')),o=0;o1&&void 0!==arguments[1])||arguments[1],s=t.findTestabilityInTree(a,o);if(null==s)throw new Error("Could not find testability for element.");return s},hn.getAllAngularTestabilities=function(){return t.getAllTestabilities()},hn.getAllAngularRootElements=function(){return t.getAllRootElements()},hn.frameworkStabilizers||(hn.frameworkStabilizers=[]),hn.frameworkStabilizers.push(function(o){var s=hn.getAllAngularTestabilities(),l=s.length,u=!1,d=function(T){u=u||T,0==--l&&o(u)};s.forEach(function(y){y.whenStable(d)})})}},{key:"findTestabilityInTree",value:function(t,n,a){if(null==n)return null;var o=t.getTestability(n);return null!=o?o:a?Vo().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}],[{key:"init",value:function(){!function(e){rb=e}(new e)}}]),e}(),R6=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"build",value:function(){return new XMLHttpRequest}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Rf=new Ze("EventManagerPlugins"),Mm=function(){var e=function(){function i(t,n){var a=this;c(this,i),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(o){return o.manager=a}),this._plugins=t.slice().reverse()}return f(i,[{key:"addEventListener",value:function(n,a,o){return this._findPluginFor(a).addEventListener(n,a,o)}},{key:"addGlobalEventListener",value:function(n,a,o){return this._findPluginFor(a).addGlobalEventListener(n,a,o)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(n){var a=this._eventNameToPlugin.get(n);if(a)return a;for(var o=this._plugins,s=0;s-1&&(s.splice(I,1),d+=T+".")}),d+=u,0!=s.length||0===u.length)return null;var y={};return y.domEventName=l,y.fullKey=d,y}},{key:"getEventFullKey",value:function(o){var s="",l=function(e){var i=e.key;if(null==i){if(null==(i=e.keyIdentifier))return"Unidentified";i.startsWith("U+")&&(i=String.fromCharCode(parseInt(i.substring(2),16)),3===e.location&&e2.hasOwnProperty(i)&&(i=e2[i]))}return sj[i]||i}(o);return" "===(l=l.toLowerCase())?l="space":"."===l&&(l="dot"),XD.forEach(function(u){u!=l&&(0,fj[u])(o)&&(s+=u+".")}),s+=l}},{key:"eventCallback",value:function(o,s,l){return function(u){n.getEventFullKey(u)===o&&l.runGuarded(function(){return s(u)})}}},{key:"_normalizeKey",value:function(o){switch(o){case"esc":return"escape";default:return o}}}]),n}(Nb);return e.\u0275fac=function(t){return new(t||e)(_e(dt))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),xc=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({factory:function(){return _e(jb)},token:e,providedIn:"root"}),e}(),jb=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o;return c(this,n),(o=t.call(this))._doc=a,o}return f(n,[{key:"sanitize",value:function(o,s){if(null==s)return null;switch(o){case ni.NONE:return s;case ni.HTML:return Oo(s,"HTML")?da(s):mC(this._doc,String(s)).toString();case ni.STYLE:return Oo(s,"Style")?da(s):s;case ni.SCRIPT:if(Oo(s,"Script"))return da(s);throw new Error("unsafe value used in a script context");case ni.URL:return sC(s),Oo(s,"URL")?da(s):qd(String(s));case ni.RESOURCE_URL:if(Oo(s,"ResourceURL"))return da(s);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(o," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(o){return function(e){return new MA(e)}(o)}},{key:"bypassSecurityTrustStyle",value:function(o){return function(e){return new wA(e)}(o)}},{key:"bypassSecurityTrustScript",value:function(o){return function(e){return new SA(e)}(o)}},{key:"bypassSecurityTrustUrl",value:function(o){return function(e){return new TA(e)}(o)}},{key:"bypassSecurityTrustResourceUrl",value:function(o){return function(e){return new DA(e)}(o)}}]),n}(xc);return e.\u0275fac=function(t){return new(t||e)(_e(dt))},e.\u0275prov=We({factory:function(){return function(e){return new jb(e.get(dt))}(_e(tf))},token:e,providedIn:"root"}),e}(),Mj=WT(sV,"browser",[{provide:Ec,useValue:"browser"},{provide:RT,useValue:function(){L6.makeCurrent(),A6.init()},multi:!0},{provide:dt,useFactory:function(){return e=document,Lu=e,document;var e},deps:[]}]),wj=[[],{provide:nf,useValue:"root"},{provide:Qa,useFactory:function(){return new Qa},deps:[]},{provide:Rf,useClass:ej,multi:!0,deps:[dt,vt,Ec]},{provide:Rf,useClass:hj,multi:!0,deps:[dt]},[],{provide:Sm,useClass:Sm,deps:[Mm,Ff,Sf]},{provide:Ll,useExisting:Sm},{provide:GD,useExisting:Ff},{provide:Ff,useClass:Ff,deps:[dt]},{provide:nb,useClass:nb,deps:[vt]},{provide:Mm,useClass:Mm,deps:[Rf,vt]},{provide:Fb,useClass:R6,deps:[]},[]],Ub=function(){var e=function(){function i(t){if(c(this,i),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return f(i,null,[{key:"withServerTransition",value:function(n){return{ngModule:i,providers:[{provide:Sf,useValue:n.appId},{provide:zD,useExisting:Sf},I6]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(e,12))},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:wj,imports:[Bo,mV]}),e}();"undefined"!=typeof window&&window;var n2=function e(){c(this,e)},Pj=function e(){c(this,e)},vs="*";function gs(e,i){return{type:7,name:e,definitions:i,options:{}}}function Yi(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:i,timings:e}}function r2(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:i}}function bn(e){return{type:6,styles:e,offset:null}}function Hi(e,i,t){return{type:0,name:e,styles:i,options:t}}function Oj(e){return{type:5,steps:e}}function gi(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:i,options:t}}function xj(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function Ij(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:i,options:t}}function a2(e){Promise.resolve(null).then(e)}var Ic=function(){function e(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;c(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=i+t}return f(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;a2(function(){return t._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this._started=!1}},{key:"setPosition",value:function(t){this._position=this.totalTime?t*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(a){return a()}),n.length=0}}]),e}(),o2=function(){function e(i){var t=this;c(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=i;var n=0,a=0,o=0,s=this.players.length;0==s?a2(function(){return t._onFinish()}):this.players.forEach(function(l){l.onDone(function(){++n==s&&t._onFinish()}),l.onDestroy(function(){++a==s&&t._onDestroy()}),l.onStart(function(){++o==s&&t._onStart()})}),this.totalTime=this.players.reduce(function(l,u){return Math.max(l,u.totalTime)},0)}return f(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(t){return t.init()})}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(t){return t.play()})}},{key:"pause",value:function(){this.players.forEach(function(t){return t.pause()})}},{key:"restart",value:function(){this.players.forEach(function(t){return t.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(t){return t.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(t){return t.destroy()}),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(t){return t.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var n=t*this.totalTime;this.players.forEach(function(a){var o=a.totalTime?Math.min(1,n/a.totalTime):1;a.setPosition(o)})}},{key:"getPosition",value:function(){var t=this.players.reduce(function(n,a){return null===n||a.totalTime>n.totalTime?a:n},null);return null!=t?t.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(t){t.beforeDestroy&&t.beforeDestroy()})}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(a){return a()}),n.length=0}}]),e}();function s2(){return"undefined"!=typeof window&&void 0!==window.document}function Gb(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Gs(e){switch(e.length){case 0:return new Ic;case 1:return e[0];default:return new o2(e)}}function l2(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],l=[],u=-1,d=null;if(n.forEach(function(T){var I=T.offset,H=I==u,q=H&&d||{};Object.keys(T).forEach(function(X){var he=X,Se=T[X];if("offset"!==X)switch(he=i.normalizePropertyName(he,s),Se){case"!":Se=a[X];break;case vs:Se=o[X];break;default:Se=i.normalizeStyleValue(X,he,Se,s)}q[he]=Se}),H||l.push(q),d=q,u=I}),s.length){var y="\n - ";throw new Error("Unable to animate due to the following errors:".concat(y).concat(s.join(y)))}return l}function qb(e,i,t,n){switch(i){case"start":e.onStart(function(){return n(t&&Kb(t,"start",e))});break;case"done":e.onDone(function(){return n(t&&Kb(t,"done",e))});break;case"destroy":e.onDestroy(function(){return n(t&&Kb(t,"destroy",e))})}}function Kb(e,i,t){var n=t.totalTime,o=Jb(e.element,e.triggerName,e.fromState,e.toState,i||e.phaseName,null==n?e.totalTime:n,!!t.disabled),s=e._data;return null!=s&&(o._data=s),o}function Jb(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:i,fromState:t,toState:n,phaseName:a,totalTime:o,disabled:!!s}}function va(e,i,t){var n;return e instanceof Map?(n=e.get(i))||e.set(i,n=t):(n=e[i])||(n=e[i]=t),n}function u2(e){var i=e.indexOf(":");return[e.substring(1,i),e.substr(i+1)]}var $b=function(i,t){return!1},Qb=function(i,t){return!1},c2=function(i,t,n){return[]},d2=Gb();(d2||"undefined"!=typeof Element)&&($b=s2()?function(i,t){for(;t&&t!==document.documentElement;){if(t===i)return!0;t=t.parentNode||t.host}return!1}:function(i,t){return i.contains(t)},Qb=function(){if(d2||Element.prototype.matches)return function(t,n){return t.matches(n)};var e=Element.prototype,i=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return i?function(t,n){return i.apply(t,[n])}:Qb}(),c2=function(i,t,n){var a=[];if(n)for(var o=i.querySelectorAll(t),s=0;s1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(t){i[t]=e[t]}),i}function qs(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i)for(var n in e)t[n]=e[n];else Ac(e,t);return t}function _2(e,i,t){return t?i+":"+t+";":""}function y2(e){for(var i="",t=0;t *";case":leave":return"* => void";case":increment":return function(t,n){return parseFloat(n)>parseFloat(t)};case":decrement":return function(t,n){return parseFloat(n) *"}}(e,t);if("function"==typeof n)return void i.push(n);e=n}var a=e.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==a||a.length<4)return t.push('The provided transition expression "'.concat(e,'" is not supported')),i;var o=a[1],s=a[2],l=a[3];i.push(M2(o,l)),"<"==s[0]&&!("*"==o&&"*"==l)&&i.push(M2(l,o))}(n,t,i)}):t.push(e),t}var xm=new Set(["true","1"]),Im=new Set(["false","0"]);function M2(e,i){var t=xm.has(e)||Im.has(e),n=xm.has(i)||Im.has(i);return function(a,o){var s="*"==e||e==a,l="*"==i||i==o;return!s&&t&&"boolean"==typeof a&&(s=a?xm.has(e):Im.has(e)),!l&&n&&"boolean"==typeof o&&(l=o?xm.has(i):Im.has(i)),s&&l}}var Wj=new RegExp("s*".concat(":self","s*,?"),"g");function S2(e,i,t){return new Gj(e).build(i,t)}var Gj=function(){function e(i){c(this,e),this._driver=i}return f(e,[{key:"build",value:function(t,n){var a=new Jj(n);return this._resetContextStyleTimingState(a),ga(this,Nf(t),a)}},{key:"_resetContextStyleTimingState",value:function(t){t.currentQuerySelector="",t.collectedStyles={},t.collectedStyles[""]={},t.currentTime=0}},{key:"visitTrigger",value:function(t,n){var a=this,o=n.queryCount=0,s=n.depCount=0,l=[],u=[];return"@"==t.name.charAt(0)&&n.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),t.definitions.forEach(function(d){if(a._resetContextStyleTimingState(n),0==d.type){var y=d,T=y.name;T.toString().split(/\s*,\s*/).forEach(function(H){y.name=H,l.push(a.visitState(y,n))}),y.name=T}else if(1==d.type){var I=a.visitTransition(d,n);o+=I.queryCount,s+=I.depCount,u.push(I)}else n.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:t.name,states:l,transitions:u,queryCount:o,depCount:s,options:null}}},{key:"visitState",value:function(t,n){var a=this.visitStyle(t.styles,n),o=t.options&&t.options.params||null;if(a.containsDynamicStyles){var s=new Set,l=o||{};if(a.styles.forEach(function(d){if(Am(d)){var y=d;Object.keys(y).forEach(function(T){b2(y[T]).forEach(function(I){l.hasOwnProperty(I)||s.add(I)})})}}),s.size){var u=Pm(s.values());n.errors.push('state("'.concat(t.name,'", ...) must define default values for all the following style substitutions: ').concat(u.join(", ")))}}return{type:0,name:t.name,style:a,options:o?{params:o}:null}}},{key:"visitTransition",value:function(t,n){n.queryCount=0,n.depCount=0;var a=ga(this,Nf(t.animation),n);return{type:1,matchers:jj(t.expr,n.errors),animation:a,queryCount:n.queryCount,depCount:n.depCount,options:Ul(t.options)}}},{key:"visitSequence",value:function(t,n){var a=this;return{type:2,steps:t.steps.map(function(o){return ga(a,o,n)}),options:Ul(t.options)}}},{key:"visitGroup",value:function(t,n){var a=this,o=n.currentTime,s=0,l=t.steps.map(function(u){n.currentTime=o;var d=ga(a,u,n);return s=Math.max(s,n.currentTime),d});return n.currentTime=s,{type:3,steps:l,options:Ul(t.options)}}},{key:"visitAnimate",value:function(t,n){var a=function(e,i){var t=null;if(e.hasOwnProperty("duration"))t=e;else if("number"==typeof e)return uk(Em(e,i).duration,0,"");var a=e;if(a.split(/\s+/).some(function(l){return"{"==l.charAt(0)&&"{"==l.charAt(1)})){var s=uk(0,0,"");return s.dynamic=!0,s.strValue=a,s}return uk((t=t||Em(a,i)).duration,t.delay,t.easing)}(t.timings,n.errors);n.currentAnimateTimings=a;var o,s=t.styles?t.styles:bn({});if(5==s.type)o=this.visitKeyframes(s,n);else{var l=t.styles,u=!1;if(!l){u=!0;var d={};a.easing&&(d.easing=a.easing),l=bn(d)}n.currentTime+=a.duration+a.delay;var y=this.visitStyle(l,n);y.isEmptyStep=u,o=y}return n.currentAnimateTimings=null,{type:4,timings:a,style:o,options:null}}},{key:"visitStyle",value:function(t,n){var a=this._makeStyleAst(t,n);return this._validateStyleAst(a,n),a}},{key:"_makeStyleAst",value:function(t,n){var a=[];Array.isArray(t.styles)?t.styles.forEach(function(l){"string"==typeof l?l==vs?a.push(l):n.errors.push("The provided style string value ".concat(l," is not allowed.")):a.push(l)}):a.push(t.styles);var o=!1,s=null;return a.forEach(function(l){if(Am(l)){var u=l,d=u.easing;if(d&&(s=d,delete u.easing),!o)for(var y in u)if(u[y].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:a,easing:s,offset:t.offset,containsDynamicStyles:o,options:null}}},{key:"_validateStyleAst",value:function(t,n){var a=this,o=n.currentAnimateTimings,s=n.currentTime,l=n.currentTime;o&&l>0&&(l-=o.duration+o.delay),t.styles.forEach(function(u){"string"!=typeof u&&Object.keys(u).forEach(function(d){if(a._driver.validateStyleProperty(d)){var y=n.collectedStyles[n.currentQuerySelector],T=y[d],I=!0;T&&(l!=s&&l>=T.startTime&&s<=T.endTime&&(n.errors.push('The CSS property "'.concat(d,'" that exists between the times of "').concat(T.startTime,'ms" and "').concat(T.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(l,'ms" and "').concat(s,'ms"')),I=!1),l=T.startTime),I&&(y[d]={startTime:l,endTime:s}),n.options&&function(e,i,t){var n=i.params||{},a=b2(e);a.length&&a.forEach(function(o){n.hasOwnProperty(o)||t.push("Unable to resolve the local animation param ".concat(o," in the given list of values"))})}(u[d],n.options,n.errors)}else n.errors.push('The provided animation property "'.concat(d,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(t,n){var a=this,o={type:5,styles:[],options:null};if(!n.currentAnimateTimings)return n.errors.push("keyframes() must be placed inside of a call to animate()"),o;var l=0,u=[],d=!1,y=!1,T=0,I=t.steps.map(function(Re){var Ne=a._makeStyleAst(Re,n),Xe=null!=Ne.offset?Ne.offset:function(e){if("string"==typeof e)return null;var i=null;if(Array.isArray(e))e.forEach(function(n){if(Am(n)&&n.hasOwnProperty("offset")){var a=n;i=parseFloat(a.offset),delete a.offset}});else if(Am(e)&&e.hasOwnProperty("offset")){var t=e;i=parseFloat(t.offset),delete t.offset}return i}(Ne.styles),st=0;return null!=Xe&&(l++,st=Ne.offset=Xe),y=y||st<0||st>1,d=d||st0&&l0?Ne==X?1:q*Ne:u[Ne],st=Xe*pe;n.currentTime=he+Se.delay+st,Se.duration=st,a._validateStyleAst(Re,n),Re.offset=Xe,o.styles.push(Re)}),o}},{key:"visitReference",value:function(t,n){return{type:8,animation:ga(this,Nf(t.animation),n),options:Ul(t.options)}}},{key:"visitAnimateChild",value:function(t,n){return n.depCount++,{type:9,options:Ul(t.options)}}},{key:"visitAnimateRef",value:function(t,n){return{type:10,animation:this.visitReference(t.animation,n),options:Ul(t.options)}}},{key:"visitQuery",value:function(t,n){var a=n.currentQuerySelector,o=t.options||{};n.queryCount++,n.currentQuery=t;var l=te(function(e){var i=!!e.split(/\s*,\s*/).find(function(t){return":self"==t});return i&&(e=e.replace(Wj,"")),[e=e.replace(/@\*/g,Dm).replace(/@\w+/g,function(t){return Dm+"-"+t.substr(1)}).replace(/:animating/g,ik),i]}(t.selector),2),u=l[0],d=l[1];n.currentQuerySelector=a.length?a+" "+u:u,va(n.collectedStyles,n.currentQuerySelector,{});var y=ga(this,Nf(t.animation),n);return n.currentQuery=null,n.currentQuerySelector=a,{type:11,selector:u,limit:o.limit||0,optional:!!o.optional,includeSelf:d,animation:y,originalSelector:t.selector,options:Ul(t.options)}}},{key:"visitStagger",value:function(t,n){n.currentQuery||n.errors.push("stagger() can only be used inside of query()");var a="full"===t.timings?{duration:0,delay:0,easing:"full"}:Em(t.timings,n.errors,!0);return{type:12,animation:ga(this,Nf(t.animation),n),timings:a,options:null}}}]),e}(),Jj=function e(i){c(this,e),this.errors=i,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function Am(e){return!Array.isArray(e)&&"object"==typeof e}function Ul(e){return e?(e=Ac(e)).params&&(e.params=function(e){return e?Ac(e):null}(e.params)):e={},e}function uk(e,i,t){return{duration:e,delay:i,easing:t}}function ck(e,i,t,n,a,o){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:i,preStyleProps:t,postStyleProps:n,duration:a,delay:o,totalTime:a+o,easing:s,subTimeline:l}}var dk=function(){function e(){c(this,e),this._map=new Map}return f(e,[{key:"consume",value:function(t){var n=this._map.get(t);return n?this._map.delete(t):n=[],n}},{key:"append",value:function(t,n){var a,o=this._map.get(t);o||this._map.set(t,o=[]),(a=o).push.apply(a,se(n))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),e8=new RegExp(":enter","g"),n8=new RegExp(":leave","g");function D2(e,i,t,n,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},l=arguments.length>7?arguments[7]:void 0,u=arguments.length>8?arguments[8]:void 0,d=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new r8).buildKeyframes(e,i,t,n,a,o,s,l,u,d)}var r8=function(){function e(){c(this,e)}return f(e,[{key:"buildKeyframes",value:function(t,n,a,o,s,l,u,d,y){var T=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];y=y||new dk;var I=new i8(t,n,y,o,s,T,[]);I.options=d,I.currentTimeline.setStyles([l],null,I.errors,d),ga(this,a,I);var H=I.timelines.filter(function(X){return X.containsAnimation()});if(H.length&&Object.keys(u).length){var q=H[H.length-1];q.allowOnlyTimelineStyles()||q.setStyles([u],null,I.errors,d)}return H.length?H.map(function(X){return X.buildKeyframes()}):[ck(n,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,n){}},{key:"visitState",value:function(t,n){}},{key:"visitTransition",value:function(t,n){}},{key:"visitAnimateChild",value:function(t,n){var a=n.subInstructions.consume(n.element);if(a){var o=n.createSubContext(t.options),s=n.currentTimeline.currentTime,l=this._visitSubInstructions(a,o,o.options);s!=l&&n.transformIntoNewTimeline(l)}n.previousNode=t}},{key:"visitAnimateRef",value:function(t,n){var a=n.createSubContext(t.options);a.transformIntoNewTimeline(),this.visitReference(t.animation,a),n.transformIntoNewTimeline(a.currentTimeline.currentTime),n.previousNode=t}},{key:"_visitSubInstructions",value:function(t,n,a){var s=n.currentTimeline.currentTime,l=null!=a.duration?Bl(a.duration):null,u=null!=a.delay?Bl(a.delay):null;return 0!==l&&t.forEach(function(d){var y=n.appendInstructionToTimeline(d,l,u);s=Math.max(s,y.duration+y.delay)}),s}},{key:"visitReference",value:function(t,n){n.updateOptions(t.options,!0),ga(this,t.animation,n),n.previousNode=t}},{key:"visitSequence",value:function(t,n){var a=this,o=n.subContextCount,s=n,l=t.options;if(l&&(l.params||l.delay)&&((s=n.createSubContext(l)).transformIntoNewTimeline(),null!=l.delay)){6==s.previousNode.type&&(s.currentTimeline.snapshotCurrentStyles(),s.previousNode=Rm);var u=Bl(l.delay);s.delayNextStep(u)}t.steps.length&&(t.steps.forEach(function(d){return ga(a,d,s)}),s.currentTimeline.applyStylesToKeyframe(),s.subContextCount>o&&s.transformIntoNewTimeline()),n.previousNode=t}},{key:"visitGroup",value:function(t,n){var a=this,o=[],s=n.currentTimeline.currentTime,l=t.options&&t.options.delay?Bl(t.options.delay):0;t.steps.forEach(function(u){var d=n.createSubContext(t.options);l&&d.delayNextStep(l),ga(a,u,d),s=Math.max(s,d.currentTimeline.currentTime),o.push(d.currentTimeline)}),o.forEach(function(u){return n.currentTimeline.mergeTimelineCollectedStyles(u)}),n.transformIntoNewTimeline(s),n.previousNode=t}},{key:"_visitTiming",value:function(t,n){if(t.dynamic){var a=t.strValue;return Em(n.params?Lm(a,n.params,n.errors):a,n.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,n){var a=n.currentAnimateTimings=this._visitTiming(t.timings,n),o=n.currentTimeline;a.delay&&(n.incrementTime(a.delay),o.snapshotCurrentStyles());var s=t.style;5==s.type?this.visitKeyframes(s,n):(n.incrementTime(a.duration),this.visitStyle(s,n),o.applyStylesToKeyframe()),n.currentAnimateTimings=null,n.previousNode=t}},{key:"visitStyle",value:function(t,n){var a=n.currentTimeline,o=n.currentAnimateTimings;!o&&a.getCurrentStyleProperties().length&&a.forwardFrame();var s=o&&o.easing||t.easing;t.isEmptyStep?a.applyEmptyStep(s):a.setStyles(t.styles,s,n.errors,n.options),n.previousNode=t}},{key:"visitKeyframes",value:function(t,n){var a=n.currentAnimateTimings,o=n.currentTimeline.duration,s=a.duration,u=n.createSubContext().currentTimeline;u.easing=a.easing,t.styles.forEach(function(d){u.forwardTime((d.offset||0)*s),u.setStyles(d.styles,d.easing,n.errors,n.options),u.applyStylesToKeyframe()}),n.currentTimeline.mergeTimelineCollectedStyles(u),n.transformIntoNewTimeline(o+s),n.previousNode=t}},{key:"visitQuery",value:function(t,n){var a=this,o=n.currentTimeline.currentTime,s=t.options||{},l=s.delay?Bl(s.delay):0;l&&(6===n.previousNode.type||0==o&&n.currentTimeline.getCurrentStyleProperties().length)&&(n.currentTimeline.snapshotCurrentStyles(),n.previousNode=Rm);var u=o,d=n.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!s.optional,n.errors);n.currentQueryTotal=d.length;var y=null;d.forEach(function(T,I){n.currentQueryIndex=I;var H=n.createSubContext(t.options,T);l&&H.delayNextStep(l),T===n.element&&(y=H.currentTimeline),ga(a,t.animation,H),H.currentTimeline.applyStylesToKeyframe(),u=Math.max(u,H.currentTimeline.currentTime)}),n.currentQueryIndex=0,n.currentQueryTotal=0,n.transformIntoNewTimeline(u),y&&(n.currentTimeline.mergeTimelineCollectedStyles(y),n.currentTimeline.snapshotCurrentStyles()),n.previousNode=t}},{key:"visitStagger",value:function(t,n){var a=n.parentContext,o=n.currentTimeline,s=t.timings,l=Math.abs(s.duration),u=l*(n.currentQueryTotal-1),d=l*n.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":d=u-d;break;case"full":d=a.currentStaggerTime}var T=n.currentTimeline;d&&T.delayNextStep(d);var I=T.currentTime;ga(this,t.animation,n),n.previousNode=t,a.currentStaggerTime=o.currentTime-I+(o.startTime-a.currentTimeline.startTime)}}]),e}(),Rm={},i8=function(){function e(i,t,n,a,o,s,l,u){c(this,e),this._driver=i,this.element=t,this.subInstructions=n,this._enterClassName=a,this._leaveClassName=o,this.errors=s,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Rm,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new E2(this._driver,t,0),l.push(this.currentTimeline)}return f(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(t,n){var a=this;if(t){var o=t,s=this.options;null!=o.duration&&(s.duration=Bl(o.duration)),null!=o.delay&&(s.delay=Bl(o.delay));var l=o.params;if(l){var u=s.params;u||(u=this.options.params={}),Object.keys(l).forEach(function(d){(!n||!u.hasOwnProperty(d))&&(u[d]=Lm(l[d],u,a.errors))})}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var n=this.options.params;if(n){var a=t.params={};Object.keys(n).forEach(function(o){a[o]=n[o]})}}return t}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0,o=n||this.element,s=new e(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,a||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(t),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=Rm,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,n,a){var o={duration:null!=n?n:t.duration,delay:this.currentTimeline.currentTime+(null!=a?a:0)+t.delay,easing:""},s=new a8(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,o,t.stretchStartingKeyframe);return this.timelines.push(s),o}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,n,a,o,s,l){var u=[];if(o&&u.push(this.element),t.length>0){t=(t=t.replace(e8,"."+this._enterClassName)).replace(n8,"."+this._leaveClassName);var y=this._driver.query(this.element,t,1!=a);0!==a&&(y=a<0?y.slice(y.length+a,y.length):y.slice(0,a)),u.push.apply(u,se(y))}return!s&&0==u.length&&l.push('`query("'.concat(n,'")` returned zero elements. (Use `query("').concat(n,'", { optional: true })` if you wish to allow this.)')),u}}]),e}(),E2=function(){function e(i,t,n,a){c(this,e),this._driver=i,this.element=t,this.startTime=n,this._elementTimelineStylesLookup=a,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}return f(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value:function(t){var n=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||n?(this.forwardTime(this.currentTime+t),n&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,n){this._localTimelineStyles[t]=n,this._globalTimelineStyles[t]=n,this._styleSummary[t]={time:this.currentTime,value:n}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var n=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach(function(a){n._backFill[a]=n._globalTimelineStyles[a]||vs,n._currentKeyframe[a]=vs}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,n,a,o){var s=this;n&&(this._previousKeyframe.easing=n);var l=o&&o.params||{},u=function(e,i){var n,t={};return e.forEach(function(a){"*"===a?(n=n||Object.keys(i)).forEach(function(o){t[o]=vs}):qs(a,!1,t)}),t}(t,this._globalTimelineStyles);Object.keys(u).forEach(function(d){var y=Lm(u[d],l,a);s._pendingStyles[d]=y,s._localTimelineStyles.hasOwnProperty(d)||(s._backFill[d]=s._globalTimelineStyles.hasOwnProperty(d)?s._globalTimelineStyles[d]:vs),s._updateStyle(d,y)})}},{key:"applyStylesToKeyframe",value:function(){var t=this,n=this._pendingStyles,a=Object.keys(n);0!=a.length&&(this._pendingStyles={},a.forEach(function(o){t._currentKeyframe[o]=n[o]}),Object.keys(this._localTimelineStyles).forEach(function(o){t._currentKeyframe.hasOwnProperty(o)||(t._currentKeyframe[o]=t._localTimelineStyles[o])}))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach(function(n){var a=t._localTimelineStyles[n];t._pendingStyles[n]=a,t._updateStyle(n,a)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var t=[];for(var n in this._currentKeyframe)t.push(n);return t}},{key:"mergeTimelineCollectedStyles",value:function(t){var n=this;Object.keys(t._styleSummary).forEach(function(a){var o=n._styleSummary[a],s=t._styleSummary[a];(!o||s.time>o.time)&&n._updateStyle(a,s.value)})}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var n=new Set,a=new Set,o=1===this._keyframes.size&&0===this.duration,s=[];this._keyframes.forEach(function(T,I){var H=qs(T,!0);Object.keys(H).forEach(function(q){var X=H[q];"!"==X?n.add(q):X==vs&&a.add(q)}),o||(H.offset=I/t.duration),s.push(H)});var l=n.size?Pm(n.values()):[],u=a.size?Pm(a.values()):[];if(o){var d=s[0],y=Ac(d);d.offset=0,y.offset=1,s=[d,y]}return ck(this.element,s,l,u,this.duration,this.startTime,this.easing,!1)}}]),e}(),a8=function(e){h(t,e);var i=C(t);function t(n,a,o,s,l,u){var d,y=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return c(this,t),(d=i.call(this,n,a,u.delay)).keyframes=o,d.preStyleProps=s,d.postStyleProps=l,d._stretchStartingKeyframe=y,d.timings={duration:u.duration,delay:u.delay,easing:u.easing},d}return f(t,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var a=this.keyframes,o=this.timings,s=o.delay,l=o.duration,u=o.easing;if(this._stretchStartingKeyframe&&s){var d=[],y=l+s,T=s/y,I=qs(a[0],!1);I.offset=0,d.push(I);var H=qs(a[0],!1);H.offset=L2(T),d.push(H);for(var q=a.length-1,X=1;X<=q;X++){var he=qs(a[X],!1);he.offset=L2((s+he.offset*l)/y),d.push(he)}l=y,s=0,u="",a=d}return ck(this.element,a,this.preStyleProps,this.postStyleProps,l,s,u,!0)}}]),t}(E2);function L2(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,t=Math.pow(10,i-1);return Math.round(e*t)/t}var fk=function e(){c(this,e)},s8=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"normalizePropertyName",value:function(a,o){return sk(a)}},{key:"normalizeStyleValue",value:function(a,o,s,l){var u="",d=s.toString().trim();if(u8[o]&&0!==s&&"0"!==s)if("number"==typeof s)u="px";else{var y=s.match(/^[+-]?[\d\.]+([a-z]*)$/);y&&0==y[1].length&&l.push("Please provide a CSS unit value for ".concat(a,":").concat(s))}return d+u}}]),t}(fk),u8=function(){return e="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),i={},e.forEach(function(t){return i[t]=!0}),i;var e,i}();function P2(e,i,t,n,a,o,s,l,u,d,y,T,I){return{type:0,element:e,triggerName:i,isRemovalTransition:a,fromState:t,fromStyles:o,toState:n,toStyles:s,timelines:l,queriedElements:u,preStyleProps:d,postStyleProps:y,totalTime:T,errors:I}}var hk={},O2=function(){function e(i,t,n){c(this,e),this._triggerName=i,this.ast=t,this._stateStyles=n}return f(e,[{key:"match",value:function(t,n,a,o){return function(e,i,t,n,a){return e.some(function(o){return o(i,t,n,a)})}(this.ast.matchers,t,n,a,o)}},{key:"buildStyles",value:function(t,n,a){var o=this._stateStyles["*"],s=this._stateStyles[t],l=o?o.buildStyles(n,a):{};return s?s.buildStyles(n,a):l}},{key:"build",value:function(t,n,a,o,s,l,u,d,y,T){var I=[],H=this.ast.options&&this.ast.options.params||hk,X=this.buildStyles(a,u&&u.params||hk,I),he=d&&d.params||hk,Se=this.buildStyles(o,he,I),pe=new Set,Re=new Map,Ne=new Map,Xe="void"===o,st={params:Object.assign(Object.assign({},H),he)},bt=T?[]:D2(t,n,this.ast.animation,s,l,X,Se,st,y,I),Xt=0;if(bt.forEach(function(qn){Xt=Math.max(qn.duration+qn.delay,Xt)}),I.length)return P2(n,this._triggerName,a,o,Xe,X,Se,[],[],Re,Ne,Xt,I);bt.forEach(function(qn){var Fr=qn.element,_a=va(Re,Fr,{});qn.preStyleProps.forEach(function(di){return _a[di]=!0});var Ha=va(Ne,Fr,{});qn.postStyleProps.forEach(function(di){return Ha[di]=!0}),Fr!==n&&pe.add(Fr)});var dn=Pm(pe.values());return P2(n,this._triggerName,a,o,Xe,X,Se,bt,dn,Re,Ne,Xt)}}]),e}(),f8=function(){function e(i,t,n){c(this,e),this.styles=i,this.defaultParams=t,this.normalizer=n}return f(e,[{key:"buildStyles",value:function(t,n){var a=this,o={},s=Ac(this.defaultParams);return Object.keys(t).forEach(function(l){var u=t[l];null!=u&&(s[l]=u)}),this.styles.styles.forEach(function(l){if("string"!=typeof l){var u=l;Object.keys(u).forEach(function(d){var y=u[d];y.length>1&&(y=Lm(y,s,n));var T=a.normalizer.normalizePropertyName(d,n);y=a.normalizer.normalizeStyleValue(d,T,y,n),o[T]=y})}}),o}}]),e}(),p8=function(){function e(i,t,n){var a=this;c(this,e),this.name=i,this.ast=t,this._normalizer=n,this.transitionFactories=[],this.states={},t.states.forEach(function(o){a.states[o.name]=new f8(o.style,o.options&&o.options.params||{},n)}),x2(this.states,"true","1"),x2(this.states,"false","0"),t.transitions.forEach(function(o){a.transitionFactories.push(new O2(i,o,a.states))}),this.fallbackTransition=function(e,i,t){return new O2(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(s,l){return!0}],options:null,queryCount:0,depCount:0},i)}(i,this.states)}return f(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(t,n,a,o){return this.transitionFactories.find(function(l){return l.match(t,n,a,o)})||null}},{key:"matchStyles",value:function(t,n,a){return this.fallbackTransition.buildStyles(t,n,a)}}]),e}();function x2(e,i,t){e.hasOwnProperty(i)?e.hasOwnProperty(t)||(e[t]=e[i]):e.hasOwnProperty(t)&&(e[i]=e[t])}var v8=new dk,g8=function(){function e(i,t,n){c(this,e),this.bodyNode=i,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}return f(e,[{key:"register",value:function(t,n){var a=[],o=S2(this._driver,n,a);if(a.length)throw new Error("Unable to build the animation due to the following errors: ".concat(a.join("\n")));this._animations[t]=o}},{key:"_buildPlayer",value:function(t,n,a){var o=t.element,s=l2(this._driver,this._normalizer,o,t.keyframes,n,a);return this._driver.animate(o,s,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,n){var u,a=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=[],l=this._animations[t],d=new Map;if(l?(u=D2(this._driver,n,l,v2,rk,{},{},o,v8,s)).forEach(function(I){var H=va(d,I.element,{});I.postStyleProps.forEach(function(q){return H[q]=null})}):(s.push("The requested animation doesn't exist or has already been destroyed"),u=[]),s.length)throw new Error("Unable to create the animation due to the following errors: ".concat(s.join("\n")));d.forEach(function(I,H){Object.keys(I).forEach(function(q){I[q]=a._driver.computeStyle(H,q,vs)})});var y=u.map(function(I){var H=d.get(I.element);return a._buildPlayer(I,{},H)}),T=Gs(y);return this._playersById[t]=T,T.onDestroy(function(){return a.destroy(t)}),this.players.push(T),T}},{key:"destroy",value:function(t){var n=this._getPlayer(t);n.destroy(),delete this._playersById[t];var a=this.players.indexOf(n);a>=0&&this.players.splice(a,1)}},{key:"_getPlayer",value:function(t){var n=this._playersById[t];if(!n)throw new Error("Unable to find the timeline player referenced by ".concat(t));return n}},{key:"listen",value:function(t,n,a,o){var s=Jb(n,"","","");return qb(this._getPlayer(t),a,s,o),function(){}}},{key:"command",value:function(t,n,a,o){if("register"!=a)if("create"!=a){var l=this._getPlayer(t);switch(a){case"play":l.play();break;case"pause":l.pause();break;case"reset":l.reset();break;case"restart":l.restart();break;case"finish":l.finish();break;case"init":l.init();break;case"setPosition":l.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(t)}}else this.create(t,n,o[0]||{});else this.register(t,o[0])}}]),e}(),I2="ng-animate-queued",A2="ng-animate-disabled",R2=".ng-animate-disabled",y8="ng-star-inserted",k8=[],F2={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},C8={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Aa="__ng_removed",pk=function(){function e(i){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";c(this,e),this.namespaceId=t;var n=i&&i.hasOwnProperty("value"),a=n?i.value:i;if(this.value=T8(a),n){var o=Ac(i);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return f(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value:function(t){var n=t.params;if(n){var a=this.options.params;Object.keys(n).forEach(function(o){null==a[o]&&(a[o]=n[o])})}}}]),e}(),Yf="void",mk=new pk(Yf),M8=function(){function e(i,t,n){c(this,e),this.id=i,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+i,Ra(t,this._hostClassName)}return f(e,[{key:"listen",value:function(t,n,a,o){var s=this;if(!this._triggers.hasOwnProperty(n))throw new Error('Unable to listen on the animation trigger event "'.concat(a,'" because the animation trigger "').concat(n,"\" doesn't exist!"));if(null==a||0==a.length)throw new Error('Unable to listen on the animation trigger "'.concat(n,'" because the provided event is undefined!'));if(!function(e){return"start"==e||"done"==e}(a))throw new Error('The provided animation trigger event "'.concat(a,'" for the animation trigger "').concat(n,'" is not supported!'));var l=va(this._elementListeners,t,[]),u={name:n,phase:a,callback:o};l.push(u);var d=va(this._engine.statesByElement,t,{});return d.hasOwnProperty(n)||(Ra(t,Tm),Ra(t,Tm+"-"+n),d[n]=mk),function(){s._engine.afterFlush(function(){var y=l.indexOf(u);y>=0&&l.splice(y,1),s._triggers[n]||delete d[n]})}}},{key:"register",value:function(t,n){return!this._triggers[t]&&(this._triggers[t]=n,!0)}},{key:"_getTrigger",value:function(t){var n=this._triggers[t];if(!n)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return n}},{key:"trigger",value:function(t,n,a){var o=this,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],l=this._getTrigger(n),u=new vk(this.id,n,t),d=this._engine.statesByElement.get(t);d||(Ra(t,Tm),Ra(t,Tm+"-"+n),this._engine.statesByElement.set(t,d={}));var y=d[n],T=new pk(a,this.id),I=a&&a.hasOwnProperty("value");!I&&y&&T.absorbOptions(y.options),d[n]=T,y||(y=mk);var H=T.value===Yf;if(H||y.value!==T.value){var Se=va(this._engine.playersByElement,t,[]);Se.forEach(function(Ne){Ne.namespaceId==o.id&&Ne.triggerName==n&&Ne.queued&&Ne.destroy()});var pe=l.matchTransition(y.value,T.value,t,T.params),Re=!1;if(!pe){if(!s)return;pe=l.fallbackTransition,Re=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:n,transition:pe,fromState:y,toState:T,player:u,isFallbackTransition:Re}),Re||(Ra(t,I2),u.onStart(function(){Rc(t,I2)})),u.onDone(function(){var Ne=o.players.indexOf(u);Ne>=0&&o.players.splice(Ne,1);var Xe=o._engine.playersByElement.get(t);if(Xe){var st=Xe.indexOf(u);st>=0&&Xe.splice(st,1)}}),this.players.push(u),Se.push(u),u}if(!P8(y.params,T.params)){var q=[],X=l.matchStyles(y.value,y.params,q),he=l.matchStyles(T.value,T.params,q);q.length?this._engine.reportError(q):this._engine.afterFlush(function(){jl(t,X),jo(t,he)})}}},{key:"deregister",value:function(t){var n=this;delete this._triggers[t],this._engine.statesByElement.forEach(function(a,o){delete a[t]}),this._elementListeners.forEach(function(a,o){n._elementListeners.set(o,a.filter(function(s){return s.name!=t}))})}},{key:"clearElementCache",value:function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var n=this._engine.playersByElement.get(t);n&&(n.forEach(function(a){return a.destroy()}),this._engine.playersByElement.delete(t))}},{key:"_signalRemovalForInnerTriggers",value:function(t,n){var a=this,o=this._engine.driver.query(t,Dm,!0);o.forEach(function(s){if(!s[Aa]){var l=a._engine.fetchNamespacesByElement(s);l.size?l.forEach(function(u){return u.triggerLeaveAnimation(s,n,!1,!0)}):a.clearElementCache(s)}}),this._engine.afterFlushAnimationsDone(function(){return o.forEach(function(s){return a.clearElementCache(s)})})}},{key:"triggerLeaveAnimation",value:function(t,n,a,o){var s=this,l=this._engine.statesByElement.get(t);if(l){var u=[];if(Object.keys(l).forEach(function(d){if(s._triggers[d]){var y=s.trigger(t,d,Yf,o);y&&u.push(y)}}),u.length)return this._engine.markElementAsRemoved(this.id,t,!0,n),a&&Gs(u).onDone(function(){return s._engine.processLeaveNode(t)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(t){var n=this,a=this._elementListeners.get(t),o=this._engine.statesByElement.get(t);if(a&&o){var s=new Set;a.forEach(function(l){var u=l.name;if(!s.has(u)){s.add(u);var y=n._triggers[u].fallbackTransition,T=o[u]||mk,I=new pk(Yf),H=new vk(n.id,u,t);n._engine.totalQueuedPlayers++,n._queue.push({element:t,triggerName:u,transition:y,fromState:T,toState:I,player:H,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(t,n){var a=this,o=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,n),!this.triggerLeaveAnimation(t,n,!0)){var s=!1;if(o.totalAnimations){var l=o.players.length?o.playersByQueriedElement.get(t):[];if(l&&l.length)s=!0;else for(var u=t;u=u.parentNode;)if(o.statesByElement.get(u)){s=!0;break}}if(this.prepareLeaveAnimationListeners(t),s)o.markElementAsRemoved(this.id,t,!1,n);else{var y=t[Aa];(!y||y===F2)&&(o.afterFlush(function(){return a.clearElementCache(t)}),o.destroyInnerAnimations(t),o._onRemovalComplete(t,n))}}}},{key:"insertNode",value:function(t,n){Ra(t,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(t){var n=this,a=[];return this._queue.forEach(function(o){var s=o.player;if(!s.destroyed){var l=o.element,u=n._elementListeners.get(l);u&&u.forEach(function(d){if(d.name==o.triggerName){var y=Jb(l,o.triggerName,o.fromState.value,o.toState.value);y._data=t,qb(o.player,d.phase,y,d.callback)}}),s.markedForDestroy?n._engine.afterFlush(function(){s.destroy()}):a.push(o)}}),this._queue=[],a.sort(function(o,s){var l=o.transition.ast.depCount,u=s.transition.ast.depCount;return 0==l||0==u?l-u:n._engine.driver.containsElement(o.element,s.element)?1:-1})}},{key:"destroy",value:function(t){this.players.forEach(function(n){return n.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,t)}},{key:"elementContainsData",value:function(t){var n=!1;return this._elementListeners.has(t)&&(n=!0),!!this._queue.find(function(a){return a.element===t})||n}}]),e}(),w8=function(){function e(i,t,n){c(this,e),this.bodyNode=i,this.driver=t,this._normalizer=n,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(a,o){}}return f(e,[{key:"_onRemovalComplete",value:function(t,n){this.onRemovalComplete(t,n)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach(function(n){n.players.forEach(function(a){a.queued&&t.push(a)})}),t}},{key:"createNamespace",value:function(t,n){var a=new M8(t,n,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,n)?this._balanceNamespaceList(a,n):(this.newHostElements.set(n,a),this.collectEnterElement(n)),this._namespaceLookup[t]=a}},{key:"_balanceNamespaceList",value:function(t,n){var a=this._namespaceList.length-1;if(a>=0){for(var o=!1,s=a;s>=0;s--)if(this.driver.containsElement(this._namespaceList[s].hostElement,n)){this._namespaceList.splice(s+1,0,t),o=!0;break}o||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(n,t),t}},{key:"register",value:function(t,n){var a=this._namespaceLookup[t];return a||(a=this.createNamespace(t,n)),a}},{key:"registerTrigger",value:function(t,n,a){var o=this._namespaceLookup[t];o&&o.register(n,a)&&this.totalAnimations++}},{key:"destroy",value:function(t,n){var a=this;if(t){var o=this._fetchNamespace(t);this.afterFlush(function(){a.namespacesByHostElement.delete(o.hostElement),delete a._namespaceLookup[t];var s=a._namespaceList.indexOf(o);s>=0&&a._namespaceList.splice(s,1)}),this.afterFlushAnimationsDone(function(){return o.destroy(n)})}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var n=new Set,a=this.statesByElement.get(t);if(a)for(var o=Object.keys(a),s=0;s=0&&this.collectedLeaveElements.splice(l,1)}if(t){var u=this._fetchNamespace(t);u&&u.insertNode(n,a)}o&&this.collectEnterElement(n)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,n){n?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Ra(t,A2)):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Rc(t,A2))}},{key:"removeNode",value:function(t,n,a,o){if(Fm(n)){var s=t?this._fetchNamespace(t):null;if(s?s.removeNode(n,o):this.markElementAsRemoved(t,n,!1,o),a){var l=this.namespacesByHostElement.get(n);l&&l.id!==t&&l.removeNode(n,o)}}else this._onRemovalComplete(n,o)}},{key:"markElementAsRemoved",value:function(t,n,a,o){this.collectedLeaveElements.push(n),n[Aa]={namespaceId:t,setForRemoval:o,hasAnimation:a,removedBeforeQueried:!1}}},{key:"listen",value:function(t,n,a,o,s){return Fm(n)?this._fetchNamespace(t).listen(n,a,o,s):function(){}}},{key:"_buildInstruction",value:function(t,n,a,o,s){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,a,o,t.fromState.options,t.toState.options,n,s)}},{key:"destroyInnerAnimations",value:function(t){var n=this,a=this.driver.query(t,Dm,!0);a.forEach(function(o){return n.destroyActiveAnimationsForElement(o)}),0!=this.playersByQueriedElement.size&&(a=this.driver.query(t,ik,!0)).forEach(function(o){return n.finishActiveQueriedAnimationOnElement(o)})}},{key:"destroyActiveAnimationsForElement",value:function(t){var n=this.playersByElement.get(t);n&&n.forEach(function(a){a.queued?a.markedForDestroy=!0:a.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var n=this.playersByQueriedElement.get(t);n&&n.forEach(function(a){return a.finish()})}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise(function(n){if(t.players.length)return Gs(t.players).onDone(function(){return n()});n()})}},{key:"processLeaveNode",value:function(t){var n=this,a=t[Aa];if(a&&a.setForRemoval){if(t[Aa]=F2,a.namespaceId){this.destroyInnerAnimations(t);var o=this._fetchNamespace(a.namespaceId);o&&o.clearElementCache(t)}this._onRemovalComplete(t,a.setForRemoval)}this.driver.matchesElement(t,R2)&&this.markElementAsDisabled(t,!1),this.driver.query(t,R2,!0).forEach(function(s){n.markElementAsDisabled(s,!1)})}},{key:"flush",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,a=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(I,H){return t._balanceNamespaceList(I,H)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var o=0;o=0;_a--)this._namespaceList[_a].drainQueuedTransitions(n).forEach(function(gt){var Et=gt.player,Vt=gt.element;if(qn.push(Et),a.collectedEnterElements.length){var Gr=Vt[Aa];if(Gr&&Gr.setForMove)return void Et.destroy()}var fu=!H||!a.driver.containsElement(H,Vt),hd=Xt.get(Vt),cg=he.get(Vt),Mi=a._buildInstruction(gt,o,cg,hd,fu);if(Mi.errors&&Mi.errors.length)Fr.push(Mi);else{if(fu)return Et.onStart(function(){return jl(Vt,Mi.fromStyles)}),Et.onDestroy(function(){return jo(Vt,Mi.toStyles)}),void s.push(Et);if(gt.isFallbackTransition)return Et.onStart(function(){return jl(Vt,Mi.fromStyles)}),Et.onDestroy(function(){return jo(Vt,Mi.toStyles)}),void s.push(Et);Mi.timelines.forEach(function(yo){return yo.stretchStartingKeyframe=!0}),o.append(Vt,Mi.timelines),u.push({instruction:Mi,player:Et,element:Vt}),Mi.queriedElements.forEach(function(yo){return va(d,yo,[]).push(Et)}),Mi.preStyleProps.forEach(function(yo,hu){var dg=Object.keys(yo);if(dg.length){var pu=y.get(hu);pu||y.set(hu,pu=new Set),dg.forEach(function(d0){return pu.add(d0)})}}),Mi.postStyleProps.forEach(function(yo,hu){var dg=Object.keys(yo),pu=T.get(hu);pu||T.set(hu,pu=new Set),dg.forEach(function(d0){return pu.add(d0)})})}});if(Fr.length){var di=[];Fr.forEach(function(gt){di.push("@".concat(gt.triggerName," has failed due to:\n")),gt.errors.forEach(function(Et){return di.push("- ".concat(Et,"\n"))})}),qn.forEach(function(gt){return gt.destroy()}),this.reportError(di)}var Va=new Map,_o=new Map;u.forEach(function(gt){var Et=gt.element;o.has(Et)&&(_o.set(Et,Et),a._beforeAnimationBuild(gt.player.namespaceId,gt.instruction,Va))}),s.forEach(function(gt){var Et=gt.element;a._getPreviousPlayers(Et,!1,gt.namespaceId,gt.triggerName,null).forEach(function(Gr){va(Va,Et,[]).push(Gr),Gr.destroy()})});var cu=pe.filter(function(gt){return B2(gt,y,T)}),du=new Map;Y2(du,this.driver,Ne,T,vs).forEach(function(gt){B2(gt,y,T)&&cu.push(gt)});var Eh=new Map;X.forEach(function(gt,Et){Y2(Eh,a.driver,new Set(gt),y,"!")}),cu.forEach(function(gt){var Et=du.get(gt),Vt=Eh.get(gt);du.set(gt,Object.assign(Object.assign({},Et),Vt))});var Lh=[],sg=[],Ph={};u.forEach(function(gt){var Et=gt.element,Vt=gt.player,Gr=gt.instruction;if(o.has(Et)){if(I.has(Et))return Vt.onDestroy(function(){return jo(Et,Gr.toStyles)}),Vt.disabled=!0,Vt.overrideTotalTime(Gr.totalTime),void s.push(Vt);var fu=Ph;if(_o.size>1){for(var hd=Et,cg=[];hd=hd.parentNode;){var Mi=_o.get(hd);if(Mi){fu=Mi;break}cg.push(hd)}cg.forEach(function(hu){return _o.set(hu,fu)})}var c0=a._buildAnimation(Vt.namespaceId,Gr,Va,l,Eh,du);if(Vt.setRealPlayer(c0),fu===Ph)Lh.push(Vt);else{var yo=a.playersByElement.get(fu);yo&&yo.length&&(Vt.parentPlayer=Gs(yo)),s.push(Vt)}}else jl(Et,Gr.fromStyles),Vt.onDestroy(function(){return jo(Et,Gr.toStyles)}),sg.push(Vt),I.has(Et)&&s.push(Vt)}),sg.forEach(function(gt){var Et=l.get(gt.element);if(Et&&Et.length){var Vt=Gs(Et);gt.setRealPlayer(Vt)}}),s.forEach(function(gt){gt.parentPlayer?gt.syncPlayerEvents(gt.parentPlayer):gt.destroy()});for(var Oh=0;Oh0?this.driver.animate(t.element,n,t.duration,t.delay,t.easing,a):new Ic(t.duration,t.delay)}}]),e}(),vk=function(){function e(i,t,n){c(this,e),this.namespaceId=i,this.triggerName=t,this.element=n,this._player=new Ic,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return f(e,[{key:"setRealPlayer",value:function(t){var n=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach(function(a){n._queuedCallbacks[a].forEach(function(o){return qb(t,a,void 0,o)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var n=this,a=this._player;a.triggerCallback&&t.onStart(function(){return a.triggerCallback("start")}),t.onDone(function(){return n.finish()}),t.onDestroy(function(){return n.destroy()})}},{key:"_queueEvent",value:function(t,n){va(this._queuedCallbacks,t,[]).push(n)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var n=this._player;n.triggerCallback&&n.triggerCallback(t)}}]),e}();function T8(e){return null!=e?e:null}function Fm(e){return e&&1===e.nodeType}function N2(e,i){var t=e.style.display;return e.style.display=null!=i?i:"none",t}function Y2(e,i,t,n,a){var o=[];t.forEach(function(u){return o.push(N2(u))});var s=[];n.forEach(function(u,d){var y={};u.forEach(function(T){var I=y[T]=i.computeStyle(d,T,a);(!I||0==I.length)&&(d[Aa]=C8,s.push(d))}),e.set(d,y)});var l=0;return t.forEach(function(u){return N2(u,o[l++])}),s}function H2(e,i){var t=new Map;if(e.forEach(function(l){return t.set(l,[])}),0==i.length)return t;var a=new Set(i),o=new Map;function s(l){if(!l)return 1;var u=o.get(l);if(u)return u;var d=l.parentNode;return u=t.has(d)?d:a.has(d)?1:s(d),o.set(l,u),u}return i.forEach(function(l){var u=s(l);1!==u&&t.get(u).push(l)}),t}var Nm="$$classes";function Ra(e,i){if(e.classList)e.classList.add(i);else{var t=e[Nm];t||(t=e[Nm]={}),t[i]=!0}}function Rc(e,i){if(e.classList)e.classList.remove(i);else{var t=e[Nm];t&&delete t[i]}}function E8(e,i,t){Gs(t).onDone(function(){return e.processLeaveNode(i)})}function V2(e,i){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function j2(e,i){var t=null,n=null;return Array.isArray(i)&&i.length?(t=gk(i[0]),i.length>1&&(n=gk(i[i.length-1]))):i&&(t=gk(i)),t||n?new O8(e,t,n):null}var O8=function(){var e=function(){function i(t,n,a){c(this,i),this._element=t,this._startStyles=n,this._endStyles=a,this._state=0;var o=i.initialStylesByElement.get(t);o||i.initialStylesByElement.set(t,o={}),this._initialStyles=o}return f(i,[{key:"start",value:function(){this._state<1&&(this._startStyles&&jo(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(jo(this._element,this._initialStyles),this._endStyles&&(jo(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(i.initialStylesByElement.delete(this._element),this._startStyles&&(jl(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(jl(this._element,this._endStyles),this._endStyles=null),jo(this._element,this._initialStyles),this._state=3)}}]),i}();return e.initialStylesByElement=new WeakMap,e}();function gk(e){for(var i=null,t=Object.keys(e),n=0;n=this._delay&&a>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),q2(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,i){var n=yk(e,"").split(","),a=_k(n,i);a>=0&&(n.splice(a,1),Hm(e,"",n.join(",")))}(this._element,this._name))}}]),e}();function W2(e,i,t){Hm(e,"PlayState",t,G2(e,i))}function G2(e,i){var t=yk(e,"");return t.indexOf(",")>0?_k(t.split(","),i):_k([t],i)}function _k(e,i){for(var t=0;t=0)return t;return-1}function q2(e,i,t){t?e.removeEventListener(z2,i):e.addEventListener(z2,i)}function Hm(e,i,t,n){var a=U2+i;if(null!=n){var o=e.style[a];if(o.length){var s=o.split(",");s[n]=t,t=s.join(",")}}e.style[a]=t}function yk(e,i){return e.style[U2+i]||""}var K2=function(){function e(i,t,n,a,o,s,l,u){c(this,e),this.element=i,this.keyframes=t,this.animationName=n,this._duration=a,this._delay=o,this._finalStyles=l,this._specialStyles=u,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=a+o,this._buildStyler()}return f(e,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value:function(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new R8(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return t.finish()})}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(a){return a()}),n.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var n={};if(this.hasStarted()){var a=this._state>=3;Object.keys(this._finalStyles).forEach(function(o){"offset"!=o&&(n[o]=a?t._finalStyles[o]:lk(t.element,o))})}this.currentSnapshot=n}}]),e}(),B8=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this)).element=n,o._startingStyles={},o.__initialized=!1,o._styles=h2(a),o}return f(t,[{key:"init",value:function(){var a=this;this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(function(o){a._startingStyles[o]=a.element.style[o]}),D(x(t.prototype),"init",this).call(this))}},{key:"play",value:function(){var a=this;!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(function(o){return a.element.style.setProperty(o,a._styles[o])}),D(x(t.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var a=this;!this._startingStyles||(Object.keys(this._startingStyles).forEach(function(o){var s=a._startingStyles[o];s?a.element.style.setProperty(o,s):a.element.style.removeProperty(o)}),this._startingStyles=null,D(x(t.prototype),"destroy",this).call(this))}}]),t}(Ic),j8="gen_css_kf_",$2=function(){function e(){c(this,e),this._count=0}return f(e,[{key:"validateStyleProperty",value:function(t){return Zb(t)}},{key:"matchesElement",value:function(t,n){return Xb(t,n)}},{key:"containsElement",value:function(t,n){return ek(t,n)}},{key:"query",value:function(t,n,a){return tk(t,n,a)}},{key:"computeStyle",value:function(t,n,a){return window.getComputedStyle(t)[n]}},{key:"buildKeyframeElement",value:function(t,n,a){a=a.map(function(u){return h2(u)});var o="@keyframes ".concat(n," {\n"),s="";a.forEach(function(u){s=" ";var d=parseFloat(u.offset);o+="".concat(s).concat(100*d,"% {\n"),s+=" ",Object.keys(u).forEach(function(y){var T=u[y];switch(y){case"offset":return;case"easing":return void(T&&(o+="".concat(s,"animation-timing-function: ").concat(T,";\n")));default:return void(o+="".concat(s).concat(y,": ").concat(T,";\n"))}}),o+="".concat(s,"}\n")}),o+="}\n";var l=document.createElement("style");return l.textContent=o,l}},{key:"animate",value:function(t,n,a,o,s){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],d=l.filter(function(Se){return Se instanceof K2}),y={};k2(a,o)&&d.forEach(function(Se){var pe=Se.currentSnapshot;Object.keys(pe).forEach(function(Re){return y[Re]=pe[Re]})});var T=z8(n=C2(t,n,y));if(0==a)return new B8(t,T);var I="".concat(j8).concat(this._count++),H=this.buildKeyframeElement(t,I,n),q=U8(t);q.appendChild(H);var X=j2(t,n),he=new K2(t,n,I,a,o,s,T,X);return he.onDestroy(function(){return W8(H)}),he}}]),e}();function U8(e){var i,t=null===(i=e.getRootNode)||void 0===i?void 0:i.call(e);return"undefined"!=typeof ShadowRoot&&t instanceof ShadowRoot?t:document.head}function z8(e){var i={};return e&&(Array.isArray(e)?e:[e]).forEach(function(n){Object.keys(n).forEach(function(a){"offset"==a||"easing"==a||(i[a]=n[a])})}),i}function W8(e){e.parentNode.removeChild(e)}var Z2=function(){function e(i,t,n,a){c(this,e),this.element=i,this.keyframes=t,this.options=n,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}return f(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(t){return t()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:{},this.domPlayer.addEventListener("finish",function(){return t._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,n,a){return t.animate(n,a)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(t){return t()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(t){return t()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var t=this,n={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(a){"offset"!=a&&(n[a]=t._finished?t._finalKeyframe[a]:lk(t.element,a))}),this.currentSnapshot=n}},{key:"triggerCallback",value:function(t){var n="start"==t?this._onStartFns:this._onDoneFns;n.forEach(function(a){return a()}),n.length=0}}]),e}(),G8=function(){function e(){c(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(X2().toString()),this._cssKeyframesDriver=new $2}return f(e,[{key:"validateStyleProperty",value:function(t){return Zb(t)}},{key:"matchesElement",value:function(t,n){return Xb(t,n)}},{key:"containsElement",value:function(t,n){return ek(t,n)}},{key:"query",value:function(t,n,a){return tk(t,n,a)}},{key:"computeStyle",value:function(t,n,a){return window.getComputedStyle(t)[n]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,n,a,o,s){var l=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],u=arguments.length>6?arguments[6]:void 0,d=!u&&!this._isNativeImpl;if(d)return this._cssKeyframesDriver.animate(t,n,a,o,s,l);var y=0==o?"both":"forwards",T={duration:a,delay:o,fill:y};s&&(T.easing=s);var I={},H=l.filter(function(X){return X instanceof Z2});k2(a,o)&&H.forEach(function(X){var he=X.currentSnapshot;Object.keys(he).forEach(function(Se){return I[Se]=he[Se]})});var q=j2(t,n=C2(t,n=n.map(function(X){return qs(X,!1)}),I));return new Z2(t,n,T,q)}}]),e}();function X2(){return s2()&&Element.prototype.animate||{}}var K8=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this))._nextAnimationId=0,s._renderer=a.createRenderer(o.body,{id:"0",encapsulation:Wi.None,styles:[],data:{animation:[]}}),s}return f(n,[{key:"build",value:function(o){var s=this._nextAnimationId.toString();this._nextAnimationId++;var l=Array.isArray(o)?r2(o):o;return eE(this._renderer,null,s,"register",[l]),new J8(s,this._renderer)}}]),n}(n2);return e.\u0275fac=function(t){return new(t||e)(_e(Ll),_e(dt))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),J8=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this))._id=n,o._renderer=a,o}return f(t,[{key:"create",value:function(a,o){return new $8(this._id,a,o||{},this._renderer)}}]),t}(Pj),$8=function(){function e(i,t,n,a){c(this,e),this.id=i,this.element=t,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}return f(e,[{key:"_listen",value:function(t,n){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),n)}},{key:"_command",value:function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o=0&&n3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(t,n,a),this.engine.onInsert(this.namespaceId,n,t,o)}},{key:"removeChild",value:function(t,n,a){this.engine.onRemove(this.namespaceId,n,this.delegate,a)}},{key:"selectRootElement",value:function(t,n){return this.delegate.selectRootElement(t,n)}},{key:"parentNode",value:function(t){return this.delegate.parentNode(t)}},{key:"nextSibling",value:function(t){return this.delegate.nextSibling(t)}},{key:"setAttribute",value:function(t,n,a,o){this.delegate.setAttribute(t,n,a,o)}},{key:"removeAttribute",value:function(t,n,a){this.delegate.removeAttribute(t,n,a)}},{key:"addClass",value:function(t,n){this.delegate.addClass(t,n)}},{key:"removeClass",value:function(t,n){this.delegate.removeClass(t,n)}},{key:"setStyle",value:function(t,n,a,o){this.delegate.setStyle(t,n,a,o)}},{key:"removeStyle",value:function(t,n,a){this.delegate.removeStyle(t,n,a)}},{key:"setProperty",value:function(t,n,a){"@"==n.charAt(0)&&n==tE?this.disableAnimations(t,!!a):this.delegate.setProperty(t,n,a)}},{key:"setValue",value:function(t,n){this.delegate.setValue(t,n)}},{key:"listen",value:function(t,n,a){return this.delegate.listen(t,n,a)}},{key:"disableAnimations",value:function(t,n){this.engine.disableAnimations(t,n)}}]),e}(),Z8=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,a,o,s)).factory=n,l.namespaceId=a,l}return f(t,[{key:"setProperty",value:function(a,o,s){"@"==o.charAt(0)?"."==o.charAt(1)&&o==tE?this.disableAnimations(a,s=void 0===s||!!s):this.engine.process(this.namespaceId,a,o.substr(1),s):this.delegate.setProperty(a,o,s)}},{key:"listen",value:function(a,o,s){var l=this;if("@"==o.charAt(0)){var u=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(a),d=o.substr(1),y="";if("@"!=d.charAt(0)){var I=te(function(e){var i=e.indexOf(".");return[e.substring(0,i),e.substr(i+1)]}(d),2);d=I[0],y=I[1]}return this.engine.listen(this.namespaceId,u,d,y,function(H){l.factory.scheduleListenerCallback(H._data||-1,s,H)})}return this.delegate.listen(a,o,s)}}]),t}(nE),t7=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){return c(this,n),t.call(this,a.body,o,s)}return f(n,[{key:"ngOnDestroy",value:function(){this.flush()}}]),n}(Ym);return e.\u0275fac=function(t){return new(t||e)(_e(dt),_e(nk),_e(fk))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Mr=new Ze("AnimationModuleType"),rE=[{provide:n2,useClass:K8},{provide:fk,useFactory:function(){return new s8}},{provide:Ym,useClass:t7},{provide:Ll,useFactory:function(e,i,t){return new Q8(e,i,t)},deps:[Sm,Ym,vt]}],iE=[{provide:nk,useFactory:function(){return"function"==typeof X2()?new G8:new $2}},{provide:Mr,useValue:"BrowserAnimations"}].concat(rE),aE=[{provide:nk,useClass:p2},{provide:Mr,useValue:"NoopAnimations"}].concat(rE),a7=function(){var e=function(){function i(){c(this,i)}return f(i,null,[{key:"withConfig",value:function(n){return{ngModule:i,providers:n.disableAnimations?aE:iE}}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:iE,imports:[Ub]}),e}();function Qe(){for(var e=arguments.length,i=new Array(e),t=0;t0){var o=n.slice(0,a),s=o.toLowerCase(),l=n.slice(a+1).trim();t.maybeSetNormalizedName(o,s),t.headers.has(s)?t.headers.get(s).push(l):t.headers.set(s,[l])}})}:function(){t.headers=new Map,Object.keys(i).forEach(function(n){var a=i[n],o=n.toLowerCase();"string"==typeof a&&(a=[a]),a.length>0&&(t.headers.set(o,a),t.maybeSetNormalizedName(n,o))})}:this.headers=new Map}return f(e,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,n){return this.clone({name:t,value:n,op:"a"})}},{key:"set",value:function(t,n){return this.clone({name:t,value:n,op:"s"})}},{key:"delete",value:function(t,n){return this.clone({name:t,value:n,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(n){return t.applyUpdate(n)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var n=this;t.init(),Array.from(t.headers.keys()).forEach(function(a){n.headers.set(a,t.headers.get(a)),n.normalizedNames.set(a,t.normalizedNames.get(a))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(t){var n=t.name.toLowerCase();switch(t.op){case"a":case"s":var a=t.value;if("string"==typeof a&&(a=[a]),0===a.length)return;this.maybeSetNormalizedName(t.name,n);var o=("a"===t.op?this.headers.get(n):void 0)||[];o.push.apply(o,se(a)),this.headers.set(n,o);break;case"d":var s=t.value;if(s){var l=this.headers.get(n);if(!l)return;0===(l=l.filter(function(u){return-1===s.indexOf(u)})).length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,l)}else this.headers.delete(n),this.normalizedNames.delete(n)}}},{key:"forEach",value:function(t){var n=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(a){return t(n.normalizedNames.get(a),n.headers.get(a))})}}]),e}(),l7=function(){function e(){c(this,e)}return f(e,[{key:"encodeKey",value:function(t){return lE(t)}},{key:"encodeValue",value:function(t){return lE(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),e}();function u7(e,i){var t=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(a){var o=a.indexOf("="),l=te(-1==o?[i.decodeKey(a),""]:[i.decodeKey(a.slice(0,o)),i.decodeValue(a.slice(o+1))],2),u=l[0],d=l[1],y=t.get(u)||[];y.push(d),t.set(u,y)}),t}var c7=/%(\d[a-f0-9])/gi,d7={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function lE(e){return encodeURIComponent(e).replace(c7,function(i,t){var n;return null!==(n=d7[t])&&void 0!==n?n:i})}function uE(e){return"".concat(e)}var Yc=function(){function e(){var i=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(c(this,e),this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new l7,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=u7(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(function(n){var a=t.fromObject[n];i.map.set(n,Array.isArray(a)?a:[a])})):this.map=null}return f(e,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var n=this.map.get(t);return n?n[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,n){return this.clone({param:t,value:n,op:"a"})}},{key:"appendAll",value:function(t){var n=[];return Object.keys(t).forEach(function(a){var o=t[a];Array.isArray(o)?o.forEach(function(s){n.push({param:a,value:s,op:"a"})}):n.push({param:a,value:o,op:"a"})}),this.clone(n)}},{key:"set",value:function(t,n){return this.clone({param:t,value:n,op:"s"})}},{key:"delete",value:function(t,n){return this.clone({param:t,value:n,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map(function(n){var a=t.encoder.encodeKey(n);return t.map.get(n).map(function(o){return a+"="+t.encoder.encodeValue(o)}).join("&")}).filter(function(n){return""!==n}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(n){return t.map.set(n,t.cloneFrom.map.get(n))}),this.updates.forEach(function(n){switch(n.op){case"a":case"s":var a=("a"===n.op?t.map.get(n.param):void 0)||[];a.push(uE(n.value)),t.map.set(n.param,a);break;case"d":if(void 0===n.value){t.map.delete(n.param);break}var o=t.map.get(n.param)||[],s=o.indexOf(uE(n.value));-1!==s&&o.splice(s,1),o.length>0?t.map.set(n.param,o):t.map.delete(n.param)}}),this.cloneFrom=this.updates=null)}}]),e}(),f7=function(){function e(){c(this,e),this.map=new Map}return f(e,[{key:"set",value:function(t,n){return this.map.set(t,n),this}},{key:"get",value:function(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}},{key:"delete",value:function(t){return this.map.delete(t),this}},{key:"keys",value:function(){return this.map.keys()}}]),e}();function cE(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function dE(e){return"undefined"!=typeof Blob&&e instanceof Blob}function fE(e){return"undefined"!=typeof FormData&&e instanceof FormData}var bk=function(){function e(i,t,n,a){var o;if(c(this,e),this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=i.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||a?(this.body=void 0!==n?n:null,o=a):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params)),this.headers||(this.headers=new Nc),this.context||(this.context=new f7),this.params){var s=this.params.toString();if(0===s.length)this.urlWithParams=t;else{var l=t.indexOf("?");this.urlWithParams=t+(-1===l?"?":l0&&void 0!==arguments[0]?arguments[0]:{},a=t.method||this.method,o=t.url||this.url,s=t.responseType||this.responseType,l=void 0!==t.body?t.body:this.body,u=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,d=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,y=t.headers||this.headers,T=t.params||this.params,I=null!==(n=t.context)&&void 0!==n?n:this.context;return void 0!==t.setHeaders&&(y=Object.keys(t.setHeaders).reduce(function(H,q){return H.set(q,t.setHeaders[q])},y)),t.setParams&&(T=Object.keys(t.setParams).reduce(function(H,q){return H.set(q,t.setParams[q])},T)),new e(a,o,l,{params:T,headers:y,context:I,reportProgress:d,responseType:s,withCredentials:u})}}]),e}(),Hf=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),kk=function e(i){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";c(this,e),this.headers=i.headers||new Nc,this.status=void 0!==i.status?i.status:t,this.statusText=i.statusText||n,this.url=i.url||null,this.ok=this.status>=200&&this.status<300},m7=function(e){h(t,e);var i=C(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(this,t),(n=i.call(this,a)).type=Hf.ResponseHeader,n}return f(t,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),t}(kk),hE=function(e){h(t,e);var i=C(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(this,t),(n=i.call(this,a)).type=Hf.Response,n.body=void 0!==a.body?a.body:null,n}return f(t,[{key:"clone",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new t({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}]),t}(kk),pE=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this,n,0,"Unknown Error")).name="HttpErrorResponse",a.ok=!1,a.message=a.status>=200&&a.status<300?"Http failure during parsing for ".concat(n.url||"(unknown url)"):"Http failure response for ".concat(n.url||"(unknown url)",": ").concat(n.status," ").concat(n.statusText),a.error=n.error||null,a}return t}(kk);function Ck(e,i){return{body:i,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Ks=function(){var e=function(){function i(t){c(this,i),this.handler=t}return f(i,[{key:"request",value:function(n,a){var l,o=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(n instanceof bk)l=n;else{var u=void 0;u=s.headers instanceof Nc?s.headers:new Nc(s.headers);var d=void 0;s.params&&(d=s.params instanceof Yc?s.params:new Yc({fromObject:s.params})),l=new bk(n,a,void 0!==s.body?s.body:null,{headers:u,context:s.context,params:d,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials})}var y=Qe(l).pipe(Fc(function(I){return o.handler.handle(I)}));if(n instanceof bk||"events"===s.observe)return y;var T=y.pipe(Ir(function(I){return I instanceof hE}));switch(s.observe||"body"){case"body":switch(l.responseType){case"arraybuffer":return T.pipe($e(function(I){if(null!==I.body&&!(I.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return I.body}));case"blob":return T.pipe($e(function(I){if(null!==I.body&&!(I.body instanceof Blob))throw new Error("Response is not a Blob.");return I.body}));case"text":return T.pipe($e(function(I){if(null!==I.body&&"string"!=typeof I.body)throw new Error("Response is not a string.");return I.body}));case"json":default:return T.pipe($e(function(I){return I.body}))}case"response":return T;default:throw new Error("Unreachable: unhandled observe type ".concat(s.observe,"}"))}}},{key:"delete",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",n,a)}},{key:"get",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",n,a)}},{key:"head",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",n,a)}},{key:"jsonp",value:function(n,a){return this.request("JSONP",n,{params:(new Yc).append(a,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",n,a)}},{key:"patch",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",n,Ck(o,a))}},{key:"post",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",n,Ck(o,a))}},{key:"put",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",n,Ck(o,a))}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(oE))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),mE=function(){function e(i,t){c(this,e),this.next=i,this.interceptor=t}return f(e,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),e}(),vE=new Ze("HTTP_INTERCEPTORS"),v7=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"intercept",value:function(n,a){return a.handle(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),g7=/^\)\]\}',?\n/,gE=function(){var e=function(){function i(t){c(this,i),this.xhrFactory=t}return f(i,[{key:"handle",value:function(n){var a=this;if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new me(function(o){var s=a.xhrFactory.build();if(s.open(n.method,n.urlWithParams),n.withCredentials&&(s.withCredentials=!0),n.headers.forEach(function(Se,pe){return s.setRequestHeader(Se,pe.join(","))}),n.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){var l=n.detectContentTypeHeader();null!==l&&s.setRequestHeader("Content-Type",l)}if(n.responseType){var u=n.responseType.toLowerCase();s.responseType="json"!==u?u:"text"}var d=n.serializeBody(),y=null,T=function(){if(null!==y)return y;var pe=1223===s.status?204:s.status,Re=s.statusText||"OK",Ne=new Nc(s.getAllResponseHeaders()),Xe=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(s)||n.url;return y=new m7({headers:Ne,status:pe,statusText:Re,url:Xe})},I=function(){var pe=T(),Re=pe.headers,Ne=pe.status,Xe=pe.statusText,st=pe.url,bt=null;204!==Ne&&(bt=void 0===s.response?s.responseText:s.response),0===Ne&&(Ne=bt?200:0);var Xt=Ne>=200&&Ne<300;if("json"===n.responseType&&"string"==typeof bt){var dn=bt;bt=bt.replace(g7,"");try{bt=""!==bt?JSON.parse(bt):null}catch(qn){bt=dn,Xt&&(Xt=!1,bt={error:qn,text:bt})}}Xt?(o.next(new hE({body:bt,headers:Re,status:Ne,statusText:Xe,url:st||void 0})),o.complete()):o.error(new pE({error:bt,headers:Re,status:Ne,statusText:Xe,url:st||void 0}))},H=function(pe){var Re=T(),Xe=new pE({error:pe,status:s.status||0,statusText:s.statusText||"Unknown Error",url:Re.url||void 0});o.error(Xe)},q=!1,X=function(pe){q||(o.next(T()),q=!0);var Re={type:Hf.DownloadProgress,loaded:pe.loaded};pe.lengthComputable&&(Re.total=pe.total),"text"===n.responseType&&!!s.responseText&&(Re.partialText=s.responseText),o.next(Re)},he=function(pe){var Re={type:Hf.UploadProgress,loaded:pe.loaded};pe.lengthComputable&&(Re.total=pe.total),o.next(Re)};return s.addEventListener("load",I),s.addEventListener("error",H),s.addEventListener("timeout",H),s.addEventListener("abort",H),n.reportProgress&&(s.addEventListener("progress",X),null!==d&&s.upload&&s.upload.addEventListener("progress",he)),s.send(d),o.next({type:Hf.Sent}),function(){s.removeEventListener("error",H),s.removeEventListener("abort",H),s.removeEventListener("load",I),s.removeEventListener("timeout",H),n.reportProgress&&(s.removeEventListener("progress",X),null!==d&&s.upload&&s.upload.removeEventListener("progress",he)),s.readyState!==s.DONE&&s.abort()}})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Fb))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Mk=new Ze("XSRF_COOKIE_NAME"),wk=new Ze("XSRF_HEADER_NAME"),_E=function e(){c(this,e)},y7=function(){var e=function(){function i(t,n,a){c(this,i),this.doc=t,this.platform=n,this.cookieName=a,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return f(i,[{key:"getToken",value:function(){if("server"===this.platform)return null;var n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=xD(n,this.cookieName),this.lastCookieString=n),this.lastToken}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(dt),_e(Ec),_e(Mk))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Sk=function(){var e=function(){function i(t,n){c(this,i),this.tokenService=t,this.headerName=n}return f(i,[{key:"intercept",value:function(n,a){var o=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||o.startsWith("http://")||o.startsWith("https://"))return a.handle(n);var s=this.tokenService.getToken();return null!==s&&!n.headers.has(this.headerName)&&(n=n.clone({headers:n.headers.set(this.headerName,s)})),a.handle(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(_E),_e(wk))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),b7=function(){var e=function(){function i(t,n){c(this,i),this.backend=t,this.injector=n,this.chain=null}return f(i,[{key:"handle",value:function(n){if(null===this.chain){var a=this.injector.get(vE,[]);this.chain=a.reduceRight(function(o,s){return new mE(o,s)},this.backend)}return this.chain.handle(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(sE),_e(sn))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),k7=function(){var e=function(){function i(){c(this,i)}return f(i,null,[{key:"disable",value:function(){return{ngModule:i,providers:[{provide:Sk,useClass:v7}]}}},{key:"withOptions",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[n.cookieName?{provide:Mk,useValue:n.cookieName}:[],n.headerName?{provide:wk,useValue:n.headerName}:[]]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Sk,{provide:vE,useExisting:Sk,multi:!0},{provide:_E,useClass:y7},{provide:Mk,useValue:"XSRF-TOKEN"},{provide:wk,useValue:"X-XSRF-TOKEN"}]}),e}(),C7=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Ks,{provide:oE,useClass:b7},gE,{provide:sE,useExisting:gE}],imports:[[k7.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}(),Br=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this))._value=n,a}return f(t,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(a){var o=D(x(t.prototype),"_subscribe",this).call(this,a);return o&&!o.closed&&a.next(this._value),o}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new De;return this._value}},{key:"next",value:function(a){D(x(t.prototype),"next",this).call(this,this._value=a)}}]),t}(Ie),yE={};function bE(){for(var e=arguments.length,i=new Array(e),t=0;t=2&&(t=!0),function(a){return a.lift(new I7(e,i,t))}}var I7=function(){function e(i,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c(this,e),this.accumulator=i,this.seed=t,this.hasSeed=n}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new A7(t,this.accumulator,this.seed,this.hasSeed))}}]),e}(),A7=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n)).accumulator=a,l._seed=o,l.hasSeed=s,l.index=0,l}return f(t,[{key:"seed",get:function(){return this._seed},set:function(a){this.hasSeed=!0,this._seed=a}},{key:"_next",value:function(a){if(this.hasSeed)return this._tryNext(a);this.seed=a,this.destination.next(a)}},{key:"_tryNext",value:function(a){var s,o=this.index++;try{s=this.accumulator(this.seed,a,o)}catch(l){this.destination.error(l)}this.seed=s,this.destination.next(s)}}]),t}(St);function ea(e){return function(t){var n=new R7(e),a=t.lift(n);return n.caught=a}}var R7=function(){function e(i){c(this,e),this.selector=i}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new F7(t,this.selector,this.caught))}}]),e}(),F7=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).selector=a,s.caught=o,s}return f(t,[{key:"error",value:function(a){if(!this.isStopped){var o;try{o=this.selector(a,this.caught)}catch(l){return void D(x(t.prototype),"error",this).call(this,l)}this._unsubscribeAndRecycle();var s=new rt(this,void 0,void 0);this.add(s),An(this,o,void 0,void 0,s)}}}]),t}(_n);function Vf(e){return function(t){return 0===e?jm():t.lift(new N7(e))}}var N7=function(){function e(i){if(c(this,e),this.total=i,this.total<0)throw new kE}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new Y7(t,this.total))}}]),e}(),Y7=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).total=a,o.ring=new Array,o.count=0,o}return f(t,[{key:"_next",value:function(a){var o=this.ring,s=this.total,l=this.count++;o.length0)for(var s=this.count>=this.total?this.total:this.count,l=this.ring,u=0;u0&&void 0!==arguments[0]?arguments[0]:B7;return function(i){return i.lift(new H7(e))}}var H7=function(){function e(i){c(this,e),this.errorFactory=i}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new V7(t,this.errorFactory))}}]),e}(),V7=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).errorFactory=a,o.hasValue=!1,o}return f(t,[{key:"_next",value:function(a){this.hasValue=!0,this.destination.next(a)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var a;try{a=this.errorFactory()}catch(o){a=o}this.destination.error(a)}}]),t}(St);function B7(){return new Bm}function Tk(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(i){return i.lift(new j7(e))}}var j7=function(){function e(i){c(this,e),this.defaultValue=i}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new U7(t,this.defaultValue))}}]),e}(),U7=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).defaultValue=a,o.isEmpty=!0,o}return f(t,[{key:"_next",value:function(a){this.isEmpty=!1,this.destination.next(a)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),t}(St);function Hc(e,i){var t=arguments.length>=2;return function(n){return n.pipe(e?Ir(function(a,o){return e(a,o,n)}):cl,Qn(1),t?Tk(i):CE(function(){return new Bm}))}}function Ar(e,i,t){return function(a){return a.lift(new W7(e,i,t))}}var W7=function(){function e(i,t,n){c(this,e),this.nextOrObserver=i,this.error=t,this.complete=n}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new G7(t,this.nextOrObserver,this.error,this.complete))}}]),e}(),G7=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n))._tapNext=oe,l._tapError=oe,l._tapComplete=oe,l._tapError=o||oe,l._tapComplete=s||oe,Be(a)?(l._context=O(l),l._tapNext=a):a&&(l._context=a,l._tapNext=a.next||oe,l._tapError=a.error||oe,l._tapComplete=a.complete||oe),l}return f(t,[{key:"_next",value:function(a){try{this._tapNext.call(this._context,a)}catch(o){return void this.destination.error(o)}this.destination.next(a)}},{key:"_error",value:function(a){try{this._tapError.call(this._context,a)}catch(o){return void this.destination.error(o)}this.destination.error(a)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(a){return void this.destination.error(a)}return this.destination.complete()}}]),t}(St);function ME(e){return function(i){return i.lift(new q7(e))}}var q7=function(){function e(i){c(this,e),this.callback=i}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new K7(t,this.callback))}}]),e}(),K7=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).add(new He(a)),o}return t}(St),_s=function e(i,t){c(this,e),this.id=i,this.url=t},Dk=function(e){h(t,e);var i=C(t);function t(n,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return c(this,t),(o=i.call(this,n,a)).navigationTrigger=s,o.restoredState=l,o}return f(t,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(_s),Vc=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n,a)).urlAfterRedirects=o,s}return f(t,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),t}(_s),wE=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n,a)).reason=o,s}return f(t,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),t}(_s),J7=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n,a)).error=o,s}return f(t,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),t}(_s),$7=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return f(t,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_s),Q7=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return f(t,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_s),Z7=function(e){h(t,e);var i=C(t);function t(n,a,o,s,l){var u;return c(this,t),(u=i.call(this,n,a)).urlAfterRedirects=o,u.state=s,u.shouldActivate=l,u}return f(t,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),t}(_s),X7=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return f(t,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_s),e9=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this,n,a)).urlAfterRedirects=o,l.state=s,l}return f(t,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),t}(_s),SE=function(){function e(i){c(this,e),this.route=i}return f(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),TE=function(){function e(i){c(this,e),this.route=i}return f(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),t9=function(){function e(i){c(this,e),this.snapshot=i}return f(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),n9=function(){function e(i){c(this,e),this.snapshot=i}return f(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),r9=function(){function e(i){c(this,e),this.snapshot=i}return f(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),i9=function(){function e(i){c(this,e),this.snapshot=i}return f(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),DE=function(){function e(i,t,n){c(this,e),this.routerEvent=i,this.position=t,this.anchor=n}return f(e,[{key:"toString",value:function(){var t=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(t,"')")}}]),e}(),$t="primary",a9=function(){function e(i){c(this,e),this.params=i||{}}return f(e,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var n=this.params[t];return Array.isArray(n)?n[0]:n}return null}},{key:"getAll",value:function(t){if(this.has(t)){var n=this.params[t];return Array.isArray(n)?n:[n]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Bc(e){return new a9(e)}var EE="ngNavigationCancelingError";function Ek(e){var i=Error("NavigationCancelingError: "+e);return i[EE]=!0,i}function s9(e,i,t){var n=t.path.split("/");if(n.length>e.length||"full"===t.pathMatch&&(i.hasChildren()||n.length0?e[e.length-1]:null}function ii(e,i){for(var t in e)e.hasOwnProperty(t)&&i(e[t],t)}function zo(e){return Ap(e)?e:lf(e)?ot(Promise.resolve(e)):Qe(e)}var c9={exact:function AE(e,i,t){if(!Gl(e.segments,i.segments)||!Wm(e.segments,i.segments,t)||e.numberOfChildren!==i.numberOfChildren)return!1;for(var n in i.children)if(!e.children[n]||!AE(e.children[n],i.children[n],t))return!1;return!0},subset:RE},xE={exact:function(e,i){return Uo(e,i)},subset:function(e,i){return Object.keys(i).length<=Object.keys(e).length&&Object.keys(i).every(function(t){return LE(e[t],i[t])})},ignored:function(){return!0}};function IE(e,i,t){return c9[t.paths](e.root,i.root,t.matrixParams)&&xE[t.queryParams](e.queryParams,i.queryParams)&&!("exact"===t.fragment&&e.fragment!==i.fragment)}function RE(e,i,t){return FE(e,i,i.segments,t)}function FE(e,i,t,n){if(e.segments.length>t.length){var a=e.segments.slice(0,t.length);return!(!Gl(a,t)||i.hasChildren()||!Wm(a,t,n))}if(e.segments.length===t.length){if(!Gl(e.segments,t)||!Wm(e.segments,t,n))return!1;for(var o in i.children)if(!e.children[o]||!RE(e.children[o],i.children[o],n))return!1;return!0}var s=t.slice(0,e.segments.length),l=t.slice(e.segments.length);return!!(Gl(e.segments,s)&&Wm(e.segments,s,n)&&e.children[$t])&&FE(e.children[$t],i,l,n)}function Wm(e,i,t){return i.every(function(n,a){return xE[t](e[a].parameters,n.parameters)})}var Wl=function(){function e(i,t,n){c(this,e),this.root=i,this.queryParams=t,this.fragment=n}return f(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Bc(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return m9.serialize(this)}}]),e}(),en=function(){function e(i,t){var n=this;c(this,e),this.segments=i,this.children=t,this.parent=null,ii(t,function(a,o){return a.parent=n})}return f(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Gm(this)}}]),e}(),Bf=function(){function e(i,t){c(this,e),this.path=i,this.parameters=t}return f(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Bc(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return VE(this)}}]),e}();function Gl(e,i){return e.length===i.length&&e.every(function(t,n){return t.path===i[n].path})}var Lk=function e(){c(this,e)},NE=function(){function e(){c(this,e)}return f(e,[{key:"parse",value:function(t){var n=new w9(t);return new Wl(n.parseRootSegment(),n.parseQueryParams(),n.parseFragment())}},{key:"serialize",value:function(t){var n="/".concat(jf(t.root,!0)),a=function(e){var i=Object.keys(e).map(function(t){var n=e[t];return Array.isArray(n)?n.map(function(a){return"".concat(qm(t),"=").concat(qm(a))}).join("&"):"".concat(qm(t),"=").concat(qm(n))}).filter(function(t){return!!t});return i.length?"?".concat(i.join("&")):""}(t.queryParams),o="string"==typeof t.fragment?"#".concat(function(e){return encodeURI(e)}(t.fragment)):"";return"".concat(n).concat(a).concat(o)}}]),e}(),m9=new NE;function Gm(e){return e.segments.map(function(i){return VE(i)}).join("/")}function jf(e,i){if(!e.hasChildren())return Gm(e);if(i){var t=e.children[$t]?jf(e.children[$t],!1):"",n=[];return ii(e.children,function(o,s){s!==$t&&n.push("".concat(s,":").concat(jf(o,!1)))}),n.length>0?"".concat(t,"(").concat(n.join("//"),")"):t}var a=function(e,i){var t=[];return ii(e.children,function(n,a){a===$t&&(t=t.concat(i(n,a)))}),ii(e.children,function(n,a){a!==$t&&(t=t.concat(i(n,a)))}),t}(e,function(o,s){return s===$t?[jf(e.children[$t],!1)]:["".concat(s,":").concat(jf(o,!1))]});return 1===Object.keys(e.children).length&&null!=e.children[$t]?"".concat(Gm(e),"/").concat(a[0]):"".concat(Gm(e),"/(").concat(a.join("//"),")")}function YE(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function qm(e){return YE(e).replace(/%3B/gi,";")}function Pk(e){return YE(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Km(e){return decodeURIComponent(e)}function HE(e){return Km(e.replace(/\+/g,"%20"))}function VE(e){return"".concat(Pk(e.path)).concat(function(e){return Object.keys(e).map(function(i){return";".concat(Pk(i),"=").concat(Pk(e[i]))}).join("")}(e.parameters))}var y9=/^[^\/()?;=#]+/;function Jm(e){var i=e.match(y9);return i?i[0]:""}var b9=/^[^=?&#]+/,C9=/^[^?&#]+/,w9=function(){function e(i){c(this,e),this.url=i,this.remaining=i}return f(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new en([],{}):new en([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var n={};this.peekStartsWith("/(")&&(this.capture("/"),n=this.parseParens(!0));var a={};return this.peekStartsWith("(")&&(a=this.parseParens(!1)),(t.length>0||Object.keys(n).length>0)&&(a[$t]=new en(t,n)),a}},{key:"parseSegment",value:function(){var t=Jm(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new Bf(Km(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var n=Jm(this.remaining);if(n){this.capture(n);var a="";if(this.consumeOptional("=")){var o=Jm(this.remaining);o&&this.capture(a=o)}t[Km(n)]=Km(a)}}},{key:"parseQueryParam",value:function(t){var n=function(e){var i=e.match(b9);return i?i[0]:""}(this.remaining);if(n){this.capture(n);var a="";if(this.consumeOptional("=")){var o=function(e){var i=e.match(C9);return i?i[0]:""}(this.remaining);o&&this.capture(a=o)}var s=HE(n),l=HE(a);if(t.hasOwnProperty(s)){var u=t[s];Array.isArray(u)||(t[s]=u=[u]),u.push(l)}else t[s]=l}}},{key:"parseParens",value:function(t){var n={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var a=Jm(this.remaining),o=this.remaining[a.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error("Cannot parse url '".concat(this.url,"'"));var s=void 0;a.indexOf(":")>-1?(s=a.substr(0,a.indexOf(":")),this.capture(s),this.capture(":")):t&&(s=$t);var l=this.parseChildren();n[s]=1===Object.keys(l).length?l[$t]:new en([],l),this.consumeOptional("//")}return n}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),e}(),BE=function(){function e(i){c(this,e),this._root=i}return f(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(t){var n=this.pathFromRoot(t);return n.length>1?n[n.length-2]:null}},{key:"children",value:function(t){var n=Ok(t,this._root);return n?n.children.map(function(a){return a.value}):[]}},{key:"firstChild",value:function(t){var n=Ok(t,this._root);return n&&n.children.length>0?n.children[0].value:null}},{key:"siblings",value:function(t){var n=xk(t,this._root);return n.length<2?[]:n[n.length-2].children.map(function(o){return o.value}).filter(function(o){return o!==t})}},{key:"pathFromRoot",value:function(t){return xk(t,this._root).map(function(n){return n.value})}}]),e}();function Ok(e,i){if(e===i.value)return i;var n,t=W(i.children);try{for(t.s();!(n=t.n()).done;){var o=Ok(e,n.value);if(o)return o}}catch(s){t.e(s)}finally{t.f()}return null}function xk(e,i){if(e===i.value)return[i];var n,t=W(i.children);try{for(t.s();!(n=t.n()).done;){var o=xk(e,n.value);if(o.length)return o.unshift(i),o}}catch(s){t.e(s)}finally{t.f()}return[]}var ys=function(){function e(i,t){c(this,e),this.value=i,this.children=t}return f(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function Uf(e){var i={};return e&&e.children.forEach(function(t){return i[t.value.outlet]=t}),i}var jE=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).snapshot=a,Ik(O(o),n),o}return f(t,[{key:"toString",value:function(){return this.snapshot.toString()}}]),t}(BE);function UE(e,i){var t=function(e,i){var s=new $m([],{},{},"",{},$t,i,null,e.root,-1,{});return new WE("",new ys(s,[]))}(e,i),n=new Br([new Bf("",{})]),a=new Br({}),o=new Br({}),s=new Br({}),l=new Br(""),u=new ai(n,a,s,l,o,$t,i,t.root);return u.snapshot=t.root,new jE(new ys(u,[]),t)}var ai=function(){function e(i,t,n,a,o,s,l,u){c(this,e),this.url=i,this.params=t,this.queryParams=n,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this._futureSnapshot=u}return f(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe($e(function(t){return Bc(t)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe($e(function(t){return Bc(t)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function zE(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",t=e.pathFromRoot,n=0;if("always"!==i)for(n=t.length-1;n>=1;){var a=t[n],o=t[n-1];if(a.routeConfig&&""===a.routeConfig.path)n--;else{if(o.component)break;n--}}return T9(t.slice(n))}function T9(e){return e.reduce(function(i,t){return{params:Object.assign(Object.assign({},i.params),t.params),data:Object.assign(Object.assign({},i.data),t.data),resolve:Object.assign(Object.assign({},i.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}var $m=function(){function e(i,t,n,a,o,s,l,u,d,y,T){c(this,e),this.url=i,this.params=t,this.queryParams=n,this.fragment=a,this.data=o,this.outlet=s,this.component=l,this.routeConfig=u,this._urlSegment=d,this._lastPathIndex=y,this._resolve=T}return f(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Bc(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Bc(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var t=this.url.map(function(a){return a.toString()}).join("/"),n=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(t,"', path:'").concat(n,"')")}}]),e}(),WE=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,a)).url=n,Ik(O(o),a),o}return f(t,[{key:"toString",value:function(){return GE(this._root)}}]),t}(BE);function Ik(e,i){i.value._routerState=e,i.children.forEach(function(t){return Ik(e,t)})}function GE(e){var i=e.children.length>0?" { ".concat(e.children.map(GE).join(", ")," } "):"";return"".concat(e.value).concat(i)}function Ak(e){if(e.snapshot){var i=e.snapshot,t=e._futureSnapshot;e.snapshot=t,Uo(i.queryParams,t.queryParams)||e.queryParams.next(t.queryParams),i.fragment!==t.fragment&&e.fragment.next(t.fragment),Uo(i.params,t.params)||e.params.next(t.params),function(e,i){if(e.length!==i.length)return!1;for(var t=0;ta;){if(o-=a,!(n=n.parent))throw new Error("Invalid number of '../'");a=n.segments.length}return new Nk(n,!1,a-o)}(t.snapshot._urlSegment,t.snapshot._lastPathIndex+o,e.numberOfDoubleDots)}(o,i,e),l=s.processChildren?Xm(s.segmentGroup,s.index,o.commands):$E(s.segmentGroup,s.index,o.commands);return Fk(s.segmentGroup,l,i,n,a)}function Zm(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function zf(e){return"object"==typeof e&&null!=e&&e.outlets}function Fk(e,i,t,n,a){var o={};return n&&ii(n,function(s,l){o[l]=Array.isArray(s)?s.map(function(u){return"".concat(u)}):"".concat(s)}),new Wl(t.root===e?i:KE(t.root,e,i),o,a)}function KE(e,i,t){var n={};return ii(e.children,function(a,o){n[o]=a===i?t:KE(a,i,t)}),new en(e.segments,n)}var JE=function(){function e(i,t,n){if(c(this,e),this.isAbsolute=i,this.numberOfDoubleDots=t,this.commands=n,i&&n.length>0&&Zm(n[0]))throw new Error("Root segment cannot have matrix parameters");var a=n.find(zf);if(a&&a!==OE(n))throw new Error("{outlets:{}} has to be the last command")}return f(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),Nk=function e(i,t,n){c(this,e),this.segmentGroup=i,this.processChildren=t,this.index=n};function $E(e,i,t){if(e||(e=new en([],{})),0===e.segments.length&&e.hasChildren())return Xm(e,i,t);var n=function(e,i,t){for(var n=0,a=i,o={match:!1,pathIndex:0,commandIndex:0};a=t.length)return o;var s=e.segments[a],l=t[n];if(zf(l))break;var u="".concat(l),d=n0&&void 0===u)break;if(u&&d&&"object"==typeof d&&void 0===d.outlets){if(!ZE(u,d,s))return o;n+=2}else{if(!ZE(u,{},s))return o;n++}a++}return{match:!0,pathIndex:a,commandIndex:n}}(e,i,t),a=t.slice(n.commandIndex);if(n.match&&n.pathIndex1&&void 0!==arguments[1]?arguments[1]:"",t=0;t0)?Object.assign({},rL):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var o=(i.matcher||s9)(t,e,i);if(!o)return Object.assign({},rL);var s={};ii(o.posParams,function(u,d){s[d]=u.path});var l=o.consumed.length>0?Object.assign(Object.assign({},s),o.consumed[o.consumed.length-1].parameters):s;return{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:l,positionalParamSegments:null!==(n=o.posParams)&&void 0!==n?n:{}}}function tv(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(t.length>0&&J9(e,t,n)){var o=new en(i,K9(e,i,n,new en(t,e.children)));return o._sourceSegment=e,o._segmentIndexShift=i.length,{segmentGroup:o,slicedSegments:[]}}if(0===t.length&&$9(e,t,n)){var s=new en(e.segments,q9(e,i,t,n,e.children,a));return s._sourceSegment=e,s._segmentIndexShift=i.length,{segmentGroup:s,slicedSegments:t}}var l=new en(e.segments,e.children);return l._sourceSegment=e,l._segmentIndexShift=i.length,{segmentGroup:l,slicedSegments:t}}function q9(e,i,t,n,a,o){var u,s={},l=W(n);try{for(l.s();!(u=l.n()).done;){var d=u.value;if(nv(e,t,d)&&!a[Fa(d)]){var y=new en([],{});y._sourceSegment=e,y._segmentIndexShift="legacy"===o?e.segments.length:i.length,s[Fa(d)]=y}}}catch(T){l.e(T)}finally{l.f()}return Object.assign(Object.assign({},a),s)}function K9(e,i,t,n){var a={};a[$t]=n,n._sourceSegment=e,n._segmentIndexShift=i.length;var s,o=W(t);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(""===l.path&&Fa(l)!==$t){var u=new en([],{});u._sourceSegment=e,u._segmentIndexShift=i.length,a[Fa(l)]=u}}}catch(d){o.e(d)}finally{o.f()}return a}function J9(e,i,t){return t.some(function(n){return nv(e,i,n)&&Fa(n)!==$t})}function $9(e,i,t){return t.some(function(n){return nv(e,i,n)})}function nv(e,i,t){return(!(e.hasChildren()||i.length>0)||"full"!==t.pathMatch)&&""===t.path}function iL(e,i,t,n){return!!(Fa(e)===n||n!==$t&&nv(i,t,e))&&("**"===e.path||ev(i,e,t).matched)}function aL(e,i,t){return 0===i.length&&!e.children[t]}var qf=function e(i){c(this,e),this.segmentGroup=i||null},oL=function e(i){c(this,e),this.urlTree=i};function rv(e){return new me(function(i){return i.error(new qf(e))})}function sL(e){return new me(function(i){return i.error(new oL(e))})}function Q9(e){return new me(function(i){return i.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var eU=function(){function e(i,t,n,a,o){c(this,e),this.configLoader=t,this.urlSerializer=n,this.urlTree=a,this.config=o,this.allowRedirects=!0,this.ngModule=i.get(ds)}return f(e,[{key:"apply",value:function(){var t=this,n=tv(this.urlTree.root,[],[],this.config).segmentGroup,a=new en(n.segments,n.children);return this.expandSegmentGroup(this.ngModule,this.config,a,$t).pipe($e(function(l){return t.createUrlTree(Bk(l),t.urlTree.queryParams,t.urlTree.fragment)})).pipe(ea(function(l){if(l instanceof oL)return t.allowRedirects=!1,t.match(l.urlTree);throw l instanceof qf?t.noMatchError(l):l}))}},{key:"match",value:function(t){var n=this;return this.expandSegmentGroup(this.ngModule,this.config,t.root,$t).pipe($e(function(s){return n.createUrlTree(Bk(s),t.queryParams,t.fragment)})).pipe(ea(function(s){throw s instanceof qf?n.noMatchError(s):s}))}},{key:"noMatchError",value:function(t){return new Error("Cannot match any routes. URL Segment: '".concat(t.segmentGroup,"'"))}},{key:"createUrlTree",value:function(t,n,a){var o=t.segments.length>0?new en([],Q({},$t,t)):t;return new Wl(o,n,a)}},{key:"expandSegmentGroup",value:function(t,n,a,o){return 0===a.segments.length&&a.hasChildren()?this.expandChildren(t,n,a).pipe($e(function(s){return new en([],s)})):this.expandSegment(t,a,n,a.segments,o,!0)}},{key:"expandChildren",value:function(t,n,a){for(var o=this,s=[],l=0,u=Object.keys(a.children);l=2;return function(n){return n.pipe(e?Ir(function(a,o){return e(a,o,n)}):cl,Vf(1),t?Tk(i):CE(function(){return new Bm}))}}())}},{key:"expandSegment",value:function(t,n,a,o,s,l){var u=this;return ot(a).pipe(Fc(function(d){return u.expandSegmentAgainstRoute(t,n,a,d,o,s,l).pipe(ea(function(T){if(T instanceof qf)return Qe(null);throw T}))}),Hc(function(d){return!!d}),ea(function(d,y){if(d instanceof Bm||"EmptyError"===d.name){if(aL(n,o,s))return Qe(new en([],{}));throw new qf(n)}throw d}))}},{key:"expandSegmentAgainstRoute",value:function(t,n,a,o,s,l,u){return iL(o,n,s,l)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(t,n,o,s,l):u&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,n,a,o,s,l):rv(n):rv(n)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,n,a,o,s,l){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,a,o,l):this.expandRegularSegmentAgainstRouteUsingRedirect(t,n,a,o,s,l)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,n,a,o){var s=this,l=this.applyRedirectCommands([],a.redirectTo,{});return a.redirectTo.startsWith("/")?sL(l):this.lineralizeSegments(a,l).pipe(Sn(function(u){var d=new en(u,{});return s.expandSegment(t,d,n,u,o,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,n,a,o,s,l){var u=this,d=ev(n,o,s),T=d.consumedSegments,I=d.lastChild,H=d.positionalParamSegments;if(!d.matched)return rv(n);var q=this.applyRedirectCommands(T,o.redirectTo,H);return o.redirectTo.startsWith("/")?sL(q):this.lineralizeSegments(o,q).pipe(Sn(function(X){return u.expandSegment(t,n,a,X.concat(s.slice(I)),l,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(t,n,a,o,s){var l=this;if("**"===a.path)return a.loadChildren?(a._loadedConfig?Qe(a._loadedConfig):this.configLoader.load(t.injector,a)).pipe($e(function(X){return a._loadedConfig=X,new en(o,{})})):Qe(new en(o,{}));var d=ev(n,a,o),T=d.consumedSegments,I=d.lastChild;if(!d.matched)return rv(n);var H=o.slice(I);return this.getChildConfig(t,a,o).pipe(Sn(function(X){var he=X.module,Se=X.routes,pe=tv(n,T,H,Se),Re=pe.segmentGroup,Ne=pe.slicedSegments,Xe=new en(Re.segments,Re.children);if(0===Ne.length&&Xe.hasChildren())return l.expandChildren(he,Se,Xe).pipe($e(function(dn){return new en(T,dn)}));if(0===Se.length&&0===Ne.length)return Qe(new en(T,{}));var bt=Fa(a)===s;return l.expandSegment(he,Xe,Se,Ne,bt?$t:s,!0).pipe($e(function(dn){return new en(T.concat(dn.segments),dn.children)}))}))}},{key:"getChildConfig",value:function(t,n,a){var o=this;return n.children?Qe(new Hk(n.children,t)):n.loadChildren?void 0!==n._loadedConfig?Qe(n._loadedConfig):this.runCanLoadGuards(t.injector,n,a).pipe(Sn(function(s){return s?o.configLoader.load(t.injector,n).pipe($e(function(l){return n._loadedConfig=l,l})):function(e){return new me(function(i){return i.error(Ek("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(n)})):Qe(new Hk([],t))}},{key:"runCanLoadGuards",value:function(t,n,a){var o=this,s=n.canLoad;return s&&0!==s.length?Qe(s.map(function(u){var y,d=t.get(u);if(function(e){return e&&$s(e.canLoad)}(d))y=d.canLoad(n,a);else{if(!$s(d))throw new Error("Invalid CanLoad guard");y=d(n,a)}return zo(y)})).pipe(Gf(),Ar(function(u){if(ql(u)){var d=Ek('Redirecting to "'.concat(o.urlSerializer.serialize(u),'"'));throw d.url=u,d}}),$e(function(u){return!0===u})):Qe(!0)}},{key:"lineralizeSegments",value:function(t,n){for(var a=[],o=n.root;;){if(a=a.concat(o.segments),0===o.numberOfChildren)return Qe(a);if(o.numberOfChildren>1||!o.children[$t])return Q9(t.redirectTo);o=o.children[$t]}}},{key:"applyRedirectCommands",value:function(t,n,a){return this.applyRedirectCreatreUrlTree(n,this.urlSerializer.parse(n),t,a)}},{key:"applyRedirectCreatreUrlTree",value:function(t,n,a,o){var s=this.createSegmentGroup(t,n.root,a,o);return new Wl(s,this.createQueryParams(n.queryParams,this.urlTree.queryParams),n.fragment)}},{key:"createQueryParams",value:function(t,n){var a={};return ii(t,function(o,s){if("string"==typeof o&&o.startsWith(":")){var u=o.substring(1);a[s]=n[u]}else a[s]=o}),a}},{key:"createSegmentGroup",value:function(t,n,a,o){var s=this,l=this.createSegments(t,n.segments,a,o),u={};return ii(n.children,function(d,y){u[y]=s.createSegmentGroup(t,d,a,o)}),new en(l,u)}},{key:"createSegments",value:function(t,n,a,o){var s=this;return n.map(function(l){return l.path.startsWith(":")?s.findPosParam(t,l,o):s.findOrReturn(l,a)})}},{key:"findPosParam",value:function(t,n,a){var o=a[n.path.substring(1)];if(!o)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(n.path,"'."));return o}},{key:"findOrReturn",value:function(t,n){var s,a=0,o=W(n);try{for(o.s();!(s=o.n()).done;){var l=s.value;if(l.path===t.path)return n.splice(a),l;a++}}catch(u){o.e(u)}finally{o.f()}return t}}]),e}();function Bk(e){for(var i={},t=0,n=Object.keys(e.children);t0||s.hasChildren())&&(i[a]=s)}return function(e){if(1===e.numberOfChildren&&e.children[$t]){var i=e.children[$t];return new en(e.segments.concat(i.segments),i.children)}return e}(new en(e.segments,i))}var lL=function e(i){c(this,e),this.path=i,this.route=this.path[this.path.length-1]},iv=function e(i,t){c(this,e),this.component=i,this.route=t};function rU(e,i,t){var n=e._root;return Kf(n,i?i._root:null,t,[n.value])}function av(e,i,t){var n=function(e){if(!e)return null;for(var i=e.parent;i;i=i.parent){var t=i.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(i);return(n?n.module.injector:t).get(e)}function Kf(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=Uf(i);return e.children.forEach(function(s){oU(s,o[s.value.outlet],t,n.concat([s.value]),a),delete o[s.value.outlet]}),ii(o,function(s,l){return Jf(s,t.getContext(l),a)}),a}function oU(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,s=i?i.value:null,l=t?t.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=sU(s,o,o.routeConfig.runGuardsAndResolvers);u?a.canActivateChecks.push(new lL(n)):(o.data=s.data,o._resolvedData=s._resolvedData),Kf(e,i,o.component?l?l.children:null:t,n,a),u&&l&&l.outlet&&l.outlet.isActivated&&a.canDeactivateChecks.push(new iv(l.outlet.component,s))}else s&&Jf(i,l,a),a.canActivateChecks.push(new lL(n)),Kf(e,null,o.component?l?l.children:null:t,n,a);return a}function sU(e,i,t){if("function"==typeof t)return t(e,i);switch(t){case"pathParamsChange":return!Gl(e.url,i.url);case"pathParamsOrQueryParamsChange":return!Gl(e.url,i.url)||!Uo(e.queryParams,i.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Rk(e,i)||!Uo(e.queryParams,i.queryParams);case"paramsChange":default:return!Rk(e,i)}}function Jf(e,i,t){var n=Uf(e),a=e.value;ii(n,function(o,s){Jf(o,a.component?i?i.children.getContext(s):null:i,t)}),t.canDeactivateChecks.push(new iv(a.component&&i&&i.outlet&&i.outlet.isActivated?i.outlet.component:null,a))}var vU=function e(){c(this,e)};function uL(e){return new me(function(i){return i.error(e)})}var _U=function(){function e(i,t,n,a,o,s){c(this,e),this.rootComponentType=i,this.config=t,this.urlTree=n,this.url=a,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=s}return f(e,[{key:"recognize",value:function(){var t=tv(this.urlTree.root,[],[],this.config.filter(function(l){return void 0===l.redirectTo}),this.relativeLinkResolution).segmentGroup,n=this.processSegmentGroup(this.config,t,$t);if(null===n)return null;var a=new $m([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},$t,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new ys(a,n),s=new WE(this.url,o);return this.inheritParamsAndData(s._root),s}},{key:"inheritParamsAndData",value:function(t){var n=this,a=t.value,o=zE(a,this.paramsInheritanceStrategy);a.params=Object.freeze(o.params),a.data=Object.freeze(o.data),t.children.forEach(function(s){return n.inheritParamsAndData(s)})}},{key:"processSegmentGroup",value:function(t,n,a){return 0===n.segments.length&&n.hasChildren()?this.processChildren(t,n):this.processSegment(t,n,n.segments,a)}},{key:"processChildren",value:function(t,n){for(var a=[],o=0,s=Object.keys(n.children);o0?OE(a).parameters:{};s=new $m(a,d,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hL(t),Fa(t),t.component,t,dL(n),fL(n)+a.length,pL(t))}else{var y=ev(n,t,a);if(!y.matched)return null;l=y.consumedSegments,u=a.slice(y.lastChild),s=new $m(l,y.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hL(t),Fa(t),t.component,t,dL(n),fL(n)+l.length,pL(t))}var T=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(t),I=tv(n,l,u,T.filter(function(pe){return void 0===pe.redirectTo}),this.relativeLinkResolution),H=I.segmentGroup,q=I.slicedSegments;if(0===q.length&&H.hasChildren()){var X=this.processChildren(T,H);return null===X?null:[new ys(s,X)]}if(0===T.length&&0===q.length)return[new ys(s,[])];var he=Fa(t)===o,Se=this.processSegment(T,H,q,he?$t:o);return null===Se?null:[new ys(s,Se)]}}]),e}();function cL(e){var a,i=[],t=new Set,n=W(e);try{var o=function(){var I=a.value;if(!function(e){var i=e.value.routeConfig;return i&&""===i.path&&void 0===i.redirectTo}(I))return i.push(I),"continue";var q,H=i.find(function(X){return I.value.routeConfig===X.value.routeConfig});void 0!==H?((q=H.children).push.apply(q,se(I.children)),t.add(H)):i.push(I)};for(n.s();!(a=n.n()).done;)o()}catch(T){n.e(T)}finally{n.f()}var u,l=W(t);try{for(l.s();!(u=l.n()).done;){var d=u.value,y=cL(d.children);i.push(new ys(d.value,y))}}catch(T){l.e(T)}finally{l.f()}return i.filter(function(T){return!t.has(T)})}function dL(e){for(var i=e;i._sourceSegment;)i=i._sourceSegment;return i}function fL(e){for(var i=e,t=i._segmentIndexShift?i._segmentIndexShift:0;i._sourceSegment;)t+=(i=i._sourceSegment)._segmentIndexShift?i._segmentIndexShift:0;return t-1}function hL(e){return e.data||{}}function pL(e){return e.resolve||{}}function jk(e){return Xi(function(i){var t=e(i);return t?ot(t).pipe($e(function(){return i})):Qe(i)})}var mL=function e(){c(this,e)},EU=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return t}(function(){function e(){c(this,e)}return f(e,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,n){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,n){return t.routeConfig===n.routeConfig}}]),e}()),Uk=new Ze("ROUTES"),vL=function(){function e(i,t,n,a){c(this,e),this.loader=i,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=a}return f(e,[{key:"load",value:function(t,n){var a=this;if(n._loader$)return n._loader$;this.onLoadStartListener&&this.onLoadStartListener(n);var s=this.loadModuleFactory(n.loadChildren).pipe($e(function(l){a.onLoadEndListener&&a.onLoadEndListener(n);var u=l.create(t);return new Hk(PE(u.injector.get(Uk,void 0,Kt.Self|Kt.Optional)).map(Vk),u)}),ea(function(l){throw n._loader$=void 0,l}));return n._loader$=new fr(s,function(){return new Ie}).pipe(Si()),n._loader$}},{key:"loadModuleFactory",value:function(t){var n=this;return"string"==typeof t?ot(this.loader.load(t)):zo(t()).pipe(Sn(function(a){return a instanceof RS?Qe(a):ot(n.compiler.compileModuleAsync(a))}))}}]),e}(),LU=function e(){c(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new jc,this.attachRef=null},jc=function(){function e(){c(this,e),this.contexts=new Map}return f(e,[{key:"onChildOutletCreated",value:function(t,n){var a=this.getOrCreateContext(t);a.outlet=n,this.contexts.set(t,a)}},{key:"onChildOutletDestroyed",value:function(t){var n=this.getContext(t);n&&(n.outlet=null)}},{key:"onOutletDeactivated",value:function(){var t=this.contexts;return this.contexts=new Map,t}},{key:"onOutletReAttached",value:function(t){this.contexts=t}},{key:"getOrCreateContext",value:function(t){var n=this.getContext(t);return n||(n=new LU,this.contexts.set(t,n)),n}},{key:"getContext",value:function(t){return this.contexts.get(t)||null}}]),e}(),OU=function(){function e(){c(this,e)}return f(e,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,n){return t}}]),e}();function xU(e){throw e}function IU(e,i,t){return i.parse("/")}function gL(e,i){return Qe(null)}var AU={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},RU={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Zt=function(){var e=function(){function i(t,n,a,o,s,l,u,d){var y=this;c(this,i),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=a,this.location=o,this.config=d,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new Ie,this.errorHandler=xU,this.malformedUriErrorHandler=IU,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:gL,afterPreactivation:gL},this.urlHandlingStrategy=new OU,this.routeReuseStrategy=new EU,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=s.get(ds),this.console=s.get(em);var H=s.get(vt);this.isNgZoneEnabled=H instanceof vt&&vt.isInAngularZone(),this.resetConfig(d),this.currentUrlTree=new Wl(new en([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new vL(l,u,function(X){return y.triggerEvent(new SE(X))},function(X){return y.triggerEvent(new TE(X))}),this.routerState=UE(this.currentUrlTree,this.rootComponentType),this.transitions=new Br({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return f(i,[{key:"browserPageId",get:function(){var n;return null===(n=this.location.getState())||void 0===n?void 0:n.\u0275routerPageId}},{key:"setupNavigations",value:function(n){var a=this,o=this.events;return n.pipe(Ir(function(s){return 0!==s.id}),$e(function(s){return Object.assign(Object.assign({},s),{extractedUrl:a.urlHandlingStrategy.extract(s.rawUrl)})}),Xi(function(s){var l=!1,u=!1;return Qe(s).pipe(Ar(function(d){a.currentNavigation={id:d.id,initialUrl:d.currentRawUrl,extractedUrl:d.extractedUrl,trigger:d.source,extras:d.extras,previousNavigation:a.lastSuccessfulNavigation?Object.assign(Object.assign({},a.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Xi(function(d){var y=!a.navigated||d.extractedUrl.toString()!==a.browserUrlTree.toString(),T=("reload"===a.onSameUrlNavigation||y)&&a.urlHandlingStrategy.shouldProcessUrl(d.rawUrl);if(ov(d.source)&&(a.browserUrlTree=d.rawUrl),T)return Qe(d).pipe(Xi(function(Ne){var Xe=a.transitions.getValue();return o.next(new Dk(Ne.id,a.serializeUrl(Ne.extractedUrl),Ne.source,Ne.restoredState)),Xe!==a.transitions.getValue()?zl:Promise.resolve(Ne)}),function(e,i,t,n){return Xi(function(a){return function(e,i,t,n,a){return new eU(e,i,t,n,a).apply()}(e,i,t,a.extractedUrl,n).pipe($e(function(o){return Object.assign(Object.assign({},a),{urlAfterRedirects:o})}))})}(a.ngModule.injector,a.configLoader,a.urlSerializer,a.config),Ar(function(Ne){a.currentNavigation=Object.assign(Object.assign({},a.currentNavigation),{finalUrl:Ne.urlAfterRedirects})}),function(e,i,t,n,a){return Sn(function(o){return function(e,i,t,n){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var s=new _U(e,i,t,n,a,o).recognize();return null===s?uL(new vU):Qe(s)}catch(l){return uL(l)}}(e,i,o.urlAfterRedirects,t(o.urlAfterRedirects),n,a).pipe($e(function(s){return Object.assign(Object.assign({},o),{targetSnapshot:s})}))})}(a.rootComponentType,a.config,function(Ne){return a.serializeUrl(Ne)},a.paramsInheritanceStrategy,a.relativeLinkResolution),Ar(function(Ne){"eager"===a.urlUpdateStrategy&&(Ne.extras.skipLocationChange||a.setBrowserUrl(Ne.urlAfterRedirects,Ne),a.browserUrlTree=Ne.urlAfterRedirects);var Xe=new $7(Ne.id,a.serializeUrl(Ne.extractedUrl),a.serializeUrl(Ne.urlAfterRedirects),Ne.targetSnapshot);o.next(Xe)}));if(y&&a.rawUrlTree&&a.urlHandlingStrategy.shouldProcessUrl(a.rawUrlTree)){var q=d.extractedUrl,X=d.source,he=d.restoredState,Se=d.extras,pe=new Dk(d.id,a.serializeUrl(q),X,he);o.next(pe);var Re=UE(q,a.rootComponentType).snapshot;return Qe(Object.assign(Object.assign({},d),{targetSnapshot:Re,urlAfterRedirects:q,extras:Object.assign(Object.assign({},Se),{skipLocationChange:!1,replaceUrl:!1})}))}return a.rawUrlTree=d.rawUrl,a.browserUrlTree=d.urlAfterRedirects,d.resolve(null),zl}),jk(function(d){var q=d.extras;return a.hooks.beforePreactivation(d.targetSnapshot,{navigationId:d.id,appliedUrlTree:d.extractedUrl,rawUrlTree:d.rawUrl,skipLocationChange:!!q.skipLocationChange,replaceUrl:!!q.replaceUrl})}),Ar(function(d){var y=new Q7(d.id,a.serializeUrl(d.extractedUrl),a.serializeUrl(d.urlAfterRedirects),d.targetSnapshot);a.triggerEvent(y)}),$e(function(d){return Object.assign(Object.assign({},d),{guards:rU(d.targetSnapshot,d.currentSnapshot,a.rootContexts)})}),function(e,i){return Sn(function(t){var n=t.targetSnapshot,a=t.currentSnapshot,o=t.guards,s=o.canActivateChecks,l=o.canDeactivateChecks;return 0===l.length&&0===s.length?Qe(Object.assign(Object.assign({},t),{guardsResult:!0})):function(e,i,t,n){return ot(e).pipe(Sn(function(a){return function(e,i,t,n,a){var o=i&&i.routeConfig?i.routeConfig.canDeactivate:null;return o&&0!==o.length?Qe(o.map(function(l){var d,u=av(l,i,a);if(function(e){return e&&$s(e.canDeactivate)}(u))d=zo(u.canDeactivate(e,i,t,n));else{if(!$s(u))throw new Error("Invalid CanDeactivate guard");d=zo(u(e,i,t,n))}return d.pipe(Hc())})).pipe(Gf()):Qe(!0)}(a.component,a.route,t,i,n)}),Hc(function(a){return!0!==a},!0))}(l,n,a,e).pipe(Sn(function(u){return u&&function(e){return"boolean"==typeof e}(u)?function(e,i,t,n){return ot(i).pipe(Fc(function(a){return Js(function(e,i){return null!==e&&i&&i(new t9(e)),Qe(!0)}(a.route.parent,n),function(e,i){return null!==e&&i&&i(new r9(e)),Qe(!0)}(a.route,n),function(e,i,t){var n=i[i.length-1],o=i.slice(0,i.length-1).reverse().map(function(s){return function(e){var i=e.routeConfig?e.routeConfig.canActivateChild:null;return i&&0!==i.length?{node:e,guards:i}:null}(s)}).filter(function(s){return null!==s}).map(function(s){return Um(function(){return Qe(s.guards.map(function(u){var y,d=av(u,s.node,t);if(function(e){return e&&$s(e.canActivateChild)}(d))y=zo(d.canActivateChild(n,e));else{if(!$s(d))throw new Error("Invalid CanActivateChild guard");y=zo(d(n,e))}return y.pipe(Hc())})).pipe(Gf())})});return Qe(o).pipe(Gf())}(e,a.path,t),function(e,i,t){var n=i.routeConfig?i.routeConfig.canActivate:null;return n&&0!==n.length?Qe(n.map(function(o){return Um(function(){var l,s=av(o,i,t);if(function(e){return e&&$s(e.canActivate)}(s))l=zo(s.canActivate(i,e));else{if(!$s(s))throw new Error("Invalid CanActivate guard");l=zo(s(i,e))}return l.pipe(Hc())})})).pipe(Gf()):Qe(!0)}(e,a.route,t))}),Hc(function(a){return!0!==a},!0))}(n,s,e,i):Qe(u)}),$e(function(u){return Object.assign(Object.assign({},t),{guardsResult:u})}))})}(a.ngModule.injector,function(d){return a.triggerEvent(d)}),Ar(function(d){if(ql(d.guardsResult)){var y=Ek('Redirecting to "'.concat(a.serializeUrl(d.guardsResult),'"'));throw y.url=d.guardsResult,y}var T=new Z7(d.id,a.serializeUrl(d.extractedUrl),a.serializeUrl(d.urlAfterRedirects),d.targetSnapshot,!!d.guardsResult);a.triggerEvent(T)}),Ir(function(d){return!!d.guardsResult||(a.restoreHistory(d),a.cancelNavigationTransition(d,""),!1)}),jk(function(d){if(d.guards.canActivateChecks.length)return Qe(d).pipe(Ar(function(y){var T=new X7(y.id,a.serializeUrl(y.extractedUrl),a.serializeUrl(y.urlAfterRedirects),y.targetSnapshot);a.triggerEvent(T)}),Xi(function(y){var T=!1;return Qe(y).pipe(function(e,i){return Sn(function(t){var n=t.targetSnapshot,a=t.guards.canActivateChecks;if(!a.length)return Qe(t);var o=0;return ot(a).pipe(Fc(function(s){return function(e,i,t,n){return function(e,i,t,n){var a=Object.keys(e);if(0===a.length)return Qe({});var o={};return ot(a).pipe(Sn(function(s){return function(e,i,t,n){var a=av(e,i,n);return zo(a.resolve?a.resolve(i,t):a(i,t))}(e[s],i,t,n).pipe(Ar(function(l){o[s]=l}))}),Vf(1),Sn(function(){return Object.keys(o).length===a.length?Qe(o):zl}))}(e._resolve,e,i,n).pipe($e(function(o){return e._resolvedData=o,e.data=Object.assign(Object.assign({},e.data),zE(e,t).resolve),null}))}(s.route,n,e,i)}),Ar(function(){return o++}),Vf(1),Sn(function(s){return o===a.length?Qe(t):zl}))})}(a.paramsInheritanceStrategy,a.ngModule.injector),Ar({next:function(){return T=!0},complete:function(){T||(a.restoreHistory(y),a.cancelNavigationTransition(y,"At least one route resolver didn't emit any value."))}}))}),Ar(function(y){var T=new e9(y.id,a.serializeUrl(y.extractedUrl),a.serializeUrl(y.urlAfterRedirects),y.targetSnapshot);a.triggerEvent(T)}))}),jk(function(d){var q=d.extras;return a.hooks.afterPreactivation(d.targetSnapshot,{navigationId:d.id,appliedUrlTree:d.extractedUrl,rawUrlTree:d.rawUrl,skipLocationChange:!!q.skipLocationChange,replaceUrl:!!q.replaceUrl})}),$e(function(d){var y=function(e,i,t){var n=Qm(e,i._root,t?t._root:void 0);return new jE(n,i)}(a.routeReuseStrategy,d.targetSnapshot,d.currentRouterState);return Object.assign(Object.assign({},d),{targetRouterState:y})}),Ar(function(d){a.currentUrlTree=d.urlAfterRedirects,a.rawUrlTree=a.urlHandlingStrategy.merge(a.currentUrlTree,d.rawUrl),a.routerState=d.targetRouterState,"deferred"===a.urlUpdateStrategy&&(d.extras.skipLocationChange||a.setBrowserUrl(a.rawUrlTree,d),a.browserUrlTree=d.urlAfterRedirects)}),function(i,t,n){return $e(function(a){return new Y9(t,a.targetRouterState,a.currentRouterState,n).activate(i),a})}(a.rootContexts,a.routeReuseStrategy,function(d){return a.triggerEvent(d)}),Ar({next:function(){l=!0},complete:function(){l=!0}}),ME(function(){if(!l&&!u){var d="Navigation ID ".concat(s.id," is not equal to the current navigation id ").concat(a.navigationId);"replace"===a.canceledNavigationResolution&&a.restoreHistory(s),a.cancelNavigationTransition(s,d)}a.currentNavigation=null}),ea(function(d){if(u=!0,function(e){return e&&e[EE]}(d)){var y=ql(d.url);y||(a.navigated=!0,a.restoreHistory(s,!0));var T=new wE(s.id,a.serializeUrl(s.extractedUrl),d.message);o.next(T),y?setTimeout(function(){var H=a.urlHandlingStrategy.merge(d.url,a.rawUrlTree),q={skipLocationChange:s.extras.skipLocationChange,replaceUrl:"eager"===a.urlUpdateStrategy||ov(s.source)};a.scheduleNavigation(H,"imperative",null,q,{resolve:s.resolve,reject:s.reject,promise:s.promise})},0):s.resolve(!1)}else{a.restoreHistory(s,!0);var I=new J7(s.id,a.serializeUrl(s.extractedUrl),d);o.next(I);try{s.resolve(a.errorHandler(d))}catch(H){s.reject(H)}}return zl}))}))}},{key:"resetRootComponentType",value:function(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var n=this.transitions.value;return n.urlAfterRedirects=this.browserUrlTree,n}},{key:"setTransition",value:function(n){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),n))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var n=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(a){var o=n.extractLocationChangeInfoFromEvent(a);n.shouldScheduleNavigation(n.lastLocationChangeInfo,o)&&setTimeout(function(){var s=o.source,l=o.state,u=o.urlTree,d={replaceUrl:!0};if(l){var y=Object.assign({},l);delete y.navigationId,delete y.\u0275routerPageId,0!==Object.keys(y).length&&(d.state=y)}n.scheduleNavigation(u,s,l,d)},0),n.lastLocationChangeInfo=o}))}},{key:"extractLocationChangeInfoFromEvent",value:function(n){var a;return{source:"popstate"===n.type?"popstate":"hashchange",urlTree:this.parseUrl(n.url),state:(null===(a=n.state)||void 0===a?void 0:a.navigationId)?n.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(n,a){if(!n)return!0;var o=a.urlTree.toString()===n.urlTree.toString();return!(a.transitionId===n.transitionId&&o&&("hashchange"===a.source&&"popstate"===n.source||"popstate"===a.source&&"hashchange"===n.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(n){this.events.next(n)}},{key:"resetConfig",value:function(n){tL(n),this.config=n.map(Vk),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.relativeTo,s=a.queryParams,l=a.fragment,u=a.queryParamsHandling,d=a.preserveFragment,y=o||this.routerState.root,T=d?this.currentUrlTree.fragment:l,I=null;switch(u){case"merge":I=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":I=this.currentUrlTree.queryParams;break;default:I=s||null}return null!==I&&(I=this.removeEmptyProps(I)),P9(y,this.currentUrlTree,n,I,null!=T?T:null)}},{key:"navigateByUrl",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},o=ql(n)?n:this.parseUrl(n),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,a)}},{key:"navigate",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return FU(n),this.navigateByUrl(this.createUrlTree(n,a),a)}},{key:"serializeUrl",value:function(n){return this.urlSerializer.serialize(n)}},{key:"parseUrl",value:function(n){var a;try{a=this.urlSerializer.parse(n)}catch(o){a=this.malformedUriErrorHandler(o,this.urlSerializer,n)}return a}},{key:"isActive",value:function(n,a){var o;if(o=!0===a?Object.assign({},AU):!1===a?Object.assign({},RU):a,ql(n))return IE(this.currentUrlTree,n,o);var s=this.parseUrl(n);return IE(this.currentUrlTree,s,o)}},{key:"removeEmptyProps",value:function(n){return Object.keys(n).reduce(function(a,o){var s=n[o];return null!=s&&(a[o]=s),a},{})}},{key:"processNavigations",value:function(){var n=this;this.navigations.subscribe(function(a){n.navigated=!0,n.lastSuccessfulId=a.id,n.currentPageId=a.targetPageId,n.events.next(new Vc(a.id,n.serializeUrl(a.extractedUrl),n.serializeUrl(n.currentUrlTree))),n.lastSuccessfulNavigation=n.currentNavigation,a.resolve(!0)},function(a){n.console.warn("Unhandled Navigation Error: ".concat(a))})}},{key:"scheduleNavigation",value:function(n,a,o,s,l){var u,d;if(this.disposed)return Promise.resolve(!1);var X,he,Se,y=this.getTransition(),T=ov(a)&&y&&!ov(y.source),q=(this.lastSuccessfulId===y.id||this.currentNavigation?y.rawUrl:y.urlAfterRedirects).toString()===n.toString();if(T&&q)return Promise.resolve(!0);l?(X=l.resolve,he=l.reject,Se=l.promise):Se=new Promise(function(Xe,st){X=Xe,he=st});var Re,pe=++this.navigationId;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),Re=o&&o.\u0275routerPageId?o.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(u=this.browserPageId)&&void 0!==u?u:0:(null!==(d=this.browserPageId)&&void 0!==d?d:0)+1):Re=0,this.setTransition({id:pe,targetPageId:Re,source:a,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:s,resolve:X,reject:he,promise:Se,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Se.catch(function(Xe){return Promise.reject(Xe)})}},{key:"setBrowserUrl",value:function(n,a){var o=this.urlSerializer.serialize(n),s=Object.assign(Object.assign({},a.extras.state),this.generateNgRouterState(a.id,a.targetPageId));this.location.isCurrentPathEqualTo(o)||a.extras.replaceUrl?this.location.replaceState(o,"",s):this.location.go(o,"",s)}},{key:"restoreHistory",value:function(n){var o,s,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("computed"===this.canceledNavigationResolution){var l=this.currentPageId-n.targetPageId,u="popstate"===n.source||"eager"===this.urlUpdateStrategy||this.currentUrlTree===(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl);u&&0!==l?this.location.historyGo(l):this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===l&&(this.resetState(n),this.browserUrlTree=n.currentUrlTree,this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(a&&this.resetState(n),this.resetUrlToCurrentUrlTree())}},{key:"resetState",value:function(n){this.routerState=n.currentRouterState,this.currentUrlTree=n.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n.rawUrl)}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}},{key:"cancelNavigationTransition",value:function(n,a){var o=new wE(n.id,this.serializeUrl(n.extractedUrl),a);this.triggerEvent(o),n.resolve(!1)}},{key:"generateNgRouterState",value:function(n,a){return"computed"===this.canceledNavigationResolution?{navigationId:n,"\u0275routerPageId":a}:{navigationId:n}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Wu),_e(Lk),_e(jc),_e(Yl),_e(sn),_e(nm),_e(Al),_e(void 0))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function FU(e){for(var i=0;i2&&void 0!==arguments[2]?arguments[2]:{};c(this,i),this.router=t,this.viewportScroller=n,this.options=a,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},a.scrollPositionRestoration=a.scrollPositionRestoration||"disabled",a.anchorScrolling=a.anchorScrolling||"disabled"}return f(i,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var n=this;return this.router.events.subscribe(function(a){a instanceof Dk?(n.store[n.lastId]=n.viewportScroller.getScrollPosition(),n.lastSource=a.navigationTrigger,n.restoredId=a.restoredState?a.restoredState.navigationId:0):a instanceof Vc&&(n.lastId=a.id,n.scheduleScrollEvent(a,n.router.parseUrl(a.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var n=this;return this.router.events.subscribe(function(a){a instanceof DE&&(a.position?"top"===n.options.scrollPositionRestoration?n.viewportScroller.scrollToPosition([0,0]):"enabled"===n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition(a.position):a.anchor&&"enabled"===n.options.anchorScrolling?n.viewportScroller.scrollToAnchor(a.anchor):"disabled"!==n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(n,a){this.router.triggerEvent(new DE(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,a))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Zt),_e(jD),_e(void 0))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),Jl=new Ze("ROUTER_CONFIGURATION"),kL=new Ze("ROUTER_FORROOT_GUARD"),jU=[Yl,{provide:Lk,useClass:NE},{provide:Zt,useFactory:function(e,i,t,n,a,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,d=arguments.length>9?arguments[9]:void 0,y=new Zt(null,e,i,t,n,a,o,PE(s));return u&&(y.urlHandlingStrategy=u),d&&(y.routeReuseStrategy=d),KU(l,y),l.enableTracing&&y.events.subscribe(function(T){var I,H;null===(I=console.group)||void 0===I||I.call(console,"Router Event: ".concat(T.constructor.name)),console.log(T.toString()),console.log(T),null===(H=console.groupEnd)||void 0===H||H.call(console)}),y},deps:[Lk,jc,Yl,sn,nm,Al,Uk,Jl,[function e(){c(this,e)},new ti],[mL,new ti]]},jc,{provide:ai,useFactory:function(e){return e.routerState.root},deps:[Zt]},{provide:nm,useClass:ZH},bL,yL,VU,{provide:Jl,useValue:{enableTracing:!1}}];function UU(){return new ab("Router",Zt)}var CL=function(){var e=function(){function i(t,n){c(this,i)}return f(i,null,[{key:"forRoot",value:function(n,a){return{ngModule:i,providers:[jU,ML(n),{provide:kL,useFactory:GU,deps:[[Zt,new ti,new ss]]},{provide:Jl,useValue:a||{}},{provide:Oc,useFactory:WU,deps:[Nl,[new Ku(Mb),new ti],Jl]},{provide:Wk,useFactory:zU,deps:[Zt,jD,Jl]},{provide:_L,useExisting:a&&a.preloadingStrategy?a.preloadingStrategy:yL},{provide:ab,multi:!0,useFactory:UU},[Gk,{provide:wf,multi:!0,useFactory:$U,deps:[Gk]},{provide:wL,useFactory:QU,deps:[Gk]},{provide:FT,multi:!0,useExisting:wL}]]}}},{key:"forChild",value:function(n){return{ngModule:i,providers:[ML(n)]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(kL,8),_e(Zt,8))},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}();function zU(e,i,t){return t.scrollOffset&&i.setOffset(t.scrollOffset),new Wk(e,i,t)}function WU(e,i){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.useHash?new mB(e,i):new kD(e,i)}function GU(e){return"guarded"}function ML(e){return[{provide:JI,multi:!0,useValue:e},{provide:Uk,multi:!0,useValue:e}]}function KU(e,i){e.errorHandler&&(i.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(i.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(i.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(i.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(i.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(i.urlUpdateStrategy=e.urlUpdateStrategy)}var Gk=function(){var e=function(){function i(t){c(this,i),this.injector=t,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new Ie}return f(i,[{key:"appInitializer",value:function(){var n=this;return this.injector.get(fB,Promise.resolve(null)).then(function(){if(n.destroyed)return Promise.resolve(!0);var o=null,s=new Promise(function(d){return o=d}),l=n.injector.get(Zt),u=n.injector.get(Jl);return"disabled"===u.initialNavigation?(l.setUpLocationChangeListener(),o(!0)):"enabled"===u.initialNavigation||"enabledBlocking"===u.initialNavigation?(l.hooks.afterPreactivation=function(){return n.initNavigation?Qe(null):(n.initNavigation=!0,o(!0),n.resultOfPreactivationDone)},l.initialNavigation()):o(!0),s})}},{key:"bootstrapListener",value:function(n){var a=this.injector.get(Jl),o=this.injector.get(bL),s=this.injector.get(Wk),l=this.injector.get(Zt),u=this.injector.get(Us);n===u.components[0]&&(("enabledNonBlocking"===a.initialNavigation||void 0===a.initialNavigation)&&l.initialNavigation(),o.setUpPreloading(),s.init(),l.resetRootComponentType(u.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"ngOnDestroy",value:function(){this.destroyed=!0}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(sn))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}();function $U(e){return e.appInitializer.bind(e)}function QU(e){return e.bootstrapListener.bind(e)}var wL=new Ze("Router Initializer"),lv=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n,a)).scheduler=n,o.work=a,o.pending=!1,o}return f(t,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=a;var s=this.id,l=this.scheduler;return null!=s&&(this.id=this.recycleAsyncId(l,s,o)),this.pending=!0,this.delay=o,this.id=this.id||this.requestAsyncId(l,this.id,o),this}},{key:"requestAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(a.flush.bind(a,this),s)}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&this.delay===s&&!1===this.pending)return o;clearInterval(o)}},{key:"execute",value:function(a,o){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var s=this._execute(a,o);if(s)return s;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(a,o){var s=!1,l=void 0;try{this.work(a)}catch(u){s=!0,l=!!u&&u||new Error(u)}if(s)return this.unsubscribe(),l}},{key:"_unsubscribe",value:function(){var a=this.id,o=this.scheduler,s=o.actions,l=s.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==l&&s.splice(l,1),null!=a&&(this.id=this.recycleAsyncId(o,a,null)),this.delay=null}}]),t}(function(e){h(t,e);var i=C(t);function t(n,a){return c(this,t),i.call(this)}return f(t,[{key:"schedule",value:function(a){return this}}]),t}(He)),ez=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n,a)).scheduler=n,o.work=a,o}return f(t,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return o>0?D(x(t.prototype),"schedule",this).call(this,a,o):(this.delay=o,this.state=a,this.scheduler.flush(this),this)}},{key:"execute",value:function(a,o){return o>0||this.closed?D(x(t.prototype),"execute",this).call(this,a,o):this._execute(a,o)}},{key:"requestAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0||null===s&&this.delay>0?D(x(t.prototype),"requestAsyncId",this).call(this,a,o,s):a.flush(this)}}]),t}(lv),SL=function(){var e=function(){function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.now;c(this,i),this.SchedulerAction=t,this.now=n}return f(i,[{key:"schedule",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,n).schedule(o,a)}}]),i}();return e.now=function(){return Date.now()},e}(),uv=function(e){h(t,e);var i=C(t);function t(n){var a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:SL.now;return c(this,t),(a=i.call(this,n,function(){return t.delegate&&t.delegate!==O(a)?t.delegate.now():o()})).actions=[],a.active=!1,a.scheduled=void 0,a}return f(t,[{key:"schedule",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2?arguments[2]:void 0;return t.delegate&&t.delegate!==this?t.delegate.schedule(a,o,s):D(x(t.prototype),"schedule",this).call(this,a,o,s)}},{key:"flush",value:function(a){var o=this.actions;if(this.active)o.push(a);else{var s;this.active=!0;do{if(s=a.execute(a.state,a.delay))break}while(a=o.shift());if(this.active=!1,s){for(;a=o.shift();)a.unsubscribe();throw s}}}}]),t}(SL),nz=new(function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return t}(uv))(ez);function Na(e,i){return new me(i?function(t){return i.schedule(rz,0,{error:e,subscriber:t})}:function(t){return t.error(e)})}function rz(e){e.subscriber.error(e.error)}var $f=function(){var e=function(){function i(t,n,a){c(this,i),this.kind=t,this.value=n,this.error=a,this.hasValue="N"===t}return f(i,[{key:"observe",value:function(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}}},{key:"do",value:function(n,a,o){switch(this.kind){case"N":return n&&n(this.value);case"E":return a&&a(this.error);case"C":return o&&o()}}},{key:"accept",value:function(n,a,o){return n&&"function"==typeof n.next?this.observe(n):this.do(n,a,o)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Qe(this.value);case"E":return Na(this.error);case"C":return jm()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(n){return void 0!==n?new i("N",n):i.undefinedValueNotification}},{key:"createError",value:function(n){return new i("E",void 0,n)}},{key:"createComplete",value:function(){return i.completeNotification}}]),i}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}(),az=function(e){h(t,e);var i=C(t);function t(n,a){var o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return c(this,t),(o=i.call(this,n)).scheduler=a,o.delay=s,o}return f(t,[{key:"scheduleMessage",value:function(a){this.destination.add(this.scheduler.schedule(t.dispatch,this.delay,new oz(a,this.destination)))}},{key:"_next",value:function(a){this.scheduleMessage($f.createNext(a))}},{key:"_error",value:function(a){this.scheduleMessage($f.createError(a)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage($f.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(a){a.notification.observe(a.destination),this.unsubscribe()}}]),t}(St),oz=function e(i,t){c(this,e),this.notification=i,this.destination=t},Ya=function(e){h(t,e);var i=C(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,s=arguments.length>2?arguments[2]:void 0;return c(this,t),(n=i.call(this)).scheduler=s,n._events=[],n._infiniteTimeWindow=!1,n._bufferSize=a<1?1:a,n._windowTime=o<1?1:o,o===Number.POSITIVE_INFINITY?(n._infiniteTimeWindow=!0,n.next=n.nextInfiniteTimeWindow):n.next=n.nextTimeWindow,n}return f(t,[{key:"nextInfiniteTimeWindow",value:function(a){var o=this._events;o.push(a),o.length>this._bufferSize&&o.shift(),D(x(t.prototype),"next",this).call(this,a)}},{key:"nextTimeWindow",value:function(a){this._events.push(new sz(this._getNow(),a)),this._trimBufferThenGetEvents(),D(x(t.prototype),"next",this).call(this,a)}},{key:"_subscribe",value:function(a){var d,o=this._infiniteTimeWindow,s=o?this._events:this._trimBufferThenGetEvents(),l=this.scheduler,u=s.length;if(this.closed)throw new De;if(this.isStopped||this.hasError?d=He.EMPTY:(this.observers.push(a),d=new Le(this,a)),l&&a.add(a=new az(a,l)),o)for(var y=0;yo&&(d=Math.max(d,u-o)),d>0&&l.splice(0,d),l}}]),t}(Ie),sz=function e(i,t){c(this,e),this.time=i,this.value=t},TL="refreshSeconds",DL="labelsData",EL="localNodesData",LL="nodesData",ta=function(e){return e.Node="nd",e.Transport="tp",e.DmsgServer="ds",e}({}),Vi=function(){function e(){var i=this;this.currentRefreshTimeSubject=new Ya(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set,this.storage=localStorage,this.currentRefreshTime=parseInt(this.storage.getItem(TL),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach(function(a){i.savedLocalNodes.set(a.publicKey,a),a.hidden||i.savedVisibleLocalNodes.add(a.publicKey)}),this.getSavedLabels().forEach(function(a){return i.savedLabels.set(a.id,a)}),this.loadLegacyNodeData();var t=[];this.savedLocalNodes.forEach(function(a){return t.push(a)});var n=[];this.savedLabels.forEach(function(a){return n.push(a)}),this.saveLocalNodes(t),this.saveLabels(n)}return e.prototype.loadLegacyNodeData=function(){var i=this,t=JSON.parse(this.storage.getItem(LL))||[];if(t.length>0){var n=this.getSavedLocalNodes(),a=this.getSavedLabels();t.forEach(function(o){n.push({publicKey:o.publicKey,hidden:o.deleted,ip:null}),i.savedLocalNodes.set(o.publicKey,n[n.length-1]),o.deleted||i.savedVisibleLocalNodes.add(o.publicKey),a.push({id:o.publicKey,identifiedElementType:ta.Node,label:o.label}),i.savedLabels.set(o.publicKey,a[a.length-1])}),this.saveLocalNodes(n),this.saveLabels(a),this.storage.removeItem(LL)}},e.prototype.setRefreshTime=function(i){this.storage.setItem(TL,i.toString()),this.currentRefreshTime=i,this.currentRefreshTimeSubject.next(this.currentRefreshTime)},e.prototype.getRefreshTimeObservable=function(){return this.currentRefreshTimeSubject.asObservable()},e.prototype.getRefreshTime=function(){return this.currentRefreshTime},e.prototype.includeVisibleLocalNodes=function(i,t){this.changeLocalNodesHiddenProperty(i,t,!1)},e.prototype.setLocalNodesAsHidden=function(i,t){this.changeLocalNodesHiddenProperty(i,t,!0)},e.prototype.changeLocalNodesHiddenProperty=function(i,t,n){var a=this;if(i.length!==t.length)throw new Error("Invalid params");var o=new Map,s=new Map;i.forEach(function(d,y){o.set(d,t[y]),s.set(d,t[y])});var l=!1,u=this.getSavedLocalNodes();u.forEach(function(d){o.has(d.publicKey)&&(s.has(d.publicKey)&&s.delete(d.publicKey),d.ip!==o.get(d.publicKey)&&(d.ip=o.get(d.publicKey),l=!0,a.savedLocalNodes.set(d.publicKey,d)),d.hidden!==n&&(d.hidden=n,l=!0,a.savedLocalNodes.set(d.publicKey,d),n?a.savedVisibleLocalNodes.delete(d.publicKey):a.savedVisibleLocalNodes.add(d.publicKey)))}),s.forEach(function(d,y){l=!0;var T={publicKey:y,hidden:n,ip:d};u.push(T),a.savedLocalNodes.set(y,T),n?a.savedVisibleLocalNodes.delete(y):a.savedVisibleLocalNodes.add(y)}),l&&this.saveLocalNodes(u)},e.prototype.getSavedLocalNodes=function(){return JSON.parse(this.storage.getItem(EL))||[]},e.prototype.getSavedVisibleLocalNodes=function(){return this.savedVisibleLocalNodes},e.prototype.saveLocalNodes=function(i){this.storage.setItem(EL,JSON.stringify(i))},e.prototype.getSavedLabels=function(){return JSON.parse(this.storage.getItem(DL))||[]},e.prototype.saveLabels=function(i){this.storage.setItem(DL,JSON.stringify(i))},e.prototype.saveLabel=function(i,t,n){var a=this;if(t){var l=!1,s=this.getSavedLabels().map(function(y){return y.id===i&&y.identifiedElementType===n&&(l=!0,y.label=t,a.savedLabels.set(y.id,{label:y.label,id:y.id,identifiedElementType:y.identifiedElementType})),y});if(l)this.saveLabels(s);else{var u={label:t,id:i,identifiedElementType:n};s.push(u),this.savedLabels.set(i,u),this.saveLabels(s)}}else{this.savedLabels.has(i)&&this.savedLabels.delete(i);var o=!1;s=this.getSavedLabels().filter(function(d){return d.id!==i||(o=!0,!1)}),o&&this.saveLabels(s)}},e.prototype.getDefaultLabel=function(i){return i?i.ip?i.ip:i.localPk.substr(0,8):""},e.prototype.getLabelInfo=function(i){return this.savedLabels.has(i)?this.savedLabels.get(i):null},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}();function kn(e){return null!=e&&"false"!=="".concat(e)}function yi(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return lz(e)?Number(e):i}function lz(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function cv(e){return Array.isArray(e)?e:[e]}function Rr(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function bs(e){return e instanceof pt?e.nativeElement:e}function ks(e,i,t,n){return Be(t)&&(n=t,t=void 0),n?ks(e,i,t).pipe($e(function(a){return Pe(a)?n.apply(void 0,se(a)):n(a)})):new me(function(a){PL(e,i,function(s){a.next(arguments.length>1?Array.prototype.slice.call(arguments):s)},a,t)})}function PL(e,i,t,n,a){var o;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var s=e;e.addEventListener(i,t,a),o=function(){return s.removeEventListener(i,t,a)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var l=e;e.on(i,t),o=function(){return l.off(i,t)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var u=e;e.addListener(i,t),o=function(){return u.removeListener(i,t)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var d=0,y=e.length;d2&&void 0!==arguments[2]?arguments[2]:0;return null!==s&&s>0?D(x(t.prototype),"requestAsyncId",this).call(this,a,o,s):(a.actions.push(this),a.scheduled||(a.scheduled=OL_setImmediate(a.flush.bind(a,null))))}},{key:"recycleAsyncId",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==s&&s>0||null===s&&this.delay>0)return D(x(t.prototype),"recycleAsyncId",this).call(this,a,o,s);0===a.actions.length&&(OL_clearImmediate(o),a.scheduled=void 0)}}]),t}(lv),Kk=new(function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"flush",value:function(a){this.active=!0,this.scheduled=void 0;var s,o=this.actions,l=-1,u=o.length;a=a||o.shift();do{if(s=a.execute(a.state,a.delay))break}while(++l=0}function fv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=-1;return Jk(i)?n=Number(i)<1?1:Number(i):ft(i)&&(t=i),ft(t)||(t=zc),new me(function(a){var o=Jk(e)?e:+e-t.now();return t.schedule(wz,o,{index:0,period:n,subscriber:a})})}function wz(e){var i=e.index,t=e.period,n=e.subscriber;if(n.next(i),!n.closed){if(-1===t)return n.complete();e.index=i+1,this.schedule(e,t)}}function hv(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zc;return kz(function(){return fv(e,i)})}function rn(e){return function(i){return i.lift(new Sz(e))}}var $k,Sz=function(){function e(i){c(this,e),this.notifier=i}return f(e,[{key:"call",value:function(t,n){var a=new Tz(t),o=An(a,this.notifier);return o&&!a.seenValue?(a.add(o),n.subscribe(a)):a}}]),e}(),Tz=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this,n)).seenValue=!1,a}return f(t,[{key:"notifyNext",value:function(a,o,s,l,u){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),t}(_n);try{$k="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(e){$k=!1}var Wc,Zf,Ql,Qk,Qt=function(){var e=function i(t){c(this,i),this._platformId=t,this.isBrowser=this._platformId?function(e){return"browser"===e}(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!$k)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};return e.\u0275fac=function(t){return new(t||e)(_e(Ec))},e.\u0275prov=We({factory:function(){return new e(_e(Ec))},token:e,providedIn:"root"}),e}(),Qf=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),IL=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function AL(){if(Wc)return Wc;if("object"!=typeof document||!document)return Wc=new Set(IL);var e=document.createElement("input");return Wc=new Set(IL.filter(function(i){return e.setAttribute("type",i),e.type===i}))}function $l(e){return function(){if(null==Zf&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Zf=!0}}))}finally{Zf=Zf||!1}return Zf}()?e:!!e.capture}function RL(){if(null==Ql){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return Ql=!1;if("scrollBehavior"in document.documentElement.style)Ql=!0;else{var e=Element.prototype.scrollTo;Ql=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return Ql}function FL(e){if(function(){if(null==Qk){var e="undefined"!=typeof document?document.head:null;Qk=!(!e||!e.createShadowRoot&&!e.attachShadow)}return Qk}()){var i=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&i instanceof ShadowRoot)return i}return null}function mv(){for(var e="undefined"!=typeof document&&document?document.activeElement:null;e&&e.shadowRoot;){var i=e.shadowRoot.activeElement;if(i===e)break;e=i}return e}function Gc(e){return e.composedPath?e.composedPath()[0]:e.target}var NL=new Ze("cdk-dir-doc",{providedIn:"root",factory:function(){return vp(dt)}}),jr=function(){var e=function(){function i(t){if(c(this,i),this.value="ltr",this.change=new mt,t){var o=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===o||"rtl"===o?o:"ltr"}}return f(i,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(NL,8))},e.\u0275prov=We({factory:function(){return new e(_e(NL,8))},token:e,providedIn:"root"}),e}(),eh=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),Hz=function(){function e(){var i=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=arguments.length>1?arguments[1]:void 0,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];c(this,e),this._multiple=t,this._emitChanges=a,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new Ie,n&&n.length&&(t?n.forEach(function(o){return i._markSelected(o)}):this._markSelected(n[0]),this._selectedToEmit.length=0)}return f(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var t=this,n=arguments.length,a=new Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new me(function(o){n._globalSubscription||n._addGlobalListener();var s=a>0?n._scrolled.pipe(hv(a)).subscribe(o):n._scrolled.subscribe(o);return n._scrolledCount++,function(){s.unsubscribe(),n._scrolledCount--,n._scrolledCount||n._removeGlobalListener()}}):Qe()}},{key:"ngOnDestroy",value:function(){var n=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(a,o){return n.deregister(o)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(n,a){var o=this.getAncestorScrollContainers(n);return this.scrolled(a).pipe(Ir(function(s){return!s||o.indexOf(s)>-1}))}},{key:"getAncestorScrollContainers",value:function(n){var a=this,o=[];return this.scrollContainers.forEach(function(s,l){a._scrollableContainsElement(l,n)&&o.push(l)}),o}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(n,a){var o=bs(a),s=n.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var n=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){return ks(n._getWindow().document,"scroll").subscribe(function(){return n._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(vt),_e(Qt),_e(dt,8))},e.\u0275prov=We({factory:function(){return new e(_e(vt),_e(Qt),_e(dt,8))},token:e,providedIn:"root"}),e}(),fo=function(){var e=function(){function i(t,n,a){var o=this;c(this,i),this._platform=t,this._change=new Ie,this._changeListener=function(s){o._change.next(s)},this._document=a,n.runOutsideAngular(function(){if(t.isBrowser){var s=o._getWindow();s.addEventListener("resize",o._changeListener),s.addEventListener("orientationchange",o._changeListener)}o.change().subscribe(function(){return o._viewportSize=null})})}return f(i,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var n=this._getWindow();n.removeEventListener("resize",this._changeListener),n.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n}},{key:"getViewportRect",value:function(){var n=this.getViewportScrollPosition(),a=this.getViewportSize(),o=a.width,s=a.height;return{top:n.top,left:n.left,bottom:n.top+s,right:n.left+o,height:s,width:o}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var n=this._document,a=this._getWindow(),o=n.documentElement,s=o.getBoundingClientRect();return{top:-s.top||n.body.scrollTop||a.scrollY||o.scrollTop||0,left:-s.left||n.body.scrollLeft||a.scrollX||o.scrollLeft||0}}},{key:"change",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return n>0?this._change.pipe(hv(n)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var n=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:n.innerWidth,height:n.innerHeight}:{width:0,height:0}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Qt),_e(vt),_e(dt,8))},e.\u0275prov=We({factory:function(){return new e(_e(Qt),_e(vt),_e(dt,8))},token:e,providedIn:"root"}),e}(),th=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),jL=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[eh,Qf,th],eh,th]}),e}(),Zk=function(){function e(){c(this,e)}return f(e,[{key:"attach",value:function(t){return this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null!=t&&(this._attachedHost=null,t.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}}]),e}(),Kc=function(e){h(t,e);var i=C(t);function t(n,a,o,s){var l;return c(this,t),(l=i.call(this)).component=n,l.viewContainerRef=a,l.injector=o,l.componentFactoryResolver=s,l}return t}(Zk),Qs=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this)).templateRef=n,s.viewContainerRef=a,s.context=o,s}return f(t,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=o,D(x(t.prototype),"attach",this).call(this,a)}},{key:"detach",value:function(){return this.context=void 0,D(x(t.prototype),"detach",this).call(this)}}]),t}(Zk),Jz=function(e){h(t,e);var i=C(t);function t(n){var a;return c(this,t),(a=i.call(this)).element=n instanceof pt?n.nativeElement:n,a}return t}(Zk),vv=function(){function e(){c(this,e),this._isDisposed=!1,this.attachDomPortal=null}return f(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t instanceof Kc?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Qs?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Jz?(this._attachedPortal=t,this.attachDomPortal(t)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),UL=function(e){h(t,e);var i=C(t);function t(n,a,o,s,l){var u,d;return c(this,t),(d=i.call(this)).outletElement=n,d._componentFactoryResolver=a,d._appRef=o,d._defaultInjector=s,d.attachDomPortal=function(y){var T=y.element,I=d._document.createComment("dom-portal");T.parentNode.insertBefore(I,T),d.outletElement.appendChild(T),d._attachedPortal=y,D((u=O(d),x(t.prototype)),"setDisposeFn",u).call(u,function(){I.parentNode&&I.parentNode.replaceChild(T,I)})},d._document=l,d}return f(t,[{key:"attachComponentPortal",value:function(a){var u,o=this,l=(a.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(a.component);return a.viewContainerRef?(u=a.viewContainerRef.createComponent(l,a.viewContainerRef.length,a.injector||a.viewContainerRef.injector),this.setDisposeFn(function(){return u.destroy()})):(u=l.create(a.injector||this._defaultInjector),this._appRef.attachView(u.hostView),this.setDisposeFn(function(){o._appRef.detachView(u.hostView),u.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(u)),this._attachedPortal=a,u}},{key:"attachTemplatePortal",value:function(a){var o=this,s=a.viewContainerRef,l=s.createEmbeddedView(a.templateRef,a.context);return l.rootNodes.forEach(function(u){return o.outletElement.appendChild(u)}),l.detectChanges(),this.setDisposeFn(function(){var u=s.indexOf(l);-1!==u&&s.remove(u)}),this._attachedPortal=a,l}},{key:"dispose",value:function(){D(x(t.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(a){return a.hostView.rootNodes[0]}}]),t}(vv),Cs=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){var l,u;return c(this,n),(u=t.call(this))._componentFactoryResolver=a,u._viewContainerRef=o,u._isInitialized=!1,u.attached=new mt,u.attachDomPortal=function(d){var y=d.element,T=u._document.createComment("dom-portal");d.setAttachedHost(O(u)),y.parentNode.insertBefore(T,y),u._getRootNode().appendChild(y),u._attachedPortal=d,D((l=O(u),x(n.prototype)),"setDisposeFn",l).call(l,function(){T.parentNode&&T.parentNode.replaceChild(y,T)})},u._document=s,u}return f(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(o){this.hasAttached()&&!o&&!this._isInitialized||(this.hasAttached()&&D(x(n.prototype),"detach",this).call(this),o&&D(x(n.prototype),"attach",this).call(this,o),this._attachedPortal=o)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){D(x(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(o){o.setAttachedHost(this);var s=null!=o.viewContainerRef?o.viewContainerRef:this._viewContainerRef,u=(o.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(o.component),d=s.createComponent(u,s.length,o.injector||s.injector);return s!==this._viewContainerRef&&this._getRootNode().appendChild(d.hostView.rootNodes[0]),D(x(n.prototype),"setDisposeFn",this).call(this,function(){return d.destroy()}),this._attachedPortal=o,this._attachedRef=d,this.attached.emit(d),d}},{key:"attachTemplatePortal",value:function(o){var s=this;o.setAttachedHost(this);var l=this._viewContainerRef.createEmbeddedView(o.templateRef,o.context);return D(x(n.prototype),"setDisposeFn",this).call(this,function(){return s._viewContainerRef.clear()}),this._attachedPortal=o,this._attachedRef=l,this.attached.emit(l),l}},{key:"_getRootNode",value:function(){var o=this._viewContainerRef.element.nativeElement;return o.nodeType===o.ELEMENT_NODE?o:o.parentNode}}]),n}(vv);return e.\u0275fac=function(t){return new(t||e)(N(Yo),N(kr),N(dt))},e.\u0275dir=Ve({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[ht]}),e}(),gv=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),Qz=function(){function e(i,t){c(this,e),this.predicate=i,this.inclusive=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new Zz(t,this.predicate,this.inclusive))}}]),e}(),Zz=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).predicate=a,s.inclusive=o,s.index=0,s}return f(t,[{key:"_next",value:function(a){var s,o=this.destination;try{s=this.predicate(a,this.index++)}catch(l){return void o.error(l)}this.nextOrComplete(a,s)}},{key:"nextOrComplete",value:function(a,o){var s=this.destination;Boolean(o)?s.next(a):(this.inclusive&&s.next(a),s.complete())}}]),t}(St);function Ms(e){for(var i=arguments.length,t=new Array(i>1?i-1:0),n=1;na.height||n.scrollWidth>a.width}}]),e}(),dW=function(){function e(i,t,n,a){var o=this;c(this,e),this._scrollDispatcher=i,this._ngZone=t,this._viewportRuler=n,this._config=a,this._scrollSubscription=null,this._detach=function(){o.disable(),o._overlayRef.hasAttached()&&o._ngZone.run(function(){return o._overlayRef.detach()})}}return f(e,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(function(){var a=t._viewportRuler.getViewportScrollPosition().top;Math.abs(a-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),GL=function(){function e(){c(this,e)}return f(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function e1(e,i){return i.some(function(t){return e.bottomt.bottom||e.rightt.right})}function qL(e,i){return i.some(function(t){return e.topt.bottom||e.leftt.right})}var fW=function(){function e(i,t,n,a){c(this,e),this._scrollDispatcher=i,this._viewportRuler=t,this._ngZone=n,this._config=a,this._scrollSubscription=null}return f(e,[{key:"attach",value:function(t){this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var a=t._overlayRef.overlayElement.getBoundingClientRect(),o=t._viewportRuler.getViewportSize(),s=o.width,l=o.height;e1(a,[{width:s,height:l,bottom:l,right:s,top:0,left:0}])&&(t.disable(),t._ngZone.run(function(){return t._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),hW=function(){var e=function i(t,n,a,o){var s=this;c(this,i),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=a,this.noop=function(){return new GL},this.close=function(l){return new dW(s._scrollDispatcher,s._ngZone,s._viewportRuler,l)},this.block=function(){return new cW(s._viewportRuler,s._document)},this.reposition=function(l){return new fW(s._scrollDispatcher,s._viewportRuler,s._ngZone,l)},this._document=o};return e.\u0275fac=function(t){return new(t||e)(_e(qc),_e(fo),_e(vt),_e(dt))},e.\u0275prov=We({factory:function(){return new e(_e(qc),_e(fo),_e(vt),_e(dt))},token:e,providedIn:"root"}),e}(),ih=function e(i){if(c(this,e),this.scrollStrategy=new GL,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,i)for(var n=0,a=Object.keys(i);n-1&&this._attachedOverlays.splice(a,1),0===this._attachedOverlays.length&&this.detach()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(dt))},e.\u0275prov=We({factory:function(){return new e(_e(dt))},token:e,providedIn:"root"}),e}(),vW=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o;return c(this,n),(o=t.call(this,a))._keydownListener=function(s){for(var l=o._attachedOverlays,u=l.length-1;u>-1;u--)if(l[u]._keydownEvents.observers.length>0){l[u]._keydownEvents.next(s);break}},o}return f(n,[{key:"add",value:function(o){D(x(n.prototype),"add",this).call(this,o),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(KL);return e.\u0275fac=function(t){return new(t||e)(_e(dt))},e.\u0275prov=We({factory:function(){return new e(_e(dt))},token:e,providedIn:"root"}),e}(),gW=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this,a))._platform=o,s._cursorStyleIsSet=!1,s._clickListener=function(l){for(var u=Gc(l),d=s._attachedOverlays.slice(),y=d.length-1;y>-1;y--){var T=d[y];if(!(T._outsidePointerEvents.observers.length<1)&&T.hasAttached()){if(T.overlayElement.contains(u))break;T._outsidePointerEvents.next(l)}}},s}return f(n,[{key:"add",value:function(o){if(D(x(n.prototype),"add",this).call(this,o),!this._isAttached){var s=this._document.body;s.addEventListener("click",this._clickListener,!0),s.addEventListener("auxclick",this._clickListener,!0),s.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=s.style.cursor,s.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var o=this._document.body;o.removeEventListener("click",this._clickListener,!0),o.removeEventListener("auxclick",this._clickListener,!0),o.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(o.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),n}(KL);return e.\u0275fac=function(t){return new(t||e)(_e(dt),_e(Qt))},e.\u0275prov=We({factory:function(){return new e(_e(dt),_e(Qt))},token:e,providedIn:"root"}),e}(),Zs="undefined"!=typeof window?window:{},JL=void 0!==Zs.__karma__&&!!Zs.__karma__||void 0!==Zs.jasmine&&!!Zs.jasmine||void 0!==Zs.jest&&!!Zs.jest||void 0!==Zs.Mocha&&!!Zs.Mocha,ah=function(){var e=function(){function i(t,n){c(this,i),this._platform=n,this._document=t}return f(i,[{key:"ngOnDestroy",value:function(){var n=this._containerElement;n&&n.parentNode&&n.parentNode.removeChild(n)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var n="cdk-overlay-container";if(this._platform.isBrowser||JL)for(var a=this._document.querySelectorAll(".".concat(n,'[platform="server"], ')+".".concat(n,'[platform="test"]')),o=0;oq&&(q=pe,H=Se)}}catch(Re){X.e(Re)}finally{X.f()}return this._isPushed=!1,void this._applyPosition(H.position,H.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(s.position,s.originPoint);this._applyPosition(s.position,s.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&Zl(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove($L),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],n=this._getOriginPoint(this._originRect,t);this._applyPosition(t,n)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,n){var a;if("center"==n.originX)a=t.left+t.width/2;else{var o=this._isRtl()?t.right:t.left,s=this._isRtl()?t.left:t.right;a="start"==n.originX?o:s}return{x:a,y:"center"==n.originY?t.top+t.height/2:"top"==n.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,n,a){var o;return o="center"==a.overlayX?-n.width/2:"start"===a.overlayX?this._isRtl()?-n.width:0:this._isRtl()?0:-n.width,{x:t.x+o,y:t.y+("center"==a.overlayY?-n.height/2:"top"==a.overlayY?0:-n.height)}}},{key:"_getOverlayFit",value:function(t,n,a,o){var s=XL(n),l=t.x,u=t.y,d=this._getOffset(o,"x"),y=this._getOffset(o,"y");d&&(l+=d),y&&(u+=y);var H=0-u,q=u+s.height-a.height,X=this._subtractOverflows(s.width,0-l,l+s.width-a.width),he=this._subtractOverflows(s.height,H,q),Se=X*he;return{visibleArea:Se,isCompletelyWithinViewport:s.width*s.height===Se,fitsInViewportVertically:he===s.height,fitsInViewportHorizontally:X==s.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,n,a){if(this._hasFlexibleDimensions){var o=a.bottom-n.y,s=a.right-n.x,l=ZL(this._overlayRef.getConfig().minHeight),u=ZL(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=l&&l<=o)&&(t.fitsInViewportHorizontally||null!=u&&u<=s)}return!1}},{key:"_pushOverlayOnScreen",value:function(t,n,a){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var T,I,o=XL(n),s=this._viewportRect,l=Math.max(t.x+o.width-s.width,0),u=Math.max(t.y+o.height-s.height,0),d=Math.max(s.top-a.top-t.y,0),y=Math.max(s.left-a.left-t.x,0);return this._previousPushAmount={x:T=o.width<=s.width?y||-l:t.xy&&!this._isInitialRender&&!this._growAfterOpen&&(l=t.y-y/2)}if("end"===n.overlayX&&!o||"start"===n.overlayX&&o)X=a.width-t.x+this._viewportMargin,H=t.x-this._viewportMargin;else if("start"===n.overlayX&&!o||"end"===n.overlayX&&o)q=t.x,H=a.right-t.x;else{var he=Math.min(a.right-t.x+a.left,t.x),Se=this._lastBoundingBoxSize.width;q=t.x-he,(H=2*he)>Se&&!this._isInitialRender&&!this._growAfterOpen&&(q=t.x-Se/2)}return{top:l,left:q,bottom:u,right:X,width:H,height:s}}},{key:"_setBoundingBoxStyles",value:function(t,n){var a=this._calculateBoundingBoxRect(t,n);!this._isInitialRender&&!this._growAfterOpen&&(a.height=Math.min(a.height,this._lastBoundingBoxSize.height),a.width=Math.min(a.width,this._lastBoundingBoxSize.width));var o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{var s=this._overlayRef.getConfig().maxHeight,l=this._overlayRef.getConfig().maxWidth;o.height=Rr(a.height),o.top=Rr(a.top),o.bottom=Rr(a.bottom),o.width=Rr(a.width),o.left=Rr(a.left),o.right=Rr(a.right),o.alignItems="center"===n.overlayX?"center":"end"===n.overlayX?"flex-end":"flex-start",o.justifyContent="center"===n.overlayY?"center":"bottom"===n.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=Rr(s)),l&&(o.maxWidth=Rr(l))}this._lastBoundingBoxSize=a,Zl(this._boundingBox.style,o)}},{key:"_resetBoundingBoxStyles",value:function(){Zl(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){Zl(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,n){var a={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,l=this._overlayRef.getConfig();if(o){var u=this._viewportRuler.getViewportScrollPosition();Zl(a,this._getExactOverlayY(n,t,u)),Zl(a,this._getExactOverlayX(n,t,u))}else a.position="static";var d="",y=this._getOffset(n,"x"),T=this._getOffset(n,"y");y&&(d+="translateX(".concat(y,"px) ")),T&&(d+="translateY(".concat(T,"px)")),a.transform=d.trim(),l.maxHeight&&(o?a.maxHeight=Rr(l.maxHeight):s&&(a.maxHeight="")),l.maxWidth&&(o?a.maxWidth=Rr(l.maxWidth):s&&(a.maxWidth="")),Zl(this._pane.style,a)}},{key:"_getExactOverlayY",value:function(t,n,a){var o={top:"",bottom:""},s=this._getOverlayPoint(n,this._overlayRect,t);this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,a));var l=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return s.y-=l,"bottom"===t.overlayY?o.bottom="".concat(this._document.documentElement.clientHeight-(s.y+this._overlayRect.height),"px"):o.top=Rr(s.y),o}},{key:"_getExactOverlayX",value:function(t,n,a){var o={left:"",right:""},s=this._getOverlayPoint(n,this._overlayRect,t);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,a)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?o.right="".concat(this._document.documentElement.clientWidth-(s.x+this._overlayRect.width),"px"):o.left=Rr(s.x),o}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),n=this._pane.getBoundingClientRect(),a=this._scrollables.map(function(o){return o.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:qL(t,a),isOriginOutsideView:e1(t,a),isOverlayClipped:qL(n,a),isOverlayOutsideView:e1(n,a)}}},{key:"_subtractOverflows",value:function(t){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement.style,a=this._overlayRef.getConfig(),o=a.width,s=a.height,l=a.maxWidth,u=a.maxHeight,d=!("100%"!==o&&"100vw"!==o||l&&"100%"!==l&&"100vw"!==l),y=!("100%"!==s&&"100vh"!==s||u&&"100%"!==u&&"100vh"!==u);t.position=this._cssPosition,t.marginLeft=d?"0":this._leftOffset,t.marginTop=y?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,d?n.justifyContent="flex-start":"center"===this._justifyContent?n.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?n.justifyContent="flex-end":"flex-end"===this._justifyContent&&(n.justifyContent="flex-start"):n.justifyContent=this._justifyContent,n.alignItems=y?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,n=this._overlayRef.hostElement,a=n.style;n.classList.remove(eP),a.justifyContent=a.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),CW=function(){var e=function(){function i(t,n,a,o){c(this,i),this._viewportRuler=t,this._document=n,this._platform=a,this._overlayContainer=o}return f(i,[{key:"global",value:function(){return new kW}},{key:"connectedTo",value:function(n,a,o){return new bW(a,o,n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(n){return new QL(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(fo),_e(dt),_e(Qt),_e(ah))},e.\u0275prov=We({factory:function(){return new e(_e(fo),_e(dt),_e(Qt),_e(ah))},token:e,providedIn:"root"}),e}(),MW=0,na=function(){var e=function(){function i(t,n,a,o,s,l,u,d,y,T,I){c(this,i),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=a,this._positionBuilder=o,this._keyboardDispatcher=s,this._injector=l,this._ngZone=u,this._document=d,this._directionality=y,this._location=T,this._outsideClickDispatcher=I}return f(i,[{key:"create",value:function(n){var a=this._createHostElement(),o=this._createPaneElement(a),s=this._createPortalOutlet(o),l=new ih(n);return l.direction=l.direction||this._directionality.value,new _W(s,a,o,l,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(n){var a=this._document.createElement("div");return a.id="cdk-overlay-".concat(MW++),a.classList.add("cdk-overlay-pane"),n.appendChild(a),a}},{key:"_createHostElement",value:function(){var n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n}},{key:"_createPortalOutlet",value:function(n){return this._appRef||(this._appRef=this._injector.get(Us)),new UL(n,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(hW),_e(ah),_e(Yo),_e(CW),_e(vW),_e(sn),_e(vt),_e(dt),_e(jr),_e(Yl),_e(gW))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),wW=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],tP=new Ze("cdk-connected-overlay-scroll-strategy"),SW=function(){var e=function i(t){c(this,i),this.elementRef=t};return e.\u0275fac=function(t){return new(t||e)(N(pt))},e.\u0275dir=Ve({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),nP=function(){var e=function(){function i(t,n,a,o,s){c(this,i),this._overlay=t,this._dir=s,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=He.EMPTY,this._attachSubscription=He.EMPTY,this._detachSubscription=He.EMPTY,this._positionSubscription=He.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new mt,this.positionChange=new mt,this.attach=new mt,this.detach=new mt,this.overlayKeydown=new mt,this.overlayOutsideClick=new mt,this._templatePortal=new Qs(n,a),this._scrollStrategyFactory=o,this.scrollStrategy=this._scrollStrategyFactory()}return f(i,[{key:"offsetX",get:function(){return this._offsetX},set:function(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=kn(n)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(n){this._lockPosition=kn(n)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(n){this._flexibleDimensions=kn(n)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(n){this._growAfterOpen=kn(n)}},{key:"push",get:function(){return this._push},set:function(n){this._push=kn(n)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var n=this;(!this.positions||!this.positions.length)&&(this.positions=wW);var a=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=a.attachments().subscribe(function(){return n.attach.emit()}),this._detachSubscription=a.detachments().subscribe(function(){return n.detach.emit()}),a.keydownEvents().subscribe(function(o){n.overlayKeydown.next(o),27===o.keyCode&&!n.disableClose&&!Ms(o)&&(o.preventDefault(),n._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(o){n.overlayOutsideClick.next(o)})}},{key:"_buildConfig",value:function(){var n=this._position=this.positionStrategy||this._createPositionStrategy(),a=new ih({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(a.width=this.width),(this.height||0===this.height)&&(a.height=this.height),(this.minWidth||0===this.minWidth)&&(a.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(a.minHeight=this.minHeight),this.backdropClass&&(a.backdropClass=this.backdropClass),this.panelClass&&(a.panelClass=this.panelClass),a}},{key:"_updatePositionStrategy",value:function(n){var a=this,o=this.positions.map(function(s){return{originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||a.offsetX,offsetY:s.offsetY||a.offsetY,panelClass:s.panelClass||void 0}});return n.setOrigin(this.origin.elementRef).withPositions(o).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var n=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(n),n}},{key:"_attachOverlay",value:function(){var n=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(a){n.backdropClick.emit(a)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(t){return t.lift(new Qz(e,i))}}(function(){return n.positionChange.observers.length>0})).subscribe(function(a){n.positionChange.emit(a),0===n.positionChange.observers.length&&n._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(na),N(Vr),N(kr),N(tP),N(jr,8))},e.\u0275dir=Ve({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Jn]}),e}(),DW={provide:tP,deps:[na],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},oh=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[na,DW],imports:[[eh,gv,jL],jL]}),e}();function t1(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zc;return function(t){return t.lift(new EW(e,i))}}var EW=function(){function e(i,t){c(this,e),this.dueTime=i,this.scheduler=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new LW(t,this.dueTime,this.scheduler))}}]),e}(),LW=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).dueTime=a,s.scheduler=o,s.debouncedSubscription=null,s.lastValue=null,s.hasValue=!1,s}return f(t,[{key:"_next",value:function(a){this.clearDebounce(),this.lastValue=a,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(PW,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var a=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(a)}}},{key:"clearDebounce",value:function(){var a=this.debouncedSubscription;null!==a&&(this.remove(a),a.unsubscribe(),this.debouncedSubscription=null)}}]),t}(St);function PW(e){e.debouncedNext()}function rP(e){return function(i){return i.lift(new OW(e))}}var OW=function(){function e(i){c(this,e),this.total=i}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new xW(t,this.total))}}]),e}(),xW=function(e){h(t,e);var i=C(t);function t(n,a){var o;return c(this,t),(o=i.call(this,n)).total=a,o.count=0,o}return f(t,[{key:"_next",value:function(a){++this.count>this.total&&this.destination.next(a)}}]),t}(St),n1=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"create",value:function(n){return"undefined"==typeof MutationObserver?null:new MutationObserver(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({factory:function(){return new e},token:e,providedIn:"root"}),e}(),iP=function(){var e=function(){function i(t){c(this,i),this._mutationObserverFactory=t,this._observedElements=new Map}return f(i,[{key:"ngOnDestroy",value:function(){var n=this;this._observedElements.forEach(function(a,o){return n._cleanupObserver(o)})}},{key:"observe",value:function(n){var a=this,o=bs(n);return new me(function(s){var u=a._observeElement(o).subscribe(s);return function(){u.unsubscribe(),a._unobserveElement(o)}})}},{key:"_observeElement",value:function(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{var a=new Ie,o=this._mutationObserverFactory.create(function(s){return a.next(s)});o&&o.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:o,stream:a,count:1})}return this._observedElements.get(n).stream}},{key:"_unobserveElement",value:function(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))}},{key:"_cleanupObserver",value:function(n){if(this._observedElements.has(n)){var a=this._observedElements.get(n),o=a.observer,s=a.stream;o&&o.disconnect(),s.complete(),this._observedElements.delete(n)}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(n1))},e.\u0275prov=We({factory:function(){return new e(_e(n1))},token:e,providedIn:"root"}),e}(),Mv=function(){var e=function(){function i(t,n,a){c(this,i),this._contentObserver=t,this._elementRef=n,this._ngZone=a,this.event=new mt,this._disabled=!1,this._currentSubscription=null}return f(i,[{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=kn(n),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(n){this._debounce=yi(n),this._subscribe()}},{key:"ngAfterContentInit",value:function(){!this._currentSubscription&&!this.disabled&&this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var n=this;this._unsubscribe();var a=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){n._currentSubscription=(n.debounce?a.pipe(t1(n.debounce)):a).subscribe(n.event)})}},{key:"_unsubscribe",value:function(){var n;null===(n=this._currentSubscription)||void 0===n||n.unsubscribe()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(iP),N(pt),N(vt))},e.\u0275dir=Ve({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e}(),wv=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[n1]}),e}();function Sv(e,i){return(e.getAttribute(i)||"").match(/\S+/g)||[]}var oP="cdk-describedby-message-container",sP="cdk-describedby-message",Tv="cdk-describedby-host",RW=0,Wo=new Map,oi=null,lP=function(){var e=function(){function i(t){c(this,i),this._document=t}return f(i,[{key:"describe",value:function(n,a,o){if(this._canBeDescribed(n,a)){var s=r1(a,o);"string"!=typeof a?(uP(a),Wo.set(s,{messageElement:a,referenceCount:0})):Wo.has(s)||this._createMessageElement(a,o),this._isElementDescribedByMessage(n,s)||this._addMessageReference(n,s)}}},{key:"removeDescription",value:function(n,a,o){if(a&&this._isElementNode(n)){var s=r1(a,o);if(this._isElementDescribedByMessage(n,s)&&this._removeMessageReference(n,s),"string"==typeof a){var l=Wo.get(s);l&&0===l.referenceCount&&this._deleteMessageElement(s)}oi&&0===oi.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var n=this._document.querySelectorAll("[".concat(Tv,"]")),a=0;a-1&&o!==t._activeItemIndex&&(t._activeItemIndex=o)}})}return f(e,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Ar(function(a){return t._pressedLetters.push(a)}),t1(n),Ir(function(){return t._pressedLetters.length>0}),$e(function(){return t._pressedLetters.join("")})).subscribe(function(a){for(var o=t._getItemsArray(),s=1;s0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=t,this}},{key:"setActiveItem",value:function(t){var n=this._activeItem;this.updateActiveItem(t),this._activeItem!==n&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(t){var n=this,a=t.keyCode,s=["altKey","ctrlKey","metaKey","shiftKey"].every(function(l){return!t[l]||n._allowedModifierKeys.indexOf(l)>-1});switch(a){case 9:return void this.tabOut.next();case 40:if(this._vertical&&s){this.setNextItemActive();break}return;case 38:if(this._vertical&&s){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&s){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&s){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&s){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&s){this.setLastItemActive();break}return;default:return void((s||Ms(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(a>=65&&a<=90||a>=48&&a<=57)&&this._letterKeyStream.next(String.fromCharCode(a))))}this._pressedLetters=[],t.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(t){var n=this._getItemsArray(),a="number"==typeof t?t:n.indexOf(t),o=n[a];this._activeItem=null==o?null:o,this._activeItemIndex=a}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value:function(t){for(var n=this._getItemsArray(),a=1;a<=n.length;a++){var o=(this._activeItemIndex+t*a+n.length)%n.length;if(!this._skipPredicateFn(n[o]))return void this.setActiveItem(o)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,n){var a=this._getItemsArray();if(a[t]){for(;this._skipPredicateFn(a[t]);)if(!a[t+=n])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Sc?this._items.toArray():this._items}}]),e}(),FW=function(e){h(t,e);var i=C(t);function t(){return c(this,t),i.apply(this,arguments)}return f(t,[{key:"setActiveItem",value:function(a){this.activeItem&&this.activeItem.setInactiveStyles(),D(x(t.prototype),"setActiveItem",this).call(this,a),this.activeItem&&this.activeItem.setActiveStyles()}}]),t}(cP),dP=function(e){h(t,e);var i=C(t);function t(){var n;return c(this,t),(n=i.apply(this,arguments))._origin="program",n}return f(t,[{key:"setFocusOrigin",value:function(a){return this._origin=a,this}},{key:"setActiveItem",value:function(a){D(x(t.prototype),"setActiveItem",this).call(this,a),this.activeItem&&this.activeItem.focus(this._origin)}}]),t}(cP),fP=function(){var e=function(){function i(t){c(this,i),this._platform=t}return f(i,[{key:"isDisabled",value:function(n){return n.hasAttribute("disabled")}},{key:"isVisible",value:function(n){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility}},{key:"isTabbable",value:function(n){if(!this._platform.isBrowser)return!1;var a=function(e){try{return e.frameElement}catch(i){return null}}(function(e){return e.ownerDocument&&e.ownerDocument.defaultView||window}(n));if(a&&(-1===pP(a)||!this.isVisible(a)))return!1;var o=n.nodeName.toLowerCase(),s=pP(n);return n.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function(e){var i=e.nodeName.toLowerCase(),t="input"===i&&e.type;return"text"===t||"password"===t||"select"===i||"textarea"===i}(n))&&("audio"===o?!!n.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||n.hasAttribute("controls")):n.tabIndex>=0)}},{key:"isFocusable",value:function(n,a){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var i=e.nodeName.toLowerCase();return"input"===i||"select"===i||"button"===i||"textarea"===i}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||hP(e))}(n)&&!this.isDisabled(n)&&((null==a?void 0:a.ignoreVisibility)||this.isVisible(n))}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Qt))},e.\u0275prov=We({factory:function(){return new e(_e(Qt))},token:e,providedIn:"root"}),e}();function hP(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var i=e.getAttribute("tabindex");return"-32768"!=i&&!(!i||isNaN(parseInt(i,10)))}function pP(e){if(!hP(e))return null;var i=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(i)?-1:i}var qW=function(){function e(i,t,n,a){var o=this,s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];c(this,e),this._element=i,this._checker=t,this._ngZone=n,this._document=a,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,s||this.attachAnchors()}return f(e,[{key:"enabled",get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"destroy",value:function(){var t=this._startAnchor,n=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),n&&(n.removeEventListener("focus",this.endAnchorListener),n.parentNode&&n.parentNode.removeChild(n)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(t){var n=this;return new Promise(function(a){n._executeOnStable(function(){return a(n.focusInitialElement(t))})})}},{key:"focusFirstTabbableElementWhenReady",value:function(t){var n=this;return new Promise(function(a){n._executeOnStable(function(){return a(n.focusFirstTabbableElement(t))})})}},{key:"focusLastTabbableElementWhenReady",value:function(t){var n=this;return new Promise(function(a){n._executeOnStable(function(){return a(n.focusLastTabbableElement(t))})})}},{key:"_getRegionBoundary",value:function(t){for(var n=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], ")+"[cdkFocusRegion".concat(t,"], ")+"[cdk-focus-".concat(t,"]")),a=0;a=0;a--){var o=n[a].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(n[a]):null;if(o)return o}return null}},{key:"_createAnchor",value:function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}},{key:"_toggleAnchorTabIndex",value:function(t,n){t?n.setAttribute("tabindex","0"):n.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.pipe(Qn(1)).subscribe(t)}}]),e}(),mP=function(){var e=function(){function i(t,n,a){c(this,i),this._checker=t,this._ngZone=n,this._document=a}return f(i,[{key:"create",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new qW(n,this._checker,this._ngZone,this._document,a)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(fP),_e(vt),_e(dt))},e.\u0275prov=We({factory:function(){return new e(_e(fP),_e(vt),_e(dt))},token:e,providedIn:"root"}),e}();function i1(e){return 0===e.offsetX&&0===e.offsetY}function a1(e){var i=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!i||-1!==i.identifier||null!=i.radiusX&&1!==i.radiusX||null!=i.radiusY&&1!==i.radiusY)}"undefined"!=typeof Element&∈var vP=new Ze("cdk-input-modality-detector-options"),QW={ignoreKeys:[18,17,224,91,16]},Jc=$l({passive:!0,capture:!0}),_P=function(){var e=function(){function i(t,n,a,o){var s=this;c(this,i),this._platform=t,this._mostRecentTarget=null,this._modality=new Br(null),this._lastTouchMs=0,this._onKeydown=function(l){var u,d;(null===(d=null===(u=s._options)||void 0===u?void 0:u.ignoreKeys)||void 0===d?void 0:d.some(function(y){return y===l.keyCode}))||(s._modality.next("keyboard"),s._mostRecentTarget=Gc(l))},this._onMousedown=function(l){Date.now()-s._lastTouchMs<650||(s._modality.next(i1(l)?"keyboard":"mouse"),s._mostRecentTarget=Gc(l))},this._onTouchstart=function(l){a1(l)?s._modality.next("keyboard"):(s._lastTouchMs=Date.now(),s._modality.next("touch"),s._mostRecentTarget=Gc(l))},this._options=Object.assign(Object.assign({},QW),o),this.modalityDetected=this._modality.pipe(rP(1)),this.modalityChanged=this.modalityDetected.pipe(dv()),t.isBrowser&&n.runOutsideAngular(function(){a.addEventListener("keydown",s._onKeydown,Jc),a.addEventListener("mousedown",s._onMousedown,Jc),a.addEventListener("touchstart",s._onTouchstart,Jc)})}return f(i,[{key:"mostRecentModality",get:function(){return this._modality.value}},{key:"ngOnDestroy",value:function(){!this._platform.isBrowser||(document.removeEventListener("keydown",this._onKeydown,Jc),document.removeEventListener("mousedown",this._onMousedown,Jc),document.removeEventListener("touchstart",this._onTouchstart,Jc))}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Qt),_e(vt),_e(dt),_e(vP,8))},e.\u0275prov=We({factory:function(){return new e(_e(Qt),_e(vt),_e(dt),_e(vP,8))},token:e,providedIn:"root"}),e}(),yP=new Ze("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),bP=new Ze("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Dv=function(){var e=function(){function i(t,n,a,o){c(this,i),this._ngZone=n,this._defaultOptions=o,this._document=a,this._liveElement=t||this._createLiveElement()}return f(i,[{key:"announce",value:function(n){for(var s,l,a=this,o=this._defaultOptions,u=arguments.length,d=new Array(u>1?u-1:0),y=1;y1&&void 0!==arguments[1]&&arguments[1],o=bs(n);if(!this._platform.isBrowser||1!==o.nodeType)return Qe(null);var s=FL(o)||this._getDocument(),l=this._elementInfo.get(o);if(l)return a&&(l.checkChildren=!0),l.subject;var u={checkChildren:a,subject:new Ie,rootNode:s};return this._elementInfo.set(o,u),this._registerGlobalListeners(u),u.subject}},{key:"stopMonitoring",value:function(n){var a=bs(n),o=this._elementInfo.get(a);o&&(o.subject.complete(),this._setClasses(a),this._elementInfo.delete(a),this._removeGlobalListeners(o))}},{key:"focusVia",value:function(n,a,o){var s=this,l=bs(n);l===this._getDocument().activeElement?this._getClosestElementsInfo(l).forEach(function(d){var y=te(d,2);return s._originChanged(y[0],a,y[1])}):(this._setOrigin(a),"function"==typeof l.focus&&l.focus(o))}},{key:"ngOnDestroy",value:function(){var n=this;this._elementInfo.forEach(function(a,o){return n.stopMonitoring(o)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(n,a,o){o?n.classList.add(a):n.classList.remove(a)}},{key:"_getFocusOrigin",value:function(n){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(n)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}},{key:"_shouldBeAttributedToTouch",value:function(n){return 1===this._detectionMode||!!(null==n?void 0:n.contains(this._inputModalityDetector._mostRecentTarget))}},{key:"_setClasses",value:function(n,a){this._toggleClass(n,"cdk-focused",!!a),this._toggleClass(n,"cdk-touch-focused","touch"===a),this._toggleClass(n,"cdk-keyboard-focused","keyboard"===a),this._toggleClass(n,"cdk-mouse-focused","mouse"===a),this._toggleClass(n,"cdk-program-focused","program"===a)}},{key:"_setOrigin",value:function(n){var a=this,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._ngZone.runOutsideAngular(function(){a._origin=n,a._originFromTouchInteraction="touch"===n&&o,0===a._detectionMode&&(clearTimeout(a._originTimeoutId),a._originTimeoutId=setTimeout(function(){return a._origin=null},a._originFromTouchInteraction?650:1))})}},{key:"_onFocus",value:function(n,a){var o=this._elementInfo.get(a),s=Gc(n);!o||!o.checkChildren&&a!==s||this._originChanged(a,this._getFocusOrigin(s),o)}},{key:"_onBlur",value:function(n,a){var o=this._elementInfo.get(a);!o||o.checkChildren&&n.relatedTarget instanceof Node&&a.contains(n.relatedTarget)||(this._setClasses(a),this._emitOrigin(o.subject,null))}},{key:"_emitOrigin",value:function(n,a){this._ngZone.run(function(){return n.next(a)})}},{key:"_registerGlobalListeners",value:function(n){var a=this;if(this._platform.isBrowser){var o=n.rootNode,s=this._rootNodeFocusListenerCount.get(o)||0;s||this._ngZone.runOutsideAngular(function(){o.addEventListener("focus",a._rootNodeFocusAndBlurListener,Ev),o.addEventListener("blur",a._rootNodeFocusAndBlurListener,Ev)}),this._rootNodeFocusListenerCount.set(o,s+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(function(){a._getWindow().addEventListener("focus",a._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(rn(this._stopInputModalityDetector)).subscribe(function(l){a._setOrigin(l,!0)}))}}},{key:"_removeGlobalListeners",value:function(n){var a=n.rootNode;if(this._rootNodeFocusListenerCount.has(a)){var o=this._rootNodeFocusListenerCount.get(a);o>1?this._rootNodeFocusListenerCount.set(a,o-1):(a.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Ev),a.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Ev),this._rootNodeFocusListenerCount.delete(a))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}},{key:"_originChanged",value:function(n,a,o){this._setClasses(n,a),this._emitOrigin(o.subject,a),this._lastFocusOrigin=a}},{key:"_getClosestElementsInfo",value:function(n){var a=[];return this._elementInfo.forEach(function(o,s){(s===n||o.checkChildren&&s.contains(n))&&a.push([s,o])}),a}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(vt),_e(Qt),_e(_P),_e(dt,8),_e(kP,8))},e.\u0275prov=We({factory:function(){return new e(_e(vt),_e(Qt),_e(_P),_e(dt,8),_e(kP,8))},token:e,providedIn:"root"}),e}(),XW=function(){var e=function(){function i(t,n){c(this,i),this._elementRef=t,this._focusMonitor=n,this.cdkFocusChange=new mt}return f(i,[{key:"ngAfterViewInit",value:function(){var n=this,a=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(a,1===a.nodeType&&a.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(o){return n.cdkFocusChange.emit(o)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(ho))},e.\u0275dir=Ve({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e}(),CP="cdk-high-contrast-black-on-white",MP="cdk-high-contrast-white-on-black",o1="cdk-high-contrast-active",wP=function(){var e=function(){function i(t,n){c(this,i),this._platform=t,this._document=n}return f(i,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var n=this._document.createElement("div");n.style.backgroundColor="rgb(1,2,3)",n.style.position="absolute",this._document.body.appendChild(n);var a=this._document.defaultView||window,o=a&&a.getComputedStyle?a.getComputedStyle(n):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(n),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){var n=this._document.body.classList;n.remove(o1),n.remove(CP),n.remove(MP),this._hasCheckedHighContrastMode=!0;var a=this.getHighContrastMode();1===a?(n.add(o1),n.add(CP)):2===a&&(n.add(o1),n.add(MP))}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(Qt),_e(dt))},e.\u0275prov=We({factory:function(){return new e(_e(Qt),_e(dt))},token:e,providedIn:"root"}),e}(),SP=function(){var e=function i(t){c(this,i),t._applyBodyHighContrastModeCssClasses()};return e.\u0275fac=function(t){return new(t||e)(_e(wP))},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[Qf,wv]]}),e}(),TP=new js("12.2.5");function nG(e,i){if(1&e&&Te(0,"mat-pseudo-checkbox",4),2&e){var t=J();E("state",t.selected?"checked":"unchecked")("disabled",t.disabled)}}function rG(e,i){if(1&e&&(p(0,"span",5),F(1),m()),2&e){var t=J();v(1),Ce("(",t.group.label,")")}}var iG=["*"],DP=new js("12.2.5"),oG=new Ze("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),mn=function(){var e=function(){function i(t,n,a){c(this,i),this._hasDoneGlobalChecks=!1,this._document=a,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return f(i,[{key:"_getWindow",value:function(){var n=this._document.defaultView||window;return"object"==typeof n&&n?n:null}},{key:"_checkIsEnabled",value:function(n){return!(!ib()||this._isTestEnv())&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[n])}},{key:"_isTestEnv",value:function(){var n=this._getWindow();return n&&(n.__karma__||n.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checkIsEnabled("doctype")&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checkIsEnabled("theme")&&this._document.body&&"function"==typeof getComputedStyle){var n=this._document.createElement("div");n.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(n);var a=getComputedStyle(n);a&&"none"!==a.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checkIsEnabled("version")&&DP.full!==TP.full&&console.warn("The Angular Material version ("+DP.full+") does not match the Angular CDK version ("+TP.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(wP),_e(oG,8),_e(dt))},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[eh],eh]}),e}();function Xs(e){return function(i){h(n,i);var t=C(n);function n(){var a;c(this,n);for(var o=arguments.length,s=new Array(o),l=0;l1&&void 0!==arguments[1]?arguments[1]:0;return function(t){h(a,t);var n=C(a);function a(){var o;c(this,a);for(var s=arguments.length,l=new Array(s),u=0;u2&&void 0!==arguments[2]?arguments[2]:{},s=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),l=Object.assign(Object.assign({},PP),o.animation);o.centered&&(t=s.left+s.width/2,n=s.top+s.height/2);var u=o.radius||MG(t,n,s),d=t-s.left,y=n-s.top,T=l.enterDuration,I=document.createElement("div");I.classList.add("mat-ripple-element"),I.style.left="".concat(d-u,"px"),I.style.top="".concat(y-u,"px"),I.style.height="".concat(2*u,"px"),I.style.width="".concat(2*u,"px"),null!=o.color&&(I.style.backgroundColor=o.color),I.style.transitionDuration="".concat(T,"ms"),this._containerElement.appendChild(I),CG(I),I.style.transform="scale(1)";var H=new bG(this,I,o);return H.state=0,this._activeRipples.add(H),o.persistent||(this._mostRecentTransientRipple=H),this._runTimeoutOutsideZone(function(){var q=H===a._mostRecentTransientRipple;H.state=1,!o.persistent&&(!q||!a._isPointerDown)&&H.fadeOut()},T),H}},{key:"fadeOutRipple",value:function(t){var n=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),n){var a=t.element,o=Object.assign(Object.assign({},PP),t.config.animation);a.style.transitionDuration="".concat(o.exitDuration,"ms"),a.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(function(){t.state=3,a.parentNode.removeChild(a)},o.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(t){return t.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(t){t.config.persistent||t.fadeOut()})}},{key:"setupTriggerEvents",value:function(t){var n=bs(t);!n||n===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=n,this._registerEvents(OP))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(xP),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var n=i1(t),a=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(t,n)})}},{key:"_registerEvents",value:function(t){var n=this;this._ngZone.runOutsideAngular(function(){t.forEach(function(a){n._triggerElement.addEventListener(a,n,l1)})})}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(OP.forEach(function(n){t._triggerElement.removeEventListener(n,t,l1)}),this._pointerUpEventsRegistered&&xP.forEach(function(n){t._triggerElement.removeEventListener(n,t,l1)}))}}]),e}();function CG(e){window.getComputedStyle(e).getPropertyValue("opacity")}function MG(e,i,t){var n=Math.max(Math.abs(e-t.left),Math.abs(e-t.right)),a=Math.max(Math.abs(i-t.top),Math.abs(i-t.bottom));return Math.sqrt(n*n+a*a)}var Ov=new Ze("mat-ripple-global-options"),Go=function(){var e=function(){function i(t,n,a,o,s){c(this,i),this._elementRef=t,this._animationMode=s,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=o||{},this._rippleRenderer=new IP(this,n,t,a)}return f(i,[{key:"disabled",get:function(){return this._disabled},set:function(n){n&&this.fadeOutAllNonPersistent(),this._disabled=n,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(n){this._trigger=n,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2?arguments[2]:void 0;return"number"==typeof n?this._rippleRenderer.fadeInRipple(n,a,Object.assign(Object.assign({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),n))}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(vt),N(Qt),N(Ov,8),N(Mr,8))},e.\u0275dir=Ve({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,n){2&t&&Bt("mat-ripple-unbounded",n.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),lh=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[mn,Qf],mn]}),e}(),wG=function(){var e=function i(t){c(this,i),this._animationMode=t,this.state="unchecked",this.disabled=!1};return e.\u0275fac=function(t){return new(t||e)(N(Mr,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,n){2&t&&Bt("mat-pseudo-checkbox-indeterminate","indeterminate"===n.state)("mat-pseudo-checkbox-checked","checked"===n.state)("mat-pseudo-checkbox-disabled",n.disabled)("_mat-animation-noopable","NoopAnimations"===n._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,n){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e}(),SG=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[mn]]}),e}(),u1=new Ze("MAT_OPTION_PARENT_COMPONENT"),TG=Xs(function(){return function e(){c(this,e)}}()),DG=0,AP=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o,s;return c(this,n),(o=t.call(this))._labelId="mat-optgroup-label-".concat(DG++),o._inert=null!==(s=null==a?void 0:a.inertGroups)&&void 0!==s&&s,o}return n}(TG);return e.\u0275fac=function(t){return new(t||e)(N(u1,8))},e.\u0275dir=Ve({type:e,inputs:{label:"label"},features:[ht]}),e}(),c1=new Ze("MatOptgroup"),EG=0,LG=function e(i){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c(this,e),this.source=i,this.isUserInput=t},PG=function(){var e=function(){function i(t,n,a,o){c(this,i),this._element=t,this._changeDetectorRef=n,this._parent=a,this.group=o,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(EG++),this.onSelectionChange=new mt,this._stateChanges=new Ie}return f(i,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(n){this._disabled=kn(n)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(n,a){var o=this._getHostElement();"function"==typeof o.focus&&o.focus(a)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(n){(13===n.keyCode||32===n.keyCode)&&!Ms(n)&&(this._selectViaInteraction(),n.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue=n,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new LG(this,n))}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(void 0),N(AP))},e.\u0275dir=Ve({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),Qc=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l){return c(this,n),t.call(this,a,o,s,l)}return n}(PG);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(u1,8),N(c1,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,n){1&t&&we("click",function(){return n._selectViaInteraction()})("keydown",function(o){return n._handleKeydown(o)}),2&t&&(Bs("id",n.id),Dt("tabindex",n._getTabIndex())("aria-selected",n._getAriaSelected())("aria-disabled",n.disabled.toString()),Bt("mat-selected",n.selected)("mat-option-multiple",n.multiple)("mat-active",n.active)("mat-option-disabled",n.disabled))},exportAs:["matOption"],features:[ht],ngContentSelectors:iG,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(t,n){1&t&&(ri(),K(0,nG,1,2,"mat-pseudo-checkbox",0),p(1,"span",1),jn(2),m(),K(3,rG,2,1,"span",2),Te(4,"div",3)),2&t&&(E("ngIf",n.multiple),v(3),E("ngIf",n.group&&n.group._inert),v(1),E("matRippleTrigger",n._getHostElement())("matRippleDisabled",n.disabled||n.disableRipple))},directives:[Ot,Go,wG],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}();function RP(e,i,t){if(t.length){for(var n=i.toArray(),a=t.toArray(),o=0,s=0;s*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",IG=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],AG=Xl(Xs($c(function(){return function e(i){c(this,e),this._elementRef=i}}()))),bi=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){var l;c(this,n),(l=t.call(this,a))._focusMonitor=o,l._animationMode=s,l.isRoundButton=l._hasHostAttributes("mat-fab","mat-mini-fab"),l.isIconButton=l._hasHostAttributes("mat-icon-button");var d,u=W(IG);try{for(u.s();!(d=u.n()).done;){var y=d.value;l._hasHostAttributes(y)&&l._getHostElement().classList.add(y)}}catch(T){u.e(T)}finally{u.f()}return a.nativeElement.classList.add("mat-button-base"),l.isRoundButton&&(l.color="accent"),l}return f(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._getHostElement(),o,s):this._getHostElement().focus(s)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var o=this,s=arguments.length,l=new Array(s),u=0;u visible",Yi("150ms cubic-bezier(0, 0, 0.2, 1)")),gi("* => void, * => hidden",Yi("75ms cubic-bezier(0.4, 0.0, 1, 1)",bn({opacity:0})))])},UG=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u){var d;return c(this,n),(d=t.call(this))._ngZone=a,d._elementRef=o,d._changeDetectorRef=s,d._platform=l,d.snackBarConfig=u,d._announceDelay=150,d._destroyed=!1,d._onAnnounce=new Ie,d._onExit=new Ie,d._onEnter=new Ie,d._animationState="void",d.attachDomPortal=function(y){return d._assertNotAttached(),d._applySnackBarClasses(),d._portalOutlet.attachDomPortal(y)},d._live="assertive"!==u.politeness||u.announcementMessage?"off"===u.politeness?"off":"polite":"assertive",d._platform.FIREFOX&&("polite"===d._live&&(d._role="status"),"assertive"===d._live&&(d._role="alert")),d}return f(n,[{key:"attachComponentPortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(o)}},{key:"onAnimationEnd",value:function(o){var l=o.toState;if(("void"===l&&"void"!==o.fromState||"hidden"===l)&&this._completeExit(),"visible"===l){var u=this._onEnter;this._ngZone.run(function(){u.next(),u.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var o=this;this._ngZone.onMicrotaskEmpty.pipe(Qn(1)).subscribe(function(){o._onExit.next(),o._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var o=this._elementRef.nativeElement,s=this.snackBarConfig.panelClass;s&&(Array.isArray(s)?s.forEach(function(l){return o.classList.add(l)}):o.classList.add(s)),"center"===this.snackBarConfig.horizontalPosition&&o.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&o.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var o=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){o._announceTimeoutId=setTimeout(function(){var s=o._elementRef.nativeElement.querySelector("[aria-hidden]"),l=o._elementRef.nativeElement.querySelector("[aria-live]");if(s&&l){var u=null;o._platform.isBrowser&&document.activeElement instanceof HTMLElement&&s.contains(document.activeElement)&&(u=document.activeElement),s.removeAttribute("aria-hidden"),l.appendChild(s),null==u||u.focus(),o._onAnnounce.next(),o._onAnnounce.complete()}},o._announceDelay)})}}]),n}(vv);return e.\u0275fac=function(t){return new(t||e)(N(vt),N(pt),N(Nn),N(Qt),N(xv))},e.\u0275cmp=Ke({type:e,selectors:[["snack-bar-container"]],viewQuery:function(t,n){var a;1&t&&_t(Cs,7),2&t&&it(a=at())&&(n._portalOutlet=a.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(t,n){1&t&&Rp("@state.done",function(o){return n.onAnimationEnd(o)}),2&t&&Np("@state",n._animationState)},features:[ht],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(t,n){1&t&&(p(0,"div",0),K(1,HG,0,0,"ng-template",1),m(),Te(2,"div")),2&t&&(v(2),Dt("aria-live",n._live)("role",n._role))},directives:[Cs],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[jG.snackBarState]}}),e}(),WP=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[oh,gv,Bo,VP,mn],mn]}),e}(),h1=new Ze("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new xv}}),WG=function(){var e=function(){function i(t,n,a,o,s,l){c(this,i),this._overlay=t,this._live=n,this._injector=a,this._breakpointObserver=o,this._parentSnackBar=s,this._defaultConfig=l,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=BG,this.snackBarContainerComponent=UG,this.handsetCssClass="mat-snack-bar-handset"}return f(i,[{key:"_openedSnackBarRef",get:function(){var n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n}},{key:"openFromComponent",value:function(n,a){return this._attach(n,a)}},{key:"openFromTemplate",value:function(n,a){return this._attach(n,a)}},{key:"open",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,s=Object.assign(Object.assign({},this._defaultConfig),o);return s.data={message:n,action:a},s.announcementMessage===n&&(s.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,s)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(n,a){var s=sn.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:xv,useValue:a}]}),l=new Kc(this.snackBarContainerComponent,a.viewContainerRef,s),u=n.attach(l);return u.instance.snackBarConfig=a,u.instance}},{key:"_attach",value:function(n,a){var o=this,s=Object.assign(Object.assign(Object.assign({},new xv),this._defaultConfig),a),l=this._createOverlay(s),u=this._attachSnackBarContainer(l,s),d=new Iv(u,l);if(n instanceof Vr){var y=new Qs(n,null,{$implicit:s.data,snackBarRef:d});d.instance=u.attachTemplatePortal(y)}else{var T=this._createInjector(s,d),I=new Kc(n,void 0,T),H=u.attachComponentPortal(I);d.instance=H.instance}return this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait)").pipe(rn(l.detachments())).subscribe(function(q){var X=l.overlayElement.classList;q.matches?X.add(o.handsetCssClass):X.remove(o.handsetCssClass)}),s.announcementMessage&&u._onAnnounce.subscribe(function(){o._live.announce(s.announcementMessage,s.politeness)}),this._animateSnackBar(d,s),this._openedSnackBarRef=d,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(n,a){var o=this;n.afterDismissed().subscribe(function(){o._openedSnackBarRef==n&&(o._openedSnackBarRef=null),a.announcementMessage&&o._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){n.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),a.duration&&a.duration>0&&n.afterOpened().subscribe(function(){return n._dismissAfter(a.duration)})}},{key:"_createOverlay",value:function(n){var a=new ih;a.direction=n.direction;var o=this._overlay.position().global(),s="rtl"===n.direction,l="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!s||"end"===n.horizontalPosition&&s,u=!l&&"center"!==n.horizontalPosition;return l?o.left("0"):u?o.right("0"):o.centerHorizontally(),"top"===n.verticalPosition?o.top("0"):o.bottom("0"),a.positionStrategy=o,this._overlay.create(a)}},{key:"_createInjector",value:function(n,a){return sn.create({parent:n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,providers:[{provide:Iv,useValue:a},{provide:f1,useValue:n.data}]})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(na),_e(Dv),_e(sn),_e(d1),_e(e,12),_e(h1))},e.\u0275prov=We({factory:function(){return new e(_e(na),_e(Dv),_e(tf),_e(d1),_e(e,12),_e(h1))},token:e,providedIn:WP}),e}();function Av(){for(var e=arguments.length,i=new Array(e),t=0;t1&&void 0!==arguments[1]?arguments[1]:n;return this._fontCssClassesByAlias.set(n,a),this}},{key:"classNameForFontAlias",value:function(n){return this._fontCssClassesByAlias.get(n)||n}},{key:"setDefaultFontSetClass",value:function(n){return this._defaultFontSetClass=n,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(n){var a=this,o=this._sanitizer.sanitize(ni.RESOURCE_URL,n);if(!o)throw qP(n);var s=this._cachedIconsByUrl.get(o);return s?Qe(Nv(s)):this._loadSvgIconFromConfig(new tu(n,null)).pipe(Ar(function(l){return a._cachedIconsByUrl.set(o,l)}),$e(function(l){return Nv(l)}))}},{key:"getNamedSvgIcon",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=JP(a,n),s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(a,n))return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);var l=this._iconSetConfigs.get(a);return l?this._getSvgFromIconSetConfigs(n,l):Na(GP(o))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(n){return n.svgText?Qe(Nv(this._svgElementFromConfig(n))):this._loadSvgIconFromConfig(n).pipe($e(function(a){return Nv(a)}))}},{key:"_getSvgFromIconSetConfigs",value:function(n,a){var o=this,s=this._extractIconWithNameFromAnySet(n,a);return s?Qe(s):Av(a.filter(function(u){return!u.svgText}).map(function(u){return o._loadSvgIconSetFromConfig(u).pipe(ea(function(d){var y=o._sanitizer.sanitize(ni.RESOURCE_URL,u.url),T="Loading icon set URL: ".concat(y," failed: ").concat(d.message);return o._errorHandler.handleError(new Error(T)),Qe(null)}))})).pipe($e(function(){var u=o._extractIconWithNameFromAnySet(n,a);if(!u)throw GP(n);return u}))}},{key:"_extractIconWithNameFromAnySet",value:function(n,a){for(var o=a.length-1;o>=0;o--){var s=a[o];if(s.svgText&&s.svgText.indexOf(n)>-1){var l=this._svgElementFromConfig(s),u=this._extractSvgIconFromSet(l,n,s.options);if(u)return u}}return null}},{key:"_loadSvgIconFromConfig",value:function(n){var a=this;return this._fetchIcon(n).pipe(Ar(function(o){return n.svgText=o}),$e(function(){return a._svgElementFromConfig(n)}))}},{key:"_loadSvgIconSetFromConfig",value:function(n){return n.svgText?Qe(null):this._fetchIcon(n).pipe(Ar(function(a){return n.svgText=a}))}},{key:"_extractSvgIconFromSet",value:function(n,a,o){var s=n.querySelector('[id="'.concat(a,'"]'));if(!s)return null;var l=s.cloneNode(!0);if(l.removeAttribute("id"),"svg"===l.nodeName.toLowerCase())return this._setSvgAttributes(l,o);if("symbol"===l.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(l),o);var u=this._svgElementFromString("");return u.appendChild(l),this._setSvgAttributes(u,o)}},{key:"_svgElementFromString",value:function(n){var a=this._document.createElement("DIV");a.innerHTML=n;var o=a.querySelector("svg");if(!o)throw Error(" tag not found");return o}},{key:"_toSvgElement",value:function(n){for(var a=this._svgElementFromString(""),o=n.attributes,s=0;s5&&void 0!==arguments[5])||arguments[5],u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];c(this,i),this.store=t,this.currentLoader=n,this.compiler=a,this.parser=o,this.missingTranslationHandler=s,this.useDefaultLang=l,this.isolate=u,this.pending=!1,this._onTranslationChange=new mt,this._onLangChange=new mt,this._onDefaultLangChange=new mt,this._langs=[],this._translations={},this._translationRequests={}}return f(i,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(n){this.isolate?this._defaultLang=n:this.store.defaultLang=n}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(n){this.isolate?this._currentLang=n:this.store.currentLang=n}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(n){this.isolate?this._langs=n:this.store.langs=n}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(n){this.isolate?this._translations=n:this.store.translations=n}},{key:"setDefaultLang",value:function(n){var a=this;if(n!==this.defaultLang){var o=this.retrieveTranslations(n);void 0!==o?(this.defaultLang||(this.defaultLang=n),o.pipe(Qn(1)).subscribe(function(s){a.changeDefaultLang(n)})):this.changeDefaultLang(n)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(n){var a=this;if(n===this.currentLang)return Qe(this.translations[n]);var o=this.retrieveTranslations(n);return void 0!==o?(this.currentLang||(this.currentLang=n),o.pipe(Qn(1)).subscribe(function(s){a.changeLang(n)}),o):(this.changeLang(n),Qe(this.translations[n]))}},{key:"retrieveTranslations",value:function(n){var a;return void 0===this.translations[n]&&(this._translationRequests[n]=this._translationRequests[n]||this.getTranslation(n),a=this._translationRequests[n]),a}},{key:"getTranslation",value:function(n){var a=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(n).pipe(yu()),this.loadingTranslations.pipe(Qn(1)).subscribe(function(o){a.translations[n]=a.compiler.compileTranslations(o,n),a.updateLangs(),a.pending=!1},function(o){a.pending=!1}),this.loadingTranslations}},{key:"setTranslation",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];a=this.compiler.compileTranslations(a,n),this.translations[n]=o&&this.translations[n]?eO(this.translations[n],a):a,this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(n){var a=this;n.forEach(function(o){-1===a.langs.indexOf(o)&&a.langs.push(o)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(n,a,o){var s;if(a instanceof Array){var y,l={},u=!1,d=W(a);try{for(d.s();!(y=d.n()).done;){var T=y.value;l[T]=this.getParsedResult(n,T,o),"function"==typeof l[T].subscribe&&(u=!0)}}catch(pe){d.e(pe)}finally{d.f()}if(u){var I,q,H=W(a);try{for(H.s();!(q=H.n()).done;){var X=q.value,he="function"==typeof l[X].subscribe?l[X]:Qe(l[X]);I=void 0===I?he:wi(I,he)}}catch(pe){H.e(pe)}finally{H.f()}return I.pipe(function(e,i){return arguments.length>=2?function(n){return de(zm(e,i),Vf(1),Tk(i))(n)}:function(n){return de(zm(function(a,o,s){return e(a,o,s+1)}),Vf(1))(n)}}(iq,[]),$e(function(pe){var Re={};return pe.forEach(function(Ne,Xe){Re[a[Xe]]=Ne}),Re}))}return l}if(n&&(s=this.parser.interpolate(this.parser.getValue(n,a),o)),void 0===s&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(s=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],a),o)),void 0===s){var Se={key:a,translateService:this};void 0!==o&&(Se.interpolateParams=o),s=this.missingTranslationHandler.handle(Se)}return void 0!==s?s:a}},{key:"get",value:function(n,a){var o=this;if(!po(n)||!n.length)throw new Error('Parameter "key" required');if(this.pending)return me.create(function(l){var u=function(T){l.next(T),l.complete()},d=function(T){l.error(T)};o.loadingTranslations.subscribe(function(y){"function"==typeof(y=o.getParsedResult(o.compiler.compileTranslations(y,o.currentLang),n,a)).subscribe?y.subscribe(u,d):u(y)},d)});var s=this.getParsedResult(this.translations[this.currentLang],n,a);return"function"==typeof s.subscribe?s:Qe(s)}},{key:"stream",value:function(n,a){var o=this;if(!po(n)||!n.length)throw new Error('Parameter "key" required');return Js(this.get(n,a),this.onLangChange.pipe(Xi(function(s){var l=o.getParsedResult(s.translations,n,a);return"function"==typeof l.subscribe?l:Qe(l)})))}},{key:"instant",value:function(n,a){if(!po(n)||!n.length)throw new Error('Parameter "key" required');var o=this.getParsedResult(this.translations[this.currentLang],n,a);if(void 0!==o.subscribe){if(n instanceof Array){var s={};return n.forEach(function(l,u){s[n[u]]=n[u]}),s}return n}return o}},{key:"set",value:function(n,a){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[o][n]=this.compiler.compile(a,o),this.updateLangs(),this.onTranslationChange.emit({lang:o,translations:this.translations[o]})}},{key:"changeLang",value:function(n){this.currentLang=n,this.onLangChange.emit({lang:n,translations:this.translations[n]}),this.defaultLang||this.changeDefaultLang(n)}},{key:"changeDefaultLang",value:function(n){this.defaultLang=n,this.onDefaultLangChange.emit({lang:n,translations:this.translations[n]})}},{key:"reloadLang",value:function(n){return this.resetLang(n),this.getTranslation(n)}},{key:"resetLang",value:function(n){this._translationRequests[n]=void 0,this.translations[n]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var n=window.navigator.languages?window.navigator.languages[0]:null;return-1!==(n=n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage).indexOf("-")&&(n=n.split("-")[0]),-1!==n.indexOf("_")&&(n=n.split("_")[0]),n}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var n=window.navigator.languages?window.navigator.languages[0]:null;return n||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(_e(nO),_e(uh),_e(Yv),_e(Hv),_e(p1),_e(g1),_e(v1))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),wt=function(){var e=function(){function i(t,n){c(this,i),this.translate=t,this._ref=n,this.value=""}return f(i,[{key:"updateValue",value:function(n,a,o){var s=this,l=function(y){s.value=void 0!==y?y:n,s.lastKey=n,s._ref.markForCheck()};if(o){var u=this.translate.getParsedResult(o,n,a);"function"==typeof u.subscribe?u.subscribe(l):l(u)}this.translate.get(n,a).subscribe(l)}},{key:"transform",value:function(n){var u,a=this;if(!n||0===n.length)return n;for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[n.loader||{provide:uh,useClass:QP},n.compiler||{provide:Yv,useClass:XP},n.parser||{provide:Hv,useClass:tO},n.missingTranslationHandler||{provide:p1,useClass:ZP},nO,{provide:v1,useValue:n.isolate},{provide:g1,useValue:n.useDefaultLang},si]}}},{key:"forChild",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:i,providers:[n.loader||{provide:uh,useClass:QP},n.compiler||{provide:Yv,useClass:XP},n.parser||{provide:Hv,useClass:tO},n.missingTranslationHandler||{provide:p1,useClass:ZP},{provide:v1,useValue:n.isolate},{provide:g1,useValue:n.useDefaultLang},si]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}();function oq(e,i){if(1&e&&(p(0,"div",5),p(1,"mat-icon",6),F(2),m(),m()),2&e){var t=J();v(1),E("inline",!0),v(1),be(t.config.icon)}}function sq(e,i){if(1&e&&(p(0,"div",7),F(1),V(2,"translate"),V(3,"translate"),m()),2&e){var t=J();v(1),Ii(" ",U(2,2,"common.error")," ",Ht(3,4,t.config.smallText,t.config.smallTextTranslationParams)," ")}}var _1=function(e){return e.Error="error",e.Done="done",e.Warning="warning",e}({}),y1=function(e){return e.Red="red-background",e.Green="green-background",e.Yellow="yellow-background",e}({}),lq=function(){function e(i,t){this.snackbarRef=t,this.config=i}return e.prototype.close=function(){this.snackbarRef.dismiss()},e.\u0275fac=function(t){return new(t||e)(N(f1),N(Iv))},e.\u0275cmp=Ke({type:e,selectors:[["app-snack-bar"]],decls:9,vars:8,consts:[["class","icon-container",4,"ngIf"],[1,"text-container"],["class","second-line",4,"ngIf"],[1,"close-button-separator"],[1,"close-button",3,"click"],[1,"icon-container"],[3,"inline"],[1,"second-line"]],template:function(t,n){1&t&&(p(0,"div"),K(1,oq,3,2,"div",0),p(2,"div",1),F(3),V(4,"translate"),K(5,sq,4,7,"div",2),m(),Te(6,"div",3),p(7,"mat-icon",4),we("click",function(){return n.close()}),F(8,"close"),m(),m()),2&t&&(pa("main-container "+n.config.color),v(1),E("ngIf",n.config.icon),v(2),Ce(" ",Ht(4,5,n.config.text,n.config.textTranslationParams)," "),v(2),E("ngIf",n.config.smallText))},directives:[Ot,Cn],pipes:[wt],styles:['.cursor-pointer[_ngcontent-%COMP%], .close-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px;border-radius:5px}.red-background[_ngcontent-%COMP%]{background-color:#ea0606}.green-background[_ngcontent-%COMP%]{background-color:#1fb11f}.yellow-background[_ngcontent-%COMP%]{background-color:#f90}.icon-container[_ngcontent-%COMP%]{margin-right:10px;position:relative;top:1px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;word-break:break-word}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem;opacity:.9}.close-button-separator[_ngcontent-%COMP%]{width:1px;margin-right:10px;background-color:rgba(0,0,0,.302)}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}']}),e}(),Vv=function(e){return e.NoConnection="NoConnection",e.Unknown="Unknown",e}({}),uq=function(){return function(){}}(),iO="common.operation-error";function tn(e){if(e&&e.type&&!e.srcElement)return e;var i=new uq;if(i.originalError=e,!e||"string"==typeof e)return i.originalServerErrorMsg=e||"",i.translatableErrorMsg=e||iO,i.type=Vv.Unknown,i;i.originalServerErrorMsg=function(e){if(e){if("string"==typeof e._body)return e._body;if(e.originalServerErrorMsg&&"string"==typeof e.originalServerErrorMsg)return e.originalServerErrorMsg;if(e.error&&"string"==typeof e.error)return e.error;if(e.error&&e.error.error&&e.error.error.message)return e.error.error.message;if(e.error&&e.error.error&&"string"==typeof e.error.error)return e.error.error;if(e.message)return e.message;if(e._body&&e._body.error)return e._body.error;try{return JSON.parse(e._body).error}catch(t){}}return null}(e);return null!=e.status&&(0===e.status||504===e.status)&&(i.type=Vv.NoConnection,i.translatableErrorMsg="common.no-connection-error"),i.type||(i.type=Vv.Unknown,i.translatableErrorMsg=i.originalServerErrorMsg?function(e){if(!e||0===e.length)return e;if(-1!==e.indexOf('"error":'))try{e=JSON.parse(e).error}catch(n){}if(e.startsWith("400")||e.startsWith("403")){var i=e.split(" - ",2);e=2===i.length?i[1]:e}var t=(e=e.trim()).substr(0,1);return t.toUpperCase()!==t&&(e=t.toUpperCase()+e.substr(1,e.length-1)),!e.endsWith(".")&&!e.endsWith(",")&&!e.endsWith(":")&&!e.endsWith(";")&&!e.endsWith("?")&&!e.endsWith("!")&&(e+="."),e}(i.originalServerErrorMsg):iO),i}var xn=function(){function e(i){this.snackBar=i,this.lastWasTemporaryError=!1}return e.prototype.showError=function(i,t,n,a,o){void 0===t&&(t=null),void 0===n&&(n=!1),void 0===a&&(a=null),void 0===o&&(o=null),i=tn(i),a=a?tn(a):null,this.lastWasTemporaryError=n,this.show(i.translatableErrorMsg,t,a?a.translatableErrorMsg:null,o,_1.Error,y1.Red,15e3)},e.prototype.showWarning=function(i,t){void 0===t&&(t=null),this.lastWasTemporaryError=!1,this.show(i,t,null,null,_1.Warning,y1.Yellow,15e3)},e.prototype.showDone=function(i,t){void 0===t&&(t=null),this.lastWasTemporaryError=!1,this.show(i,t,null,null,_1.Done,y1.Green,5e3)},e.prototype.closeCurrent=function(){this.snackBar.dismiss()},e.prototype.closeCurrentIfTemporaryError=function(){this.lastWasTemporaryError&&this.snackBar.dismiss()},e.prototype.show=function(i,t,n,a,o,s,l){this.snackBar.openFromComponent(lq,{duration:l,panelClass:"snackbar-container",data:{text:i,textTranslationParams:t,smallText:n,smallTextTranslationParams:a,icon:o,color:s}})},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(WG))},providedIn:"root"}),e}();function fq(e,i){}var Zn=function e(){c(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},hq={dialogContainer:gs("dialogContainer",[Hi("void, exit",bn({opacity:0,transform:"scale(0.7)"})),Hi("enter",bn({transform:"none"})),gi("* => enter",Yi("150ms cubic-bezier(0, 0, 0.2, 1)",bn({transform:"none",opacity:1}))),gi("* => void, * => exit",Yi("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",bn({opacity:0})))])},pq=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d){var y;return c(this,n),(y=t.call(this))._elementRef=a,y._focusTrapFactory=o,y._changeDetectorRef=s,y._config=u,y._focusMonitor=d,y._animationStateChanged=new mt,y._elementFocusedBeforeDialogWasOpened=null,y._closeInteractionType=null,y.attachDomPortal=function(T){return y._portalOutlet.hasAttached(),y._portalOutlet.attachDomPortal(T)},y._ariaLabelledBy=u.ariaLabelledBy||null,y._document=l,y}return f(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(o)}},{key:"attachTemplatePortal",value:function(o){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(o)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var o=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&o&&"function"==typeof o.focus){var s=mv(),l=this._elementRef.nativeElement;(!s||s===this._document.body||s===l||l.contains(s))&&(this._focusMonitor?(this._focusMonitor.focusVia(o,this._closeInteractionType),this._closeInteractionType=null):o.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=mv())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var o=this._elementRef.nativeElement,s=mv();return o===s||o.contains(s)}}]),n}(vv);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(mP),N(Nn),N(dt,8),N(Zn),N(ho))},e.\u0275dir=Ve({type:e,viewQuery:function(t,n){var a;1&t&&_t(Cs,7),2&t&&it(a=at())&&(n._portalOutlet=a.first)},features:[ht]}),e}(),mq=function(){var e=function(i){h(n,i);var t=C(n);function n(){var a;return c(this,n),(a=t.apply(this,arguments))._state="enter",a}return f(n,[{key:"_onAnimationDone",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:l})):"exit"===s&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:l}))}},{key:"_onAnimationStart",value:function(o){var s=o.toState,l=o.totalTime;"enter"===s?this._animationStateChanged.next({state:"opening",totalTime:l}):("exit"===s||"void"===s)&&this._animationStateChanged.next({state:"closing",totalTime:l})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(pq);return e.\u0275fac=function(){var i;return function(n){return(i||(i=sr(e)))(n||e)}}(),e.\u0275cmp=Ke({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,n){1&t&&Rp("@dialogContainer.start",function(o){return n._onAnimationStart(o)})("@dialogContainer.done",function(o){return n._onAnimationDone(o)}),2&t&&(Bs("id",n._id),Dt("role",n._config.role)("aria-labelledby",n._config.ariaLabel?null:n._ariaLabelledBy)("aria-label",n._config.ariaLabel)("aria-describedby",n._config.ariaDescribedBy||null),Np("@dialogContainer",n._state))},features:[ht],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,n){1&t&&K(0,fq,0,0,"ng-template",0)},directives:[Cs],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[hq.dialogContainer]}}),e}(),vq=0,wr=function(){function e(i,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(vq++);c(this,e),this._overlayRef=i,this._containerInstance=t,this.id=a,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new Ie,this._afterClosed=new Ie,this._beforeClosed=new Ie,this._state=0,t._id=a,t._animationStateChanged.pipe(Ir(function(o){return"opened"===o.state}),Qn(1)).subscribe(function(){n._afterOpened.next(),n._afterOpened.complete()}),t._animationStateChanged.pipe(Ir(function(o){return"closed"===o.state}),Qn(1)).subscribe(function(){clearTimeout(n._closeFallbackTimeout),n._finishDialogClose()}),i.detachments().subscribe(function(){n._beforeClosed.next(n._result),n._beforeClosed.complete(),n._afterClosed.next(n._result),n._afterClosed.complete(),n.componentInstance=null,n._overlayRef.dispose()}),i.keydownEvents().pipe(Ir(function(o){return 27===o.keyCode&&!n.disableClose&&!Ms(o)})).subscribe(function(o){o.preventDefault(),b1(n,"keyboard")}),i.backdropClick().subscribe(function(){n.disableClose?n._containerInstance._recaptureFocus():b1(n,"mouse")})}return f(e,[{key:"close",value:function(t){var n=this;this._result=t,this._containerInstance._animationStateChanged.pipe(Ir(function(a){return"closing"===a.state}),Qn(1)).subscribe(function(a){n._beforeClosed.next(t),n._beforeClosed.complete(),n._overlayRef.detachBackdrop(),n._closeFallbackTimeout=setTimeout(function(){return n._finishDialogClose()},a.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(t){var n=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?n.left(t.left):n.right(t.right):n.centerHorizontally(),t&&(t.top||t.bottom)?t.top?n.top(t.top):n.bottom(t.bottom):n.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:t,height:n}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function b1(e,i,t){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=i),e.close(t)}var Ur=new Ze("MatDialogData"),aO=new Ze("mat-dialog-default-options"),oO=new Ze("mat-dialog-scroll-strategy"),_q={provide:oO,deps:[na],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},yq=function(){var e=function(){function i(t,n,a,o,s,l,u,d,y){var T=this;c(this,i),this._overlay=t,this._injector=n,this._defaultOptions=a,this._parentDialog=o,this._overlayContainer=s,this._dialogRefConstructor=u,this._dialogContainerType=d,this._dialogDataToken=y,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new Ie,this._afterOpenedAtThisLevel=new Ie,this._ariaHiddenElements=new Map,this.afterAllClosed=Um(function(){return T.openDialogs.length?T._getAfterAllClosed():T._getAfterAllClosed().pipe(_i(void 0))}),this._scrollStrategy=l}return f(i,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var n=this._parentDialog;return n?n._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(n,a){var o=this;(a=function(e,i){return Object.assign(Object.assign({},i),e)}(a,this._defaultOptions||new Zn)).id&&this.getDialogById(a.id);var s=this._createOverlay(a),l=this._attachDialogContainer(s,a),u=this._attachDialogContent(n,l,s,a);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(u),u.afterClosed().subscribe(function(){return o._removeOpenDialog(u)}),this.afterOpened.next(u),l._initializeWithAttachedContent(),u}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(n){return this.openDialogs.find(function(a){return a.id===n})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(n){var a=this._getOverlayConfig(n);return this._overlay.create(a)}},{key:"_getOverlayConfig",value:function(n){var a=new ih({positionStrategy:this._overlay.position().global(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(a.backdropClass=n.backdropClass),a}},{key:"_attachDialogContainer",value:function(n,a){var s=sn.create({parent:a&&a.viewContainerRef&&a.viewContainerRef.injector||this._injector,providers:[{provide:Zn,useValue:a}]}),l=new Kc(this._dialogContainerType,a.viewContainerRef,s,a.componentFactoryResolver);return n.attach(l).instance}},{key:"_attachDialogContent",value:function(n,a,o,s){var l=new this._dialogRefConstructor(o,a,s.id);if(n instanceof Vr)a.attachTemplatePortal(new Qs(n,null,{$implicit:s.data,dialogRef:l}));else{var u=this._createInjector(s,l,a),d=a.attachComponentPortal(new Kc(n,s.viewContainerRef,u));l.componentInstance=d.instance}return l.updateSize(s.width,s.height).updatePosition(s.position),l}},{key:"_createInjector",value:function(n,a,o){var s=n&&n.viewContainerRef&&n.viewContainerRef.injector,l=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:n.data},{provide:this._dialogRefConstructor,useValue:a}];return n.direction&&(!s||!s.get(jr,null,Kt.Optional))&&l.push({provide:jr,useValue:{value:n.direction,change:Qe()}}),sn.create({parent:s||this._injector,providers:l})}},{key:"_removeOpenDialog",value:function(n){var a=this.openDialogs.indexOf(n);a>-1&&(this.openDialogs.splice(a,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(o,s){o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var n=this._overlayContainer.getContainerElement();if(n.parentElement)for(var a=n.parentElement.children,o=a.length-1;o>-1;o--){var s=a[o];s!==n&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(n){for(var a=n.length;a--;)n[a].close()}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(na),N(sn),N(void 0),N(void 0),N(ah),N(void 0),N(Wu),N(Wu),N(Ze))},e.\u0275dir=Ve({type:e}),e}(),Gn=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y){return c(this,n),t.call(this,a,o,l,d,y,u,wr,mq,Ur)}return n}(yq);return e.\u0275fac=function(t){return new(t||e)(_e(na),_e(sn),_e(Yl,8),_e(aO,8),_e(oO),_e(e,12),_e(ah))},e.\u0275prov=We({token:e,factory:e.\u0275fac}),e}(),kq=0,Cq=function(){var e=function(){function i(t,n,a){c(this,i),this.dialogRef=t,this._elementRef=n,this._dialog=a,this.type="button"}return f(i,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=sO(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(n){var a=n._matDialogClose||n._matDialogCloseResult;a&&(this.dialogResult=a.currentValue)}},{key:"_onButtonClick",value:function(n){b1(this.dialogRef,0===n.screenX&&0===n.screenY?"keyboard":"mouse",this.dialogResult)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(wr,8),N(pt),N(Gn))},e.\u0275dir=Ve({type:e,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,n){1&t&&we("click",function(o){return n._onButtonClick(o)}),2&t&&Dt("aria-label",n.ariaLabel||null)("type",n.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[Jn]}),e}(),Mq=function(){var e=function(){function i(t,n,a){c(this,i),this._dialogRef=t,this._elementRef=n,this._dialog=a,this.id="mat-dialog-title-".concat(kq++)}return f(i,[{key:"ngOnInit",value:function(){var n=this;this._dialogRef||(this._dialogRef=sO(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var a=n._dialogRef._containerInstance;a&&!a._ariaLabelledBy&&(a._ariaLabelledBy=n.id)})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(wr,8),N(pt),N(Gn))},e.\u0275dir=Ve({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,n){2&t&&Bs("id",n.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),k1=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}();function sO(e,i){for(var t=e.nativeElement.parentElement;t&&!t.classList.contains("mat-dialog-container");)t=t.parentElement;return t?i.find(function(n){return n.id===t.id}):null}var wq=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Gn,_q],imports:[[oh,gv,mn],mn]}),e}(),Gt={maxShortListElements:5,maxFullListElements:40,connectionRetryDelay:5e3,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Espa\xf1ol",iconName:"es.png"},{code:"de",name:"Deutsch",iconName:"de.png"},{code:"pt",name:"Portugu\xeas (Brazil)",iconName:"pt.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px",vpn:{hardcodedIpWhileDeveloping:!1}},Sq=function(){return function(i){Object.assign(this,i)}}(),Bv=function(){function e(i){this.translate=i,this.currentLanguage=new Ya(1),this.languages=new Ya(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}return e.prototype.loadLanguageSettings=function(){var i=this;if(!this.settingsLoaded){this.settingsLoaded=!0;var t=[];Gt.languages.forEach(function(n){var a=new Sq(n);i.languagesInternal.push(a),t.push(a.code)}),this.languages.next(this.languagesInternal),this.translate.addLangs(t),this.translate.setDefaultLang(Gt.defaultLanguage),this.translate.onLangChange.subscribe(function(n){return i.onLanguageChanged(n)}),this.loadCurrentLanguage()}},e.prototype.changeLanguage=function(i){this.translate.use(i)},e.prototype.onLanguageChanged=function(i){this.currentLanguage.next(this.languagesInternal.find(function(t){return t.code===i.lang})),localStorage.setItem(this.storageKey,i.lang)},e.prototype.loadCurrentLanguage=function(){var i=this,t=localStorage.getItem(this.storageKey);t=t||Gt.defaultLanguage,setTimeout(function(){i.translate.use(t)},16)},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(si))},providedIn:"root"}),e}();function Tq(e,i){1&e&&(p(0,"div",3),p(1,"div"),Te(2,"img",4),p(3,"div"),F(4),V(5,"translate"),m(),m(),m()),2&e&&(v(4),be(U(5,1,"common.window-size-error")))}var Dq=function(e){return{background:e}},Eq=function(){function e(i,t,n,a,o,s){var l=this;this.inVpnClient=!1,o.afterOpened.subscribe(function(){return a.closeCurrent()}),n.events.subscribe(function(u){u instanceof Vc&&(a.closeCurrent(),o.closeAll(),window.scrollTo(0,0))}),o.afterAllClosed.subscribe(function(){return a.closeCurrentIfTemporaryError()}),s.loadLanguageSettings(),n.events.subscribe(function(){l.inVpnClient=n.url.includes("/vpn/")||n.url.includes("vpnlogin"),n.url.length>2&&(document.title=l.inVpnClient?"Skywire VPN":"Skywire Manager")})}return e.\u0275fac=function(t){return new(t||e)(N(Vi),N(Yl),N(Zt),N(xn),N(Gn),N(Bv))},e.\u0275cmp=Ke({type:e,selectors:[["app-root"]],decls:4,vars:4,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"]],template:function(t,n){1&t&&(K(0,Tq,6,3,"div",0),p(1,"div",1),Te(2,"div",2),Te(3,"router-outlet"),m()),2&t&&(E("ngIf",n.inVpnClient),v(2),E("ngClass",et(2,Dq,n.inVpnClient)))},directives:[Ot,Cr,sv],pipes:[wt],styles:[".size-alert[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.851);position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:inline-flex;align-items:center;justify-content:center;text-align:center;color:#fff}.size-alert[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 40px;max-width:400px}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}.content[_ngcontent-%COMP%]{padding:20px!important}.background[_ngcontent-%COMP%]{background-image:url(/assets/img/map.png);background-size:cover;background-position:center;opacity:.1;width:100%;height:100%;top:0;left:0;position:fixed}"]}),e}(),Lq={url:"",deserializer:function(i){return JSON.parse(i.data)},serializer:function(i){return JSON.stringify(i)}},Oq=function(e){h(t,e);var i=C(t);function t(n,a){var o;if(c(this,t),o=i.call(this),n instanceof me)o.destination=a,o.source=n;else{var s=o._config=Object.assign({},Lq);if(o._output=new Ie,"string"==typeof n)s.url=n;else for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);if(!s.WebSocketCtor&&WebSocket)s.WebSocketCtor=WebSocket;else if(!s.WebSocketCtor)throw new Error("no WebSocket constructor can be found");o.destination=new Ya}return o}return f(t,[{key:"lift",value:function(a){var o=new t(this._config,this.destination);return o.operator=a,o.source=this,o}},{key:"_resetState",value:function(){this._socket=null,this.source||(this.destination=new Ya),this._output=new Ie}},{key:"multiplex",value:function(a,o,s){var l=this;return new me(function(u){try{l.next(a())}catch(y){u.error(y)}var d=l.subscribe(function(y){try{s(y)&&u.next(y)}catch(T){u.error(T)}},function(y){return u.error(y)},function(){return u.complete()});return function(){try{l.next(o())}catch(y){u.error(y)}d.unsubscribe()}})}},{key:"_connectSocket",value:function(){var a=this,o=this._config,s=o.WebSocketCtor,l=o.protocol,u=o.url,d=o.binaryType,y=this._output,T=null;try{T=l?new s(u,l):new s(u),this._socket=T,d&&(this._socket.binaryType=d)}catch(H){return void y.error(H)}var I=new He(function(){a._socket=null,T&&1===T.readyState&&T.close()});T.onopen=function(H){if(!a._socket)return T.close(),void a._resetState();var X=a._config.openObserver;X&&X.next(H);var he=a.destination;a.destination=St.create(function(Se){if(1===T.readyState)try{T.send((0,a._config.serializer)(Se))}catch(Re){a.destination.error(Re)}},function(Se){var pe=a._config.closingObserver;pe&&pe.next(void 0),Se&&Se.code?T.close(Se.code,Se.reason):y.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),a._resetState()},function(){var Se=a._config.closingObserver;Se&&Se.next(void 0),T.close(),a._resetState()}),he&&he instanceof Ya&&I.add(he.subscribe(a.destination))},T.onerror=function(H){a._resetState(),y.error(H)},T.onclose=function(H){a._resetState();var q=a._config.closeObserver;q&&q.next(H),H.wasClean?y.complete():y.error(H)},T.onmessage=function(H){try{y.next((0,a._config.deserializer)(H))}catch(X){y.error(X)}}}},{key:"_subscribe",value:function(a){var o=this,s=this.source;return s?s.subscribe(a):(this._socket||this._connectSocket(),this._output.subscribe(a),a.add(function(){var l=o._socket;0===o._output.observers.length&&(l&&1===l.readyState&&l.close(),o._resetState())}),a)}},{key:"unsubscribe",value:function(){var a=this._socket;a&&1===a.readyState&&a.close(),this._resetState(),D(x(t.prototype),"unsubscribe",this).call(this)}}]),t}(ct),jv=function(){return(jv=Object.assign||function(e){for(var i,t=1,n=arguments.length;t mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),e}(),zq=function(){function e(i,t){this.authService=i,this.router=t}return e.prototype.ngOnInit=function(){var i=this;this.verificationSubscription=this.authService.checkLogin().subscribe(function(t){i.router.navigate(t!==Xc.NotLogged?["nodes"]:["login"],{replaceUrl:!0})},function(){i.router.navigate(["nodes"],{replaceUrl:!0})})},e.prototype.ngOnDestroy=function(){this.verificationSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(N(hh),N(Zt))},e.\u0275cmp=Ke({type:e,selectors:[["app-start"]],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(t,n){1&t&&(p(0,"div",0),Te(1,"app-loading-indicator"),m())},directives:[ws],styles:[""]}),e}(),cO=function(){var e=function(){function i(t,n){c(this,i),this._renderer=t,this._elementRef=n,this.onChange=function(a){},this.onTouched=function(){}}return f(i,[{key:"setProperty",value:function(n,a){this._renderer.setProperty(this._elementRef.nativeElement,n,a)}},{key:"registerOnTouched",value:function(n){this.onTouched=n}},{key:"registerOnChange",value:function(n){this.onChange=n}},{key:"setDisabledState",value:function(n){this.setProperty("disabled",n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(Ho),N(pt))},e.\u0275dir=Ve({type:e}),e}(),au=function(){var e=function(i){h(n,i);var t=C(n);function n(){return c(this,n),t.apply(this,arguments)}return n}(cO);return e.\u0275fac=function(){var i;return function(n){return(i||(i=sr(e)))(n||e)}}(),e.\u0275dir=Ve({type:e,features:[ht]}),e}(),mo=new Ze("NgValueAccessor"),Gq={provide:mo,useExisting:fn(function(){return qr}),multi:!0},Kq=new Ze("CompositionEventMode"),qr=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){var l;return c(this,n),(l=t.call(this,a,o))._compositionMode=s,l._composing=!1,null==l._compositionMode&&(l._compositionMode=!function(){var e=Vo()?Vo().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}()),l}return f(n,[{key:"writeValue",value:function(o){this.setProperty("value",null==o?"":o)}},{key:"_handleInput",value:function(o){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(o)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(o){this._composing=!1,this._compositionMode&&this.onChange(o)}}]),n}(cO);return e.\u0275fac=function(t){return new(t||e)(N(Ho),N(pt),N(Kq,8))},e.\u0275dir=Ve({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,n){1&t&&we("input",function(o){return n._handleInput(o.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(o){return n._compositionEnd(o.target.value)})},features:[Lt([Gq]),ht]}),e}();function el(e){return null==e||0===e.length}function fO(e){return null!=e&&"number"==typeof e.length}var li=new Ze("NgValidators"),tl=new Ze("NgAsyncValidators"),Jq=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,En=function(){function e(){c(this,e)}return f(e,null,[{key:"min",value:function(t){return function(e){return function(i){if(el(i.value)||el(e))return null;var t=parseFloat(i.value);return!isNaN(t)&&te?{max:{max:e,actual:i.value}}:null}}(t)}},{key:"required",value:function(t){return function(e){return el(e.value)?{required:!0}:null}(t)}},{key:"requiredTrue",value:function(t){return function(e){return!0===e.value?null:{required:!0}}(t)}},{key:"email",value:function(t){return function(e){return el(e.value)||Jq.test(e.value)?null:{email:!0}}(t)}},{key:"minLength",value:function(t){return function(e){return function(i){return el(i.value)||!fO(i.value)?null:i.value.lengthe?{maxlength:{requiredLength:e,actualLength:i.value.length}}:null}}function nl(e){return null}function kO(e){return null!=e}function CO(e){var i=lf(e)?ot(e):e;return Ap(i),i}function MO(e){var i={};return e.forEach(function(t){i=null!=t?Object.assign(Object.assign({},i),t):i}),0===Object.keys(i).length?null:i}function wO(e,i){return i.map(function(t){return t(e)})}function SO(e){return e.map(function(i){return function(e){return!e.validate}(i)?i:function(t){return i.validate(t)}})}function TO(e){if(!e)return null;var i=e.filter(kO);return 0==i.length?null:function(t){return MO(wO(t,i))}}function S1(e){return null!=e?TO(SO(e)):null}function DO(e){if(!e)return null;var i=e.filter(kO);return 0==i.length?null:function(t){return Av(wO(t,i).map(CO)).pipe($e(MO))}}function T1(e){return null!=e?DO(SO(e)):null}function EO(e,i){return null===e?[i]:Array.isArray(e)?[].concat(se(e),[i]):[e,i]}function LO(e){return e._rawValidators}function PO(e){return e._rawAsyncValidators}function D1(e){return e?Array.isArray(e)?e:[e]:[]}function Uv(e,i){return Array.isArray(e)?e.includes(i):e===i}function OO(e,i){var t=D1(i);return D1(e).forEach(function(a){Uv(t,a)||t.push(a)}),t}function xO(e,i){return D1(i).filter(function(t){return!Uv(e,t)})}var IO=function(){var e=function(){function i(){c(this,i),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return f(i,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(n){this._rawValidators=n||[],this._composedValidatorFn=S1(this._rawValidators)}},{key:"_setAsyncValidators",value:function(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=T1(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(n){this._onDestroyCallbacks.push(n)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(n){return n()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(n)}},{key:"hasError",value:function(n,a){return!!this.control&&this.control.hasError(n,a)}},{key:"getError",value:function(n,a){return this.control?this.control.getError(n,a):null}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e}),e}(),Bi=function(){var e=function(i){h(n,i);var t=C(n);function n(){return c(this,n),t.apply(this,arguments)}return f(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(IO);return e.\u0275fac=function(){var i;return function(n){return(i||(i=sr(e)))(n||e)}}(),e.\u0275dir=Ve({type:e,features:[ht]}),e}(),qo=function(e){h(t,e);var i=C(t);function t(){var n;return c(this,t),(n=i.apply(this,arguments))._parent=null,n.name=null,n.valueAccessor=null,n}return t}(IO),AO=function(){function e(i){c(this,e),this._cd=i}return f(e,[{key:"is",value:function(t){var n,a,o;return"submitted"===t?!!(null===(n=this._cd)||void 0===n?void 0:n.submitted):!!(null===(o=null===(a=this._cd)||void 0===a?void 0:a.control)||void 0===o?void 0:o[t])}}]),e}(),Kr=function(){var e=function(i){h(n,i);var t=C(n);function n(a){return c(this,n),t.call(this,a)}return n}(AO);return e.\u0275fac=function(t){return new(t||e)(N(qo,2))},e.\u0275dir=Ve({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,n){2&t&&Bt("ng-untouched",n.is("untouched"))("ng-touched",n.is("touched"))("ng-pristine",n.is("pristine"))("ng-dirty",n.is("dirty"))("ng-valid",n.is("valid"))("ng-invalid",n.is("invalid"))("ng-pending",n.is("pending"))},features:[ht]}),e}(),Jr=function(){var e=function(i){h(n,i);var t=C(n);function n(a){return c(this,n),t.call(this,a)}return n}(AO);return e.\u0275fac=function(t){return new(t||e)(N(Bi,10))},e.\u0275dir=Ve({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,n){2&t&&Bt("ng-untouched",n.is("untouched"))("ng-touched",n.is("touched"))("ng-pristine",n.is("pristine"))("ng-dirty",n.is("dirty"))("ng-valid",n.is("valid"))("ng-invalid",n.is("invalid"))("ng-pending",n.is("pending"))("ng-submitted",n.is("submitted"))},features:[ht]}),e}();function ph(e,i){P1(e,i),i.valueAccessor.writeValue(e.value),function(e,i){i.valueAccessor.registerOnChange(function(t){e._pendingValue=t,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&RO(e,i)})}(e,i),function(e,i){var t=function(a,o){i.valueAccessor.writeValue(a),o&&i.viewToModelUpdate(a)};e.registerOnChange(t),i._registerOnDestroy(function(){e._unregisterOnChange(t)})}(e,i),function(e,i){i.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&RO(e,i),"submit"!==e.updateOn&&e.markAsTouched()})}(e,i),function(e,i){if(i.valueAccessor.setDisabledState){var t=function(a){i.valueAccessor.setDisabledState(a)};e.registerOnDisabledChange(t),i._registerOnDestroy(function(){e._unregisterOnDisabledChange(t)})}}(e,i)}function Gv(e,i){var n=function(){};i.valueAccessor&&(i.valueAccessor.registerOnChange(n),i.valueAccessor.registerOnTouched(n)),Kv(e,i),e&&(i._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function qv(e,i){e.forEach(function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(i)})}function P1(e,i){var t=LO(e);null!==i.validator?e.setValidators(EO(t,i.validator)):"function"==typeof t&&e.setValidators([t]);var n=PO(e);null!==i.asyncValidator?e.setAsyncValidators(EO(n,i.asyncValidator)):"function"==typeof n&&e.setAsyncValidators([n]);var a=function(){return e.updateValueAndValidity()};qv(i._rawValidators,a),qv(i._rawAsyncValidators,a)}function Kv(e,i){var t=!1;if(null!==e){if(null!==i.validator){var n=LO(e);if(Array.isArray(n)&&n.length>0){var a=n.filter(function(u){return u!==i.validator});a.length!==n.length&&(t=!0,e.setValidators(a))}}if(null!==i.asyncValidator){var o=PO(e);if(Array.isArray(o)&&o.length>0){var s=o.filter(function(u){return u!==i.asyncValidator});s.length!==o.length&&(t=!0,e.setAsyncValidators(s))}}}var l=function(){};return qv(i._rawValidators,l),qv(i._rawAsyncValidators,l),t}function RO(e,i){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),i.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function FO(e,i){P1(e,i)}function NO(e,i){e._syncPendingControls(),i.forEach(function(t){var n=t.control;"submit"===n.updateOn&&n._pendingChange&&(t.viewToModelUpdate(n._pendingValue),n._pendingChange=!1)})}function Jv(e,i){var t=e.indexOf(i);t>-1&&e.splice(t,1)}var mh="VALID",$v="INVALID",ed="PENDING",vh="DISABLED";function I1(e){return(R1(e)?e.validators:e)||null}function YO(e){return Array.isArray(e)?S1(e):e||null}function A1(e,i){return(R1(i)?i.asyncValidators:e)||null}function HO(e){return Array.isArray(e)?T1(e):e||null}function R1(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var F1=function(){function e(i,t){c(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=i,this._rawAsyncValidators=t,this._composedValidatorFn=YO(this._rawValidators),this._composedAsyncValidatorFn=HO(this._rawAsyncValidators)}return f(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(t){this._rawValidators=this._composedValidatorFn=t}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===mh}},{key:"invalid",get:function(){return this.status===$v}},{key:"pending",get:function(){return this.status==ed}},{key:"disabled",get:function(){return this.status===vh}},{key:"enabled",get:function(){return this.status!==vh}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(t){this._rawValidators=t,this._composedValidatorFn=YO(t)}},{key:"setAsyncValidators",value:function(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=HO(t)}},{key:"addValidators",value:function(t){this.setValidators(OO(t,this._rawValidators))}},{key:"addAsyncValidators",value:function(t){this.setAsyncValidators(OO(t,this._rawAsyncValidators))}},{key:"removeValidators",value:function(t){this.setValidators(xO(t,this._rawValidators))}},{key:"removeAsyncValidators",value:function(t){this.setAsyncValidators(xO(t,this._rawAsyncValidators))}},{key:"hasValidator",value:function(t){return Uv(this._rawValidators,t)}},{key:"hasAsyncValidator",value:function(t){return Uv(this._rawAsyncValidators,t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(t){return t.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(n){n.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(n){n.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=ed,!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this._parentMarkedDirty(t.onlySelf);this.status=vh,this.errors=null,this._forEachChild(function(a){a.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(function(a){return a(!0)})}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this._parentMarkedDirty(t.onlySelf);this.status=mh,this._forEachChild(function(a){a.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:n})),this._onDisabledChange.forEach(function(a){return a(!1)})}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===mh||this.status===ed)&&this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(n){return n._updateTreeValidity(t)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?vh:mh}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var n=this;if(this.asyncValidator){this.status=ed,this._hasOwnPendingAsyncValidator=!0;var a=CO(this.asyncValidator(this));this._asyncValidationSubscription=a.subscribe(function(o){n._hasOwnPendingAsyncValidator=!1,n.setErrors(o,{emitEvent:t})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==n.emitEvent)}},{key:"get",value:function(t){return function(e,i,t){if(null==i||(Array.isArray(i)||(i=i.split(".")),Array.isArray(i)&&0===i.length))return null;var n=e;return i.forEach(function(a){n=n instanceof rl?n.controls.hasOwnProperty(a)?n.controls[a]:null:n instanceof N1&&n.at(a)||null}),n}(this,t)}},{key:"getError",value:function(t,n){var a=n?this.get(n):this;return a&&a.errors?a.errors[t]:null}},{key:"hasError",value:function(t,n){return!!this.getError(t,n)}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new mt,this.statusChanges=new mt}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?vh:this.errors?$v:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(ed)?ed:this._anyControlsHaveStatus($v)?$v:mh}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls(function(n){return n.status===t})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(t){return t.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(t){return t.touched})}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){R1(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),ra=function(e){h(t,e);var i=C(t);function t(){var n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1?arguments[1]:void 0,s=arguments.length>2?arguments[2]:void 0;return c(this,t),(n=i.call(this,I1(o),A1(s,o)))._onChange=[],n._applyFormState(a),n._setUpdateStrategy(o),n._initObservables(),n.updateValueAndValidity({onlySelf:!0,emitEvent:!!n.asyncValidator}),n}return f(t,[{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=a,this._onChange.length&&!1!==s.emitModelToViewChange&&this._onChange.forEach(function(l){return l(o.value,!1!==s.emitViewToModelChange)}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(a,o)}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(a),this.markAsPristine(o),this.markAsUntouched(o),this.setValue(this.value,o),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(a){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(a){this._onChange.push(a)}},{key:"_unregisterOnChange",value:function(a){Jv(this._onChange,a)}},{key:"registerOnDisabledChange",value:function(a){this._onDisabledChange.push(a)}},{key:"_unregisterOnDisabledChange",value:function(a){Jv(this._onDisabledChange,a)}},{key:"_forEachChild",value:function(a){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(a){this._isBoxedValue(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}}]),t}(F1),rl=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,I1(a),A1(o,a))).controls=n,s._initObservables(),s._setUpdateStrategy(a),s._setUpControls(),s.updateValueAndValidity({onlySelf:!0,emitEvent:!!s.asyncValidator}),s}return f(t,[{key:"registerControl",value:function(a,o){return this.controls[a]?this.controls[a]:(this.controls[a]=o,o.setParent(this),o._registerOnCollectionChange(this._onCollectionChange),o)}},{key:"addControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.registerControl(a,o),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"removeControl",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),delete this.controls[a],this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"setControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),delete this.controls[a],o&&this.registerControl(a,o),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"contains",value:function(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}},{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(a),Object.keys(a).forEach(function(l){o._throwIfControlMissing(l),o.controls[l].setValue(a[l],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=a&&(Object.keys(a).forEach(function(l){o.controls[l]&&o.controls[l].patchValue(a[l],{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(s,l){s.reset(a[l],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(a,o,s){return a[s]=o instanceof ra?o.value:o.getRawValue(),a})}},{key:"_syncPendingControls",value:function(){var a=this._reduceChildren(!1,function(o,s){return!!s._syncPendingControls()||o});return a&&this.updateValueAndValidity({onlySelf:!0}),a}},{key:"_throwIfControlMissing",value:function(a){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[a])throw new Error("Cannot find form control with name: ".concat(a,"."))}},{key:"_forEachChild",value:function(a){var o=this;Object.keys(this.controls).forEach(function(s){var l=o.controls[s];l&&a(l,s)})}},{key:"_setUpControls",value:function(){var a=this;this._forEachChild(function(o){o.setParent(a),o._registerOnCollectionChange(a._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(a){for(var o=0,s=Object.keys(this.controls);o0||this.disabled}},{key:"_checkAllValuesPresent",value:function(a){this._forEachChild(function(o,s){if(void 0===a[s])throw new Error("Must supply a value for form control with name: '".concat(s,"'."))})}}]),t}(F1),N1=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,I1(a),A1(o,a))).controls=n,s._initObservables(),s._setUpdateStrategy(a),s._setUpControls(),s.updateValueAndValidity({onlySelf:!0,emitEvent:!!s.asyncValidator}),s}return f(t,[{key:"at",value:function(a){return this.controls[a]}},{key:"push",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls.push(a),this._registerControl(a),this.updateValueAndValidity({emitEvent:o.emitEvent}),this._onCollectionChange()}},{key:"insert",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls.splice(a,0,o),this._registerControl(o),this.updateValueAndValidity({emitEvent:s.emitEvent})}},{key:"removeAt",value:function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),this.controls.splice(a,1),this.updateValueAndValidity({emitEvent:o.emitEvent})}},{key:"setControl",value:function(a,o){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.controls[a]&&this.controls[a]._registerOnCollectionChange(function(){}),this.controls.splice(a,1),o&&(this.controls.splice(a,0,o),this._registerControl(o)),this.updateValueAndValidity({emitEvent:s.emitEvent}),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(a),a.forEach(function(l,u){o._throwIfControlMissing(u),o.at(u).setValue(l,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s)}},{key:"patchValue",value:function(a){var o=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=a&&(a.forEach(function(l,u){o.at(u)&&o.at(u).patchValue(l,{onlySelf:!0,emitEvent:s.emitEvent})}),this.updateValueAndValidity(s))}},{key:"reset",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(s,l){s.reset(a[l],{onlySelf:!0,emitEvent:o.emitEvent})}),this._updatePristine(o),this._updateTouched(o),this.updateValueAndValidity(o)}},{key:"getRawValue",value:function(){return this.controls.map(function(a){return a instanceof ra?a.value:a.getRawValue()})}},{key:"clear",value:function(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.controls.length<1||(this._forEachChild(function(o){return o._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity({emitEvent:a.emitEvent}))}},{key:"_syncPendingControls",value:function(){var a=this.controls.reduce(function(o,s){return!!s._syncPendingControls()||o},!1);return a&&this.updateValueAndValidity({onlySelf:!0}),a}},{key:"_throwIfControlMissing",value:function(a){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(a))throw new Error("Cannot find form control at index ".concat(a))}},{key:"_forEachChild",value:function(a){this.controls.forEach(function(o,s){a(o,s)})}},{key:"_updateValue",value:function(){var a=this;this.value=this.controls.filter(function(o){return o.enabled||a.disabled}).map(function(o){return o.value})}},{key:"_anyControls",value:function(a){return this.controls.some(function(o){return o.enabled&&a(o)})}},{key:"_setUpControls",value:function(){var a=this;this._forEachChild(function(o){return a._registerControl(o)})}},{key:"_checkAllValuesPresent",value:function(a){this._forEachChild(function(o,s){if(void 0===a[s])throw new Error("Must supply a value for form control at index: ".concat(s,"."))})}},{key:"_allControlsDisabled",value:function(){var o,a=W(this.controls);try{for(a.s();!(o=a.n()).done;)if(o.value.enabled)return!1}catch(l){a.e(l)}finally{a.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(a){a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)}}]),t}(F1),lK={provide:Bi,useExisting:fn(function(){return _h})},gh=function(){return Promise.resolve(null)}(),_h=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this)).submitted=!1,s._directives=[],s.ngSubmit=new mt,s.form=new rl({},S1(a),T1(o)),s}return f(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(o){var s=this;gh.then(function(){var l=s._findContainer(o.path);o.control=l.registerControl(o.name,o.control),ph(o.control,o),o.control.updateValueAndValidity({emitEvent:!1}),s._directives.push(o)})}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){var s=this;gh.then(function(){var l=s._findContainer(o.path);l&&l.removeControl(o.name),Jv(s._directives,o)})}},{key:"addFormGroup",value:function(o){var s=this;gh.then(function(){var l=s._findContainer(o.path),u=new rl({});FO(u,o),l.registerControl(o.name,u),u.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(o){var s=this;gh.then(function(){var l=s._findContainer(o.path);l&&l.removeControl(o.name)})}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,s){var l=this;gh.then(function(){l.form.get(o.path).setValue(s)})}},{key:"setValue",value:function(o){this.control.setValue(o)}},{key:"onSubmit",value:function(o){return this.submitted=!0,NO(this.form,this._directives),this.ngSubmit.emit(o),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(o),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(o){return o.pop(),o.length?this.form.get(o):this.form}}]),n}(Bi);return e.\u0275fac=function(t){return new(t||e)(N(li,10),N(tl,10))},e.\u0275dir=Ve({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,n){1&t&&we("submit",function(o){return n.onSubmit(o)})("reset",function(){return n.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Lt([lK]),ht]}),e}(),$r=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),WO=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),Y1=new Ze("NgModelWithFormControlWarning"),_K={provide:Bi,useExisting:fn(function(){return mr})},mr=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this)).validators=a,s.asyncValidators=o,s.submitted=!1,s._onCollectionChange=function(){return s._updateDomValue()},s.directives=[],s.form=null,s.ngSubmit=new mt,s._setValidators(a),s._setAsyncValidators(o),s}return f(n,[{key:"ngOnChanges",value:function(o){this._checkFormPresent(),o.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(Kv(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(o){var s=this.form.get(o.path);return ph(s,o),s.updateValueAndValidity({emitEvent:!1}),this.directives.push(o),s}},{key:"getControl",value:function(o){return this.form.get(o.path)}},{key:"removeControl",value:function(o){Gv(o.control||null,o),Jv(this.directives,o)}},{key:"addFormGroup",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormGroup",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormGroup",value:function(o){return this.form.get(o.path)}},{key:"addFormArray",value:function(o){this._setUpFormContainer(o)}},{key:"removeFormArray",value:function(o){this._cleanUpFormContainer(o)}},{key:"getFormArray",value:function(o){return this.form.get(o.path)}},{key:"updateModel",value:function(o,s){this.form.get(o.path).setValue(s)}},{key:"onSubmit",value:function(o){return this.submitted=!0,NO(this.form,this.directives),this.ngSubmit.emit(o),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(o),this.submitted=!1}},{key:"_updateDomValue",value:function(){var o=this;this.directives.forEach(function(s){var l=s.control,u=o.form.get(s.path);l!==u&&(Gv(l||null,s),u instanceof ra&&(ph(u,s),s.control=u))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(o){var s=this.form.get(o.path);FO(s,o),s.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(o){if(this.form){var s=this.form.get(o.path);s&&function(e,i){return Kv(e,i)}(s,o)&&s.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){P1(this.form,this),this._oldForm&&Kv(this._oldForm,this)}},{key:"_checkFormPresent",value:function(){}}]),n}(Bi);return e.\u0275fac=function(t){return new(t||e)(N(li,10),N(tl,10))},e.\u0275dir=Ve({type:e,selectors:[["","formGroup",""]],hostBindings:function(t,n){1&t&&we("submit",function(o){return n.onSubmit(o)})("reset",function(){return n.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Lt([_K]),ht,Jn]}),e}(),kK={provide:qo,useExisting:fn(function(){return zr})},zr=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u){var d;return c(this,n),(d=t.call(this))._ngModelWarningConfig=u,d._added=!1,d.update=new mt,d._ngModelWarningSent=!1,d._parent=a,d._setValidators(o),d._setAsyncValidators(s),d.valueAccessor=function(e,i){if(!i)return null;Array.isArray(i);var t=void 0,n=void 0,a=void 0;return i.forEach(function(o){o.constructor===qr?t=o:function(e){return Object.getPrototypeOf(e.constructor)===au}(o)?n=o:a=o}),a||n||t||null}(O(d),l),d}return f(n,[{key:"isDisabled",set:function(o){}},{key:"ngOnChanges",value:function(o){this._added||this._setUpControl(),function(e,i){if(!e.hasOwnProperty("model"))return!1;var t=e.model;return!!t.isFirstChange()||!Object.is(i,t.currentValue)}(o,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(o){this.viewModel=o,this.update.emit(o)}},{key:"path",get:function(){return function(e,i){return[].concat(se(i.path),[e])}(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),n}(qo);return e.\u0275fac=function(t){return new(t||e)(N(Bi,13),N(li,10),N(tl,10),N(mo,10),N(Y1,8))},e.\u0275dir=Ve({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Lt([kK]),ht,Jn]}),e._ngModelWarningSentOnce=!1,e}();var AK={provide:li,useExisting:fn(function(){return ji}),multi:!0},ji=function(){var e=function(){function i(){c(this,i),this._validator=nl}return f(i,[{key:"ngOnChanges",value:function(n){"maxlength"in n&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(n){return this.enabled()?this._validator(n):null}},{key:"registerOnValidatorChange",value:function(n){this._onChange=n}},{key:"_createValidator",value:function(){this._validator=this.enabled()?yO(function(e){return"number"==typeof e?e:parseInt(e,10)}(this.maxlength)):nl}},{key:"enabled",value:function(){return null!=this.maxlength}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,n){2&t&&Dt("maxlength",n.enabled()?n.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Lt([AK]),Jn]}),e}(),ax=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[WO]]}),e}(),FK=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[ax]}),e}(),ox=function(){var e=function(){function i(){c(this,i)}return f(i,null,[{key:"withConfig",value:function(n){return{ngModule:i,providers:[{provide:Y1,useValue:n.warnOnNgModelWithFormControl}]}}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[ax]}),e}();function NK(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}var ia=function(){var e=function(){function i(){c(this,i)}return f(i,[{key:"group",value:function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=this._reduceControls(n),s=null,l=null,u=void 0;return null!=a&&(NK(a)?(s=null!=a.validators?a.validators:null,l=null!=a.asyncValidators?a.asyncValidators:null,u=null!=a.updateOn?a.updateOn:void 0):(s=null!=a.validator?a.validator:null,l=null!=a.asyncValidator?a.asyncValidator:null)),new rl(o,{asyncValidators:l,updateOn:u,validators:s})}},{key:"control",value:function(n,a,o){return new ra(n,a,o)}},{key:"array",value:function(n,a,o){var s=this,l=n.map(function(u){return s._createControl(u)});return new N1(l,a,o)}},{key:"_reduceControls",value:function(n){var a=this,o={};return Object.keys(n).forEach(function(s){o[s]=a._createControl(n[s])}),o}},{key:"_createControl",value:function(n){return n instanceof ra||n instanceof rl||n instanceof N1?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)}}]),i}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=We({factory:function(){return new e},token:e,providedIn:ox}),e}();function YK(e,i){1&e&&(p(0,"button",5),p(1,"mat-icon"),F(2,"close"),m(),m())}function HK(e,i){1&e&&Dl(0)}var sx=function(e){return{"content-margin":e}};function VK(e,i){if(1&e&&(p(0,"mat-dialog-content",6),K(1,HK,1,0,"ng-container",7),m()),2&e){var t=J(),n=Lr(8);E("ngClass",et(2,sx,t.includeVerticalMargins)),v(1),E("ngTemplateOutlet",n)}}function BK(e,i){1&e&&Dl(0)}function jK(e,i){if(1&e&&(p(0,"div",6),K(1,BK,1,0,"ng-container",7),m()),2&e){var t=J(),n=Lr(8);E("ngClass",et(2,sx,t.includeVerticalMargins)),v(1),E("ngTemplateOutlet",n)}}function UK(e,i){1&e&&jn(0)}var zK=["*"],vr=function(){function e(){this.includeScrollableArea=!0,this.includeVerticalMargins=!0}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-dialog"]],inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins"},ngContentSelectors:zK,decls:9,vars:4,consts:[["mat-dialog-title","",1,"header"],["mat-dialog-close","","mat-icon-button","","class","grey-button-background",4,"ngIf"],[1,"header-separator"],[3,"ngClass",4,"ngIf"],["contentTemplate",""],["mat-dialog-close","","mat-icon-button","",1,"grey-button-background"],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(t,n){1&t&&(ri(),p(0,"div",0),p(1,"span"),F(2),m(),K(3,YK,3,0,"button",1),m(),Te(4,"div",2),K(5,VK,2,4,"mat-dialog-content",3),K(6,jK,2,4,"div",3),K(7,UK,1,0,"ng-template",null,4,Il)),2&t&&(v(2),be(n.headline),v(1),E("ngIf",!n.disableDismiss),v(2),E("ngIf",n.includeScrollableArea),v(1),E("ngIf",!n.includeScrollableArea))},directives:[Mq,Ot,bi,Cq,Cn,k1,Cr,bm],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}[_nghost-%COMP%]{color:#202226}.header[_ngcontent-%COMP%]{margin:-24px -24px 0;color:#215f9e;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;font-weight:bold;display:flex;justify-content:space-between;align-items:center}@media (max-width: 767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:18px 0}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px}@media (max-width: 767px){.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:rgba(33,95,158,.2);margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),e}(),WK={tooltipState:gs("state",[Hi("initial, void, hidden",bn({opacity:0,transform:"scale(0)"})),Hi("visible",bn({transform:"scale(1)"})),gi("* => visible",Yi("200ms cubic-bezier(0, 0, 0.2, 1)",Oj([bn({opacity:0,transform:"scale(0)",offset:0}),bn({opacity:.5,transform:"scale(0.99)",offset:.5}),bn({opacity:1,transform:"scale(1)",offset:1})]))),gi("* => hidden",Yi("100ms cubic-bezier(0, 0, 0.2, 1)",bn({opacity:0})))])},lx="tooltip-panel",ux=$l({passive:!0}),cx=new Ze("mat-tooltip-scroll-strategy"),JK={provide:cx,deps:[na],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},$K=new Ze("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),ZK=function(){var e=function(){function i(t,n,a,o,s,l,u,d,y,T,I,H){var q=this;c(this,i),this._overlay=t,this._elementRef=n,this._scrollDispatcher=a,this._viewContainerRef=o,this._ngZone=s,this._platform=l,this._ariaDescriber=u,this._focusMonitor=d,this._dir=T,this._defaultOptions=I,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new Ie,this._handleKeydown=function(X){q._isTooltipVisible()&&27===X.keyCode&&!Ms(X)&&(X.preventDefault(),X.stopPropagation(),q._ngZone.run(function(){return q.hide(0)}))},this._scrollStrategy=y,this._document=H,I&&(I.position&&(this.position=I.position),I.touchGestures&&(this.touchGestures=I.touchGestures)),T.change.pipe(rn(this._destroyed)).subscribe(function(){q._overlayRef&&q._updatePosition(q._overlayRef)}),s.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",q._handleKeydown)})}return f(i,[{key:"position",get:function(){return this._position},set:function(n){var a;n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(a=this._tooltipInstance)||void 0===a||a.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(n){this._disabled=kn(n),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(n){var a=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=n?String(n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){a._ariaDescriber.describe(a._elementRef.nativeElement,a.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var n=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(rn(this._destroyed)).subscribe(function(a){a?"keyboard"===a&&n._ngZone.run(function(){return n.show()}):n._ngZone.run(function(){return n.hide(0)})})}},{key:"ngOnDestroy",value:function(){var n=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),n.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(a){var o=te(a,2);n.removeEventListener(o[0],o[1],ux)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(n,this.message,"tooltip"),this._focusMonitor.stopMonitoring(n)}},{key:"show",value:function(){var n=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var o=this._createOverlay();this._detach(),this._portal=this._portal||new Kc(this._tooltipComponent,this._viewContainerRef),this._tooltipInstance=o.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(rn(this._destroyed)).subscribe(function(){return n._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(a)}}},{key:"hide",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(n)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var n=this;if(this._overlayRef)return this._overlayRef;var a=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".".concat(this._cssClassPrefix,"-tooltip")).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(a);return o.positionChanges.pipe(rn(this._destroyed)).subscribe(function(s){n._updateCurrentPositionClass(s.connectionPair),n._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&n._tooltipInstance.isVisible()&&n._ngZone.run(function(){return n.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:"".concat(this._cssClassPrefix,"-").concat(lx),scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(rn(this._destroyed)).subscribe(function(){return n._detach()}),this._overlayRef.outsidePointerEvents().pipe(rn(this._destroyed)).subscribe(function(){var s;return null===(s=n._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(n){var a=n.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();a.withPositions([this._addOffset(Object.assign(Object.assign({},o.main),s.main)),this._addOffset(Object.assign(Object.assign({},o.fallback),s.fallback))])}},{key:"_addOffset",value:function(n){return n}},{key:"_getOrigin",value:function(){var o,n=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a||"below"==a?o={originX:"center",originY:"above"==a?"top":"bottom"}:"before"==a||"left"==a&&n||"right"==a&&!n?o={originX:"start",originY:"center"}:("after"==a||"right"==a&&n||"left"==a&&!n)&&(o={originX:"end",originY:"center"});var s=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s.x,originY:s.y}}}},{key:"_getOverlayPosition",value:function(){var o,n=!this._dir||"ltr"==this._dir.value,a=this.position;"above"==a?o={overlayX:"center",overlayY:"bottom"}:"below"==a?o={overlayX:"center",overlayY:"top"}:"before"==a||"left"==a&&n||"right"==a&&!n?o={overlayX:"end",overlayY:"center"}:("after"==a||"right"==a&&n||"left"==a&&!n)&&(o={overlayX:"start",overlayY:"center"});var s=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s.x,overlayY:s.y}}}},{key:"_updateTooltipMessage",value:function(){var n=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Qn(1),rn(this._destroyed)).subscribe(function(){n._tooltipInstance&&n._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(n,a){return"above"===this.position||"below"===this.position?"top"===a?a="bottom":"bottom"===a&&(a="top"):"end"===n?n="start":"start"===n&&(n="end"),{x:n,y:a}}},{key:"_updateCurrentPositionClass",value:function(n){var l,a=n.overlayY,o=n.originX;if((l="center"===a?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===a&&"top"===n.originY?"above":"below")!==this._currentPosition){var u=this._overlayRef;if(u){var d="".concat(this._cssClassPrefix,"-").concat(lx,"-");u.removePanelClass(d+this._currentPosition),u.addPanelClass(d+l)}this._currentPosition=l}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var n=this;this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){n._setupPointerExitEventsIfNeeded(),n.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){n._setupPointerExitEventsIfNeeded(),clearTimeout(n._touchstartTimeout),n._touchstartTimeout=setTimeout(function(){return n.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var a,n=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var o=[];if(this._platformSupportsMouseEvents())o.push(["mouseleave",function(){return n.hide()}],["wheel",function(l){return n._wheelListener(l)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var s=function(){clearTimeout(n._touchstartTimeout),n.hide(n._defaultOptions.touchendHideDelay)};o.push(["touchend",s],["touchcancel",s])}this._addListeners(o),(a=this._passiveListeners).push.apply(a,o)}}},{key:"_addListeners",value:function(n){var a=this;n.forEach(function(o){var s=te(o,2);a._elementRef.nativeElement.addEventListener(s[0],s[1],ux)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(n){if(this._isTooltipVisible()){var a=this._document.elementFromPoint(n.clientX,n.clientY),o=this._elementRef.nativeElement;a!==o&&!o.contains(a)&&this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var n=this.touchGestures;if("off"!==n){var a=this._elementRef.nativeElement,o=a.style;("on"===n||"INPUT"!==a.nodeName&&"TEXTAREA"!==a.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===n||!a.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(na),N(pt),N(qc),N(kr),N(vt),N(Qt),N(lP),N(ho),N(void 0),N(jr),N(void 0),N(dt))},e.\u0275dir=Ve({type:e,inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),e}(),cr=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y,T,I,H,q,X){var he;return c(this,n),(he=t.call(this,a,o,s,l,u,d,y,T,I,H,q,X))._tooltipComponent=eJ,he}return n}(ZK);return e.\u0275fac=function(t){return new(t||e)(N(na),N(pt),N(qc),N(kr),N(vt),N(Qt),N(lP),N(ho),N(cx),N(jr,8),N($K,8),N(dt))},e.\u0275dir=Ve({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[ht]}),e}(),XK=function(){var e=function(){function i(t){c(this,i),this._changeDetectorRef=t,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new Ie}return f(i,[{key:"show",value:function(n){var a=this;clearTimeout(this._hideTimeoutId),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){a._visibility="visible",a._showTimeoutId=void 0,a._onShow(),a._markForCheck()},n)}},{key:"hide",value:function(n){var a=this;clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(function(){a._visibility="hidden",a._hideTimeoutId=void 0,a._markForCheck()},n)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(n){var a=n.toState;"hidden"===a&&!this.isVisible()&&this._onHide.next(),("visible"===a||"hidden"===a)&&(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}},{key:"_onShow",value:function(){}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(Nn))},e.\u0275dir=Ve({type:e}),e}(),eJ=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this,a))._breakpointObserver=o,s._isHandset=s._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),s}return n}(XK);return e.\u0275fac=function(t){return new(t||e)(N(Nn),N(d1))},e.\u0275cmp=Ke({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,n){2&t&&ha("zoom","visible"===n._visibility?1:null)},features:[ht],decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,n){var a;1&t&&(p(0,"div",0),we("@state.start",function(){return n._animationStart()})("@state.done",function(s){return n._animationDone(s)}),V(1,"async"),F(2),m()),2&t&&(Bt("mat-tooltip-handset",null==(a=U(1,5,n._isHandset))?null:a.matches),E("ngClass",n.tooltipClass)("@state",n._visibility),v(2),be(n.message))},directives:[Cr],pipes:[YD],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[WK.tooltipState]},changeDetection:0}),e}(),tJ=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[JK],imports:[[SP,Bo,oh,mn],mn,th]}),e}(),nJ=["underline"],rJ=["connectionContainer"],iJ=["inputContainer"],aJ=["label"];function oJ(e,i){1&e&&(Ge(0),p(1,"div",14),Te(2,"div",15),Te(3,"div",16),Te(4,"div",17),m(),p(5,"div",18),Te(6,"div",15),Te(7,"div",16),Te(8,"div",17),m(),qe())}function sJ(e,i){1&e&&(p(0,"div",19),jn(1,1),m())}function lJ(e,i){if(1&e&&(Ge(0),jn(1,2),p(2,"span"),F(3),m(),qe()),2&e){var t=J(2);v(3),be(t._control.placeholder)}}function uJ(e,i){1&e&&jn(0,3,["*ngSwitchCase","true"])}function cJ(e,i){1&e&&(p(0,"span",23),F(1," *"),m())}function dJ(e,i){if(1&e){var t=nt();p(0,"label",20,21),we("cdkObserveContent",function(){return Ae(t),J().updateOutlineGap()}),K(2,lJ,4,1,"ng-container",12),K(3,uJ,1,0,"ng-content",12),K(4,cJ,2,0,"span",22),m()}if(2&e){var n=J();Bt("mat-empty",n._control.empty&&!n._shouldAlwaysFloat())("mat-form-field-empty",n._control.empty&&!n._shouldAlwaysFloat())("mat-accent","accent"==n.color)("mat-warn","warn"==n.color),E("cdkObserveContentDisabled","outline"!=n.appearance)("id",n._labelId)("ngSwitch",n._hasLabel()),Dt("for",n._control.id)("aria-owns",n._control.id),v(2),E("ngSwitchCase",!1),v(1),E("ngSwitchCase",!0),v(1),E("ngIf",!n.hideRequiredMarker&&n._control.required&&!n._control.disabled)}}function fJ(e,i){1&e&&(p(0,"div",24),jn(1,4),m())}function hJ(e,i){if(1&e&&(p(0,"div",25,26),Te(2,"span",27),m()),2&e){var t=J();v(2),Bt("mat-accent","accent"==t.color)("mat-warn","warn"==t.color)}}function pJ(e,i){1&e&&(p(0,"div"),jn(1,5),m()),2&e&&E("@transitionMessages",J()._subscriptAnimationState)}function mJ(e,i){if(1&e&&(p(0,"div",31),F(1),m()),2&e){var t=J(2);E("id",t._hintLabelId),v(1),be(t.hintLabel)}}function vJ(e,i){if(1&e&&(p(0,"div",28),K(1,mJ,2,2,"div",29),jn(2,6),Te(3,"div",30),jn(4,7),m()),2&e){var t=J();E("@transitionMessages",t._subscriptAnimationState),v(1),E("ngIf",t.hintLabel)}}var gJ=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],_J=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],yJ=0,dx=new Ze("MatError"),yh=function(){var e=function i(t,n){c(this,i),this.id="mat-error-".concat(yJ++),t||n.nativeElement.setAttribute("aria-live","polite")};return e.\u0275fac=function(t){return new(t||e)($a("aria-live"),N(pt))},e.\u0275dir=Ve({type:e,selectors:[["mat-error"]],hostAttrs:["aria-atomic","true",1,"mat-error"],hostVars:1,hostBindings:function(t,n){2&t&&Dt("id",n.id)},inputs:{id:"id"},features:[Lt([{provide:dx,useExisting:e}])]}),e}(),bJ={transitionMessages:gs("transitionMessages",[Hi("enter",bn({opacity:1,transform:"translateY(0%)"})),gi("void => enter",[bn({opacity:0,transform:"translateY(-5px)"}),Yi("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Qv=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e}),e}(),fx=new Ze("MatHint"),hx=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["mat-label"]]}),e}(),CJ=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["mat-placeholder"]]}),e}(),px=new Ze("MatPrefix"),mx=new Ze("MatSuffix"),vx=0,wJ=Xl(function(){return function e(i){c(this,e),this._elementRef=i}}(),"primary"),SJ=new Ze("MAT_FORM_FIELD_DEFAULT_OPTIONS"),W1=new Ze("MatFormField"),ki=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y,T){var I;return c(this,n),(I=t.call(this,a))._changeDetectorRef=o,I._dir=l,I._defaults=u,I._platform=d,I._ngZone=y,I._outlineGapCalculationNeededImmediately=!1,I._outlineGapCalculationNeededOnStable=!1,I._destroyed=new Ie,I._showAlwaysAnimate=!1,I._subscriptAnimationState="",I._hintLabel="",I._hintLabelId="mat-hint-".concat(vx++),I._labelId="mat-form-field-label-".concat(vx++),I.floatLabel=I._getDefaultFloatLabelState(),I._animationsEnabled="NoopAnimations"!==T,I.appearance=u&&u.appearance?u.appearance:"legacy",I._hideRequiredMarker=!(!u||null==u.hideRequiredMarker)&&u.hideRequiredMarker,I}return f(n,[{key:"appearance",get:function(){return this._appearance},set:function(o){var s=this._appearance;this._appearance=o||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&s!==o&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(o){this._hideRequiredMarker=kn(o)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(o){this._hintLabel=o,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(o){o!==this._floatLabel&&(this._floatLabel=o||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(o){this._explicitFormFieldControl=o}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var o=this;this._validateControlChild();var s=this._control;s.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(s.controlType)),s.stateChanges.pipe(_i(null)).subscribe(function(){o._validatePlaceholders(),o._syncDescribedByIds(),o._changeDetectorRef.markForCheck()}),s.ngControl&&s.ngControl.valueChanges&&s.ngControl.valueChanges.pipe(rn(this._destroyed)).subscribe(function(){return o._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){o._ngZone.onStable.pipe(rn(o._destroyed)).subscribe(function(){o._outlineGapCalculationNeededOnStable&&o.updateOutlineGap()})}),wi(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){o._outlineGapCalculationNeededOnStable=!0,o._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(_i(null)).subscribe(function(){o._processHints(),o._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(_i(null)).subscribe(function(){o._syncDescribedByIds(),o._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(rn(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?o._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return o.updateOutlineGap()})}):o.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(o){var s=this._control?this._control.ngControl:null;return s&&s[o]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var o=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,ks(this._label.nativeElement,"transitionend").pipe(Qn(1)).subscribe(function(){o._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var o=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&o.push.apply(o,se(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var s=this._hintChildren?this._hintChildren.find(function(u){return"start"===u.align}):null,l=this._hintChildren?this._hintChildren.find(function(u){return"end"===u.align}):null;s?o.push(s.id):this._hintLabel&&o.push(this._hintLabelId),l&&o.push(l.id)}else this._errorChildren&&o.push.apply(o,se(this._errorChildren.map(function(u){return u.id})));this._control.setDescribedByIds(o)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var o=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&o&&o.children.length&&o.textContent.trim()&&this._platform.isBrowser){if(!this._isAttachedToDOM())return void(this._outlineGapCalculationNeededImmediately=!0);var s=0,l=0,u=this._connectionContainerRef.nativeElement,d=u.querySelectorAll(".mat-form-field-outline-start"),y=u.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var T=u.getBoundingClientRect();if(0===T.width&&0===T.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var I=this._getStartEnd(T),H=o.children,q=this._getStartEnd(H[0].getBoundingClientRect()),X=0,he=0;he0?.75*X+10:0}for(var Se=0;Se-1}},{key:"_isBadInput",value:function(){var o=this._elementRef.nativeElement.validity;return o&&o.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var o=this._elementRef.nativeElement,s=o.options[0];return this.focused||o.multiple||!this.empty||!!(o.selectedIndex>-1&&s&&s.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(o){o.length?this._elementRef.nativeElement.setAttribute("aria-describedby",o.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),n}(PJ);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Qt),N(qo,10),N(_h,8),N(mr,8),N(Pv),N(DJ,10),N(yx),N(vt),N(W1,8))},e.\u0275dir=Ve({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(t,n){1&t&&we("focus",function(){return n._focusChanged(!0)})("blur",function(){return n._focusChanged(!1)})("input",function(){return n._onInput()}),2&t&&(Bs("disabled",n.disabled)("required",n.required),Dt("id",n.id)("data-placeholder",n.placeholder)("readonly",n.readonly&&!n._isNativeSelect||null)("aria-invalid",n.empty&&n.required?null:n.errorState)("aria-required",n.required),Bt("mat-input-server",n._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[Lt([{provide:Qv,useExisting:e}]),ht,Jn]}),e}(),OJ=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Pv],imports:[[bx,Zv,mn],bx,Zv]}),e}(),xJ=["button1"],IJ=["button2"];function AJ(e,i){1&e&&Te(0,"mat-spinner",4),2&e&&E("diameter",J().loadingSize)}function RJ(e,i){1&e&&(p(0,"mat-icon"),F(1,"error_outline"),m())}var FJ=function(e){return{"for-dark-background":e}},NJ=["*"],bh=function(e){return e[e.Normal=0]="Normal",e[e.Error=1]="Error",e[e.Loading=2]="Loading",e}({}),ui=function(){function e(){this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=24,this.action=new mt,this.state=bh.Normal,this.buttonStates=bh}return e.prototype.ngOnDestroy=function(){this.action.complete()},e.prototype.click=function(){this.disabled||(this.reset(),this.action.emit())},e.prototype.reset=function(i){void 0===i&&(i=!0),this.state=bh.Normal,i&&(this.disabled=!1)},e.prototype.focus=function(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()},e.prototype.showEnabled=function(){this.disabled=!1},e.prototype.showDisabled=function(){this.disabled=!0},e.prototype.showLoading=function(i){void 0===i&&(i=!0),this.state=bh.Loading,i&&(this.disabled=!0)},e.prototype.showError=function(i){void 0===i&&(i=!0),this.state=bh.Error,i&&(this.disabled=!1)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-button"]],viewQuery:function(t,n){if(1&t&&(_t(xJ,5),_t(IJ,5)),2&t){var a=void 0;it(a=at())&&(n.button1=a.first),it(a=at())&&(n.button2=a.first)}},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:NJ,decls:5,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(t,n){1&t&&(ri(),p(0,"button",0,1),we("click",function(){return n.click()}),K(2,AJ,1,1,"mat-spinner",2),K(3,RJ,2,0,"mat-icon",3),jn(4),m()),2&t&&(E("disabled",n.disabled)("color",n.color)("ngClass",et(5,FJ,n.forDarkBackground)),v(2),E("ngIf",n.state===n.buttonStates.Loading),v(1),E("ngIf",n.state===n.buttonStates.Error))},directives:[bi,Cr,Ot,iu,Cn],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),e}(),YJ=["button"],HJ=["firstInput"];function VJ(e,i){1&e&&(p(0,"mat-form-field",10),Te(1,"input",11),V(2,"translate"),p(3,"mat-error"),F(4),V(5,"translate"),m(),m()),2&e&&(v(1),E("placeholder",U(2,2,"settings.password.old-password")),v(3),Ce(" ",U(5,4,"settings.password.errors.old-password-required")," "))}var BJ=function(e){return{"rounded-elevated-box":e}},kx=function(e){return{"white-form-field":e}},jJ=function(e,i){return{"mt-2 app-button":e,"float-right":i}},Cx=function(){function e(i,t,n,a){this.authService=i,this.router=t,this.snackbarService=n,this.dialog=a,this.forInitialConfig=!1}return e.prototype.ngOnInit=function(){var i=this;this.form=new rl({oldPassword:new ra("",this.forInitialConfig?null:En.required),newPassword:new ra("",En.compose([En.required,En.minLength(6),En.maxLength(64)])),newPasswordConfirmation:new ra("",[En.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe(function(){return i.form.controls.newPasswordConfirmation.updateValueAndValidity()})},e.prototype.ngAfterViewInit=function(){var i=this;this.forInitialConfig&&setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()},e.prototype.changePassword=function(){var i=this;this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe(function(){i.dialog.closeAll(),i.snackbarService.showDone("settings.password.initial-config.done")},function(t){i.button.showError(),t=tn(t),i.snackbarService.showError(t,null,!0)}):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe(function(){i.router.navigate(["nodes"]),i.snackbarService.showDone("settings.password.password-changed")},function(t){i.button.showError(),t=tn(t),i.snackbarService.showError(t)}))},e.prototype.validatePasswords=function(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null},e.\u0275fac=function(t){return new(t||e)(N(hh),N(Zt),N(xn),N(Gn))},e.\u0275cmp=Ke({type:e,selectors:[["app-password"]],viewQuery:function(t,n){if(1&t&&(_t(YJ,5),_t(HJ,5)),2&t){var a=void 0;it(a=at())&&(n.button=a.first),it(a=at())&&(n.firstInput=a.first)}},inputs:{forInitialConfig:"forInitialConfig"},decls:25,vars:38,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",4,"ngIf"],["type","password","formControlName","newPassword","maxlength","64","matInput","",3,"placeholder"],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput","",3,"placeholder"],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field"],["type","password","formControlName","oldPassword","maxlength","64","matInput","",3,"placeholder"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"div"),p(3,"mat-icon",2),V(4,"translate"),F(5," help "),m(),m(),p(6,"form",3),K(7,VJ,6,6,"mat-form-field",4),p(8,"mat-form-field",0),Te(9,"input",5,6),V(11,"translate"),p(12,"mat-error"),F(13),V(14,"translate"),m(),m(),p(15,"mat-form-field",0),Te(16,"input",7),V(17,"translate"),p(18,"mat-error"),F(19),V(20,"translate"),m(),m(),p(21,"app-button",8,9),we("action",function(){return n.changePassword()}),F(23),V(24,"translate"),m(),m(),m(),m()),2&t&&(E("ngClass",et(29,BJ,!n.forInitialConfig)),v(2),pa((n.forInitialConfig?"":"white-")+"form-help-icon-container"),v(1),E("inline",!0)("matTooltip",U(4,17,n.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),v(3),E("formGroup",n.form),v(1),E("ngIf",!n.forInitialConfig),v(1),E("ngClass",et(31,kx,!n.forInitialConfig)),v(1),E("placeholder",U(11,19,n.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),v(4),Ce(" ",U(14,21,"settings.password.errors.new-password-error")," "),v(2),E("ngClass",et(33,kx,!n.forInitialConfig)),v(1),E("placeholder",U(17,23,n.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),v(3),Ce(" ",U(20,25,"settings.password.errors.passwords-not-match")," "),v(2),E("ngClass",Dn(35,jJ,!n.forInitialConfig,n.forInitialConfig))("disabled",!n.form.valid)("forDarkBackground",!n.forInitialConfig),v(2),Ce(" ",U(24,27,n.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},directives:[Cr,Cn,cr,$r,Jr,mr,Ot,ki,qr,aa,Kr,zr,ji,yh,ui],pipes:[wt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right;margin-right:32px}"]}),e}(),UJ=function(){function e(){}return e.openDialog=function(i){var t=new Zn;return t.autoFocus=!1,t.width=Gt.smallModalWidth,i.open(e,t)},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-initial-setup"]],decls:3,vars:4,consts:[[3,"headline"],[3,"forInitialConfig"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),Te(2,"app-password",1),m()),2&t&&(E("headline",U(1,2,"settings.password.initial-config.title")),v(2),E("forInitialConfig",!0))},directives:[vr,Cx],pipes:[wt],styles:[""]}),e}();function zJ(e,i){if(1&e){var t=nt();p(0,"button",3),we("click",function(){var s=Ae(t).$implicit;return J().closePopup(s)}),Te(1,"img",4),p(2,"div",5),F(3),m(),m()}if(2&e){var n=i.$implicit;v(1),E("src","assets/img/lang/"+n.iconName,Io),v(2),be(n.name)}}var Mx=function(){function e(i,t){this.dialogRef=i,this.languageService=t,this.languages=[]}return e.openDialog=function(i){var t=new Zn;return t.autoFocus=!1,t.width=Gt.mediumModalWidth,i.open(e,t)},e.prototype.ngOnInit=function(){var i=this;this.subscription=this.languageService.languages.subscribe(function(t){i.languages=t})},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.closePopup=function(i){void 0===i&&(i=null),i&&this.languageService.changeLanguage(i.code),this.dialogRef.close()},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Bv))},e.\u0275cmp=Ke({type:e,selectors:[["app-select-language"]],decls:4,vars:4,consts:[[3,"headline"],[1,"options-container"],["mat-button","","color","accent","class","grey-button-background",3,"click",4,"ngFor","ngForOf"],["mat-button","","color","accent",1,"grey-button-background",3,"click"],[3,"src"],[1,"label"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"div",1),K(3,zJ,4,2,"button",2),m(),m()),2&t&&(E("headline",U(1,2,"language.title")),v(3),E("ngForOf",n.languages))},directives:[vr,xr,bi],pipes:[wt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.options-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:118px;margin:20px;font-size:.7rem;line-height:unset;padding:0;color:unset}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:90px;font-size:.6rem;margin:6px}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin:10px 0}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px;margin:7px 0}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.251);padding:4px 10px}@media (max-width: 767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),e}();function WJ(e,i){1&e&&Te(0,"img",2),2&e&&E("src","assets/img/lang/"+J().language.iconName,Io)}var GJ=function(){function e(i,t){this.languageService=i,this.dialog=t}return e.prototype.ngOnInit=function(){var i=this;this.subscription=this.languageService.currentLanguage.subscribe(function(t){i.language=t})},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.prototype.openLanguageWindow=function(){Mx.openDialog(this.dialog)},e.\u0275fac=function(t){return new(t||e)(N(Bv),N(Gn))},e.\u0275cmp=Ke({type:e,selectors:[["app-lang-button"]],decls:3,vars:4,consts:[["mat-button","",1,"lang-button","subtle-transparent-button",3,"matTooltip","click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"]],template:function(t,n){1&t&&(p(0,"button",0),we("click",function(){return n.openLanguageWindow()}),V(1,"translate"),K(2,WJ,1,1,"img",1),m()),2&t&&(E("matTooltip",U(1,2,"language.title")),v(2),E("ngIf",n.language))},directives:[bi,cr,Ot],pipes:[wt],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),e}(),wx=function(){function e(i,t,n,a,o){this.authService=i,this.router=t,this.snackbarService=n,this.dialog=a,this.route=o,this.loading=!1,this.isForVpn=!1,this.vpnKey=""}return e.prototype.ngOnInit=function(){var i=this;this.routeSubscription=this.route.paramMap.subscribe(function(t){i.vpnKey=t.get("key"),i.isForVpn=-1!==window.location.href.indexOf("vpnlogin"),i.verificationSubscription=i.authService.checkLogin().subscribe(function(n){n!==Xc.NotLogged&&i.router.navigate(i.isForVpn?["vpn",i.vpnKey,"status"]:["nodes"],{replaceUrl:!0})})}),this.form=new rl({password:new ra("",En.required)})},e.prototype.ngOnDestroy=function(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe(),this.routeSubscription.unsubscribe()},e.prototype.login=function(){var i=this;!this.form.valid||this.loading||(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe(function(){return i.onLoginSuccess()},function(t){return i.onLoginError(t)}))},e.prototype.configure=function(){UJ.openDialog(this.dialog)},e.prototype.onLoginSuccess=function(){this.router.navigate(this.isForVpn?["vpn",this.vpnKey,"status"]:["nodes"],{replaceUrl:!0})},e.prototype.onLoginError=function(i){i=tn(i),this.loading=!1,this.snackbarService.showError(i.originalError&&401===i.originalError.status?"login.incorrect-password":i.translatableErrorMsg)},e.\u0275fac=function(t){return new(t||e)(N(hh),N(Zt),N(xn),N(Gn),N(ai))},e.\u0275cmp=Ke({type:e,selectors:[["app-login"]],decls:14,vars:8,consts:[[1,"w-100","h-100","d-flex","justify-content-center"],[1,"row","main-container"],["src","/assets/img/logo-v.png",1,"logo"],[1,"mt-5",3,"formGroup"],[1,"login-input"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(t,n){1&t&&(p(0,"div",0),Te(1,"app-lang-button"),p(2,"div",1),Te(3,"img",2),p(4,"form",3),p(5,"div",4),p(6,"input",5),we("keydown.enter",function(){return n.login()}),V(7,"translate"),m(),p(8,"button",6),we("click",function(){return n.login()}),p(9,"mat-icon"),F(10,"chevron_right"),m(),m(),m(),m(),p(11,"div",7),we("click",function(){return n.configure()}),F(12),V(13,"translate"),m(),m(),m()),2&t&&(v(4),E("formGroup",n.form),v(2),E("placeholder",U(7,4,"login.password")),v(2),E("disabled",!n.form.valid||n.loading),v(4),be(U(13,6,"login.initial-config")))},directives:[GJ,$r,Jr,mr,qr,Kr,zr,Cn],pipes:[wt],styles:['.cursor-pointer[_ngcontent-%COMP%], .config-link[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}app-lang-button[_ngcontent-%COMP%]{position:fixed;right:10px;top:10px}.main-container[_ngcontent-%COMP%]{z-index:1;height:100%;flex-direction:column;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%]{width:170px}.login-input[_ngcontent-%COMP%]{height:35px;width:300px;overflow:hidden;border-radius:10px;box-shadow:0 3px 8px rgba(0,0,0,.102),0 6px 20px rgba(0,0,0,.102);display:flex}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{background:#fff;width:calc(100% - 35px);height:100%;font-size:.875rem;border:none;padding-left:10px;padding-right:10px}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]:focus{outline:none}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#fff;color:#202226;width:35px;height:35px;line-height:35px;border:none;display:flex;cursor:pointer;align-items:center}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#777}.config-link[_ngcontent-%COMP%]{color:#f8f9f9;font-size:.7rem;margin-top:20px}']}),e}();function qJ(e){return e instanceof Date&&!isNaN(+e)}function ci(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zc,t=qJ(e),n=t?+e-i.now():Math.abs(e);return function(a){return a.lift(new KJ(n,i))}}var KJ=function(){function e(i,t){c(this,e),this.delay=i,this.scheduler=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new JJ(t,this.delay,this.scheduler))}}]),e}(),JJ=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).delay=a,s.scheduler=o,s.queue=[],s.active=!1,s.errored=!1,s}return f(t,[{key:"_schedule",value:function(a){this.active=!0,this.destination.add(a.schedule(t.dispatch,this.delay,{source:this,destination:this.destination,scheduler:a}))}},{key:"scheduleNotification",value:function(a){if(!0!==this.errored){var o=this.scheduler,s=new $J(o.now()+this.delay,a);this.queue.push(s),!1===this.active&&this._schedule(o)}}},{key:"_next",value:function(a){this.scheduleNotification($f.createNext(a))}},{key:"_error",value:function(a){this.errored=!0,this.queue=[],this.destination.error(a),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification($f.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(a){for(var o=a.source,s=o.queue,l=a.scheduler,u=a.destination;s.length>0&&s[0].time-l.now()<=0;)s.shift().notification.observe(u);if(s.length>0){var d=Math.max(0,s[0].time-l.now());this.schedule(a,d)}else this.unsubscribe(),o.active=!1}}]),t}(St),$J=function e(i,t){c(this,e),this.time=i,this.notification=t},G1=B(61287),Xv=B.n(G1),q1=function(){return function(){}}(),QJ=function(){return function(){}}(),eg=function(){function e(i){this.apiService=i}return e.prototype.create=function(i,t,n){var a={remote_pk:t};return n&&(a.transport_type=n),this.apiService.post("visors/"+i+"/transports",a)},e.prototype.delete=function(i,t){return this.apiService.delete("visors/"+i+"/transports/"+t)},e.prototype.savePersistentTransportsData=function(i,t){return this.apiService.put("visors/"+i+"/persistent-transports",t)},e.prototype.getPersistentTransports=function(i){return this.apiService.get("visors/"+i+"/persistent-transports")},e.prototype.types=function(i){return this.apiService.get("visors/"+i+"/transport-types")},e.prototype.changeAutoconnectSetting=function(i,t){var n={};return n.public_autoconnect=t,this.apiService.put("visors/"+i+"/public-autoconnect",n)},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(ru))},providedIn:"root"}),e}(),K1=function(){function e(i){this.apiService=i}return e.prototype.get=function(i,t){return this.apiService.get("visors/"+i+"/routes/"+t)},e.prototype.delete=function(i,t){return this.apiService.delete("visors/"+i+"/routes/"+t)},e.prototype.setMinHops=function(i,t){return this.apiService.post("visors/"+i+"/min-hops",{min_hops:t})},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(ru))},providedIn:"root"}),e}(),il=function(e){return e.Connecting="connecting",e.Unhealthy="unhealthy",e.Healthy="healthy",e}({}),ZJ=function(){return function(){this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}}(),gr=function(e){return e.UseCustomSettings="updaterUseCustomSettings",e.Channel="updaterChannel",e.Version="updaterVersion",e.ArchiveURL="updaterArchiveURL",e.ChecksumsURL="updaterChecksumsURL",e}({}),ou=function(){function e(i,t,n,a){var o=this;this.apiService=i,this.storageService=t,this.transportService=n,this.routeService=a,this.maxTrafficHistorySlots=10,this.nodeListSubject=new Br(null),this.updatingNodeListSubject=new Br(!1),this.specificNodeSubject=new Br(null),this.updatingSpecificNodeSubject=new Br(!1),this.specificNodeTrafficDataSubject=new Br(null),this.specificNodeKey="",this.lastScheduledHistoryUpdateTime=0,this.storageService.getRefreshTimeObservable().subscribe(function(s){o.dataRefreshDelay=1e3*s,o.nodeListRefreshSubscription&&o.forceNodeListRefresh(),o.specificNodeRefreshSubscription&&o.forceSpecificNodeRefresh()})}return Object.defineProperty(e.prototype,"nodeList",{get:function(){return this.nodeListSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"updatingNodeList",{get:function(){return this.updatingNodeListSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"specificNode",{get:function(){return this.specificNodeSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"updatingSpecificNode",{get:function(){return this.updatingSpecificNodeSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"specificNodeTrafficData",{get:function(){return this.specificNodeTrafficDataSubject.asObservable()},enumerable:!1,configurable:!0}),e.prototype.startRequestingNodeList=function(){if(this.nodeListStopSubscription&&!this.nodeListStopSubscription.closed)return this.nodeListStopSubscription.unsubscribe(),void(this.nodeListStopSubscription=null);var t=this.calculateRemainingTime(this.nodeListSubject.value?this.nodeListSubject.value.momentOfLastCorrectUpdate:0);this.startDataSubscription(t=t>0?t:0,!0)},e.prototype.startRequestingSpecificNode=function(i){if(this.specificNodeStopSubscription&&!this.specificNodeStopSubscription.closed&&this.specificNodeKey===i)return this.specificNodeStopSubscription.unsubscribe(),void(this.specificNodeStopSubscription=null);var n=this.calculateRemainingTime(this.specificNodeSubject.value?this.specificNodeSubject.value.momentOfLastCorrectUpdate:0);this.lastScheduledHistoryUpdateTime=0,this.specificNodeKey!==i||0===n?(this.specificNodeKey=i,this.specificNodeTrafficDataSubject.next(new ZJ),this.specificNodeSubject.next(null),this.startDataSubscription(0,!1)):this.startDataSubscription(n,!1)},e.prototype.calculateRemainingTime=function(i){if(i<1)return 0;var t=this.dataRefreshDelay-(Date.now()-i);return t<0&&(t=0),t},e.prototype.stopRequestingNodeList=function(){var i=this;this.nodeListRefreshSubscription&&(this.nodeListStopSubscription=Qe(1).pipe(ci(4e3)).subscribe(function(){i.nodeListRefreshSubscription.unsubscribe(),i.nodeListRefreshSubscription=null}))},e.prototype.stopRequestingSpecificNode=function(){var i=this;this.specificNodeRefreshSubscription&&(this.specificNodeStopSubscription=Qe(1).pipe(ci(4e3)).subscribe(function(){i.specificNodeRefreshSubscription.unsubscribe(),i.specificNodeRefreshSubscription=null}))},e.prototype.startDataSubscription=function(i,t){var a,o,s,n=this;t?(a=this.updatingNodeListSubject,o=this.nodeListSubject,s=this.getNodes(),this.nodeListRefreshSubscription&&this.nodeListRefreshSubscription.unsubscribe()):(a=this.updatingSpecificNodeSubject,o=this.specificNodeSubject,s=this.getNode(this.specificNodeKey),this.specificNodeStopSubscription&&(this.specificNodeStopSubscription.unsubscribe(),this.specificNodeStopSubscription=null),this.specificNodeRefreshSubscription&&this.specificNodeRefreshSubscription.unsubscribe());var l=Qe(1).pipe(ci(i),Ar(function(){return a.next(!0)}),ci(120),Sn(function(){return s})).subscribe(function(u){var d;a.next(!1),t?d=n.dataRefreshDelay:(n.updateTrafficData(u.transports),(d=n.calculateRemainingTime(n.lastScheduledHistoryUpdateTime))<1e3&&(n.lastScheduledHistoryUpdateTime=Date.now(),d=n.dataRefreshDelay));var y={data:u,error:null,momentOfLastCorrectUpdate:Date.now()};o.next(y),n.startDataSubscription(d,t)},function(u){a.next(!1),u=tn(u);var d={data:o.value&&o.value.data?o.value.data:null,error:u,momentOfLastCorrectUpdate:o.value?o.value.momentOfLastCorrectUpdate:-1};!t&&u.originalError&&400===u.originalError.status||n.startDataSubscription(Gt.connectionRetryDelay,t),o.next(d)});t?this.nodeListRefreshSubscription=l:this.specificNodeRefreshSubscription=l},e.prototype.updateTrafficData=function(i){var t=this.specificNodeTrafficDataSubject.value;if(t.totalSent=0,t.totalReceived=0,i&&i.length>0&&(t.totalSent=i.reduce(function(s,l){return s+l.sent},0),t.totalReceived=i.reduce(function(s,l){return s+l.recv},0)),0===t.sentHistory.length)for(var n=0;nthis.maxTrafficHistorySlots&&(o=this.maxTrafficHistorySlots),0===o)t.sentHistory[t.sentHistory.length-1]=t.totalSent,t.receivedHistory[t.receivedHistory.length-1]=t.totalReceived;else for(n=0;nthis.maxTrafficHistorySlots&&(t.sentHistory.splice(0,t.sentHistory.length-this.maxTrafficHistorySlots),t.receivedHistory.splice(0,t.receivedHistory.length-this.maxTrafficHistorySlots))}this.specificNodeTrafficDataSubject.next(t)},e.prototype.forceNodeListRefresh=function(){this.nodeListSubject.value&&(this.nodeListSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!0)},e.prototype.forceSpecificNodeRefresh=function(){this.specificNodeSubject.value&&(this.specificNodeSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!1)},e.prototype.getNodes=function(){var i=this,t=[];return this.apiService.get("visors-summary").pipe($e(function(n){n&&n.forEach(function(u){var d=new q1;d.online=u.online,d.localPk=u.overview.local_pk,d.autoconnectTransports=u.public_autoconnect,d.ip=u.overview&&u.overview.local_ip&&u.overview.local_ip.trim()?u.overview.local_ip:null;var y=i.storageService.getLabelInfo(d.localPk);if(d.label=y&&y.label?y.label:i.storageService.getDefaultLabel(d),!d.online)return d.dmsgServerPk="",d.roundTripPing="",void t.push(d);d.health={servicesHealth:u.health.services_health},d.dmsgServerPk=u.dmsg_stats.server_public_key,d.roundTripPing=i.nsToMs(u.dmsg_stats.round_trip),d.isHypervisor=u.is_hypervisor,t.push(d)});var a=new Map,o=[],s=[];t.forEach(function(u){a.set(u.localPk,u),u.online&&(o.push(u.localPk),s.push(u.ip))}),i.storageService.includeVisibleLocalNodes(o,s);var l=[];return i.storageService.getSavedLocalNodes().forEach(function(u){if(!a.has(u.publicKey)&&!u.hidden){var d=new q1;d.localPk=u.publicKey;var y=i.storageService.getLabelInfo(u.publicKey);d.label=y&&y.label?y.label:i.storageService.getDefaultLabel(d),d.online=!1,d.dmsgServerPk="",d.roundTripPing="",l.push(d)}a.has(u.publicKey)&&!a.get(u.publicKey).online&&u.hidden&&a.delete(u.publicKey)}),t=[],a.forEach(function(u){return t.push(u)}),t=t.concat(l)}))},e.prototype.nsToMs=function(i){var t=new(Xv())(i).dividedBy(1e6);return(t=t.isLessThan(10)?t.decimalPlaces(2):t.decimalPlaces(0)).toString(10)},e.prototype.getNode=function(i){var t=this;return this.apiService.get("visors/"+i+"/summary").pipe($e(function(n){var a=new q1;a.localPk=n.overview.local_pk,a.version=n.overview.build_info.version,a.secondsOnline=Math.floor(Number.parseFloat(n.uptime)),a.minHops=n.min_hops,a.skybianBuildVersion=n.skybian_build_version,a.isSymmeticNat=n.overview.is_symmetic_nat,a.publicIp=n.overview.public_ip,a.autoconnectTransports=n.public_autoconnect,a.ip=n.overview.local_ip&&n.overview.local_ip.trim()?n.overview.local_ip:null;var o=t.storageService.getLabelInfo(a.localPk);a.label=o&&o.label?o.label:t.storageService.getDefaultLabel(a),a.health={servicesHealth:n.health.services_health},a.transports=[],n.overview.transports&&n.overview.transports.forEach(function(l){a.transports.push({id:l.id,localPk:l.local_pk,remotePk:l.remote_pk,type:l.type,recv:l.log.recv,sent:l.log.sent})}),a.persistentTransports=[],n.persistent_transports&&n.persistent_transports.forEach(function(l){a.persistentTransports.push({pk:l.pk,type:l.type})}),a.routes=[],n.routes&&n.routes.forEach(function(l){a.routes.push({key:l.key,rule:l.rule}),l.rule_summary&&(a.routes[a.routes.length-1].ruleSummary={keepAlive:l.rule_summary.keep_alive,ruleType:l.rule_summary.rule_type,keyRouteId:l.rule_summary.key_route_id},l.rule_summary.app_fields&&l.rule_summary.app_fields.route_descriptor&&(a.routes[a.routes.length-1].appFields={routeDescriptor:{dstPk:l.rule_summary.app_fields.route_descriptor.dst_pk,dstPort:l.rule_summary.app_fields.route_descriptor.dst_port,srcPk:l.rule_summary.app_fields.route_descriptor.src_pk,srcPort:l.rule_summary.app_fields.route_descriptor.src_port}}),l.rule_summary.forward_fields&&(a.routes[a.routes.length-1].forwardFields={nextRid:l.rule_summary.forward_fields.next_rid,nextTid:l.rule_summary.forward_fields.next_tid},l.rule_summary.forward_fields.route_descriptor&&(a.routes[a.routes.length-1].forwardFields.routeDescriptor={dstPk:l.rule_summary.forward_fields.route_descriptor.dst_pk,dstPort:l.rule_summary.forward_fields.route_descriptor.dst_port,srcPk:l.rule_summary.forward_fields.route_descriptor.src_pk,srcPort:l.rule_summary.forward_fields.route_descriptor.src_port})),l.rule_summary.intermediary_forward_fields&&(a.routes[a.routes.length-1].intermediaryForwardFields={nextRid:l.rule_summary.intermediary_forward_fields.next_rid,nextTid:l.rule_summary.intermediary_forward_fields.next_tid}))}),a.apps=[],n.overview.apps&&n.overview.apps.forEach(function(l){a.apps.push({name:l.name,status:l.status,port:l.port,autostart:l.auto_start,args:l.args})});var s=!1;return n.dmsg_stats&&(a.dmsgServerPk=n.dmsg_stats.server_public_key,a.roundTripPing=t.nsToMs(n.dmsg_stats.round_trip),s=!0),s||(a.dmsgServerPk="-",a.roundTripPing="-1"),a}))},e.prototype.reboot=function(i){return this.apiService.post("visors/"+i+"/restart")},e.prototype.checkIfUpdating=function(i){return this.apiService.get("visors/"+i+"/update/ws/running")},e.prototype.checkUpdate=function(i){var t="stable",n=localStorage.getItem(gr.Channel);return this.apiService.get("visors/"+i+"/update/available/"+(t=n||t))},e.prototype.update=function(i){var t={channel:"stable"};if(localStorage.getItem(gr.UseCustomSettings)){var a=localStorage.getItem(gr.Channel);a&&(t.channel=a);var o=localStorage.getItem(gr.Version);o&&(t.version=o);var s=localStorage.getItem(gr.ArchiveURL);s&&(t.archive_url=s);var l=localStorage.getItem(gr.ChecksumsURL);l&&(t.checksums_url=l)}return this.apiService.ws("visors/"+i+"/update/ws",t)},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(ru),_e(Vi),_e(eg),_e(K1))},providedIn:"root"}),e}(),XJ=["firstInput"],J1=function(){function e(i,t,n,a,o){this.dialogRef=i,this.data=t,this.formBuilder=n,this.storageService=a,this.snackbarService=o}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.smallModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){this.form=this.formBuilder.group({label:[this.data.label]})},e.prototype.ngAfterViewInit=function(){var i=this;setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.save=function(){var i=this.form.get("label").value.trim();i!==this.data.label?(this.storageService.saveLabel(this.data.id,i,this.data.identifiedElementType),i?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur),N(ia),N(Vi),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-edit-label"]],viewQuery:function(t,n){var a;(1&t&&_t(XJ,5),2&t)&&(it(a=at())&&(n.firstInput=a.first))},decls:10,vars:10,consts:[[3,"headline"],[3,"formGroup"],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"form",1),p(3,"mat-form-field"),Te(4,"input",2,3),V(6,"translate"),m(),m(),p(7,"app-button",4),we("action",function(){return n.save()}),F(8),V(9,"translate"),m(),m()),2&t&&(E("headline",U(1,4,"labeled-element.edit-label")),v(2),E("formGroup",n.form),v(2),E("placeholder",U(6,6,"edit-label.label")),v(4),be(U(9,8,"common.save")))},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,ji,ui],pipes:[wt],styles:[""]}),e}(),e$=["cancelButton"],t$=["confirmButton"];function n$(e,i){if(1&e&&(p(0,"div"),F(1),V(2,"translate"),m()),2&e){var t=i.$implicit;v(1),Ce(" - ",U(2,1,t)," ")}}function r$(e,i){if(1&e&&(p(0,"div",8),K(1,n$,3,3,"div",9),m()),2&e){var t=J();v(1),E("ngForOf",t.state!==t.confirmationStates.Done?t.data.list:t.doneList)}}function i$(e,i){if(1&e&&(p(0,"div",1),F(1),V(2,"translate"),m()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.data.lowerText)," ")}}function a$(e,i){if(1&e){var t=nt();p(0,"app-button",10,11),we("action",function(){return Ae(t),J().closeModal()}),F(2),V(3,"translate"),m()}if(2&e){var n=J();v(2),Ce(" ",U(3,1,n.data.cancelButtonText)," ")}}var kh=function(e){return e.Asking="Asking",e.Processing="Processing",e.Done="Done",e}({}),o$=function(){function e(i,t){this.dialogRef=i,this.data=t,this.disableDismiss=!1,this.state=kh.Asking,this.confirmationStates=kh,this.operationAccepted=new mt,this.disableDismiss=!!t.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}return e.prototype.ngAfterViewInit=function(){var i=this;this.data.cancelButtonText?setTimeout(function(){return i.cancelButton.focus()}):setTimeout(function(){return i.confirmButton.focus()})},e.prototype.ngOnDestroy=function(){this.operationAccepted.complete()},e.prototype.closeModal=function(){this.dialogRef.close()},e.prototype.sendOperationAcceptedEvent=function(){this.operationAccepted.emit()},e.prototype.showAsking=function(i){i&&(this.data=i),this.state=kh.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()},e.prototype.showProcessing=function(){this.state=kh.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()},e.prototype.showDone=function(i,t,n){var a=this;void 0===n&&(n=null),this.doneTitle=i||this.data.headerText,this.doneText=t,this.doneList=n,this.confirmButton.reset(),setTimeout(function(){return a.confirmButton.focus()}),this.state=kh.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur))},e.\u0275cmp=Ke({type:e,selectors:[["app-confirmation"]],viewQuery:function(t,n){if(1&t&&(_t(e$,5),_t(t$,5)),2&t){var a=void 0;it(a=at())&&(n.cancelButton=a.first),it(a=at())&&(n.confirmButton=a.first)}},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:13,consts:[[3,"headline","disableDismiss"],[1,"text-container"],["class","list-container",4,"ngIf"],["class","text-container",4,"ngIf"],[1,"buttons"],["color","accent",3,"action",4,"ngIf"],["color","primary",3,"action"],["confirmButton",""],[1,"list-container"],[4,"ngFor","ngForOf"],["color","accent",3,"action"],["cancelButton",""]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"div",1),F(3),V(4,"translate"),m(),K(5,r$,2,1,"div",2),K(6,i$,3,3,"div",3),p(7,"div",4),K(8,a$,4,3,"app-button",5),p(9,"app-button",6,7),we("action",function(){return n.state===n.confirmationStates.Asking?n.sendOperationAcceptedEvent():n.closeModal()}),F(11),V(12,"translate"),m(),m(),m()),2&t&&(E("headline",U(1,7,n.state!==n.confirmationStates.Done?n.data.headerText:n.doneTitle))("disableDismiss",n.disableDismiss),v(3),Ce(" ",U(4,9,n.state!==n.confirmationStates.Done?n.data.text:n.doneText)," "),v(2),E("ngIf",n.data.list&&n.state!==n.confirmationStates.Done||n.doneList&&n.state===n.confirmationStates.Done),v(1),E("ngIf",n.data.lowerText&&n.state!==n.confirmationStates.Done),v(2),E("ngIf",n.data.cancelButtonText&&n.state!==n.confirmationStates.Done),v(3),Ce(" ",U(12,11,n.state!==n.confirmationStates.Done?n.data.confirmButtonText:"confirmation.close")," "))},directives:[vr,Ot,ui,xr],pipes:[wt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),e}(),ln=function(){function e(){}return e.createConfirmationDialog=function(i,t){var n={text:t,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!0},a=new Zn;return a.data=n,a.autoFocus=!1,a.width=Gt.smallModalWidth,i.open(o$,a)},e}();function l$(e,i){if(1&e&&(p(0,"mat-icon",6),F(1),m()),2&e){var t=J().$implicit;E("inline",!0),v(1),be(t.icon)}}function u$(e,i){if(1&e){var t=nt();p(0,"div",2),p(1,"button",3),we("click",function(){var s=Ae(t).index;return J().closePopup(s+1)}),p(2,"div",4),K(3,l$,2,2,"mat-icon",5),p(4,"span"),F(5),V(6,"translate"),m(),m(),m(),m()}if(2&e){var n=i.$implicit;v(3),E("ngIf",n.icon),v(2),be(U(6,2,n.label))}}var Ui=function(){function e(i,t){this.data=i,this.dialogRef=t}return e.openDialog=function(i,t,n){var a=new Zn;return a.data={options:t,title:n},a.autoFocus=!1,a.width=Gt.smallModalWidth,i.open(e,a)},e.prototype.closePopup=function(i){this.dialogRef.close(i)},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(wr))},e.\u0275cmp=Ke({type:e,selectors:[["app-select-option"]],decls:3,vars:5,consts:[[3,"headline","includeVerticalMargins"],["class","options-list-button-container",4,"ngFor","ngForOf"],[1,"options-list-button-container"],["mat-button","",1,"grey-button-background",3,"click"],[1,"internal-container"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),K(2,u$,7,4,"div",1),m()),2&t&&(E("headline",U(1,3,n.data.title))("includeVerticalMargins",!1),v(2),E("ngForOf",n.data.options))},directives:[vr,xr,bi,Ot,Cn],pipes:[wt],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px}"]}),e}(),dr=function(e){return e.TextInput="TextInput",e.Select="Select",e}({}),Ch=function(){function e(i){this.dom=i}return e.prototype.copy=function(i){var t=null,n=!1;try{(t=this.dom.createElement("textarea")).style.height="0px",t.style.left="-100px",t.style.opacity="0",t.style.position="fixed",t.style.top="-100px",t.style.width="0px",this.dom.body.appendChild(t),t.value=i,t.select(),this.dom.execCommand("copy"),n=!0}finally{t&&t.parentNode&&t.parentNode.removeChild(t)}return n},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(dt))}}),e}();function f$(e,i){if(1&e&&(Ge(0),p(1,"span",2),F(2),m(),qe()),2&e){var t=J();v(2),be(t.shortText)}}function h$(e,i){if(1&e&&(Ge(0),p(1,"span"),F(2),m(),qe()),2&e){var t=J();v(2),be(t.text)}}var p$=function(){return{"tooltip-word-break":!0}},Sx=function(){function e(){this.short=!1,this.showTooltip=!0,this.shortTextLength=5}return Object.defineProperty(e.prototype,"shortText",{get:function(){if(this.text.length>2*this.shortTextLength){var i=this.text.length;return this.text.slice(0,this.shortTextLength)+"..."+this.text.slice(i-this.shortTextLength,i)}return this.text},enumerable:!1,configurable:!0}),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-truncated-text"]],inputs:{short:"short",showTooltip:"showTooltip",text:"text",shortTextLength:"shortTextLength"},decls:3,vars:5,consts:[[1,"wrapper",3,"matTooltip","matTooltipClass"],[4,"ngIf"],[1,"nowrap"]],template:function(t,n){1&t&&(p(0,"div",0),K(1,f$,3,1,"ng-container",1),K(2,h$,3,1,"ng-container",1),m()),2&t&&(E("matTooltip",n.short&&n.showTooltip?n.text:"")("matTooltipClass",Yn(4,p$)),v(1),E("ngIf",n.short),v(1),E("ngIf",!n.short))},directives:[cr,Ot],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}']}),e}();function m$(e,i){if(1&e&&(p(0,"span"),F(1),V(2,"translate"),m()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.labelComponents.prefix)," ")}}function v$(e,i){if(1&e&&(p(0,"span"),F(1),m()),2&e){var t=J();v(1),Ce(" ",t.labelComponents.prefixSeparator," ")}}function g$(e,i){if(1&e&&(p(0,"span"),F(1),m()),2&e){var t=J();v(1),Ce(" ",t.labelComponents.label," ")}}function _$(e,i){if(1&e&&(p(0,"span"),F(1),V(2,"translate"),m()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.labelComponents.translatableLabel)," ")}}var y$=function(e){return{text:e}},b$=function(){return{"tooltip-word-break":!0}},k$=function(){return function(){this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}}(),Ss=function(){function e(i,t,n,a){this.dialog=i,this.storageService=t,this.clipboardService=n,this.snackbarService=a,this.short=!1,this.shortTextLength=5,this.elementType=ta.Node,this.labelEdited=new mt}return Object.defineProperty(e.prototype,"id",{get:function(){return this.idInternal?this.idInternal:""},set:function(i){this.idInternal=i,this.labelComponents=e.getLabelComponents(this.storageService,this.id)},enumerable:!1,configurable:!0}),e.getLabelComponents=function(i,t){var n;n=!!i.getSavedVisibleLocalNodes().has(t);var a=new k$;return a.labelInfo=i.getLabelInfo(t),a.labelInfo&&a.labelInfo.label?(n&&(a.prefix="labeled-element.local-element",a.prefixSeparator=" - "),a.label=a.labelInfo.label):i.getSavedVisibleLocalNodes().has(t)?a.prefix="labeled-element.unnamed-local-visor":a.translatableLabel="labeled-element.unnamed-element",a},e.getCompleteLabel=function(i,t,n){var a=e.getLabelComponents(i,n);return(a.prefix?t.instant(a.prefix):"")+a.prefixSeparator+a.label+(a.translatableLabel?t.instant(a.translatableLabel):"")},e.prototype.ngOnDestroy=function(){this.labelEdited.complete()},e.prototype.processClick=function(){var i=this,t=[{icon:"filter_none",label:"labeled-element.copy"},{icon:"edit",label:"labeled-element.edit-label"}];this.labelComponents.labelInfo&&t.push({icon:"close",label:"labeled-element.remove-label"}),Ui.openDialog(this.dialog,t,"common.options").afterClosed().subscribe(function(n){if(1===n)i.clipboardService.copy(i.id)&&i.snackbarService.showDone("copy.copied");else if(3===n){var a=ln.createConfirmationDialog(i.dialog,"labeled-element.remove-label-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),i.storageService.saveLabel(i.id,null,i.elementType),i.snackbarService.showDone("edit-label.label-removed-warning"),i.labelEdited.emit()})}else if(2===n){var o=i.labelComponents.labelInfo;o||(o={id:i.id,label:"",identifiedElementType:i.elementType}),J1.openDialog(i.dialog,o).afterClosed().subscribe(function(s){s&&i.labelEdited.emit()})}})},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(Vi),N(Ch),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-labeled-element-text"]],inputs:{id:"id",short:"short",shortTextLength:"shortTextLength",elementType:"elementType"},outputs:{labelEdited:"labelEdited"},decls:12,vars:17,consts:[[1,"wrapper","highlight-internal-icon",3,"matTooltip","matTooltipClass","click"],[1,"label"],[4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(t,n){1&t&&(p(0,"div",0),we("click",function(o){return o.stopPropagation(),n.processClick()}),V(1,"translate"),p(2,"span",1),K(3,m$,3,3,"span",2),K(4,v$,2,1,"span",2),K(5,g$,2,1,"span",2),K(6,_$,3,3,"span",2),m(),Te(7,"br"),Te(8,"app-truncated-text",3),F(9," \xa0"),p(10,"mat-icon",4),F(11,"settings"),m(),m()),2&t&&(E("matTooltip",Ht(1,11,n.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",et(14,y$,n.id)))("matTooltipClass",Yn(16,b$)),v(3),E("ngIf",n.labelComponents&&n.labelComponents.prefix),v(1),E("ngIf",n.labelComponents&&n.labelComponents.prefixSeparator),v(1),E("ngIf",n.labelComponents&&n.labelComponents.label),v(1),E("ngIf",n.labelComponents&&n.labelComponents.translatableLabel),v(2),E("short",n.short)("showTooltip",!1)("shortTextLength",n.shortTextLength)("text",n.id),v(2),E("inline",!0))},directives:[cr,Ot,Sx,Cn],pipes:[wt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.8rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),e}(),Ln=function(){function e(i,t,n,a){this.properties=i,this.label=t,this.sortingMode=n,this.labelProperties=a}return Object.defineProperty(e.prototype,"id",{get:function(){return this.properties.join("")},enumerable:!1,configurable:!0}),e}(),un=function(e){return e.Text="Text",e.Number="Number",e.NumberReversed="NumberReversed",e.Boolean="Boolean",e}({}),td=function(){function e(i,t,n,a,o){this.dialog=i,this.translateService=t,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new Ie,this.sortableColumns=n,this.id=o,this.defaultColumnIndex=a,this.sortBy=n[a];var s=localStorage.getItem(this.columnStorageKeyPrefix+o);if(s){var l=n.find(function(u){return u.id===s});l&&(this.sortBy=l)}this.sortReverse="true"===localStorage.getItem(this.orderStorageKeyPrefix+o),this.sortByLabel="true"===localStorage.getItem(this.labelStorageKeyPrefix+o)}return Object.defineProperty(e.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentSortingColumn",{get:function(){return this.sortBy},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sortingInReverseOrder",{get:function(){return this.sortReverse},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dataSorted",{get:function(){return this.dataUpdatedSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentlySortingByLabel",{get:function(){return this.sortByLabel},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this.dataUpdatedSubject.complete()},e.prototype.setTieBreakerColumnIndex=function(i){this.tieBreakerColumnIndex=i},e.prototype.setData=function(i){this.data=i,this.sortData()},e.prototype.changeSortingOrder=function(i){var t=this;if(this.sortBy===i||i.labelProperties)if(i.labelProperties){var n=[{label:this.translateService.instant("tables.sort-by-value")},{label:this.translateService.instant("tables.sort-by-value")+" "+this.translateService.instant("tables.inverted-order")},{label:this.translateService.instant("tables.sort-by-label")},{label:this.translateService.instant("tables.sort-by-label")+" "+this.translateService.instant("tables.inverted-order")}];Ui.openDialog(this.dialog,n,"tables.title").afterClosed().subscribe(function(a){a&&t.changeSortingParams(i,a>2,a%2==0)})}else this.sortReverse=!this.sortReverse,localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(i,!1,!1)},e.prototype.changeSortingParams=function(i,t,n){this.sortBy=i,this.sortByLabel=t,this.sortReverse=n,localStorage.setItem(this.columnStorageKeyPrefix+this.id,i.id),localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),localStorage.setItem(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()},e.prototype.openSortingOrderModal=function(){var i=this,t=[],n=[];this.sortableColumns.forEach(function(a){var o=i.translateService.instant(a.label);t.push({label:o}),n.push({sortBy:a,sortReverse:!1,sortByLabel:!1}),t.push({label:o+" "+i.translateService.instant("tables.inverted-order")}),n.push({sortBy:a,sortReverse:!0,sortByLabel:!1}),a.labelProperties&&(t.push({label:o+" "+i.translateService.instant("tables.label")}),n.push({sortBy:a,sortReverse:!1,sortByLabel:!0}),t.push({label:o+" "+i.translateService.instant("tables.label")+" "+i.translateService.instant("tables.inverted-order")}),n.push({sortBy:a,sortReverse:!0,sortByLabel:!0}))}),Ui.openDialog(this.dialog,t,"tables.title").afterClosed().subscribe(function(a){a&&i.changeSortingParams(n[a-1].sortBy,n[a-1].sortByLabel,n[a-1].sortReverse)})},e.prototype.sortData=function(){var i=this;this.data&&(this.data.sort(function(t,n){var a=i.getSortResponse(i.sortBy,t,n,!0);return 0===a&&null!==i.tieBreakerColumnIndex&&i.sortableColumns[i.tieBreakerColumnIndex]!==i.sortBy&&(a=i.getSortResponse(i.sortableColumns[i.tieBreakerColumnIndex],t,n,!1)),0===a&&i.sortableColumns[i.defaultColumnIndex]!==i.sortBy&&(a=i.getSortResponse(i.sortableColumns[i.defaultColumnIndex],t,n,!1)),a}),this.dataUpdatedSubject.next())},e.prototype.getSortResponse=function(i,t,n,a){var s=t,l=n;(this.sortByLabel&&a&&i.labelProperties?i.labelProperties:i.properties).forEach(function(y){s=s[y],l=l[y]});var u=this.sortByLabel&&a?un.Text:i.sortingMode,d=0;return u===un.Text?d=this.sortReverse?l.localeCompare(s):s.localeCompare(l):u===un.NumberReversed?d=this.sortReverse?s-l:l-s:u===un.Number?d=this.sortReverse?l-s:s-l:u===un.Boolean&&(s&&!l?d=-1:!s&&l&&(d=1),d*=this.sortReverse?-1:1),d},e}(),C$=["trigger"],M$=["panel"];function w$(e,i){if(1&e&&(p(0,"span",8),F(1),m()),2&e){var t=J();v(1),be(t.placeholder)}}function S$(e,i){if(1&e&&(p(0,"span",12),F(1),m()),2&e){var t=J(2);v(1),be(t.triggerValue)}}function T$(e,i){1&e&&jn(0,0,["*ngSwitchCase","true"])}function D$(e,i){1&e&&(p(0,"span",9),K(1,S$,2,1,"span",10),K(2,T$,1,0,"ng-content",11),m()),2&e&&(E("ngSwitch",!!J().customTrigger),v(2),E("ngSwitchCase",!0))}function E$(e,i){if(1&e){var t=nt();p(0,"div",13),p(1,"div",14,15),we("@transformPanel.done",function(o){return Ae(t),J()._panelDoneAnimatingStream.next(o.toState)})("keydown",function(o){return Ae(t),J()._handleKeydown(o)}),jn(3,1),m(),m()}if(2&e){var n=J();E("@transformPanelWrap",void 0),v(1),function(e,i,t){no(ca,No,lc(ze(),e,i,t),!0)}("mat-select-panel ",n._getPanelTheme(),""),ha("transform-origin",n._transformOrigin)("font-size",n._triggerFontSize,"px"),E("ngClass",n.panelClass)("@transformPanel",n.multiple?"showing-multiple":"showing"),Dt("id",n.id+"-panel")("aria-multiselectable",n.multiple)("aria-label",n.ariaLabel||null)("aria-labelledby",n._getPanelAriaLabelledby())}}var L$=[[["mat-select-trigger"]],"*"],P$=["mat-select-trigger","*"],Tx={transformPanelWrap:gs("transformPanelWrap",[gi("* => void",Ij("@transformPanel",[xj()],{optional:!0}))]),transformPanel:gs("transformPanel",[Hi("void",bn({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Hi("showing",bn({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Hi("showing-multiple",bn({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),gi("void => *",Yi("120ms cubic-bezier(0, 0, 0.2, 1)")),gi("* => void",Yi("100ms 25ms linear",bn({opacity:0})))])},Dx=0,Lx=new Ze("mat-select-scroll-strategy"),A$=new Ze("MAT_SELECT_CONFIG"),R$={provide:Lx,deps:[na],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},F$=function e(i,t){c(this,e),this.source=i,this.value=t},N$=$c(s1(Xs(EP(function(){return function e(i,t,n,a,o){c(this,e),this._elementRef=i,this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=a,this.ngControl=o}}())))),Px=new Ze("MatSelectTrigger"),Y$=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=Ve({type:e,selectors:[["mat-select-trigger"]],features:[Lt([{provide:Px,useExisting:e}])]}),e}(),H$=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y,T,I,H,q,X,he,Se){var pe,Re,Ne,Xe;return c(this,n),(pe=t.call(this,u,l,y,T,H))._viewportRuler=a,pe._changeDetectorRef=o,pe._ngZone=s,pe._dir=d,pe._parentFormField=I,pe._liveAnnouncer=he,pe._defaultOptions=Se,pe._panelOpen=!1,pe._compareWith=function(st,bt){return st===bt},pe._uid="mat-select-".concat(Dx++),pe._triggerAriaLabelledBy=null,pe._destroy=new Ie,pe._onChange=function(){},pe._onTouched=function(){},pe._valueId="mat-select-value-".concat(Dx++),pe._panelDoneAnimatingStream=new Ie,pe._overlayPanelClass=(null===(Re=pe._defaultOptions)||void 0===Re?void 0:Re.overlayPanelClass)||"",pe._focused=!1,pe.controlType="mat-select",pe._required=!1,pe._multiple=!1,pe._disableOptionCentering=null!==(Xe=null===(Ne=pe._defaultOptions)||void 0===Ne?void 0:Ne.disableOptionCentering)&&void 0!==Xe&&Xe,pe.ariaLabel="",pe.optionSelectionChanges=Um(function(){var st=pe.options;return st?st.changes.pipe(_i(st),Xi(function(){return wi.apply(void 0,se(st.map(function(bt){return bt.onSelectionChange})))})):pe._ngZone.onStable.pipe(Qn(1),Xi(function(){return pe.optionSelectionChanges}))}),pe.openedChange=new mt,pe._openedStream=pe.openedChange.pipe(Ir(function(st){return st}),$e(function(){})),pe._closedStream=pe.openedChange.pipe(Ir(function(st){return!st}),$e(function(){})),pe.selectionChange=new mt,pe.valueChange=new mt,pe.ngControl&&(pe.ngControl.valueAccessor=O(pe)),null!=(null==Se?void 0:Se.typeaheadDebounceInterval)&&(pe._typeaheadDebounceInterval=Se.typeaheadDebounceInterval),pe._scrollStrategyFactory=X,pe._scrollStrategy=pe._scrollStrategyFactory(),pe.tabIndex=parseInt(q)||0,pe.id=pe.id,pe}return f(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(o){this._placeholder=o,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(o){this._required=kn(o),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(o){this._multiple=kn(o)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(o){this._disableOptionCentering=kn(o)}},{key:"compareWith",get:function(){return this._compareWith},set:function(o){this._compareWith=o,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(o){(o!==this._value||this._multiple&&Array.isArray(o))&&(this.options&&this._setSelectionByValue(o),this._value=o)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(o){this._typeaheadDebounceInterval=yi(o)}},{key:"id",get:function(){return this._id},set:function(o){this._id=o||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var o=this;this._selectionModel=new Hz(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(dv(),rn(this._destroy)).subscribe(function(){return o._panelDoneAnimating(o.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var o=this;this._initKeyManager(),this._selectionModel.changed.pipe(rn(this._destroy)).subscribe(function(s){s.added.forEach(function(l){return l.select()}),s.removed.forEach(function(l){return l.deselect()})}),this.options.changes.pipe(_i(null),rn(this._destroy)).subscribe(function(){o._resetOptions(),o._initializeSelection()})}},{key:"ngDoCheck",value:function(){var o=this._getTriggerAriaLabelledby();if(o!==this._triggerAriaLabelledBy){var s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=o,o?s.setAttribute("aria-labelledby",o):s.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(o){o.disabled&&this.stateChanges.next(),o.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(o){this.value=o}},{key:"registerOnChange",value:function(o){this._onChange=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var o=this._selectionModel.selected.map(function(s){return s.viewValue});return this._isRtl()&&o.reverse(),o.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(o){this.disabled||(this.panelOpen?this._handleOpenKeydown(o):this._handleClosedKeydown(o))}},{key:"_handleClosedKeydown",value:function(o){var s=o.keyCode,l=40===s||38===s||37===s||39===s,u=13===s||32===s,d=this._keyManager;if(!d.isTyping()&&u&&!Ms(o)||(this.multiple||o.altKey)&&l)o.preventDefault(),this.open();else if(!this.multiple){var y=this.selected;d.onKeydown(o);var T=this.selected;T&&y!==T&&this._liveAnnouncer.announce(T.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(o){var s=this._keyManager,l=o.keyCode,u=40===l||38===l,d=s.isTyping();if(u&&o.altKey)o.preventDefault(),this.close();else if(d||13!==l&&32!==l||!s.activeItem||Ms(o))if(!d&&this._multiple&&65===l&&o.ctrlKey){o.preventDefault();var y=this.options.some(function(I){return!I.disabled&&!I.selected});this.options.forEach(function(I){I.disabled||(y?I.select():I.deselect())})}else{var T=s.activeItemIndex;s.onKeydown(o),this._multiple&&u&&o.shiftKey&&s.activeItem&&s.activeItemIndex!==T&&s.activeItem._selectViaInteraction()}else o.preventDefault(),s.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var o=this;this._overlayDir.positionChange.pipe(Qn(1)).subscribe(function(){o._changeDetectorRef.detectChanges(),o._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var o=this;Promise.resolve().then(function(){o._setSelectionByValue(o.ngControl?o.ngControl.value:o._value),o.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(o){var s=this;if(this._selectionModel.selected.forEach(function(u){return u.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&o)Array.isArray(o),o.forEach(function(u){return s._selectValue(u)}),this._sortValues();else{var l=this._selectValue(o);l?this._keyManager.updateActiveItem(l):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(o){var s=this,l=this.options.find(function(u){if(s._selectionModel.isSelected(u))return!1;try{return null!=u.value&&s._compareWith(u.value,o)}catch(d){return!1}});return l&&this._selectionModel.select(l),l}},{key:"_initKeyManager",value:function(){var o=this;this._keyManager=new FW(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(rn(this._destroy)).subscribe(function(){o.panelOpen&&(!o.multiple&&o._keyManager.activeItem&&o._keyManager.activeItem._selectViaInteraction(),o.focus(),o.close())}),this._keyManager.change.pipe(rn(this._destroy)).subscribe(function(){o._panelOpen&&o.panel?o._scrollOptionIntoView(o._keyManager.activeItemIndex||0):!o._panelOpen&&!o.multiple&&o._keyManager.activeItem&&o._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var o=this,s=wi(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(rn(s)).subscribe(function(l){o._onSelect(l.source,l.isUserInput),l.isUserInput&&!o.multiple&&o._panelOpen&&(o.close(),o.focus())}),wi.apply(void 0,se(this.options.map(function(l){return l._stateChanges}))).pipe(rn(s)).subscribe(function(){o._changeDetectorRef.markForCheck(),o.stateChanges.next()})}},{key:"_onSelect",value:function(o,s){var l=this._selectionModel.isSelected(o);null!=o.value||this._multiple?(l!==o.selected&&(o.selected?this._selectionModel.select(o):this._selectionModel.deselect(o)),s&&this._keyManager.setActiveItem(o),this.multiple&&(this._sortValues(),s&&this.focus())):(o.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(o.value)),l!==this._selectionModel.isSelected(o)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var o=this;if(this.multiple){var s=this.options.toArray();this._selectionModel.sort(function(l,u){return o.sortComparator?o.sortComparator(l,u,s):s.indexOf(l)-s.indexOf(u)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(o){var s;s=this.multiple?this.selected.map(function(l){return l.value}):this.selected?this.selected.value:o,this._value=s,this.valueChange.emit(s),this._onChange(s),this.selectionChange.emit(this._getChangeEvent(s)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var o;return!this._panelOpen&&!this.disabled&&(null===(o=this.options)||void 0===o?void 0:o.length)>0}},{key:"focus",value:function(o){this._elementRef.nativeElement.focus(o)}},{key:"_getPanelAriaLabelledby",value:function(){var o;if(this.ariaLabel)return null;var s=null===(o=this._parentFormField)||void 0===o?void 0:o.getLabelId();return this.ariaLabelledby?(s?s+" ":"")+this.ariaLabelledby:s}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var o;if(this.ariaLabel)return null;var s=null===(o=this._parentFormField)||void 0===o?void 0:o.getLabelId(),l=(s?s+" ":"")+this._valueId;return this.ariaLabelledby&&(l+=" "+this.ariaLabelledby),l}},{key:"_panelDoneAnimating",value:function(o){this.openedChange.emit(o)}},{key:"setDescribedByIds",value:function(o){this._ariaDescribedby=o.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),n}(N$);return e.\u0275fac=function(t){return new(t||e)(N(fo),N(Nn),N(vt),N(Pv),N(pt),N(jr,8),N(_h,8),N(mr,8),N(W1,8),N(qo,10),$a("tabindex"),N(Lx),N(Dv),N(A$,8))},e.\u0275dir=Ve({type:e,viewQuery:function(t,n){var a;1&t&&(_t(C$,5),_t(M$,5),_t(nP,5)),2&t&&(it(a=at())&&(n.trigger=a.first),it(a=at())&&(n.panel=a.first),it(a=at())&&(n._overlayDir=a.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[ht,Jn]}),e}(),wh=function(){var e=function(i){h(n,i);var t=C(n);function n(){var a;return c(this,n),(a=t.apply(this,arguments))._scrollTop=0,a._triggerFontSize=0,a._transformOrigin="top",a._offsetY=0,a._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],a}return f(n,[{key:"_calculateOverlayScroll",value:function(o,s,l){var u=this._getItemHeight();return Math.min(Math.max(0,u*o-s+u/2),l)}},{key:"ngOnInit",value:function(){var o=this;D(x(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(rn(this._destroy)).subscribe(function(){o.panelOpen&&(o._triggerRect=o.trigger.nativeElement.getBoundingClientRect(),o._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var o=this;D(x(n.prototype),"_canOpen",this).call(this)&&(D(x(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Qn(1)).subscribe(function(){o._triggerFontSize&&o._overlayDir.overlayRef&&o._overlayDir.overlayRef.overlayElement&&(o._overlayDir.overlayRef.overlayElement.style.fontSize="".concat(o._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(o){var s=RP(o,this.options,this.optionGroups),l=this._getItemHeight();this.panel.nativeElement.scrollTop=0===o&&1===s?0:function(e,i,t,n){return et+256?Math.max(0,e-256+i):t}((o+s)*l,l,this.panel.nativeElement.scrollTop)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(o){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),D(x(n.prototype),"_panelDoneAnimating",this).call(this,o)}},{key:"_getChangeEvent",value:function(o){return new F$(this,o)}},{key:"_calculateOverlayOffsetX",value:function(){var d,o=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),s=this._viewportRuler.getViewportSize(),l=this._isRtl(),u=this.multiple?56:32;if(this.multiple)d=40;else if(this.disableOptionCentering)d=16;else{var y=this._selectionModel.selected[0]||this.options.first;d=y&&y.group?32:16}l||(d*=-1);var T=0-(o.left+d-(l?u:0)),I=o.right+d-s.width+(l?0:u);T>0?d+=T+8:I>0&&(d-=I+8),this._overlayDir.offsetX=Math.round(d),this._overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(o,s,l){var T,u=this._getItemHeight(),d=(u-this._triggerRect.height)/2,y=Math.floor(256/u);return this.disableOptionCentering?0:(T=0===this._scrollTop?o*u:this._scrollTop===l?(o-(this._getItemCount()-y))*u+(u-(this._getItemCount()*u-256)%u):s-u/2,Math.round(-1*T-d))}},{key:"_checkOverlayWithinViewport",value:function(o){var s=this._getItemHeight(),l=this._viewportRuler.getViewportSize(),u=this._triggerRect.top-8,d=l.height-this._triggerRect.bottom-8,y=Math.abs(this._offsetY),I=Math.min(this._getItemCount()*s,256)-y-this._triggerRect.height;I>d?this._adjustPanelUp(I,d):y>u?this._adjustPanelDown(y,u,o):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(o,s){var l=Math.round(o-s);this._scrollTop-=l,this._offsetY-=l,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(o,s,l){var u=Math.round(o-s);if(this._scrollTop+=u,this._offsetY+=u,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=l)return this._scrollTop=l,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var y,o=this._getItemHeight(),s=this._getItemCount(),l=Math.min(s*o,256),d=s*o-l;y=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),y+=RP(y,this.options,this.optionGroups);var T=l/2;this._scrollTop=this._calculateOverlayScroll(y,T,d),this._offsetY=this._calculateOverlayOffsetY(y,T,d),this._checkOverlayWithinViewport(d)}},{key:"_getOriginBasedOnOption",value:function(){var o=this._getItemHeight(),s=(o-this._triggerRect.height)/2,l=Math.abs(this._offsetY)-s+o/2;return"50% ".concat(l,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(H$);return e.\u0275fac=function(){var i;return function(n){return(i||(i=sr(e)))(n||e)}}(),e.\u0275cmp=Ke({type:e,selectors:[["mat-select"]],contentQueries:function(t,n,a){var o;1&t&&(ur(a,Px,5),ur(a,Qc,5),ur(a,c1,5)),2&t&&(it(o=at())&&(n.customTrigger=o.first),it(o=at())&&(n.options=o),it(o=at())&&(n.optionGroups=o))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(t,n){1&t&&we("keydown",function(o){return n._handleKeydown(o)})("focus",function(){return n._onFocus()})("blur",function(){return n._onBlur()}),2&t&&(Dt("id",n.id)("tabindex",n.tabIndex)("aria-controls",n.panelOpen?n.id+"-panel":null)("aria-expanded",n.panelOpen)("aria-label",n.ariaLabel||null)("aria-required",n.required.toString())("aria-disabled",n.disabled.toString())("aria-invalid",n.errorState)("aria-describedby",n._ariaDescribedby||null)("aria-activedescendant",n._getAriaActiveDescendant()),Bt("mat-select-disabled",n.disabled)("mat-select-invalid",n.errorState)("mat-select-required",n.required)("mat-select-empty",n.empty)("mat-select-multiple",n.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[Lt([{provide:Qv,useExisting:e},{provide:u1,useExisting:e}]),ht],ngContentSelectors:P$,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(t,n){if(1&t&&(ri(L$),p(0,"div",0,1),we("click",function(){return n.toggle()}),p(3,"div",2),K(4,w$,2,1,"span",3),K(5,D$,3,2,"span",4),m(),p(6,"div",5),Te(7,"div",6),m(),m(),K(8,E$,4,14,"ng-template",7),we("backdropClick",function(){return n.close()})("attach",function(){return n._onAttached()})("detach",function(){return n.close()})),2&t){var a=Lr(1);Dt("aria-owns",n.panelOpen?n.id+"-panel":null),v(3),E("ngSwitch",n.empty),Dt("id",n._valueId),v(1),E("ngSwitchCase",!0),v(1),E("ngSwitchCase",!1),v(3),E("cdkConnectedOverlayPanelClass",n._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",n._scrollStrategy)("cdkConnectedOverlayOrigin",a)("cdkConnectedOverlayOpen",n.panelOpen)("cdkConnectedOverlayPositions",n._positions)("cdkConnectedOverlayMinWidth",null==n._triggerRect?null:n._triggerRect.width)("cdkConnectedOverlayOffsetY",n._offsetY)}},directives:[SW,Hl,If,nP,RD,Cr],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;opacity:0}\n'],encapsulation:2,data:{animation:[Tx.transformPanelWrap,Tx.transformPanel]},changeDetection:0}),e}(),V$=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[R$],imports:[[Bo,oh,FP,mn],th,Zv,FP,mn]}),e}();function B$(e,i){if(1&e&&(Te(0,"input",7),V(1,"translate")),2&e){var t=J().$implicit;E("formControlName",t.keyNameInFiltersObject)("maxlength",t.maxlength)("placeholder",U(1,3,t.filterName))}}function j$(e,i){if(1&e&&(p(0,"div",12),Te(1,"div",13),m()),2&e){var t=J().$implicit,n=J(2).$implicit;nr("background-image: url('"+n.printableLabelGeneralSettings.defaultImage+"'); width: "+n.printableLabelGeneralSettings.imageWidth+"px; height: "+n.printableLabelGeneralSettings.imageHeight+"px;"),v(1),nr("background-image: url('"+t.image+"');")}}function U$(e,i){if(1&e&&(p(0,"mat-option",10),K(1,j$,2,4,"div",11),F(2),V(3,"translate"),m()),2&e){var t=i.$implicit,n=J(2).$implicit;E("value",t.value),v(1),E("ngIf",n.printableLabelGeneralSettings&&t.image),v(1),Ce(" ",U(3,3,t.label)," ")}}function z$(e,i){if(1&e&&(p(0,"mat-select",8),V(1,"translate"),K(2,U$,4,5,"mat-option",9),m()),2&e){var t=J().$implicit;E("formControlName",t.keyNameInFiltersObject)("placeholder",U(1,3,t.filterName)),v(2),E("ngForOf",t.printableLabelsForValues)}}function W$(e,i){if(1&e&&(Ge(0),p(1,"mat-form-field"),K(2,B$,2,5,"input",5),K(3,z$,3,5,"mat-select",6),m(),qe()),2&e){var t=i.$implicit,n=J();v(2),E("ngIf",t.type===n.filterFieldTypes.TextInput),v(1),E("ngIf",t.type===n.filterFieldTypes.Select)}}var G$=function(){function e(i,t,n){this.data=i,this.dialogRef=t,this.formBuilder=n,this.filterFieldTypes=dr}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.smallModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this,t={};this.data.filterPropertiesList.forEach(function(n){t[n.keyNameInFiltersObject]=[i.data.currentFilters[n.keyNameInFiltersObject]]}),this.form=this.formBuilder.group(t)},e.prototype.apply=function(){var i=this,t={};this.data.filterPropertiesList.forEach(function(n){t[n.keyNameInFiltersObject]=i.form.get(n.keyNameInFiltersObject).value.trim()}),this.dialogRef.close(t)},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(wr),N(ia))},e.\u0275cmp=Ke({type:e,selectors:[["app-filters-selection"]],decls:8,vars:8,consts:[[3,"headline"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],["matInput","",3,"formControlName","maxlength","placeholder",4,"ngIf"],[3,"formControlName","placeholder",4,"ngIf"],["matInput","",3,"formControlName","maxlength","placeholder"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"form",1),K(3,W$,4,2,"ng-container",2),m(),p(4,"app-button",3,4),we("action",function(){return n.apply()}),F(6),V(7,"translate"),m(),m()),2&t&&(E("headline",U(1,4,"filters.filter-action")),v(2),E("formGroup",n.form),v(1),E("ngForOf",n.data.filterPropertiesList),v(3),Ce(" ",U(7,6,"common.ok")," "))},directives:[vr,$r,Jr,mr,xr,ui,ki,Ot,aa,qr,Kr,zr,ji,wh,Qc],pipes:[wt],styles:[".image-container[_ngcontent-%COMP%]{display:inline-block;background-size:contain;margin-right:5px}.image-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{background-size:contain;width:100%;height:100%}"]}),e}(),rd=function(){function e(i,t,n,a,o){var s=this;this.dialog=i,this.route=t,this.router=n,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new Ie,this.filterPropertiesList=a,this.currentFilters={},this.filterPropertiesList.forEach(function(l){l.keyNameInFiltersObject=o+"_"+l.keyNameInElementsArray,s.currentFilters[l.keyNameInFiltersObject]=""}),this.navigationsSubscription=this.route.queryParamMap.subscribe(function(l){Object.keys(s.currentFilters).forEach(function(u){l.has(u)&&(s.currentFilters[u]=l.get(u))}),s.currentUrlQueryParamsInternal={},l.keys.forEach(function(u){s.currentUrlQueryParamsInternal[u]=l.get(u)}),s.filter()})}return Object.defineProperty(e.prototype,"currentFiltersTexts",{get:function(){return this.currentFiltersTextsInternal},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentUrlQueryParams",{get:function(){return this.currentUrlQueryParamsInternal},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"dataFiltered",{get:function(){return this.dataUpdatedSubject.asObservable()},enumerable:!1,configurable:!0}),e.prototype.dispose=function(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()},e.prototype.setData=function(i){this.data=i,this.filter()},e.prototype.removeFilters=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"filters.remove-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),i.router.navigate([],{queryParams:{}})})},e.prototype.changeFilters=function(){var i=this;G$.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe(function(n){n&&i.router.navigate([],{queryParams:n})})},e.prototype.filter=function(){var i=this;if(this.data){var t=void 0,n=!1;Object.keys(this.currentFilters).forEach(function(a){i.currentFilters[a]&&(n=!0)}),n?(t=function(e,i,t){if(e){var a=[];return Object.keys(i).forEach(function(o){if(i[o])for(var s=0;s0&&void 0!==arguments[0]?arguments[0]:0,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:zc;return(!Jk(e)||e<0)&&(e=0),(!i||"function"!=typeof i.schedule)&&(i=zc),new me(function(t){return t.add(i.schedule(q$,e,{subscriber:t,counter:0,period:e})),t})}function q$(e){var i=e.subscriber,t=e.counter,n=e.period;i.next(t),this.schedule({subscriber:i,counter:t+1,period:n},n)}var K$=["primaryValueBar"],J$=Xl(function(){return function e(i){c(this,e),this._elementRef=i}}(),"primary"),$$=new Ze("mat-progress-bar-location",{providedIn:"root",factory:function(){var e=vp(dt),i=e?e.location:null;return{getPathname:function(){return i?i.pathname+i.search:""}}}}),Z$=0,X$=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l){var u;c(this,n),(u=t.call(this,a))._ngZone=o,u._animationMode=s,u._isNoopAnimation=!1,u._value=0,u._bufferValue=0,u.animationEnd=new mt,u._animationEndSubscription=He.EMPTY,u.mode="determinate",u.progressbarId="mat-progress-bar-".concat(Z$++);var d=l?l.getPathname().split("#")[0]:"";return u._rectangleFillValue="url('".concat(d,"#").concat(u.progressbarId,"')"),u._isNoopAnimation="NoopAnimations"===s,u}return f(n,[{key:"value",get:function(){return this._value},set:function(o){this._value=xx(yi(o)||0)}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(o){this._bufferValue=xx(o||0)}},{key:"_primaryTransform",value:function(){return{transform:"scale3d(".concat(this.value/100,", 1, 1)")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scale3d(".concat(this.bufferValue/100,", 1, 1)")}:null}},{key:"ngAfterViewInit",value:function(){var o=this;this._ngZone.runOutsideAngular(function(){var s=o._primaryValueBar.nativeElement;o._animationEndSubscription=ks(s,"transitionend").pipe(Ir(function(l){return l.target===s})).subscribe(function(){("determinate"===o.mode||"buffer"===o.mode)&&o._ngZone.run(function(){return o.animationEnd.next({value:o.value})})})})}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}}]),n}(J$);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(vt),N(Mr,8),N($$,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-progress-bar"]],viewQuery:function(t,n){var a;1&t&&_t(K$,5),2&t&&it(a=at())&&(n._primaryValueBar=a.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(t,n){2&t&&(Dt("aria-valuenow","indeterminate"===n.mode||"query"===n.mode?null:n.value)("mode",n.mode),Bt("_mat-animation-noopable",n._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[ht],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(t,n){1&t&&(p(0,"div",0),wa(),p(1,"svg",1),p(2,"defs"),p(3,"pattern",2),Te(4,"circle",3),m(),m(),Te(5,"rect",4),m(),Rd(),Te(6,"div",5),Te(7,"div",6,7),Te(9,"div",8),m()),2&t&&(v(3),E("id",n.progressbarId),v(2),Dt("fill",n._rectangleFillValue),v(1),E("ngStyle",n._bufferTransform()),v(1),E("ngStyle",n._primaryTransform()))},directives:[ND],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),e}();function xx(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(i,Math.min(t,e))}var eQ=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[Bo,mn],mn]}),e}();function tQ(e,i){1&e&&(Ge(0),Te(1,"mat-spinner",7),F(2),V(3,"translate"),qe()),2&e&&(v(1),E("diameter",12),v(1),Ce(" ",U(3,2,"update.processing")," "))}function nQ(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.errorText)," ")}}function rQ(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J();v(1),Ce(" ",U(2,1,1===t.data.length?"update.no-update":"update.no-updates")," ")}}function iQ(e,i){if(1&e&&(p(0,"div",8),p(1,"div",9),p(2,"div",10),F(3,"-"),m(),p(4,"div",11),F(5),V(6,"translate"),m(),m(),m()),2&e){var t=J();v(5),be(t.currentNodeVersion?t.currentNodeVersion:U(6,1,"common.unknown"))}}function aQ(e,i){if(1&e&&(p(0,"div",9),p(1,"div",10),F(2,"-"),m(),p(3,"div",11),F(4),m(),m()),2&e){var t=i.$implicit,n=J(2);v(4),be(n.nodesToUpdate[t].label)}}function oQ(e,i){if(1&e&&(Ge(0),p(1,"div",1),F(2),V(3,"translate"),m(),p(4,"div",8),K(5,aQ,5,1,"div",12),m(),qe()),2&e){var t=J();v(2),Ce(" ",U(3,2,"update.already-updating")," "),v(3),E("ngForOf",t.indexesAlreadyBeingUpdated)}}function sQ(e,i){if(1&e&&(p(0,"span",15),F(1),V(2,"translate"),m()),2&e){var t=J(3);v(1),Ii("",U(2,2,"update.selected-channel")," ",t.customChannel,"")}}function lQ(e,i){if(1&e&&(p(0,"div",9),p(1,"div",10),F(2,"-"),m(),p(3,"div",11),F(4),V(5,"translate"),p(6,"a",13),F(7),m(),K(8,sQ,3,4,"span",14),m(),m()),2&e){var t=i.$implicit,n=J(2);v(4),Ce(" ",Ht(5,4,"update.version-change",t)," "),v(2),E("href",t.updateLink,Io),v(1),be(t.updateLink),v(1),E("ngIf",n.customChannel)}}var uQ=function(e){return{number:e}};function cQ(e,i){if(1&e&&(Ge(0),p(1,"div",1),F(2),V(3,"translate"),m(),p(4,"div",8),K(5,lQ,9,7,"div",12),m(),p(6,"div",1),F(7),V(8,"translate"),m(),qe()),2&e){var t=J();v(2),Ce(" ",Ht(3,3,t.updateAvailableText,et(8,uQ,t.nodesForUpdatesFound))," "),v(3),E("ngForOf",t.updatesFound),v(2),Ce(" ",U(8,6,"update.update-instructions")," ")}}function dQ(e,i){1&e&&Te(0,"mat-spinner",7),2&e&&E("diameter",12)}function fQ(e,i){1&e&&(p(0,"span",21),F(1),V(2,"translate"),m()),2&e&&(v(1),Ce("\xa0(",U(2,1,"update.finished"),")"))}function hQ(e,i){if(1&e&&(p(0,"div",8),p(1,"div",9),p(2,"div",10),F(3,"-"),m(),p(4,"div",11),K(5,dQ,1,1,"mat-spinner",18),F(6),p(7,"span",19),F(8),m(),K(9,fQ,3,3,"span",20),m(),m(),m()),2&e){var t=J(2).$implicit;v(5),E("ngIf",!t.updateProgressInfo.closed),v(1),Ce(" ",t.label," : "),v(2),be(t.updateProgressInfo.rawMsg),v(1),E("ngIf",t.updateProgressInfo.closed)}}function pQ(e,i){1&e&&Te(0,"mat-spinner",7),2&e&&E("diameter",12)}function mQ(e,i){1&e&&(Ge(0),Te(1,"br"),p(2,"span",21),F(3),V(4,"translate"),m(),qe()),2&e&&(v(3),be(U(4,1,"update.finished")))}function vQ(e,i){if(1&e&&(p(0,"div",22),p(1,"div",23),K(2,pQ,1,1,"mat-spinner",18),F(3),m(),Te(4,"mat-progress-bar",24),p(5,"div",19),F(6),V(7,"translate"),Te(8,"br"),F(9),V(10,"translate"),Te(11,"br"),F(12),V(13,"translate"),V(14,"translate"),K(15,mQ,5,3,"ng-container",2),m(),m()),2&e){var t=J(2).$implicit;v(2),E("ngIf",!t.updateProgressInfo.closed),v(1),Ce(" ",t.label," "),v(1),E("mode","determinate")("value",t.updateProgressInfo.progress),v(2),ky(" ",U(7,14,"update.downloaded-file-name-prefix")," ",t.updateProgressInfo.fileName," (",t.updateProgressInfo.progress,"%) "),v(3),Ii(" ",U(10,16,"update.speed-prefix")," ",t.updateProgressInfo.speed," "),v(3),Cy(" ",U(13,18,"update.time-downloading-prefix")," ",t.updateProgressInfo.elapsedTime," / ",U(14,20,"update.time-left-prefix")," ",t.updateProgressInfo.remainingTime," "),v(3),E("ngIf",t.updateProgressInfo.closed)}}function gQ(e,i){if(1&e&&(p(0,"div",8),p(1,"div",9),p(2,"div",10),F(3,"-"),m(),p(4,"div",11),F(5),p(6,"span",25),F(7),V(8,"translate"),m(),m(),m(),m()),2&e){var t=J(2).$implicit;v(5),Ce(" ",t.label,": "),v(2),be(U(8,2,t.updateProgressInfo.errorMsg))}}function _Q(e,i){if(1&e&&(Ge(0),K(1,hQ,10,4,"div",3),K(2,vQ,16,22,"div",17),K(3,gQ,9,4,"div",3),qe()),2&e){var t=J().$implicit;v(1),E("ngIf",!t.updateProgressInfo.errorMsg&&!t.updateProgressInfo.dataParsed),v(1),E("ngIf",!t.updateProgressInfo.errorMsg&&t.updateProgressInfo.dataParsed),v(1),E("ngIf",t.updateProgressInfo.errorMsg)}}function yQ(e,i){if(1&e&&(Ge(0),K(1,_Q,4,3,"ng-container",2),qe()),2&e){var t=i.$implicit;v(1),E("ngIf",t.update)}}function bQ(e,i){if(1&e&&(Ge(0),p(1,"div",1),F(2),V(3,"translate"),m(),p(4,"div"),K(5,yQ,2,1,"ng-container",16),m(),qe()),2&e){var t=J();v(2),Ce(" ",U(3,2,"update.updating")," "),v(3),E("ngForOf",t.nodesToUpdate)}}function kQ(e,i){if(1&e){var t=nt();p(0,"app-button",26,27),we("action",function(){return Ae(t),J().closeModal()}),F(2),V(3,"translate"),m()}if(2&e){var n=J();v(2),Ce(" ",U(3,1,n.cancelButtonText)," ")}}function CQ(e,i){if(1&e){var t=nt();p(0,"app-button",28,29),we("action",function(){Ae(t);var o=J();return o.state===o.updatingStates.Asking?o.update():o.closeModal()}),F(2),V(3,"translate"),m()}if(2&e){var n=J();v(2),Ce(" ",U(3,1,n.confirmButtonText)," ")}}var vo=function(e){return e.InitialProcessing="InitialProcessing",e.NoUpdatesFound="NoUpdatesFound",e.Asking="Asking",e.Updating="Updating",e.Error="Error",e}({}),MQ=function(){return function(){this.errorMsg="",this.rawMsg="",this.dataParsed=!1,this.fileName="",this.progress=100,this.speed="",this.elapsedTime="",this.remainingTime="",this.closed=!1}}(),Ix=function(){function e(i,t,n,a,o,s){this.dialogRef=i,this.data=t,this.nodeService=n,this.storageService=a,this.translateService=o,this.changeDetectorRef=s,this.state=vo.InitialProcessing,this.cancelButtonText="common.cancel",this.indexesAlreadyBeingUpdated=[],this.customChannel=localStorage.getItem(gr.Channel),this.updatingStates=vo}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.smallModalWidth,i.open(e,n)},e.prototype.ngAfterViewInit=function(){this.startChecking()},e.prototype.startChecking=function(){var i=this;this.nodesToUpdate=[],this.data.forEach(function(t){i.nodesToUpdate.push({key:t.key,label:t.label,update:!1,updateProgressInfo:new MQ}),i.nodesToUpdate[i.nodesToUpdate.length-1].updateProgressInfo.rawMsg=i.translateService.instant("update.starting")}),this.subscription=Av(this.data.map(function(t){return i.nodeService.checkIfUpdating(t.key)})).subscribe(function(t){t.forEach(function(n,a){n.running&&(i.indexesAlreadyBeingUpdated.push(a),i.nodesToUpdate[a].update=!0)}),i.indexesAlreadyBeingUpdated.length===i.data.length?i.update():i.checkUpdates()},function(t){i.changeState(vo.Error),i.errorText=tn(t).translatableErrorMsg})},e.prototype.checkUpdates=function(){var i=this;this.nodesForUpdatesFound=0,this.updatesFound=[];var t=[];this.nodesToUpdate.forEach(function(n){n.update||t.push(n)}),this.subscription=Av(t.map(function(n){return i.nodeService.checkUpdate(n.key)})).subscribe(function(n){var a=new Map;n.forEach(function(o,s){o&&o.available&&(i.nodesForUpdatesFound+=1,t[s].update=!0,a.has(o.current_version+o.available_version)||(i.updatesFound.push({currentVersion:o.current_version?o.current_version:i.translateService.instant("common.unknown"),newVersion:o.available_version,updateLink:o.release_url}),a.set(o.current_version+o.available_version,!0)))}),i.nodesForUpdatesFound>0?i.changeState(vo.Asking):0===i.indexesAlreadyBeingUpdated.length?(i.changeState(vo.NoUpdatesFound),1===i.data.length&&(i.currentNodeVersion=n[0].current_version)):i.update()},function(n){i.changeState(vo.Error),i.errorText=tn(n).translatableErrorMsg})},e.prototype.update=function(){var i=this;this.changeState(vo.Updating),this.progressSubscriptions=[],this.nodesToUpdate.forEach(function(t,n){t.update&&i.progressSubscriptions.push(i.nodeService.update(t.key).subscribe(function(a){i.updateProgressInfo(a.status,t.updateProgressInfo)},function(a){t.updateProgressInfo.errorMsg=tn(a).translatableErrorMsg},function(){t.updateProgressInfo.closed=!0}))})},Object.defineProperty(e.prototype,"updateAvailableText",{get:function(){if(1===this.data.length)return"update.update-available";var i="update.update-available";return this.indexesAlreadyBeingUpdated.length>0&&(i+="-additional"),i+(1===this.nodesForUpdatesFound?"-singular":"-plural")},enumerable:!1,configurable:!0}),e.prototype.updateProgressInfo=function(i,t){t.rawMsg=i,t.dataParsed=!1;var n=i.indexOf("Downloading"),a=i.lastIndexOf("("),o=i.lastIndexOf(")"),s=i.lastIndexOf("["),l=i.lastIndexOf("]"),u=i.lastIndexOf(":"),d=i.lastIndexOf("%");if(-1!==n&&-1!==a&&-1!==o&&-1!==s&&-1!==l&&-1!==u){var y=!1;a>o&&(y=!0),s>u&&(y=!0),u>l&&(y=!0),(d>a||d0),v(1),E("ngIf",n.state===n.updatingStates.Asking),v(1),E("ngIf",n.state===n.updatingStates.Updating),v(2),E("ngIf",n.cancelButtonText),v(1),E("ngIf",n.confirmButtonText))},directives:[vr,Ot,iu,xr,X$,ui],pipes:[wt],styles:[".text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e;word-break:break-word}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{width:12px;flex-grow:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-grow:1}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#215f9e;font-size:.7rem;line-height:1;display:block}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] .channel[_ngcontent-%COMP%]{font-size:.7rem;line-height:1}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}.progress-container[_ngcontent-%COMP%]{margin:10px 0}.progress-container[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem;color:#215f9e}.progress-container[_ngcontent-%COMP%] .mat-progress-bar-fill:after{background-color:#215f9e!important}.progress-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{font-size:.7rem;text-align:right;color:#777}.closed-indication[_ngcontent-%COMP%]{color:#d48b05}.loading-indicator[_ngcontent-%COMP%]{display:inline-block;position:relative;top:2px}"]}),e}();function id(e){return function(i){return i.lift(new wQ(e,i))}}var wQ=function(){function e(i,t){c(this,e),this.notifier=i,this.source=t}return f(e,[{key:"call",value:function(t,n){return n.subscribe(new SQ(t,this.notifier,this.source))}}]),e}(),SQ=function(e){h(t,e);var i=C(t);function t(n,a,o){var s;return c(this,t),(s=i.call(this,n)).notifier=a,s.source=o,s}return f(t,[{key:"error",value:function(a){if(!this.isStopped){var o=this.errors,s=this.retries,l=this.retriesSubscription;if(s)this.errors=null,this.retriesSubscription=null;else{o=new Ie;try{s=(0,this.notifier)(o)}catch(d){return D(x(t.prototype),"error",this).call(this,d)}l=An(this,s)}this._unsubscribeAndRecycle(),this.errors=o,this.retries=s,this.retriesSubscription=l,o.next(a)}}},{key:"_unsubscribe",value:function(){var a=this.errors,o=this.retriesSubscription;a&&(a.unsubscribe(),this.errors=null),o&&(o.unsubscribe(),this.retriesSubscription=null),this.retries=null}},{key:"notifyNext",value:function(a,o,s,l,u){var d=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=d,this.source.subscribe(this)}}]),t}(_n),ad=function(){function e(i){this.apiService=i}return e.prototype.changeAppState=function(i,t,n){return this.apiService.put("visors/"+i+"/apps/"+encodeURIComponent(t),{status:n?1:0})},e.prototype.changeAppAutostart=function(i,t,n){return this.changeAppSettings(i,t,{autostart:n})},e.prototype.changeAppSettings=function(i,t,n){return this.apiService.put("visors/"+i+"/apps/"+encodeURIComponent(t),n)},e.prototype.getLogMessages=function(i,t,n){var o=SD(-1!==n?Date.now()-864e5*n:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get("visors/"+i+"/apps/"+encodeURIComponent(t)+"/logs?since="+o).pipe($e(function(s){return s.logs}))},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(ru))},providedIn:"root"}),e}(),rr=function(e){return e.None="None",e.Favorite="Favorite",e.Blocked="Blocked",e}({}),go=function(e){return e.BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",e.OnlyBytes="OnlyBytes",e.OnlyBits="OnlyBits",e}({}),su=function(){function e(i){this.router=i,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new Ya(1),this.historySubject=new Ya(1),this.favoritesSubject=new Ya(1),this.blockedSubject=new Ya(1)}return e.prototype.initialize=function(){var i=this;this.serversMap=new Map;var t=localStorage.getItem(this.savedServersStorageKey);if(t){var n=JSON.parse(t);n.serverList.forEach(function(a){i.serversMap.set(a.pk,a)}),this.savedDataVersion=n.version,n.selectedServerPk&&this.updateCurrentServerPk(n.selectedServerPk)}this.launchListEvents()},Object.defineProperty(e.prototype,"currentServer",{get:function(){return this.serversMap.get(this.currentServerPk)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentServerObservable",{get:function(){return this.currentServerSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"history",{get:function(){return this.historySubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"favorites",{get:function(){return this.favoritesSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"blocked",{get:function(){return this.blockedSubject.asObservable()},enumerable:!1,configurable:!0}),e.prototype.getSavedVersion=function(i,t){return t&&this.checkIfDataWasChanged(),this.serversMap.get(i)},e.prototype.getCheckIpSetting=function(){var i=localStorage.getItem(this.checkIpSettingStorageKey);return null==i||"false"!==i},e.prototype.setCheckIpSetting=function(i){localStorage.setItem(this.checkIpSettingStorageKey,i?"true":"false")},e.prototype.getDataUnitsSetting=function(){var i=localStorage.getItem(this.dataUnitsSettingStorageKey);return null==i?go.BitsSpeedAndBytesVolume:i},e.prototype.setDataUnitsSetting=function(i){localStorage.setItem(this.dataUnitsSettingStorageKey,i)},e.prototype.updateFromDiscovery=function(i){var t=this;this.checkIfDataWasChanged(),i.forEach(function(n){if(t.serversMap.has(n.pk)){var a=t.serversMap.get(n.pk);a.countryCode=n.countryCode,a.name=n.name,a.location=n.location,a.note=n.note}}),this.saveData()},e.prototype.updateServer=function(i){this.serversMap.set(i.pk,i),this.cleanServers(),this.saveData()},e.prototype.processFromDiscovery=function(i){this.checkIfDataWasChanged();var t=this.serversMap.get(i.pk);return t?(t.countryCode=i.countryCode,t.name=i.name,t.location=i.location,t.note=i.note,this.saveData(),t):{countryCode:i.countryCode,name:i.name,customName:null,pk:i.pk,lastUsed:0,inHistory:!1,flag:rr.None,location:i.location,personalNote:null,note:i.note,enteredManually:!1,usedWithPassword:!1}},e.prototype.processFromManual=function(i){this.checkIfDataWasChanged();var t=this.serversMap.get(i.pk);return t?(t.customName=i.name,t.personalNote=i.note,t.enteredManually=!0,this.saveData(),t):{countryCode:"zz",name:"",customName:i.name,pk:i.pk,lastUsed:0,inHistory:!1,flag:rr.None,location:"",personalNote:i.note,note:"",enteredManually:!0,usedWithPassword:!1}},e.prototype.changeFlag=function(i,t){this.checkIfDataWasChanged();var n=this.serversMap.get(i.pk);n&&(i=n),i.flag!==t&&(i.flag=t,this.serversMap.has(i.pk)||this.serversMap.set(i.pk,i),this.cleanServers(),this.saveData())},e.prototype.removeFromHistory=function(i){this.checkIfDataWasChanged();var t=this.serversMap.get(i);!t||!t.inHistory||(t.inHistory=!1,this.cleanServers(),this.saveData())},e.prototype.modifyCurrentServer=function(i){this.checkIfDataWasChanged(),i.pk!==this.currentServerPk&&(this.serversMap.has(i.pk)||this.serversMap.set(i.pk,i),this.updateCurrentServerPk(i.pk),this.cleanServers(),this.saveData())},e.prototype.compareCurrentServer=function(i){if(this.checkIfDataWasChanged(),i){if(!this.currentServerPk||this.currentServerPk!==i){if(this.currentServerPk=i,!this.serversMap.get(i)){var n=this.processFromManual({pk:i});this.serversMap.set(n.pk,n),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}}else this.currentServerPk&&(this.currentServerPk=null,this.saveData(),this.currentServerSubject.next(this.currentServer))},e.prototype.updateHistory=function(){var i=this;this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;var t=[];this.serversMap.forEach(function(a){a.inHistory&&t.push(a)}),t=t.sort(function(a,o){return o.lastUsed-a.lastUsed});var n=0;t.forEach(function(a){n=20&&this.lastServiceState<200&&(this.changeAppState(!1),!0)},e.prototype.getIp=function(){var i=this;return this.http.request("GET","https://api.ipify.org?format=json").pipe(id(function(t){return Js(t.pipe(ci(i.standardWaitTime),Qn(4)),Na(""))}),$e(function(t){return t&&t.ip?t.ip:null}))},e.prototype.getIpCountry=function(i){return this.http.request("GET","https://ip2c.org/"+i,{responseType:"text"}).pipe(id(function(t){return Js(t.pipe(ci(2e3),Qn(4)),Na(""))}),$e(function(t){var n=null;if(t){var a=t.split(";");4===a.length&&(n=a[3])}return n}))},e.prototype.changeServerUsingHistory=function(i,t){return this.requestedServer=i,this.requestedPassword=t,this.updateRequestedServerPasswordSetting(),this.changeServer()},e.prototype.changeServerUsingDiscovery=function(i,t){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(i),this.requestedPassword=t,this.updateRequestedServerPasswordSetting(),this.changeServer()},e.prototype.changeServerManually=function(i,t){return this.requestedServer=this.vpnSavedDataService.processFromManual(i),this.requestedPassword=t,this.updateRequestedServerPasswordSetting(),this.changeServer()},e.prototype.updateRequestedServerPasswordSetting=function(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;var i=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);i&&(i.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(i))},e.prototype.changeServer=function(){return!this.working&&(this.stop()||this.processServerChange(),!0)},e.prototype.checkNewPk=function(i){return this.working?Ko.Busy:this.lastServiceState!==Ci.Off?i===this.vpnSavedDataService.currentServer.pk?Ko.SamePkRunning:Ko.MustStop:this.vpnSavedDataService.currentServer&&i===this.vpnSavedDataService.currentServer.pk?Ko.SamePkStopped:Ko.Ok},e.prototype.processServerChange=function(){var i=this;this.dataSubscription&&this.dataSubscription.unsubscribe();var t={pk:this.requestedServer.pk};t.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,t).subscribe(function(){i.vpnSavedDataService.modifyCurrentServer(i.requestedServer),i.requestedServer=null,i.requestedPassword=null,i.working=!1,i.start()},function(n){n=tn(n),i.snackbarService.showError("vpn.server-change.backend-error",null,!1,n.originalServerErrorMsg),i.working=!1,i.requestedServer=null,i.requestedPassword=null,i.sendUpdate(),i.updateData()})},e.prototype.changeAppState=function(i){var t=this;if(!this.working){this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate();var n={status:1};i?(this.lastServiceState=Ci.Starting,this.connectionHistoryPk=null):(this.lastServiceState=Ci.Disconnecting,n.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,n).pipe(ea(function(a){return t.getVpnClientState().pipe(Sn(function(o){if(o){if(i&&o.running)return Qe(!0);if(!i&&!o.running)return Qe(!0)}return Na(a)}))}),id(function(a){return Js(a.pipe(ci(t.standardWaitTime),Qn(3)),a.pipe(Sn(function(o){return Na(o)})))})).subscribe(function(){t.working=!1,i?(t.currentEventData.vpnClientAppData.running=!0,t.lastServiceState=Ci.Running,t.vpnSavedDataService.updateHistory()):(t.currentEventData.vpnClientAppData.running=!1,t.lastServiceState=Ci.Off),t.sendUpdate(),t.updateData(),!i&&t.requestedServer&&t.processServerChange()},function(a){a=tn(a),t.snackbarService.showError(t.lastServiceState===Ci.Starting?"vpn.status-page.problem-starting-error":t.lastServiceState===Ci.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,a.originalServerErrorMsg),t.working=!1,t.sendUpdate(),t.updateData()})}},e.prototype.continuallyUpdateData=function(i){var t=this;if(!this.working||this.lastServiceState===Ci.PerformingInitialCheck){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe();var n=0;this.continuousUpdateSubscription=Qe(0).pipe(ci(i),Sn(function(){return t.getVpnClientState()}),id(function(a){return a.pipe(Sn(function(o){return t.errorSubject.next(!0),(o=tn(o)).originalError&&o.originalError.status&&401===o.originalError.status?Na(o):t.lastServiceState!==Ci.PerformingInitialCheck||n<4?(n+=1,Qe(o).pipe(ci(t.standardWaitTime))):Na(o)}))})).subscribe(function(a){a?(t.errorSubject.next(!1),t.lastServiceState===Ci.PerformingInitialCheck&&(t.working=!1),t.vpnSavedDataService.compareCurrentServer(a.serverPk),t.lastServiceState=a.running?Ci.Running:Ci.Off,t.currentEventData.vpnClientAppData=a,t.currentEventData.updateDate=Date.now(),t.sendUpdate()):t.lastServiceState===Ci.PerformingInitialCheck&&(t.router.navigate(["vpn","unavailable"]),t.nodeKey=null,t.updatesStopped=!0),t.continuallyUpdateData(t.standardWaitTime)},function(a){(a=tn(a)).originalError&&a.originalError.status&&401===a.originalError.status||(t.router.navigate(["vpn","unavailable"]),t.nodeKey=null),t.updatesStopped=!0})}},e.prototype.stopContinuallyUpdatingData=function(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()},e.prototype.getVpnClientState=function(){var t,i=this,n=new nu;return n.vpnKeyForAuth=this.nodeKey,this.apiService.get("visors/"+this.nodeKey+"/summary",n).pipe(Sn(function(a){var o;if(a&&a.overview&&a.overview.apps&&a.overview.apps.length>0&&a.overview.apps.forEach(function(u){u.name===i.vpnClientAppName&&(o=u)}),o&&((t=new DQ).running=1===o.status,t.connectionDuration=o.connection_duration,t.appState=Pn.Stopped,t.running?o.detailed_status===Pn.Connecting?t.appState=Pn.Connecting:o.detailed_status===Pn.Running?t.appState=Pn.Running:o.detailed_status===Pn.ShuttingDown?t.appState=Pn.ShuttingDown:o.detailed_status===Pn.Reconnecting&&(t.appState=Pn.Reconnecting):2===o.status&&(t.lastErrorMsg=o.detailed_status,t.lastErrorMsg||(t.lastErrorMsg=i.translateService.instant("vpn.status-page.unknown-error"))),t.killswitch=!1,o.args&&o.args.length>0))for(var s=0;s0){var o=new EQ;a.forEach(function(s){o.latency+=s.latency/a.length,o.uploadSpeed+=s.upload_speed/a.length,o.downloadSpeed+=s.download_speed/a.length,o.totalUploaded+=s.bandwidth_sent,o.totalDownloaded+=s.bandwidth_received,s.error&&(o.error=s.error),s.connection_duration>o.connectionDuration&&(o.connectionDuration=s.connection_duration)}),(!i.connectionHistoryPk||i.connectionHistoryPk!==t.serverPk)&&(i.connectionHistoryPk=t.serverPk,i.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],i.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],i.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),o.latency=Math.round(o.latency),o.uploadSpeed=Math.round(o.uploadSpeed),o.downloadSpeed=Math.round(o.downloadSpeed),o.totalUploaded=Math.round(o.totalUploaded),o.totalDownloaded=Math.round(o.totalDownloaded),i.uploadSpeedHistory.splice(0,1),i.uploadSpeedHistory.push(o.uploadSpeed),o.uploadSpeedHistory=i.uploadSpeedHistory,i.downloadSpeedHistory.splice(0,1),i.downloadSpeedHistory.push(o.downloadSpeed),o.downloadSpeedHistory=i.downloadSpeedHistory,i.latencyHistory.splice(0,1),i.latencyHistory.push(o.latency),o.latencyHistory=i.latencyHistory,t.connectionData=o}return t}))},e.prototype.sendUpdate=function(){this.currentEventData.serviceState=this.lastServiceState,this.currentEventData.busy=this.working,this.stateSubject.next(this.currentEventData)},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(ru),_e(ad),_e(Zt),_e(su),_e(Ks),_e(xn),_e(si))},providedIn:"root"}),e}(),LQ=["firstInput"],PQ=function(){function e(i,t,n,a,o){this.dialogRef=i,this.data=t,this.formBuilder=n,this.snackbarService=a,this.vpnSavedDataService=o}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.mediumModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({value:[(this.data.editName?this.data.server.customName:this.data.server.personalNote)||""]}),setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.process=function(){var i=this.vpnSavedDataService.getSavedVersion(this.data.server.pk,!0);i=i||this.data.server;var t=this.form.get("value").value;t!==(this.data.editName?this.data.server.customName:this.data.server.personalNote)?(this.data.editName?i.customName=t:i.personalNote=t,this.vpnSavedDataService.updateServer(i),this.snackbarService.showDone("vpn.server-options.edit-value.changes-made-confirmation"),this.dialogRef.close(!0)):this.dialogRef.close()},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur),N(ia),N(xn),N(su))},e.\u0275cmp=Ke({type:e,selectors:[["app-edit-vpn-server-value"]],viewQuery:function(t,n){var a;(1&t&&_t(LQ,5),2&t)&&(it(a=at())&&(n.firstInput=a.first))},decls:10,vars:10,consts:[[3,"headline"],[3,"formGroup"],["formControlName","value","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"form",1),p(3,"mat-form-field"),Te(4,"input",2,3),V(6,"translate"),m(),m(),p(7,"app-button",4),we("action",function(){return n.process()}),F(8),V(9,"translate"),m(),m()),2&t&&(E("headline",U(1,4,"vpn.server-options.edit-value."+(n.data.editName?"name":"note")+"-title")),v(2),E("formGroup",n.form),v(2),E("placeholder",U(6,6,"vpn.server-options.edit-value."+(n.data.editName?"name":"note")+"-label")),v(4),Ce(" ",U(9,8,"vpn.server-options.edit-value.apply-button")," "))},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,ji,ui],pipes:[wt],styles:[""]}),e}(),OQ=["firstInput"],Ax=function(){function e(i,t,n){this.dialogRef=i,this.data=t,this.formBuilder=n}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.mediumModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({password:["",this.data?void 0:En.required]}),setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.process=function(){this.dialogRef.close("-"+this.form.get("password").value)},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur),N(ia))},e.\u0275cmp=Ke({type:e,selectors:[["app-enter-vpn-server-password"]],viewQuery:function(t,n){var a;(1&t&&_t(OQ,5),2&t)&&(it(a=at())&&(n.firstInput=a.first))},decls:10,vars:11,consts:[[3,"headline"],[3,"formGroup"],["formControlName","password","type","password","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"form",1),p(3,"mat-form-field"),Te(4,"input",2,3),V(6,"translate"),m(),m(),p(7,"app-button",4),we("action",function(){return n.process()}),F(8),V(9,"translate"),m(),m()),2&t&&(E("headline",U(1,5,"vpn.server-list.password-dialog.title")),v(2),E("formGroup",n.form),v(2),E("placeholder",U(6,7,"vpn.server-list.password-dialog.password"+(n.data?"-if-any":"")+"-label")),v(3),E("disabled",!n.form.valid),v(1),Ce(" ",U(9,9,"vpn.server-list.password-dialog.continue-button")," "))},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,ui],pipes:[wt],styles:[""]}),e}(),Wr=function(){function e(){}return e.changeCurrentPk=function(i){this.currentPk=i},e.setDefaultTabForServerList=function(i){sessionStorage.setItem(e.serverListTabStorageKey,i)},Object.defineProperty(e,"vpnTabsData",{get:function(){var i=sessionStorage.getItem(e.serverListTabStorageKey);return[{icon:"power_settings_new",label:"vpn.start",linkParts:["/vpn",this.currentPk,"status"]},{icon:"list",label:"vpn.servers",linkParts:i?["/vpn",this.currentPk,"servers",i,"1"]:["/vpn",this.currentPk,"servers"]},{icon:"settings",label:"vpn.settings",linkParts:["/vpn",this.currentPk,"settings"]}]},enumerable:!1,configurable:!0}),e.getLatencyValueString=function(i){return i<1e3?"time-in-ms":"time-in-segs"},e.getPrintableLatency=function(i){return i<1e3?i+"":(i/1e3).toFixed(1)},e.processServerChange=function(i,t,n,a,o,s,l,u,d,y,T){var I;if(u&&(d||y)||d&&(u||y)||y&&(u||d))throw new Error("Invalid call");if(u)I=u.pk;else if(d)I=d.pk;else{if(!y)throw new Error("Invalid call");I=y.pk}var H=n.getSavedVersion(I,!0),q=H&&(T||H.usedWithPassword),X=t.checkNewPk(I);if(X!==Ko.Busy)if(X!==Ko.SamePkRunning||q)if(X===Ko.MustStop||X===Ko.SamePkRunning&&q){var he=ln.createConfirmationDialog(o,"vpn.server-change.change-server-while-connected-confirmation");he.componentInstance.operationAccepted.subscribe(function(){he.componentInstance.closeModal(),u?t.changeServerUsingHistory(u,T):d?t.changeServerUsingDiscovery(d,T):y&&t.changeServerManually(y,T),e.redirectAfterServerChange(i,s,l)})}else if(X!==Ko.SamePkStopped||q)u?t.changeServerUsingHistory(u,T):d?t.changeServerUsingDiscovery(d,T):y&&t.changeServerManually(y,T),e.redirectAfterServerChange(i,s,l);else{var Se=ln.createConfirmationDialog(o,"vpn.server-change.start-same-server-confirmation");Se.componentInstance.operationAccepted.subscribe(function(){Se.componentInstance.closeModal(),y&&H&&n.processFromManual(y),t.start(),e.redirectAfterServerChange(i,s,l)})}else a.showWarning("vpn.server-change.already-selected-warning");else a.showError("vpn.server-change.busy-error")},e.redirectAfterServerChange=function(i,t,n){t&&t.close(),i.navigate(["vpn",n,"status"])},e.openServerOptions=function(i,t,n,a,o,s){var l=[],u=[];return i.usedWithPassword?(l.push({icon:"lock_open",label:"vpn.server-options.connect-without-password"}),u.push(201),l.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-another-password"}),u.push(202)):i.enteredManually&&(l.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-password"}),u.push(202)),l.push({icon:"edit",label:"vpn.server-options.edit-name"}),u.push(101),l.push({icon:"subject",label:"vpn.server-options.edit-label"}),u.push(102),(!i||i.flag!==rr.Favorite)&&(l.push({icon:"star",label:"vpn.server-options.make-favorite"}),u.push(1)),i&&i.flag===rr.Favorite&&(l.push({icon:"star_outline",label:"vpn.server-options.remove-from-favorites"}),u.push(-1)),(!i||i.flag!==rr.Blocked)&&(l.push({icon:"pan_tool",label:"vpn.server-options.block"}),u.push(2)),i&&i.flag===rr.Blocked&&(l.push({icon:"thumb_up",label:"vpn.server-options.unblock"}),u.push(-2)),i&&i.inHistory&&(l.push({icon:"delete",label:"vpn.server-options.remove-from-history"}),u.push(-3)),Ui.openDialog(s,l,"common.options").afterClosed().pipe(Sn(function(d){if(d){var y=n.getSavedVersion(i.pk,!0);if(i=y||i,u[d-=1]>200){if(201===u[d]){var T=!1,I=ln.createConfirmationDialog(s,"vpn.server-options.connect-without-password-confirmation");return I.componentInstance.operationAccepted.subscribe(function(){T=!0,e.processServerChange(t,a,n,o,s,null,e.currentPk,i,null,null,null),I.componentInstance.closeModal()}),I.afterClosed().pipe($e(function(){return T}))}return Ax.openDialog(s,!1).afterClosed().pipe($e(function(q){return!(!q||"-"===q||(e.processServerChange(t,a,n,o,s,null,e.currentPk,i,null,null,q.substr(1)),0))}))}if(u[d]>100)return PQ.openDialog(s,{editName:101===u[d],server:i}).afterClosed();if(1===u[d])return e.makeFavorite(i,n,o,s);if(-1===u[d])return n.changeFlag(i,rr.None),o.showDone("vpn.server-options.remove-from-favorites-done"),Qe(!0);if(2===u[d])return e.blockServer(i,n,a,o,s);if(-2===u[d])return n.changeFlag(i,rr.None),o.showDone("vpn.server-options.unblock-done"),Qe(!0);if(-3===u[d])return e.removeFromHistory(i,n,o,s)}return Qe(!1)}))},e.removeFromHistory=function(i,t,n,a){var o=!1,s=ln.createConfirmationDialog(a,"vpn.server-options.remove-from-history-confirmation");return s.componentInstance.operationAccepted.subscribe(function(){o=!0,t.removeFromHistory(i.pk),n.showDone("vpn.server-options.remove-from-history-done"),s.componentInstance.closeModal()}),s.afterClosed().pipe($e(function(){return o}))},e.makeFavorite=function(i,t,n,a){if(i.flag!==rr.Blocked)return t.changeFlag(i,rr.Favorite),n.showDone("vpn.server-options.make-favorite-done"),Qe(!0);var o=!1,s=ln.createConfirmationDialog(a,"vpn.server-options.make-favorite-confirmation");return s.componentInstance.operationAccepted.subscribe(function(){o=!0,t.changeFlag(i,rr.Favorite),n.showDone("vpn.server-options.make-favorite-done"),s.componentInstance.closeModal()}),s.afterClosed().pipe($e(function(){return o}))},e.blockServer=function(i,t,n,a,o){if(i.flag!==rr.Favorite&&(!t.currentServer||t.currentServer.pk!==i.pk))return t.changeFlag(i,rr.Blocked),a.showDone("vpn.server-options.block-done"),Qe(!0);var s=!1,l=t.currentServer&&t.currentServer.pk===i.pk,d=ln.createConfirmationDialog(o,i.flag!==rr.Favorite?"vpn.server-options.block-selected-confirmation":l?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation");return d.componentInstance.operationAccepted.subscribe(function(){s=!0,t.changeFlag(i,rr.Blocked),a.showDone("vpn.server-options.block-done"),l&&n.stop(),d.componentInstance.closeModal()}),d.afterClosed().pipe($e(function(){return s}))},e.serverListTabStorageKey="ServerListTab",e.currentPk="",e}(),xQ=["mat-menu-item",""];function IQ(e,i){1&e&&(wa(),p(0,"svg",2),Te(1,"polygon",3),m())}var Rx=["*"];function AQ(e,i){if(1&e){var t=nt();p(0,"div",0),we("keydown",function(o){return Ae(t),J()._handleKeydown(o)})("click",function(){return Ae(t),J().closed.emit("click")})("@transformMenu.start",function(o){return Ae(t),J()._onAnimationStart(o)})("@transformMenu.done",function(o){return Ae(t),J()._onAnimationDone(o)}),p(1,"div",1),jn(2),m(),m()}if(2&e){var n=J();E("id",n.panelId)("ngClass",n._classList)("@transformMenu",n._panelAnimationState),Dt("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby||null)("aria-describedby",n.ariaDescribedby||null)}}var ng={transformMenu:gs("transformMenu",[Hi("void",bn({opacity:0,transform:"scale(0.8)"})),gi("void => enter",Yi("120ms cubic-bezier(0, 0, 0.2, 1)",bn({opacity:1,transform:"scale(1)"}))),gi("* => void",Yi("100ms 25ms linear",bn({opacity:0})))]),fadeInItems:gs("fadeInItems",[Hi("showing",bn({opacity:1})),gi("void => *",[bn({opacity:0}),Yi("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},Fx=new Ze("MatMenuContent"),$1=new Ze("MAT_MENU_PANEL"),RQ=$c(Xs(function(){return function e(){c(this,e)}}())),Ts=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u){var d;return c(this,n),(d=t.call(this))._elementRef=a,d._focusMonitor=s,d._parentMenu=l,d._changeDetectorRef=u,d.role="menuitem",d._hovered=new Ie,d._focused=new Ie,d._highlighted=!1,d._triggersSubmenu=!1,l&&l.addItem&&l.addItem(O(d)),d}return f(n,[{key:"focus",value:function(o,s){this._focusMonitor&&o?this._focusMonitor.focusVia(this._getHostElement(),o,s):this._getHostElement().focus(s),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(o){this.disabled&&(o.preventDefault(),o.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var o,s,l=this._elementRef.nativeElement.cloneNode(!0),u=l.querySelectorAll("mat-icon, .material-icons"),d=0;d0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(Qn(1)).subscribe(function(){return n._focusFirstItem(a)}):this._focusFirstItem(a)}},{key:"_focusFirstItem",value:function(n){var a=this._keyManager;if(a.setFocusOrigin(n).setFirstItemActive(),!a.activeItem&&this._directDescendantItems.length)for(var o=this._directDescendantItems.first._getHostElement().parentElement;o;){if("menu"===o.getAttribute("role")){o.focus();break}o=o.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(n){var a=this,o=Math.min(this._baseElevation+n,24),s="".concat(this._elevationPrefix).concat(o),l=Object.keys(this._classList).find(function(u){return u.startsWith(a._elevationPrefix)});(!l||l===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[s]=!0,this._previousElevation=s)}},{key:"setPositionClasses",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,o=this._classList;o["mat-menu-before"]="before"===n,o["mat-menu-after"]="after"===n,o["mat-menu-above"]="above"===a,o["mat-menu-below"]="below"===a}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(n){this._animationDone.next(n),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(n){this._isAnimating=!0,"enter"===n.toState&&0===this._keyManager.activeItemIndex&&(n.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var n=this;this._allItems.changes.pipe(_i(this._allItems)).subscribe(function(a){n._directDescendantItems.reset(a.filter(function(o){return o._parentMenu===n})),n._directDescendantItems.notifyOnChanges()})}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(vt),N(Nx))},e.\u0275dir=Ve({type:e,contentQueries:function(t,n,a){var o;1&t&&(ur(a,Fx,5),ur(a,Ts,5),ur(a,Ts,4)),2&t&&(it(o=at())&&(n.lazyContent=o.first),it(o=at())&&(n._allItems=o),it(o=at())&&(n.items=o))},viewQuery:function(t,n){var a;1&t&&_t(Vr,5),2&t&&it(a=at())&&(n.templateRef=a.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),sd=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){var l;return c(this,n),(l=t.call(this,a,o,s))._elevationPrefix="mat-elevation-z",l._baseElevation=4,l}return n}(Sh);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(vt),N(Nx))},e.\u0275cmp=Ke({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(t,n){2&t&&Dt("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[Lt([{provide:$1,useExisting:e}]),ht],ngContentSelectors:Rx,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,n){1&t&&(ri(),K(0,AQ,3,6,"ng-template"))},directives:[Cr],styles:["mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n"],encapsulation:2,data:{animation:[ng.transformMenu,ng.fadeInItems]},changeDetection:0}),e}(),Yx=new Ze("mat-menu-scroll-strategy"),Hx={provide:Yx,deps:[na],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Bx=$l({passive:!0}),ld=function(){var e=function(){function i(t,n,a,o,s,l,u,d){var y=this;c(this,i),this._overlay=t,this._element=n,this._viewContainerRef=a,this._menuItemInstance=l,this._dir=u,this._focusMonitor=d,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=He.EMPTY,this._hoverSubscription=He.EMPTY,this._menuCloseSubscription=He.EMPTY,this._handleTouchStart=function(T){a1(T)||(y._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new mt,this.onMenuOpen=this.menuOpened,this.menuClosed=new mt,this.onMenuClose=this.menuClosed,this._scrollStrategy=o,this._parentMaterialMenu=s instanceof Sh?s:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,Bx),l&&(l._triggersSubmenu=this.triggersSubmenu())}return f(i,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(n){this.menu=n}},{key:"menu",get:function(){return this._menu},set:function(n){var a=this;n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._menuCloseSubscription=n.close.subscribe(function(o){a._destroyMenu(o),("click"===o||"tab"===o)&&a._parentMaterialMenu&&a._parentMaterialMenu.closed.emit(o)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Bx),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var n=this;if(!this._menuOpen){this._checkMenu();var a=this._createOverlay(),o=a.getConfig();this._setPosition(o.positionStrategy),o.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,a.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return n.closeMenu()}),this._initMenu(),this.menu instanceof Sh&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(n,a){this._focusMonitor&&n?this._focusMonitor.focusVia(this._element,n,a):this._element.nativeElement.focus(a)}},{key:"updatePosition",value:function(){var n;null===(n=this._overlayRef)||void 0===n||n.updatePosition()}},{key:"_destroyMenu",value:function(n){var a=this;if(this._overlayRef&&this.menuOpen){var o=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===n||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,o instanceof Sh?(o._resetAnimation(),o.lazyContent?o._animationDone.pipe(Ir(function(s){return"void"===s.toState}),Qn(1),rn(o.lazyContent._attached)).subscribe({next:function(){return o.lazyContent.detach()},complete:function(){return a._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),o.lazyContent&&o.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var n=0,a=this.menu.parentMenu;a;)n++,a=a.parentMenu;this.menu.setElevation(n)}}},{key:"_setIsMenuOpen",value:function(n){this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(n)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var n=this._getOverlayConfig();this._subscribeToPositions(n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new ih({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(n){var a=this;this.menu.setPositionClasses&&n.positionChanges.subscribe(function(o){a.menu.setPositionClasses("start"===o.connectionPair.overlayX?"after":"before","top"===o.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(n){var o=te("before"===this.menu.xPosition?["end","start"]:["start","end"],2),s=o[0],l=o[1],d=te("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),y=d[0],T=d[1],I=y,H=T,q=s,X=l,he=0;this.triggersSubmenu()?(X=s="before"===this.menu.xPosition?"start":"end",l=q="end"===s?"start":"end",he="bottom"===y?8:-8):this.menu.overlapTrigger||(I="top"===y?"bottom":"top",H="top"===T?"bottom":"top"),n.withPositions([{originX:s,originY:I,overlayX:q,overlayY:y,offsetY:he},{originX:l,originY:I,overlayX:X,overlayY:y,offsetY:he},{originX:s,originY:H,overlayX:q,overlayY:T,offsetY:-he},{originX:l,originY:H,overlayX:X,overlayY:T,offsetY:-he}])}},{key:"_menuClosingActions",value:function(){var n=this,a=this._overlayRef.backdropClick(),o=this._overlayRef.detachments();return wi(a,this._parentMaterialMenu?this._parentMaterialMenu.closed:Qe(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Ir(function(u){return u!==n._menuItemInstance}),Ir(function(){return n._menuOpen})):Qe(),o)}},{key:"_handleMousedown",value:function(n){i1(n)||(this._openedBy=0===n.button?"mouse":void 0,this.triggersSubmenu()&&n.preventDefault())}},{key:"_handleKeydown",value:function(n){var a=n.keyCode;(13===a||32===a)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===a&&"ltr"===this.dir||37===a&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var n=this;!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Ir(function(a){return a===n._menuItemInstance&&!a.disabled}),ci(0,Kk)).subscribe(function(){n._openedBy="mouse",n.menu instanceof Sh&&n.menu._isAnimating?n.menu._animationDone.pipe(Qn(1),ci(0,Kk),rn(n._parentMaterialMenu._hovered())).subscribe(function(){return n.openMenu()}):n.openMenu()}))}},{key:"_getPortal",value:function(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new Qs(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(na),N(pt),N(kr),N(Yx),N($1,8),N(Ts,10),N(jr,8),N(ho))},e.\u0275dir=Ve({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,n){1&t&&we("mousedown",function(o){return n._handleMousedown(o)})("keydown",function(o){return n._handleKeydown(o)})("click",function(o){return n._handleClick(o)}),2&t&&Dt("aria-expanded",n.menuOpen||null)("aria-controls",n.menuOpen?n.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),jx=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Hx],imports:[mn]}),e}(),HQ=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({providers:[Hx],imports:[[Bo,mn,lh,oh,jx],th,mn,jx]}),e}(),ud=function(e){return e[e.Seconds=0]="Seconds",e[e.Minutes=1]="Minutes",e[e.Hours=2]="Hours",e[e.Days=3]="Days",e[e.Weeks=4]="Weeks",e}({}),VQ=function(){return function(){}}(),Ux=function(){function e(){}return e.getElapsedTime=function(i){var t=new VQ;t.timeRepresentation=ud.Seconds,t.totalMinutes=Math.floor(i/60).toString(),t.translationVarName="second";var n=1;i>=60&&i<3600?(t.timeRepresentation=ud.Minutes,n=60,t.translationVarName="minute"):i>=3600&&i<86400?(t.timeRepresentation=ud.Hours,n=3600,t.translationVarName="hour"):i>=86400&&i<604800?(t.timeRepresentation=ud.Days,n=86400,t.translationVarName="day"):i>=604800&&(t.timeRepresentation=ud.Weeks,n=604800,t.translationVarName="week");var a=Math.floor(i/n);return t.elapsedTime=a.toString(),(t.timeRepresentation===ud.Seconds||a>1)&&(t.translationVarName=t.translationVarName+"s"),t},e}();function jQ(e,i){1&e&&Te(0,"mat-spinner",5),2&e&&E("diameter",14)}function UQ(e,i){1&e&&Te(0,"mat-spinner",6),2&e&&E("diameter",18)}function zQ(e,i){1&e&&(p(0,"mat-icon",9),F(1,"refresh"),m()),2&e&&E("inline",!0)}function WQ(e,i){1&e&&(p(0,"mat-icon",10),F(1,"warning"),m()),2&e&&E("inline",!0)}function GQ(e,i){if(1&e&&(Ge(0),K(1,zQ,2,1,"mat-icon",7),K(2,WQ,2,1,"mat-icon",8),qe()),2&e){var t=J();v(1),E("ngIf",!t.showAlert),v(1),E("ngIf",t.showAlert)}}var zx=function(e){return{time:e}};function qQ(e,i){if(1&e&&(p(0,"span",11),F(1),V(2,"translate"),m()),2&e){var t=J();v(1),be(Ht(2,1,"refresh-button."+t.elapsedTime.translationVarName,et(4,zx,t.elapsedTime.elapsedTime)))}}var KQ=function(e){return{"grey-button-background":e}},JQ=function(){function e(){this.refeshRate=-1}return Object.defineProperty(e.prototype,"secondsSinceLastUpdate",{set:function(i){this.elapsedTime=Ux.getElapsedTime(i)},enumerable:!1,configurable:!0}),e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:6,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],["class","icon d-none d-md-inline-block",3,"diameter",4,"ngIf"],["class","icon d-md-none",3,"diameter",4,"ngIf"],[4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],[1,"icon","d-none","d-md-inline-block",3,"diameter"],[1,"icon","d-md-none",3,"diameter"],["class","icon",3,"inline",4,"ngIf"],["class","icon alert",3,"inline",4,"ngIf"],[1,"icon",3,"inline"],[1,"icon","alert",3,"inline"],[1,"d-none","d-md-inline"]],template:function(t,n){1&t&&(p(0,"button",0),V(1,"translate"),K(2,jQ,1,1,"mat-spinner",1),K(3,UQ,1,1,"mat-spinner",2),K(4,GQ,3,2,"ng-container",3),K(5,qQ,3,6,"span",4),m()),2&t&&(E("disabled",n.showLoading)("ngClass",et(10,KQ,!n.showLoading))("matTooltip",n.showAlert?Ht(1,7,"refresh-button.error-tooltip",et(12,zx,n.refeshRate)):""),v(2),E("ngIf",n.showLoading),v(1),E("ngIf",n.showLoading),v(1),E("ngIf",!n.showLoading),v(1),E("ngIf",n.elapsedTime))},directives:[bi,Cr,cr,Ot,iu,Cn],pipes:[wt],styles:[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7!important;color:#f8f9f9}.time-button[disabled][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.7}.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px;opacity:.5;display:inline-block}@media (max-width: 767px){.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;margin-right:0;opacity:.75}}.time-button[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{color:orange;opacity:1}.time-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.6rem}"]}),e}(),Th=function(){function e(){}return e.prototype.transform=function(i,t){var a,n=!0;t?t.showPerSecond?t.useBits?(a=e.measurementsPerSecInBits,n=!1):a=e.measurementsPerSec:t.useBits?(a=e.accumulatedMeasurementsInBits,n=!1):a=e.accumulatedMeasurements:a=e.accumulatedMeasurements;var o=new G1.BigNumber(i);n||(o=o.multipliedBy(8));for(var s=a[0],l=0;o.dividedBy(1024).isGreaterThan(1);)o=o.dividedBy(1024),s=a[l+=1];var u="";return(!t||!!t.showValue)&&(u=t&&t.limitDecimals?new G1.BigNumber(o).decimalPlaces(1).toString():o.toFixed(2)),(!t||!!t.showValue&&!!t.showUnit)&&(u+=" "),(!t||!!t.showUnit)&&(u+=s),u},e.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],e.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],e.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],e.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=Dr({name:"autoScale",type:e,pure:!0}),e}();function $Q(e,i){if(1&e){var t=nt();p(0,"button",23),we("click",function(){return Ae(t),J().requestAction(null)}),p(1,"mat-icon"),F(2,"chevron_left"),m(),m()}}function QQ(e,i){1&e&&(Ge(0),Te(1,"img",24),qe())}function ZQ(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.titleParts[t.titleParts.length-1])," ")}}var XQ=function(e){return{transparent:e}};function eZ(e,i){if(1&e){var t=nt();Ge(0),p(1,"div",26),we("click",function(){var s=Ae(t).$implicit;return J(2).requestAction(s.actionName)}),p(2,"mat-icon",27),F(3),m(),F(4),V(5,"translate"),m(),qe()}if(2&e){var n=i.$implicit;v(1),E("disabled",n.disabled),v(1),E("ngClass",et(6,XQ,n.disabled)),v(1),be(n.icon),v(1),Ce(" ",U(5,4,n.name)," ")}}function tZ(e,i){1&e&&Te(0,"div",28)}function nZ(e,i){if(1&e&&(Ge(0),K(1,eZ,6,8,"ng-container",25),K(2,tZ,1,0,"div",9),qe()),2&e){var t=J();v(1),E("ngForOf",t.optionsData),v(1),E("ngIf",t.returnText)}}function rZ(e,i){1&e&&Te(0,"div",28)}function iZ(e,i){1&e&&Te(0,"img",31),2&e&&E("src","assets/img/lang/"+J(2).language.iconName,Io)}function aZ(e,i){if(1&e){var t=nt();p(0,"div",29),we("click",function(){return Ae(t),J().openLanguageWindow()}),K(1,iZ,1,1,"img",30),F(2),V(3,"translate"),m()}if(2&e){var n=J();v(1),E("ngIf",n.language),v(1),Ce(" ",U(3,2,n.language?n.language.name:"")," ")}}function oZ(e,i){if(1&e){var t=nt();p(0,"div",32),p(1,"a",33),we("click",function(){return Ae(t),J().requestAction(null)}),V(2,"translate"),p(3,"mat-icon",34),F(4,"chevron_left"),m(),m(),m()}if(2&e){var n=J();v(1),E("matTooltip",U(2,2,n.returnText)),v(2),E("inline",!0)}}function sZ(e,i){if(1&e&&(p(0,"span",35),F(1),V(2,"translate"),m()),2&e){var t=J();v(1),Ce(" ",U(2,1,t.titleParts[t.titleParts.length-1])," ")}}function lZ(e,i){1&e&&Te(0,"img",36)}var uZ=function(e,i){return{"d-lg-none":e,"d-none d-md-inline-block":i}},Wx=function(e,i){return{"mouse-disabled":e,"grey-button-background":i}};function cZ(e,i){if(1&e&&(p(0,"div",27),p(1,"a",37),p(2,"mat-icon",34),F(3),m(),p(4,"span"),F(5),V(6,"translate"),m(),m(),m()),2&e){var t=i.$implicit,n=i.index,a=J();E("ngClass",Dn(9,uZ,t.onlyIfLessThanLg,1!==a.tabsData.length)),v(1),E("disabled",n===a.selectedTabIndex)("routerLink",t.linkParts)("ngClass",Dn(12,Wx,a.disableMouse,!a.disableMouse&&n!==a.selectedTabIndex)),v(1),E("inline",!0),v(1),be(t.icon),v(2),be(U(6,7,t.label))}}var dZ=function(e){return{"d-none":e}};function fZ(e,i){if(1&e){var t=nt();p(0,"div",38),p(1,"button",39),we("click",function(){return Ae(t),J().openTabSelector()}),p(2,"mat-icon",34),F(3),m(),p(4,"span"),F(5),V(6,"translate"),m(),p(7,"mat-icon",34),F(8,"keyboard_arrow_down"),m(),m(),m()}if(2&e){var n=J();E("ngClass",et(8,dZ,1===n.tabsData.length)),v(1),E("ngClass",Dn(10,Wx,n.disableMouse,!n.disableMouse)),v(1),E("inline",!0),v(1),be(n.tabsData[n.selectedTabIndex].icon),v(2),be(U(6,6,n.tabsData[n.selectedTabIndex].label)),v(2),E("inline",!0)}}function hZ(e,i){if(1&e){var t=nt();p(0,"app-refresh-button",43),we("click",function(){return Ae(t),J(2).sendRefreshEvent()}),m()}if(2&e){var n=J(2);E("secondsSinceLastUpdate",n.secondsSinceLastUpdate)("showLoading",n.showLoading)("showAlert",n.showAlert)("refeshRate",n.refeshRate)}}function pZ(e,i){if(1&e&&(p(0,"div",40),K(1,hZ,1,4,"app-refresh-button",41),p(2,"button",42),p(3,"mat-icon",34),F(4,"menu"),m(),m(),m()),2&e){var t=J(),n=Lr(12);v(1),E("ngIf",t.showUpdateButton),v(1),E("matMenuTriggerFor",n),v(1),E("inline",!0)}}function mZ(e,i){if(1&e){var t=nt();p(0,"div",51),p(1,"div",52),we("click",function(){return Ae(t),J(2).openLanguageWindow()}),Te(2,"img",53),F(3),V(4,"translate"),m(),m()}if(2&e){var n=J(2);v(2),E("src","assets/img/lang/"+n.language.iconName,Io),v(1),Ce(" ",U(4,2,n.language?n.language.name:"")," ")}}function vZ(e,i){1&e&&(p(0,"div",54),V(1,"translate"),p(2,"mat-icon",34),F(3,"warning"),m(),F(4),V(5,"translate"),m()),2&e&&(E("matTooltip",U(1,3,"vpn.connection-error.info")),v(2),E("inline",!0),v(2),Ce(" ",U(5,5,"vpn.connection-error.text")," "))}function gZ(e,i){1&e&&(p(0,"div",61),p(1,"mat-icon",59),F(2,"brightness_1"),m(),m()),2&e&&(v(1),E("inline",!0))}var _Z=function(e,i){return{"animation-container":e,"d-none":i}},yZ=function(e){return{time:e}},Gx=function(e){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:e}};function bZ(e,i){if(1&e&&(p(0,"table",55),p(1,"tr"),p(2,"td",56),V(3,"translate"),p(4,"div",27),p(5,"div",57),p(6,"div",58),p(7,"mat-icon",59),F(8,"brightness_1"),m(),F(9),V(10,"translate"),m(),m(),m(),K(11,gZ,3,1,"div",60),p(12,"mat-icon",59),F(13,"brightness_1"),m(),F(14),V(15,"translate"),m(),p(16,"td",56),V(17,"translate"),p(18,"mat-icon",34),F(19,"swap_horiz"),m(),F(20),V(21,"translate"),m(),m(),p(22,"tr"),p(23,"td",56),V(24,"translate"),p(25,"mat-icon",34),F(26,"arrow_upward"),m(),F(27),V(28,"autoScale"),m(),p(29,"td",56),V(30,"translate"),p(31,"mat-icon",34),F(32,"arrow_downward"),m(),F(33),V(34,"autoScale"),m(),m(),m()),2&e){var t=J(2);v(2),pa(t.vpnData.stateClass+" state-td"),E("matTooltip",U(3,18,t.vpnData.state+"-info")),v(2),E("ngClass",Dn(39,_Z,t.showVpnStateAnimation,!t.showVpnStateAnimation)),v(3),E("inline",!0),v(2),Ce(" ",U(10,20,t.vpnData.state)," "),v(2),E("ngIf",t.showVpnStateAnimatedDot),v(1),E("inline",!0),v(2),Ce(" ",U(15,22,t.vpnData.state)," "),v(2),E("matTooltip",U(17,24,"vpn.connection-info.latency-info")),v(2),E("inline",!0),v(2),Ce(" ",Ht(21,26,"common."+t.getLatencyValueString(t.vpnData.latency),et(42,yZ,t.getPrintableLatency(t.vpnData.latency)))," "),v(3),E("matTooltip",U(24,29,"vpn.connection-info.upload-info")),v(2),E("inline",!0),v(2),Ce(" ",Ht(28,31,t.vpnData.uploadSpeed,et(44,Gx,t.showVpnDataStatsInBits))," "),v(2),E("matTooltip",U(30,34,"vpn.connection-info.download-info")),v(2),E("inline",!0),v(2),Ce(" ",Ht(34,36,t.vpnData.downloadSpeed,et(46,Gx,t.showVpnDataStatsInBits))," ")}}function kZ(e,i){1&e&&Te(0,"mat-spinner",62),2&e&&E("diameter",20)}function CZ(e,i){if(1&e&&(p(0,"div"),p(1,"div",44),K(2,mZ,5,4,"div",45),Te(3,"div",46),K(4,vZ,6,7,"div",47),m(),p(5,"div",48),K(6,bZ,35,48,"table",49),K(7,kZ,1,1,"mat-spinner",50),m(),m()),2&e){var t=J();v(2),E("ngIf",!t.hideLanguageButton&&t.language),v(2),E("ngIf",t.errorsConnectingToVpn),v(2),E("ngIf",t.vpnData),v(1),E("ngIf",!t.vpnData)}}function MZ(e,i){1&e&&(p(0,"div",63),p(1,"div",64),p(2,"mat-icon",34),F(3,"error_outline"),m(),F(4),V(5,"translate"),m(),p(6,"div",65),F(7),V(8,"translate"),m(),m()),2&e&&(v(2),E("inline",!0),v(2),Ce(" ",U(5,3,"vpn.remote-access-title")," "),v(3),Ce(" ",U(8,5,"vpn.remote-access-text")," "))}var qx=function(e,i){return{"d-lg-none":e,"d-none":i}},wZ=function(e){return{"normal-height":e}},SZ=function(e,i){return{"d-none d-lg-flex":e,"d-flex":i}},lu=function(){function e(i,t,n,a,o){this.languageService=i,this.dialog=t,this.router=n,this.vpnClientService=a,this.vpnSavedDataService=o,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new mt,this.optionSelected=new mt,this.hideLanguageButton=!0,this.showVpnInfo=!1,this.initialVpnStateObtained=!1,this.lastVpnState="",this.showVpnStateAnimation=!1,this.showVpnStateAnimatedDot=!0,this.showVpnDataStatsInBits=!0,this.remoteAccess=!1,this.errorsConnectingToVpn=!1,this.langSubscriptionsGroup=[]}return Object.defineProperty(e.prototype,"localVpnKey",{set:function(i){this.localVpnKeyInternal=i,i?this.startGettingVpnInfo():this.stopGettingVpnInfo()},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var i=this;this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe(function(n){i.language=n})),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe(function(n){i.hideLanguageButton=!(n.length>1)}));var t=window.location.hostname;!t.toLowerCase().includes("localhost")&&!t.toLowerCase().includes("127.0.0.1")&&(this.remoteAccess=!0)},e.prototype.ngOnDestroy=function(){this.langSubscriptionsGroup.forEach(function(i){return i.unsubscribe()}),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()},e.prototype.startGettingVpnInfo=function(){var i=this;this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe(function(t){t&&(i.vpnData={state:"",stateClass:"",latency:t.vpnClientAppData.connectionData?t.vpnClientAppData.connectionData.latency:0,downloadSpeed:t.vpnClientAppData.connectionData?t.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:t.vpnClientAppData.connectionData?t.vpnClientAppData.connectionData.uploadSpeed:0},t.vpnClientAppData.appState===Pn.Stopped?(i.vpnData.state="vpn.connection-info.state-disconnected",i.vpnData.stateClass="red-clear-text"):t.vpnClientAppData.appState===Pn.Connecting?(i.vpnData.state="vpn.connection-info.state-connecting",i.vpnData.stateClass="yellow-clear-text"):t.vpnClientAppData.appState===Pn.Running?(i.vpnData.state="vpn.connection-info.state-connected",i.vpnData.stateClass="green-clear-text"):t.vpnClientAppData.appState===Pn.ShuttingDown?(i.vpnData.state="vpn.connection-info.state-disconnecting",i.vpnData.stateClass="yellow-clear-text"):t.vpnClientAppData.appState===Pn.Reconnecting&&(i.vpnData.state="vpn.connection-info.state-reconnecting",i.vpnData.stateClass="yellow-clear-text"),i.initialVpnStateObtained?i.lastVpnState!==i.vpnData.state&&(i.lastVpnState=i.vpnData.state,i.showVpnStateAnimation=!1,i.showVpnStateChangeAnimationSubscription&&i.showVpnStateChangeAnimationSubscription.unsubscribe(),i.showVpnStateChangeAnimationSubscription=Qe(0).pipe(ci(1)).subscribe(function(){return i.showVpnStateAnimation=!0})):(i.initialVpnStateObtained=!0,i.lastVpnState=i.vpnData.state),i.showVpnStateAnimatedDot=!1,i.showVpnStateAnimatedDotSubscription&&i.showVpnStateAnimatedDotSubscription.unsubscribe(),i.showVpnStateAnimatedDotSubscription=Qe(0).pipe(ci(1)).subscribe(function(){return i.showVpnStateAnimatedDot=!0}))}),this.errorsConnectingToVpnSubscription=this.vpnClientService.errorsConnecting.subscribe(function(t){i.errorsConnectingToVpn=t})},e.prototype.stopGettingVpnInfo=function(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe(),this.errorsConnectingToVpnSubscription&&this.errorsConnectingToVpnSubscription.unsubscribe()},e.prototype.getLatencyValueString=function(i){return Wr.getLatencyValueString(i)},e.prototype.getPrintableLatency=function(i){return Wr.getPrintableLatency(i)},e.prototype.requestAction=function(i){this.optionSelected.emit(i)},e.prototype.openLanguageWindow=function(){Mx.openDialog(this.dialog)},e.prototype.sendRefreshEvent=function(){this.refreshRequested.emit()},e.prototype.openTabSelector=function(){var i=this,t=[];this.tabsData.forEach(function(n){t.push({label:n.label,icon:n.icon})}),Ui.openDialog(this.dialog,t,"tabs-window.title").afterClosed().subscribe(function(n){n&&(n-=1)!==i.selectedTabIndex&&i.router.navigate(i.tabsData[n].linkParts)})},e.prototype.updateVpnDataStatsUnit=function(){var i=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=i===go.BitsSpeedAndBytesVolume||i===go.OnlyBits},e.\u0275fac=function(t){return new(t||e)(N(Bv),N(Gn),N(Zt),N(od),N(su))},e.\u0275cmp=Ke({type:e,selectors:[["app-top-bar"]],inputs:{disableMouse:"disableMouse",titleParts:"titleParts",tabsData:"tabsData",selectedTabIndex:"selectedTabIndex",optionsData:"optionsData",returnText:"returnText",secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate",showUpdateButton:"showUpdateButton",localVpnKey:"localVpnKey"},outputs:{refreshRequested:"refreshRequested",optionSelected:"optionSelected"},decls:29,vars:31,consts:[[1,"top-bar",3,"ngClass"],[1,"button-container"],["mat-icon-button","","class","transparent-button",3,"click",4,"ngIf"],[1,"logo-container"],[4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matMenuTriggerFor"],[1,"top-bar-margin",3,"ngClass"],[3,"overlapTrigger"],["menu","matMenu"],["class","menu-separator",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"main-container",3,"ngClass"],[1,"main-area"],[1,"title",3,"ngClass"],["class","return-container",4,"ngIf"],["class","title-text",4,"ngIf"],["class","title-image","src","./assets/img/logo-vpn.png",4,"ngIf"],[1,"lower-container"],[3,"ngClass",4,"ngFor","ngForOf"],["class","d-md-none",3,"ngClass",4,"ngIf"],[1,"blank-space"],["class","right-container",4,"ngIf"],["class","remote-vpn-alert-container",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"click"],["src","/assets/img/logo-s.png"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],[3,"ngClass"],[1,"menu-separator"],["mat-menu-item","",3,"click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"],[1,"return-container"],[1,"return-button","transparent-button",3,"matTooltip","click"],[3,"inline"],[1,"title-text"],["src","./assets/img/logo-vpn.png",1,"title-image"],["mat-button","",1,"tab-button","white-theme",3,"disabled","routerLink","ngClass"],[1,"d-md-none",3,"ngClass"],["mat-button","",1,"tab-button","select-tab-button","white-theme",3,"ngClass","click"],[1,"right-container"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click",4,"ngIf"],["mat-button","",1,"menu-button","subtle-transparent-button","d-none","d-lg-block",3,"matMenuTriggerFor"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click"],[1,"top-text-vpn-container"],["class","languaje-button-vpn",4,"ngIf"],[1,"elements-separator"],["class","connection-error-msg-vpn blinking",3,"matTooltip",4,"ngIf"],[1,"vpn-info","vpn-dark-box-radius"],["cellspacing","0","cellpadding","0",4,"ngIf"],[3,"diameter",4,"ngIf"],[1,"languaje-button-vpn"],[1,"text-container",3,"click"],[1,"language-flag",3,"src"],[1,"connection-error-msg-vpn","blinking",3,"matTooltip"],["cellspacing","0","cellpadding","0"],[3,"matTooltip"],[1,"internal-animation-container"],[1,"animation-area"],[1,"state-icon",3,"inline"],["class","aminated-state-icon-container",4,"ngIf"],[1,"aminated-state-icon-container"],[3,"diameter"],[1,"remote-vpn-alert-container"],[1,"top-line"],[1,"bottom-line"]],template:function(t,n){if(1&t&&(p(0,"div",0),p(1,"div",1),K(2,$Q,3,0,"button",2),m(),p(3,"div",3),K(4,QQ,2,0,"ng-container",4),K(5,ZQ,3,3,"ng-container",4),m(),p(6,"div",1),p(7,"button",5),p(8,"mat-icon"),F(9,"menu"),m(),m(),m(),m(),Te(10,"div",6),p(11,"mat-menu",7,8),K(13,nZ,3,2,"ng-container",4),K(14,rZ,1,0,"div",9),K(15,aZ,4,4,"div",10),m(),p(16,"div",11),p(17,"div",12),p(18,"div",13),K(19,oZ,5,4,"div",14),K(20,sZ,3,3,"span",15),K(21,lZ,1,0,"img",16),m(),p(22,"div",17),K(23,cZ,7,15,"div",18),K(24,fZ,9,13,"div",19),Te(25,"div",20),K(26,pZ,5,3,"div",21),m(),m(),K(27,CZ,8,4,"div",4),m(),K(28,MZ,9,7,"div",22)),2&t){var a=Lr(12);E("ngClass",Dn(20,qx,!n.showVpnInfo,n.showVpnInfo)),v(2),E("ngIf",n.returnText),v(2),E("ngIf",!n.titleParts||n.titleParts.length<2),v(1),E("ngIf",n.titleParts&&n.titleParts.length>=2),v(2),E("matMenuTriggerFor",a),v(3),E("ngClass",Dn(23,qx,!n.showVpnInfo,n.showVpnInfo)),v(1),E("overlapTrigger",!1),v(2),E("ngIf",n.optionsData&&n.optionsData.length>=1),v(1),E("ngIf",!n.hideLanguageButton&&n.optionsData&&n.optionsData.length>=1),v(1),E("ngIf",!n.hideLanguageButton),v(1),E("ngClass",et(26,wZ,!n.showVpnInfo)),v(2),E("ngClass",Dn(28,SZ,!n.showVpnInfo,n.showVpnInfo)),v(1),E("ngIf",n.returnText),v(1),E("ngIf",!n.showVpnInfo),v(1),E("ngIf",n.showVpnInfo),v(2),E("ngForOf",n.tabsData),v(1),E("ngIf",n.tabsData&&n.tabsData[n.selectedTabIndex]),v(2),E("ngIf",!n.showVpnInfo),v(1),E("ngIf",n.showVpnInfo),v(1),E("ngIf",n.showVpnInfo&&n.remoteAccess)}},directives:[Cr,Ot,bi,ld,Cn,sd,xr,Ts,cr,RG,Kl,JQ,iu],pipes:[wt,Th],styles:["@media (max-width: 991px){.normal-height[_ngcontent-%COMP%]{height:55px!important}}.main-container[_ngcontent-%COMP%]{border-bottom:1px solid rgba(255,255,255,.15);padding-bottom:10px;margin-bottom:-5px;height:100px;display:flex}.main-container[_ngcontent-%COMP%] .main-area[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:15px;margin-left:5px;flex-direction:row;align-items:center}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{z-index:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-image[_ngcontent-%COMP%]{width:124px;height:21px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%]{width:30px;position:relative;top:2px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%] .return-button[_ngcontent-%COMP%]{line-height:1;font-size:25px;position:relative;top:2px;width:100%;margin-right:4px;cursor:pointer}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%]{display:flex}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .blank-space[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;opacity:.5;margin-right:2px;text-decoration:none;height:40px;display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]:hover{opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1!important;color:#f8f9f9;background:rgba(0,0,0,.7)!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:2px;opacity:.75;font-size:18px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-1px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]{opacity:.75!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]:hover{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{height:32px;width:32px;min-width:0px!important;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:rgba(0,0,0,.122)}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.transparent[_ngcontent-%COMP%]{opacity:.5}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:10;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-shrink:0;width:56px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:56px;height:56px}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.vpn-info[_ngcontent-%COMP%]{font-size:.7rem;background:rgba(0,0,0,.7);padding:15px 20px;align-self:center}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .state-td[_ngcontent-%COMP%]{font-weight:bold}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 0;min-width:90px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:3px;font-size:12px;position:relative;top:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:auto}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{transform:scale(.75)}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{height:auto;-webkit-animation:state-icon-animation 1s linear 1;animation:state-icon-animation 1s linear 1}@-webkit-keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}@keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%]{width:0px;height:0px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%]{width:200px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%] .animation-area[_ngcontent-%COMP%]{display:inline-block;-webkit-animation:state-animation 1s linear 1;animation:state-animation 1s linear 1;opacity:0}@-webkit-keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}@keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-right:30px}.vpn-info[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.top-text-vpn-container[_ngcontent-%COMP%]{display:flex;flex-direction:row-reverse;font-size:.6rem}.top-text-vpn-container[_ngcontent-%COMP%] .connection-error-msg-vpn[_ngcontent-%COMP%]{margin:-5px 0 5px 10px;color:orange}.top-text-vpn-container[_ngcontent-%COMP%] .elements-separator[_ngcontent-%COMP%]{flex-grow:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%]{margin:-5px 10px 5px 0}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{cursor:pointer;display:inline;opacity:.8}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:hover{opacity:1}.top-text-vpn-container[_ngcontent-%COMP%] .languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .language-flag[_ngcontent-%COMP%]{width:11px;height:11px;margin-right:2px}.remote-vpn-alert-container[_ngcontent-%COMP%]{background-color:#da3439;margin:0 -21px;padding:10px 20px 15px;text-align:center}.remote-vpn-alert-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px}.remote-vpn-alert-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:1.25rem}.remote-vpn-alert-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.8rem}"]}),e}(),Kx=function(){return["1"]};function TZ(e,i){if(1&e&&(p(0,"a",10),p(1,"mat-icon",11),F(2,"chevron_left"),m(),F(3),V(4,"translate"),m()),2&e){var t=J();E("routerLink",t.linkParts.concat(Yn(6,Kx)))("queryParams",t.queryParams),v(1),E("inline",!0),v(2),Ce(" ",U(4,4,"paginator.first")," ")}}function DZ(e,i){if(1&e&&(p(0,"a",12),p(1,"mat-icon",11),F(2,"chevron_left"),m(),p(3,"span",13),F(4),V(5,"translate"),m(),m()),2&e){var t=J();E("routerLink",t.linkParts.concat(Yn(6,Kx)))("queryParams",t.queryParams),v(1),E("inline",!0),v(3),be(U(5,4,"paginator.first"))}}var al=function(e){return[e]};function EZ(e,i){if(1&e&&(p(0,"a",10),p(1,"div"),p(2,"mat-icon",11),F(3,"chevron_left"),m(),m(),m()),2&e){var t=J();E("routerLink",t.linkParts.concat(et(3,al,(t.currentPage-1).toString())))("queryParams",t.queryParams),v(2),E("inline",!0)}}function LZ(e,i){if(1&e&&(p(0,"a",10),F(1),m()),2&e){var t=J();E("routerLink",t.linkParts.concat(et(3,al,(t.currentPage-2).toString())))("queryParams",t.queryParams),v(1),be(t.currentPage-2)}}function PZ(e,i){if(1&e&&(p(0,"a",14),F(1),m()),2&e){var t=J();E("routerLink",t.linkParts.concat(et(3,al,(t.currentPage-1).toString())))("queryParams",t.queryParams),v(1),be(t.currentPage-1)}}function OZ(e,i){if(1&e&&(p(0,"a",14),F(1),m()),2&e){var t=J();E("routerLink",t.linkParts.concat(et(3,al,(t.currentPage+1).toString())))("queryParams",t.queryParams),v(1),be(t.currentPage+1)}}function xZ(e,i){if(1&e&&(p(0,"a",10),F(1),m()),2&e){var t=J();E("routerLink",t.linkParts.concat(et(3,al,(t.currentPage+2).toString())))("queryParams",t.queryParams),v(1),be(t.currentPage+2)}}function IZ(e,i){if(1&e&&(p(0,"a",10),p(1,"div"),p(2,"mat-icon",11),F(3,"chevron_right"),m(),m(),m()),2&e){var t=J();E("routerLink",t.linkParts.concat(et(3,al,(t.currentPage+1).toString())))("queryParams",t.queryParams),v(2),E("inline",!0)}}function AZ(e,i){if(1&e&&(p(0,"a",10),F(1),V(2,"translate"),p(3,"mat-icon",11),F(4,"chevron_right"),m(),m()),2&e){var t=J();E("routerLink",t.linkParts.concat(et(6,al,t.numberOfPages.toString())))("queryParams",t.queryParams),v(1),Ce(" ",U(2,4,"paginator.last")," "),v(2),E("inline",!0)}}function RZ(e,i){if(1&e&&(p(0,"a",12),p(1,"mat-icon",11),F(2,"chevron_right"),m(),p(3,"span",13),F(4),V(5,"translate"),m(),m()),2&e){var t=J();E("routerLink",t.linkParts.concat(et(6,al,t.numberOfPages.toString())))("queryParams",t.queryParams),v(1),E("inline",!0),v(3),be(U(5,4,"paginator.last"))}}var Jx=function(e){return{number:e}};function FZ(e,i){if(1&e&&(p(0,"div",15),F(1),V(2,"translate"),m()),2&e){var t=J();v(1),be(Ht(2,1,"paginator.total",et(4,Jx,t.numberOfPages)))}}function NZ(e,i){if(1&e&&(p(0,"div",16),F(1),V(2,"translate"),m()),2&e){var t=J();v(1),be(Ht(2,1,"paginator.total",et(4,Jx,t.numberOfPages)))}}var cd=function(){function e(i,t){this.dialog=i,this.router=t,this.linkParts=[""],this.queryParams={}}return e.prototype.openSelectionDialog=function(){for(var i=this,t=[],n=1;n<=this.numberOfPages;n++)t.push({label:n.toString()});Ui.openDialog(this.dialog,t,"paginator.select-page-title").afterClosed().subscribe(function(a){a&&i.router.navigate(i.linkParts.concat([a.toString()]),{queryParams:i.queryParams})})},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(Zt))},e.\u0275cmp=Ke({type:e,selectors:[["app-paginator"]],inputs:{currentPage:"currentPage",numberOfPages:"numberOfPages",linkParts:"linkParts",queryParams:"queryParams"},decls:21,vars:13,consts:[[1,"main-container"],[1,"d-inline-block","small-rounded-elevated-box","mt-3"],[1,"d-flex"],[1,"responsive-height","d-md-none"],["class","d-none d-md-flex",3,"routerLink","queryParams",4,"ngIf"],["class","d-flex d-md-none flex-column",3,"routerLink","queryParams",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[1,"selected",3,"click"],["class","d-none d-md-block total-pages",4,"ngIf"],["class","d-block d-md-none total-pages",4,"ngIf"],[1,"d-none","d-md-flex",3,"routerLink","queryParams"],[3,"inline"],[1,"d-flex","d-md-none","flex-column",3,"routerLink","queryParams"],[1,"label"],[3,"routerLink","queryParams"],[1,"d-none","d-md-block","total-pages"],[1,"d-block","d-md-none","total-pages"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"div",2),p(3,"div",3),F(4,"\xa0"),Te(5,"br"),F(6,"\xa0"),m(),K(7,TZ,5,7,"a",4),K(8,DZ,6,7,"a",5),K(9,EZ,4,5,"a",4),K(10,LZ,2,5,"a",4),K(11,PZ,2,5,"a",6),p(12,"a",7),we("click",function(){return n.openSelectionDialog()}),F(13),m(),K(14,OZ,2,5,"a",6),K(15,xZ,2,5,"a",4),K(16,IZ,4,5,"a",4),K(17,AZ,5,8,"a",4),K(18,RZ,6,8,"a",5),m(),m(),K(19,FZ,3,6,"div",8),K(20,NZ,3,6,"div",9),m()),2&t&&(v(7),E("ngIf",n.currentPage>3),v(1),E("ngIf",n.currentPage>2),v(1),E("ngIf",n.currentPage>1),v(1),E("ngIf",n.currentPage>2),v(1),E("ngIf",n.currentPage>1),v(2),be(n.currentPage),v(1),E("ngIf",n.currentPage3),v(1),E("ngIf",n.numberOfPages>2))},directives:[Ot,Kl,Cn],pipes:[wt],styles:[".main-container[_ngcontent-%COMP%]{text-align:right}.main-container[_ngcontent-%COMP%] .responsive-height[_ngcontent-%COMP%]{padding:10px 0;width:0px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px;border-right:rgba(255,255,255,.15) solid 1px;border-left:rgba(255,255,255,.15) solid 1px;min-width:40px;text-align:center;color:rgba(248,249,249,.502);text-decoration:none;display:flex;align-items:center;justify-content:center}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.7rem}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#f8f9f9;background:rgba(0,0,0,.36);padding:10px 20px;cursor:pointer}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.main-container[_ngcontent-%COMP%] .total-pages[_ngcontent-%COMP%]{font-size:.6rem;margin-top:-3px;margin-right:4px}"]}),e}(),$x=function(){return["start.title"]};function YZ(e,i){if(1&e&&(p(0,"div",2),p(1,"div"),Te(2,"app-top-bar",3),m(),Te(3,"app-loading-indicator",4),m()),2&e){var t=J();v(2),E("titleParts",Yn(4,$x))("tabsData",t.tabsData)("selectedTabIndex",t.showDmsgInfo?1:0)("showUpdateButton",!1)}}function HZ(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),be(U(2,1,t.translatableValue))}}function VZ(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),be(t.value)}}function BZ(e,i){if(1&e&&(p(0,"div",23),p(1,"span"),F(2),V(3,"translate"),m(),K(4,HZ,3,3,"ng-container",24),K(5,VZ,2,1,"ng-container",24),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),E("ngIf",t.translatableValue),v(1),E("ngIf",t.value)}}function jZ(e,i){if(1&e){var t=nt();p(0,"div",20),we("click",function(){return Ae(t),J(2).dataFilterer.removeFilters()}),K(1,BZ,6,5,"div",21),p(2,"div",22),F(3),V(4,"translate"),m(),m()}if(2&e){var n=J(2);v(1),E("ngForOf",n.dataFilterer.currentFiltersTexts),v(2),be(U(4,2,"filters.press-to-remove"))}}function UZ(e,i){if(1&e){var t=nt();p(0,"mat-icon",25),we("click",function(){return Ae(t),J(2).dataFilterer.changeFilters()}),V(1,"translate"),F(2,"filter_list"),m()}2&e&&E("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function zZ(e,i){1&e&&(p(0,"mat-icon",26),F(1,"more_horiz"),m()),2&e&&(J(),E("matMenuTriggerFor",Lr(12)))}var Qx=function(){return["/nodes","list"]},Zx=function(){return["/nodes","dmsg"]};function WZ(e,i){if(1&e&&Te(0,"app-paginator",27),2&e){var t=J(2);E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",t.showDmsgInfo?Yn(5,Zx):Yn(4,Qx))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function GZ(e,i){if(1&e&&(p(0,"mat-icon",42),F(1),m()),2&e){var t=J(4);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function qZ(e,i){if(1&e&&(p(0,"mat-icon",42),F(1),m()),2&e){var t=J(4);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function KZ(e,i){if(1&e&&(p(0,"mat-icon",42),F(1),m()),2&e){var t=J(4);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function JZ(e,i){if(1&e&&(p(0,"mat-icon",42),F(1),m()),2&e){var t=J(4);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function $Z(e,i){1&e&&(Ge(0),F(1,"*"),qe())}function QZ(e,i){if(1&e&&(Ge(0),p(1,"mat-icon",42),F(2),m(),K(3,$Z,2,0,"ng-container",24),qe()),2&e){var t=J(5);v(1),E("inline",!0),v(1),be(t.dataSorter.sortingArrow),v(1),E("ngIf",t.dataSorter.currentlySortingByLabel)}}function ZZ(e,i){if(1&e){var t=nt();p(0,"th",38),we("click",function(){Ae(t);var o=J(4);return o.dataSorter.changeSortingOrder(o.dmsgServerSortData)}),F(1),V(2,"translate"),K(3,QZ,4,3,"ng-container",24),m()}if(2&e){var n=J(4);v(1),Ce(" ",U(2,2,"nodes.dmsg-server")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.dmsgServerSortData)}}function XZ(e,i){if(1&e&&(p(0,"mat-icon",42),F(1),m()),2&e){var t=J(5);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function eX(e,i){if(1&e){var t=nt();p(0,"th",38),we("click",function(){Ae(t);var o=J(4);return o.dataSorter.changeSortingOrder(o.pingSortData)}),F(1),V(2,"translate"),K(3,XZ,2,2,"mat-icon",35),m()}if(2&e){var n=J(4);v(1),Ce(" ",U(2,2,"nodes.ping")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.pingSortData)}}function tX(e,i){1&e&&(p(0,"mat-icon",49),V(1,"translate"),F(2,"star"),m()),2&e&&E("inline",!0)("matTooltip",U(1,2,"nodes.hypervisor-info"))}function nX(e,i){if(1&e){var t=nt();p(0,"app-labeled-element-text",51),we("labelEdited",function(){return Ae(t),J(6).forceDataRefresh()}),m()}if(2&e){var n=J(2).$implicit,a=J(4);Tn("id",n.dmsgServerPk),E("short",!0)("elementType",a.labeledElementTypes.DmsgServer)}}function rX(e,i){if(1&e&&(p(0,"td"),K(1,nX,1,3,"app-labeled-element-text",50),m()),2&e){var t=J().$implicit;v(1),E("ngIf",t.dmsgServerPk)}}var Xx=function(e){return{time:e}};function iX(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J(2).$implicit;v(1),Ce(" ",Ht(2,1,"common.time-in-ms",et(4,Xx,t.roundTripPing))," ")}}function aX(e,i){if(1&e&&(p(0,"td"),K(1,iX,3,6,"ng-container",24),m()),2&e){var t=J().$implicit;v(1),E("ngIf",t.dmsgServerPk)}}function oX(e,i){if(1&e){var t=nt();p(0,"button",47),we("click",function(){Ae(t);var a=J().$implicit;return J(4).open(a)}),V(1,"translate"),p(2,"mat-icon",42),F(3,"chevron_right"),m(),m()}2&e&&(E("matTooltip",U(1,2,"nodes.view-node")),v(2),E("inline",!0))}function sX(e,i){if(1&e){var t=nt();p(0,"button",47),we("click",function(){Ae(t);var a=J().$implicit;return J(4).deleteNode(a)}),V(1,"translate"),p(2,"mat-icon"),F(3,"close"),m(),m()}2&e&&E("matTooltip",U(1,1,"nodes.delete-node"))}function lX(e,i){if(1&e){var t=nt();p(0,"tr",43),we("click",function(){var l=Ae(t).$implicit;return J(4).open(l)}),p(1,"td"),K(2,tX,3,4,"mat-icon",44),m(),p(3,"td"),Te(4,"span",45),V(5,"translate"),m(),p(6,"td"),F(7),m(),p(8,"td"),F(9),m(),K(10,rX,2,1,"td",24),K(11,aX,2,1,"td",24),p(12,"td",46),we("click",function(s){return s.stopPropagation()}),p(13,"button",47),we("click",function(){var l=Ae(t).$implicit;return J(4).copyToClipboard(l)}),V(14,"translate"),p(15,"mat-icon",42),F(16,"filter_none"),m(),m(),p(17,"button",47),we("click",function(){var l=Ae(t).$implicit;return J(4).showEditLabelDialog(l)}),V(18,"translate"),p(19,"mat-icon",42),F(20,"short_text"),m(),m(),K(21,oX,4,4,"button",48),K(22,sX,4,3,"button",48),m(),m()}if(2&e){var n=i.$implicit,a=J(4);v(2),E("ngIf",n.isHypervisor),v(2),pa(a.nodeStatusClass(n,!0)),E("matTooltip",U(5,14,a.nodeStatusText(n,!0))),v(3),Ce(" ",n.label," "),v(2),Ce(" ",n.localPk," "),v(1),E("ngIf",a.showDmsgInfo),v(1),E("ngIf",a.showDmsgInfo),v(2),E("matTooltip",U(14,16,a.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),v(2),E("inline",!0),v(2),E("matTooltip",U(18,18,"labeled-element.edit-label")),v(2),E("inline",!0),v(2),E("ngIf",n.online),v(1),E("ngIf",!n.online)}}function uX(e,i){if(1&e){var t=nt();p(0,"table",32),p(1,"tr"),p(2,"th",33),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.hypervisorSortData)}),V(3,"translate"),p(4,"mat-icon",34),F(5,"star_outline"),m(),K(6,GZ,2,2,"mat-icon",35),m(),p(7,"th",33),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.stateSortData)}),V(8,"translate"),Te(9,"span",36),K(10,qZ,2,2,"mat-icon",35),m(),p(11,"th",37),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.labelSortData)}),F(12),V(13,"translate"),K(14,KZ,2,2,"mat-icon",35),m(),p(15,"th",38),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.keySortData)}),F(16),V(17,"translate"),K(18,JZ,2,2,"mat-icon",35),m(),K(19,ZZ,4,4,"th",39),K(20,eX,4,4,"th",39),Te(21,"th",40),m(),K(22,lX,23,20,"tr",41),m()}if(2&e){var n=J(3);v(2),E("matTooltip",U(3,11,"nodes.hypervisor")),v(4),E("ngIf",n.dataSorter.currentSortingColumn===n.hypervisorSortData),v(1),E("matTooltip",U(8,13,"nodes.state-tooltip")),v(3),E("ngIf",n.dataSorter.currentSortingColumn===n.stateSortData),v(2),Ce(" ",U(13,15,"nodes.label")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.labelSortData),v(2),Ce(" ",U(17,17,"nodes.key")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.keySortData),v(1),E("ngIf",n.showDmsgInfo),v(1),E("ngIf",n.showDmsgInfo),v(2),E("ngForOf",n.dataSource)}}function cX(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"tables.label")))}function dX(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"tables.inverted-order")))}function fX(e,i){1&e&&(p(0,"div",57),p(1,"mat-icon",62),F(2,"star"),m(),F(3,"\xa0 "),p(4,"span",63),F(5),V(6,"translate"),m(),m()),2&e&&(v(1),E("inline",!0),v(4),be(U(6,2,"nodes.hypervisor")))}function hX(e,i){if(1&e){var t=nt();p(0,"div",58),p(1,"span",9),F(2),V(3,"translate"),m(),F(4,": "),p(5,"app-labeled-element-text",64),we("labelEdited",function(){return Ae(t),J(5).forceDataRefresh()}),m(),m()}if(2&e){var n=J().$implicit,a=J(4);v(2),be(U(3,3,"nodes.dmsg-server")),v(3),Tn("id",n.dmsgServerPk),E("elementType",a.labeledElementTypes.DmsgServer)}}function pX(e,i){if(1&e&&(p(0,"div",57),p(1,"span",9),F(2),V(3,"translate"),m(),F(4),V(5,"translate"),m()),2&e){var t=J().$implicit;v(2),be(U(3,2,"nodes.ping")),v(2),Ce(": ",Ht(5,4,"common.time-in-ms",et(7,Xx,t.roundTripPing))," ")}}function mX(e,i){if(1&e){var t=nt();p(0,"tr",43),we("click",function(){var l=Ae(t).$implicit;return J(4).open(l)}),p(1,"td"),p(2,"div",53),p(3,"div",54),K(4,fX,7,4,"div",56),p(5,"div",57),p(6,"span",9),F(7),V(8,"translate"),m(),F(9,": "),p(10,"span"),F(11),V(12,"translate"),m(),m(),p(13,"div",57),p(14,"span",9),F(15),V(16,"translate"),m(),F(17),m(),p(18,"div",58),p(19,"span",9),F(20),V(21,"translate"),m(),F(22),m(),K(23,hX,6,5,"div",59),K(24,pX,6,9,"div",56),m(),Te(25,"div",60),p(26,"div",55),p(27,"button",61),we("click",function(s){var u=Ae(t).$implicit,d=J(4);return s.stopPropagation(),d.showOptionsDialog(u)}),V(28,"translate"),p(29,"mat-icon"),F(30),m(),m(),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(4);v(4),E("ngIf",n.isHypervisor),v(3),be(U(8,13,"nodes.state")),v(3),pa(a.nodeStatusClass(n,!1)+" title"),v(1),be(U(12,15,a.nodeStatusText(n,!1))),v(4),be(U(16,17,"nodes.label")),v(2),Ce(": ",n.label," "),v(3),be(U(21,19,"nodes.key")),v(2),Ce(": ",n.localPk," "),v(1),E("ngIf",a.showDmsgInfo),v(1),E("ngIf",a.showDmsgInfo),v(3),E("matTooltip",U(28,21,"common.options")),v(3),be("add")}}function vX(e,i){if(1&e){var t=nt();p(0,"table",52),p(1,"tr",43),we("click",function(){return Ae(t),J(3).dataSorter.openSortingOrderModal()}),p(2,"td"),p(3,"div",53),p(4,"div",54),p(5,"div",9),F(6),V(7,"translate"),m(),p(8,"div"),F(9),V(10,"translate"),K(11,cX,3,3,"ng-container",24),K(12,dX,3,3,"ng-container",24),m(),m(),p(13,"div",55),p(14,"mat-icon",42),F(15,"keyboard_arrow_down"),m(),m(),m(),m(),m(),K(16,mX,31,23,"tr",41),m()}if(2&e){var n=J(3);v(6),be(U(7,6,"tables.sorting-title")),v(3),Ce("",U(10,8,n.dataSorter.currentSortingColumn.label)," "),v(2),E("ngIf",n.dataSorter.currentlySortingByLabel),v(1),E("ngIf",n.dataSorter.sortingInReverseOrder),v(2),E("inline",!0),v(2),E("ngForOf",n.dataSource)}}function gX(e,i){if(1&e&&(p(0,"div",28),p(1,"div",29),K(2,uX,23,19,"table",30),K(3,vX,17,10,"table",31),m(),m()),2&e){var t=J(2);v(2),E("ngIf",t.dataSource.length>0),v(1),E("ngIf",t.dataSource.length>0)}}function _X(e,i){if(1&e&&Te(0,"app-paginator",27),2&e){var t=J(2);E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",t.showDmsgInfo?Yn(5,Zx):Yn(4,Qx))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function yX(e,i){1&e&&(p(0,"span",68),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"nodes.empty")))}function bX(e,i){1&e&&(p(0,"span",68),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"nodes.empty-with-filter")))}function kX(e,i){if(1&e&&(p(0,"div",28),p(1,"div",65),p(2,"mat-icon",66),F(3,"warning"),m(),K(4,yX,3,3,"span",67),K(5,bX,3,3,"span",67),m(),m()),2&e){var t=J(2);v(2),E("inline",!0),v(2),E("ngIf",0===t.allNodes.length),v(1),E("ngIf",0!==t.allNodes.length)}}var CX=function(e){return{"paginator-icons-fixer":e}};function MX(e,i){if(1&e){var t=nt();p(0,"div",5),p(1,"div",6),p(2,"app-top-bar",7),we("refreshRequested",function(){return Ae(t),J().forceDataRefresh(!0)})("optionSelected",function(o){return Ae(t),J().performAction(o)}),m(),m(),p(3,"div",6),p(4,"div",8),p(5,"div",9),K(6,jZ,5,4,"div",10),m(),p(7,"div",11),p(8,"div",12),K(9,UZ,3,4,"mat-icon",13),K(10,zZ,2,1,"mat-icon",14),p(11,"mat-menu",15,16),p(13,"div",17),we("click",function(){return Ae(t),J().removeOffline()}),F(14),V(15,"translate"),m(),m(),m(),K(16,WZ,1,6,"app-paginator",18),m(),m(),K(17,gX,4,2,"div",19),K(18,_X,1,6,"app-paginator",18),K(19,kX,6,3,"div",19),m(),m()}if(2&e){var n=J();v(2),E("titleParts",Yn(21,$x))("tabsData",n.tabsData)("selectedTabIndex",n.showDmsgInfo?1:0)("secondsSinceLastUpdate",n.secondsSinceLastUpdate)("showLoading",n.updating)("showAlert",n.errorsUpdating)("refeshRate",n.storageService.getRefreshTime())("optionsData",n.options),v(2),E("ngClass",et(22,CX,n.numberOfPages>1)),v(2),E("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0),v(3),E("ngIf",n.allNodes&&n.allNodes.length>0),v(1),E("ngIf",n.dataSource.length>0),v(1),E("overlapTrigger",!1),v(2),Tn("disabled",!n.hasOfflineNodes),v(1),Ce(" ",U(15,19,"nodes.delete-all-offline")," "),v(2),E("ngIf",n.numberOfPages>1),v(1),E("ngIf",0!==n.dataSource.length),v(1),E("ngIf",n.numberOfPages>1),v(1),E("ngIf",0===n.dataSource.length)}}var eI=function(){function e(i,t,n,a,o,s,l,u,d,y){var T=this;this.nodeService=i,this.router=t,this.dialog=n,this.authService=a,this.storageService=o,this.ngZone=s,this.snackbarService=l,this.clipboardService=u,this.translateService=d,this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new Ln(["isHypervisor"],"nodes.hypervisor",un.Boolean),this.stateSortData=new Ln(["online"],"nodes.state",un.Boolean),this.labelSortData=new Ln(["label"],"nodes.label",un.Text),this.keySortData=new Ln(["localPk"],"nodes.key",un.Text),this.dmsgServerSortData=new Ln(["dmsgServerPk"],"nodes.dmsg-server",un.Text,["dmsgServerPk_label"]),this.pingSortData=new Ln(["roundTripPing"],"nodes.ping",un.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:dr.Select,printableLabelsForValues:[{value:"",label:"nodes.filter-dialog.online-options.any"},{value:"true",label:"nodes.filter-dialog.online-options.online"},{value:"false",label:"nodes.filter-dialog.online-options.offline"}]},{filterName:"nodes.filter-dialog.label",keyNameInElementsArray:"label",type:dr.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:dr.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:dr.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=ta,this.updateOptionsMenu(!0),this.authVerificationSubscription=this.authService.checkLogin().subscribe(function(H){H===Xc.AuthDisabled&&T.updateOptionsMenu(!1)}),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);var I=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&(I.push(this.dmsgServerSortData),I.push(this.pingSortData)),this.dataSorter=new td(this.dialog,this.translateService,I,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){T.recalculateElementsToShow()}),this.dataFilterer=new rd(this.dialog,y,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(H){T.filteredNodes=H,T.hasOfflineNodes=!1,T.filteredNodes.forEach(function(q){q.online||(T.hasOfflineNodes=!0)}),T.dataSorter.setData(T.filteredNodes)}),this.navigationsSubscription=y.paramMap.subscribe(function(H){if(H.has("page")){var q=Number.parseInt(H.get("page"),10);(isNaN(q)||q<1)&&(q=1),T.currentPageInUrl=q,T.recalculateElementsToShow()}}),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.languageSubscription=this.translateService.onLangChange.subscribe(function(){T.nodeService.forceNodeListRefresh()})}return e.prototype.updateOptionsMenu=function(i){this.options=[{name:"nodes.update-all",actionName:"updateAll",icon:"get_app"}],i&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})},e.prototype.ngOnInit=function(){var i=this;this.nodeService.startRequestingNodeList(),this.startGettingData(),this.ngZone.runOutsideAngular(function(){i.updateTimeSubscription=fv(5e3,5e3).subscribe(function(){return i.ngZone.run(function(){i.secondsSinceLastUpdate=Math.floor((Date.now()-i.lastUpdate)/1e3)})})})},e.prototype.ngOnDestroy=function(){this.nodeService.stopRequestingNodeList(),this.authVerificationSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.languageSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()},e.prototype.performAction=function(i){"logout"===i?this.logout():"updateAll"===i&&this.updateAll()},e.prototype.nodeStatusClass=function(i,t){return i.online?i.health&&i.health.servicesHealth===il.Unhealthy?t?"dot-yellow blinking":"yellow-text":i.health&&i.health.servicesHealth===il.Healthy?t?"dot-green":"green-text":t?"dot-outline-gray":"":t?"dot-red":"red-text"},e.prototype.nodeStatusText=function(i,t){return i.online?i.health&&i.health.servicesHealth===il.Healthy?"node.statuses.online"+(t?"-tooltip":""):i.health&&i.health.servicesHealth===il.Unhealthy?"node.statuses.partially-online"+(t?"-tooltip":""):i.health&&i.health.servicesHealth===il.Connecting?"node.statuses.connecting"+(t?"-tooltip":""):"node.statuses.unknown"+(t?"-tooltip":""):"node.statuses.offline"+(t?"-tooltip":"")},e.prototype.forceDataRefresh=function(i){void 0===i&&(i=!1),i&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceNodeListRefresh()},e.prototype.startGettingData=function(){var i=this;this.dataSubscription=this.nodeService.updatingNodeList.subscribe(function(t){return i.updating=t}),this.ngZone.runOutsideAngular(function(){i.dataSubscription.add(i.nodeService.nodeList.subscribe(function(t){i.ngZone.run(function(){t&&(t.data&&!t.error?(i.allNodes=t.data,i.showDmsgInfo&&i.allNodes.forEach(function(n){n.dmsgServerPk_label=Ss.getCompleteLabel(i.storageService,i.translateService,n.dmsgServerPk)}),i.dataFilterer.setData(i.allNodes),i.loading=!1,i.snackbarService.closeCurrentIfTemporaryError(),i.lastUpdate=t.momentOfLastCorrectUpdate,i.secondsSinceLastUpdate=Math.floor((Date.now()-t.momentOfLastCorrectUpdate)/1e3),i.errorsUpdating=!1,i.lastUpdateRequestedManually&&(i.snackbarService.showDone("common.refreshed",null),i.lastUpdateRequestedManually=!1)):t.error&&(i.errorsUpdating||i.snackbarService.showError(i.loading?"common.loading-error":"nodes.error-load",null,!0,t.error),i.errorsUpdating=!0))})}))})},e.prototype.recalculateElementsToShow=function(){if(this.currentPage=this.currentPageInUrl,this.filteredNodes){var i=Gt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/i),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var t=i*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(t,t+i)}else this.nodesToShow=null;this.nodesToShow&&(this.dataSource=this.nodesToShow)},e.prototype.logout=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"common.logout-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),i.authService.logout().subscribe(function(){return i.router.navigate(["login"])},function(){return i.snackbarService.showError("common.logout-error")})})},e.prototype.updateAll=function(){if(this.dataSource&&0!==this.dataSource.length){var i=[];this.dataSource.forEach(function(t){t.online&&i.push({key:t.localPk,label:t.label})}),Ix.openDialog(this.dialog,i)}else this.snackbarService.showError("nodes.no-visors-to-update")},e.prototype.recursivelyUpdateWallets=function(i,t,n){var a=this;return void 0===n&&(n=0),this.nodeService.update(i[i.length-1]).pipe(ea(function(){return Qe(null)}),Sn(function(o){return o&&o.updated&&!o.error?a.snackbarService.showDone(a.translateService.instant("nodes.update.done",{name:t[t.length-1]})):(a.snackbarService.showError(a.translateService.instant("nodes.update.update-error",{name:t[t.length-1]})),n+=1),i.pop(),t.pop(),i.length>=1?a.recursivelyUpdateWallets(i,t,n):Qe(n)}))},e.prototype.showOptionsDialog=function(i){var t=this,n=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&n.push({icon:"filter_none",label:"nodes.copy-dmsg"}),n.push({icon:"short_text",label:"labeled-element.edit-label"}),i.online||n.push({icon:"close",label:"nodes.delete-node"}),Ui.openDialog(this.dialog,n,"common.options").afterClosed().subscribe(function(a){1===a?t.copySpecificTextToClipboard(i.localPk):t.showDmsgInfo?2===a?t.copySpecificTextToClipboard(i.dmsgServerPk):3===a?t.showEditLabelDialog(i):4===a&&t.deleteNode(i):2===a?t.showEditLabelDialog(i):3===a&&t.deleteNode(i)})},e.prototype.copyToClipboard=function(i){var t=this;this.showDmsgInfo?Ui.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe(function(a){1===a?t.copySpecificTextToClipboard(i.localPk):2===a&&t.copySpecificTextToClipboard(i.dmsgServerPk)}):this.copySpecificTextToClipboard(i.localPk)},e.prototype.copySpecificTextToClipboard=function(i){this.clipboardService.copy(i)&&this.snackbarService.showDone("copy.copied")},e.prototype.showEditLabelDialog=function(i){var t=this,n=this.storageService.getLabelInfo(i.localPk);n||(n={id:i.localPk,label:"",identifiedElementType:ta.Node}),J1.openDialog(this.dialog,n).afterClosed().subscribe(function(a){a&&t.forceDataRefresh()})},e.prototype.deleteNode=function(i){var t=this,n=ln.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");n.componentInstance.operationAccepted.subscribe(function(){n.close(),t.storageService.setLocalNodesAsHidden([i.localPk],[i.ip]),t.forceDataRefresh(),t.snackbarService.showDone("nodes.deleted")})},e.prototype.removeOffline=function(){var i=this,t="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(t="nodes.delete-all-filtered-offline-confirmation");var n=ln.createConfirmationDialog(this.dialog,t);n.componentInstance.operationAccepted.subscribe(function(){n.close();var a=[],o=[];i.filteredNodes.forEach(function(s){s.online||(a.push(s.localPk),o.push(s.ip))}),a.length>0&&(i.storageService.setLocalNodesAsHidden(a,o),i.forceDataRefresh(),1===a.length?i.snackbarService.showDone("nodes.deleted-singular"):i.snackbarService.showDone("nodes.deleted-plural",{number:a.length}))})},e.prototype.open=function(i){i.online&&this.router.navigate(["nodes",i.localPk])},e.\u0275fac=function(t){return new(t||e)(N(ou),N(Zt),N(Gn),N(hh),N(Vi),N(vt),N(xn),N(Ch),N(si),N(ai))},e.\u0275cmp=Ke({type:e,selectors:[["app-node-list"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton"],[1,"h-100"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","refreshRequested","optionSelected"],[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow","full-node-list-margins"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["class","responsive-table-translucid d-md-none nowrap","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"hypervisor-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"dot-outline-gray"],[1,"sortable-column","labels",3,"click"],[1,"sortable-column",3,"click"],["class","sortable-column",3,"click",4,"ngIf"],[1,"actions"],["class","selectable",3,"click",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable",3,"click"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],[1,"actions",3,"click"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"hypervisor-icon",3,"inline","matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited",4,"ngIf"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","list-row",4,"ngIf"],[1,"list-row"],[1,"list-row","long-content"],["class","list-row long-content",4,"ngIf"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"hypervisor-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(K(0,YZ,4,5,"div",0),K(1,MX,20,24,"div",1)),2&t&&(E("ngIf",n.loading),v(1),E("ngIf",!n.loading))},directives:[Ot,lu,ws,Cr,sd,Ts,xr,Cn,cr,ld,cd,bi,Ss],pipes:[wt],styles:[".labels[_ngcontent-%COMP%]{width:15%}.actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.hypervisor-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;position:relative;top:2px;margin-left:2px;color:#d48b05}.small-column[_ngcontent-%COMP%]{width:1px}"]}),e}(),wX=["terminal"],SX=["dialogContent"],TX=function(){function e(i,t,n,a){this.data=i,this.renderer=t,this.apiService=n,this.translate=a,this.history=[],this.historyIndex=0,this.currentInputText=""}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.largeModalWidth,i.open(e,n)},e.prototype.keyEvent=function(i){this.terminal.hasFocus()&&this.history.length>0&&(38===i.keyCode&&(this.historyIndex===this.history.length&&(this.currentInputText=this.terminal.getInputContent()),this.historyIndex=this.historyIndex>0?this.historyIndex-1:0,this.terminal.changeInputContent(this.history[this.historyIndex])),40===i.keyCode&&(this.historyIndex=this.historyIndex/g,">")).replace(/\n/g,"
")).replace(/\t/g," ")).replace(/ /g," "),this.terminal.print(n),setTimeout(function(){t.dialogContentElement.nativeElement.scrollTop=t.dialogContentElement.nativeElement.scrollHeight})},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(Ho),N(ru),N(si))},e.\u0275cmp=Ke({type:e,selectors:[["app-basic-terminal"]],viewQuery:function(t,n){if(1&t&&(_t(wX,5),_t(SX,5)),2&t){var a=void 0;it(a=at())&&(n.terminalElement=a.first),it(a=at())&&(n.dialogContentElement=a.first)}},hostBindings:function(t,n){1&t&&we("keyup",function(o){return n.keyEvent(o)},!1,EC)},decls:7,vars:5,consts:[[3,"headline","includeScrollableArea","includeVerticalMargins"],[3,"click"],["dialogContent",""],[1,"wrapper"],["terminal",""]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"mat-dialog-content",1,2),we("click",function(){return n.focusTerminal()}),p(4,"div",3),Te(5,"div",null,4),m(),m(),m()),2&t&&E("headline",U(1,3,"actions.terminal.title")+" - "+n.data.label+" ("+n.data.pk+")")("includeScrollableArea",!1)("includeVerticalMargins",!1)},directives:[vr,k1],pipes:[wt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:black;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]}),e}(),tI=function(){function e(i,t){this.options=[],this.dialog=i.get(Gn),this.router=i.get(Zt),this.snackbarService=i.get(xn),this.nodeService=i.get(ou),this.translateService=i.get(si),this.storageService=i.get(Vi),this.options=[{name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"},{name:"actions.menu.reboot",actionName:"reboot",icon:"rotate_right"},{name:"actions.menu.update",actionName:"update",icon:"get_app"},{name:"actions.menu.logs",actionName:"logs",icon:"subject"}],this.showingFullList=t,this.returnButtonText=t?"node.title":"nodes.title"}return e.prototype.setCurrentNode=function(i){this.currentNode=i},e.prototype.setCurrentNodeKey=function(i){this.currentNodeKey=i},e.prototype.performAction=function(i,t){"terminal"===i?this.terminal():"update"===i?this.update():"logs"===i?window.open(window.location.origin+"/api/visors/"+t+"/runtime-logs","_blank"):"reboot"===i?this.reboot():null===i&&this.back()},e.prototype.dispose=function(){this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()},e.prototype.reboot=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing(),i.rebootSubscription=i.nodeService.reboot(i.currentNodeKey).subscribe(function(){i.snackbarService.showDone("actions.reboot.done"),t.close()},function(n){n=tn(n),t.componentInstance.showDone("confirmation.error-header-text",n.translatableErrorMsg)})})},e.prototype.update=function(){var i=this.storageService.getLabelInfo(this.currentNodeKey);Ix.openDialog(this.dialog,[{key:this.currentNodeKey,label:i?i.label:""}])},e.prototype.terminal=function(){var i=this;Ui.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}],"common.options").afterClosed().subscribe(function(n){if(1===n){var a=window.location.protocol,o=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(a+"//"+o+"/pty/"+i.currentNodeKey,"_blank","noopener noreferrer")}else 2===n&&TX.openDialog(i.dialog,{pk:i.currentNodeKey,label:i.currentNode?i.currentNode.label:""})})},e.prototype.back=function(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])},e}();function DX(e,i){1&e&&Te(0,"app-loading-indicator")}function EX(e,i){1&e&&(p(0,"div",6),p(1,"div"),p(2,"mat-icon",7),F(3,"error"),m(),F(4),V(5,"translate"),m(),m()),2&e&&(v(2),E("inline",!0),v(2),Ce(" ",U(5,2,"node.not-found")," "))}function LX(e,i){if(1&e){var t=nt();p(0,"div",2),p(1,"div"),p(2,"app-top-bar",3),we("optionSelected",function(o){return Ae(t),J().performAction(o)}),m(),m(),K(3,DX,1,0,"app-loading-indicator",4),K(4,EX,6,4,"div",5),m()}if(2&e){var n=J();v(2),E("titleParts",n.titleParts)("tabsData",n.tabsData)("selectedTabIndex",n.selectedTabIndex)("showUpdateButton",!1)("optionsData",n.nodeActionsHelper?n.nodeActionsHelper.options:null)("returnText",n.nodeActionsHelper?n.nodeActionsHelper.returnButtonText:""),v(1),E("ngIf",!n.notFound),v(1),E("ngIf",n.notFound)}}function PX(e,i){1&e&&Te(0,"app-node-info-content",15),2&e&&E("nodeInfo",J(2).node)}var OX=function(e,i){return{"main-area":e,"full-size-main-area":i}},xX=function(e){return{"d-none":e}};function IX(e,i){if(1&e){var t=nt();p(0,"div",8),p(1,"div",9),p(2,"app-top-bar",10),we("optionSelected",function(o){return Ae(t),J().performAction(o)})("refreshRequested",function(){return Ae(t),J().forceDataRefresh(!0)}),m(),m(),p(3,"div",9),p(4,"div",11),p(5,"div",12),Te(6,"router-outlet"),m(),m(),p(7,"div",13),K(8,PX,1,1,"app-node-info-content",14),m(),m(),m()}if(2&e){var n=J();v(2),E("titleParts",n.titleParts)("tabsData",n.tabsData)("selectedTabIndex",n.selectedTabIndex)("secondsSinceLastUpdate",n.secondsSinceLastUpdate)("showLoading",n.updating)("showAlert",n.errorsUpdating)("refeshRate",n.storageService.getRefreshTime())("optionsData",n.nodeActionsHelper?n.nodeActionsHelper.options:null)("returnText",n.nodeActionsHelper?n.nodeActionsHelper.returnButtonText:""),v(2),E("ngClass",Dn(12,OX,!n.showingInfo&&!n.showingFullList,n.showingInfo||n.showingFullList)),v(3),E("ngClass",et(15,xX,n.showingInfo||n.showingFullList)),v(1),E("ngIf",!n.showingInfo&&!n.showingFullList)}}var At=function(){function e(i,t,n,a,o,s,l){var u=this;this.storageService=i,this.nodeService=t,this.route=n,this.ngZone=a,this.snackbarService=o,this.injector=s,this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,e.nodeSubject=new Ya(1),e.currentInstanceInternal=this,this.navigationsSubscription=l.events.subscribe(function(d){d.urlAfterRedirects&&(e.currentNodeKey=u.route.snapshot.params.key,u.nodeActionsHelper&&u.nodeActionsHelper.setCurrentNodeKey(e.currentNodeKey),u.lastUrl=d.urlAfterRedirects,u.updateTabBar(),u.navigationsSubscription.unsubscribe(),u.nodeService.startRequestingSpecificNode(e.currentNodeKey),u.startGettingData())})}return e.refreshCurrentDisplayedData=function(){e.currentInstanceInternal&&e.currentInstanceInternal.forceDataRefresh(!1)},e.getCurrentNodeKey=function(){return e.currentNodeKey},Object.defineProperty(e,"currentNode",{get:function(){return e.nodeSubject.asObservable()},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var i=this;this.ngZone.runOutsideAngular(function(){i.updateTimeSubscription=fv(5e3,5e3).subscribe(function(){return i.ngZone.run(function(){i.secondsSinceLastUpdate=Math.floor((Date.now()-i.lastUpdate)/1e3)})})})},e.prototype.updateTabBar=function(){if(this.lastUrl&&(this.lastUrl.includes("/info")||this.lastUrl.includes("/routing")||this.lastUrl.includes("/apps")&&!this.lastUrl.includes("/apps-list")))this.titleParts=["nodes.title","node.title"],this.tabsData=[{icon:"info",label:"node.tabs.info",onlyIfLessThanLg:!0,linkParts:e.currentNodeKey?["/nodes",e.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:e.currentNodeKey?["/nodes",e.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:e.currentNodeKey?["/nodes",e.currentNodeKey,"apps"]:null}],this.selectedTabIndex=1,this.showingInfo=!1,this.lastUrl.includes("/info")&&(this.selectedTabIndex=0,this.showingInfo=!0),this.lastUrl.includes("/apps")&&(this.selectedTabIndex=2),this.showingFullList=!1,this.nodeActionsHelper=new tI(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(e.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1,this.nodeActionsHelper=new tI(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(e.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);var i="transports";this.lastUrl.includes("/routes")?i="routes":this.lastUrl.includes("/apps-list")&&(i="apps.apps-list"),this.titleParts=["nodes.title","node.title",i+".title"],this.tabsData=[{icon:"view_headline",label:i+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]},e.prototype.performAction=function(i){this.nodeActionsHelper.performAction(i,e.currentNodeKey)},e.prototype.forceDataRefresh=function(i){void 0===i&&(i=!1),i&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceSpecificNodeRefresh()},e.prototype.startGettingData=function(){var i=this;this.dataSubscription=this.nodeService.updatingSpecificNode.subscribe(function(t){return i.updating=t}),this.ngZone.runOutsideAngular(function(){i.dataSubscription.add(i.nodeService.specificNode.subscribe(function(t){i.ngZone.run(function(){if(t)if(t.data&&!t.error)i.node=t.data,e.nodeSubject.next(i.node),i.nodeActionsHelper&&i.nodeActionsHelper.setCurrentNode(i.node),i.snackbarService.closeCurrentIfTemporaryError(),i.lastUpdate=t.momentOfLastCorrectUpdate,i.secondsSinceLastUpdate=Math.floor((Date.now()-t.momentOfLastCorrectUpdate)/1e3),i.errorsUpdating=!1,i.lastUpdateRequestedManually&&(i.snackbarService.showDone("common.refreshed",null),i.lastUpdateRequestedManually=!1);else if(t.error){if(t.error.originalError&&400===t.error.originalError.status)return void(i.notFound=!0);i.errorsUpdating||i.snackbarService.showError(i.node?"node.error-load":"common.loading-error",null,!0,t.error),i.errorsUpdating=!0}})}))})},e.prototype.ngOnDestroy=function(){this.nodeService.stopRequestingSpecificNode(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),e.currentInstanceInternal=void 0,e.currentNodeKey=void 0,e.nodeSubject.complete(),e.nodeSubject=void 0,this.nodeActionsHelper.dispose()},e.\u0275fac=function(t){return new(t||e)(N(Vi),N(ou),N(ai),N(vt),N(xn),N(sn),N(Zt))},e.\u0275cmp=Ke({type:e,selectors:[["app-node"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","returnText","optionSelected"],[4,"ngIf"],["class","w-100 h-100 d-flex not-found-label",4,"ngIf"],[1,"w-100","h-100","d-flex","not-found-label"],[3,"inline"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","returnText","optionSelected","refreshRequested"],[3,"ngClass"],[1,"d-flex","flex-column","h-100"],[1,"right-bar",3,"ngClass"],[3,"nodeInfo",4,"ngIf"],[3,"nodeInfo"]],template:function(t,n){1&t&&(K(0,LX,5,8,"div",0),K(1,IX,9,17,"div",1)),2&t&&(E("ngIf",!n.node),v(1),E("ngIf",n.node))},styles:[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem;position:relative}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}.full-size-main-area[_ngcontent-%COMP%]{width:100%}.main-area[_ngcontent-%COMP%]{width:100%}@media (min-width: 992px){.main-area[_ngcontent-%COMP%]{width:73%;padding-right:20px;float:left}}.right-bar[_ngcontent-%COMP%]{width:27%;float:right;display:none}@media (min-width: 992px){.right-bar[_ngcontent-%COMP%]{display:block;width:27%;float:right}}"]}),e}();function AX(e,i){if(1&e&&(p(0,"mat-option",8),F(1),V(2,"translate"),m()),2&e){var t=i.$implicit;Tn("value",t),v(1),Ii(" ",t," ",U(2,3,"settings.seconds")," ")}}var RX=function(){function e(i,t,n){this.formBuilder=i,this.storageService=t,this.snackbarService=n,this.timesList=["3","5","10","15","30","60","90","150","300"]}return e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe(function(t){i.storageService.setRefreshTime(t),i.snackbarService.showDone("settings.refresh-rate-confirmation")})},e.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(N(ia),N(Vi),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-refresh-rate"]],decls:11,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","refreshRate",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"div",2),p(3,"mat-icon",3),V(4,"translate"),F(5," help "),m(),m(),p(6,"form",4),p(7,"mat-form-field",5),p(8,"mat-select",6),V(9,"translate"),K(10,AX,3,5,"mat-option",7),m(),m(),m(),m(),m()),2&t&&(v(3),E("inline",!0)("matTooltip",U(4,5,"settings.refresh-rate-help")),v(3),E("formGroup",n.form),v(2),E("placeholder",U(9,7,"settings.refresh-rate")),v(2),E("ngForOf",n.timesList))},directives:[Cn,cr,$r,Jr,mr,ki,wh,Kr,zr,xr,Qc],pipes:[wt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0!important}mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{bottom:0!important}"]}),e}(),FX=["input"],NX=function(i){return{enterDuration:i}},YX=["*"],HX=new Ze("mat-checkbox-default-options",{providedIn:"root",factory:nI});function nI(){return{color:"accent",clickAction:"check-indeterminate"}}var VX=0,rI=nI(),BX={provide:mo,useExisting:fn(function(){return ol}),multi:!0},jX=function e(){c(this,e)},UX=s1(Xl($c(Xs(function(){return function e(i){c(this,e),this._elementRef=i}}())))),ol=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y){var T;return c(this,n),(T=t.call(this,a))._changeDetectorRef=o,T._focusMonitor=s,T._ngZone=l,T._animationMode=d,T._options=y,T.ariaLabel="",T.ariaLabelledby=null,T._uniqueId="mat-checkbox-".concat(++VX),T.id=T._uniqueId,T.labelPosition="after",T.name=null,T.change=new mt,T.indeterminateChange=new mt,T._onTouched=function(){},T._currentAnimationClass="",T._currentCheckState=0,T._controlValueAccessorChangeFn=function(){},T._checked=!1,T._disabled=!1,T._indeterminate=!1,T._options=T._options||rI,T.color=T.defaultColor=T._options.color||rI.color,T.tabIndex=parseInt(u)||0,T}return f(n,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(o){this._required=kn(o)}},{key:"ngAfterViewInit",value:function(){var o=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(s){s||Promise.resolve().then(function(){o._onTouched(),o._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(o){o!=this.checked&&(this._checked=o,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(o){var s=kn(o);s!==this.disabled&&(this._disabled=s,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(o){var s=o!=this._indeterminate;this._indeterminate=kn(o),s&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(o){this.checked=!!o}},{key:"registerOnChange",value:function(o){this._controlValueAccessorChangeFn=o}},{key:"registerOnTouched",value:function(o){this._onTouched=o}},{key:"setDisabledState",value:function(o){this.disabled=o}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(o){var s=this._currentCheckState,l=this._elementRef.nativeElement;if(s!==o&&(this._currentAnimationClass.length>0&&l.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(s,o),this._currentCheckState=o,this._currentAnimationClass.length>0)){l.classList.add(this._currentAnimationClass);var u=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){l.classList.remove(u)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var o=new jX;o.source=this,o.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(o),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(o){var l,s=this,u=null===(l=this._options)||void 0===l?void 0:l.clickAction;o.stopPropagation(),this.disabled||"noop"===u?!this.disabled&&"noop"===u&&(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==u&&Promise.resolve().then(function(){s._indeterminate=!1,s.indeterminateChange.emit(s._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(o,s){o?this._focusMonitor.focusVia(this._inputElement,o,s):this._inputElement.nativeElement.focus(s)}},{key:"_onInteractionEvent",value:function(o){o.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(o,s){if("NoopAnimations"===this._animationMode)return"";var l="";switch(o){case 0:if(1===s)l="unchecked-checked";else{if(3!=s)return"";l="unchecked-indeterminate"}break;case 2:l=1===s?"unchecked-checked":"unchecked-indeterminate";break;case 1:l=2===s?"checked-unchecked":"checked-indeterminate";break;case 3:l=1===s?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(l)}},{key:"_syncIndeterminate",value:function(o){var s=this._inputElement;s&&(s.nativeElement.indeterminate=o)}}]),n}(UX);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(ho),N(vt),$a("tabindex"),N(Mr,8),N(HX,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-checkbox"]],viewQuery:function(t,n){var a;1&t&&(_t(FX,5),_t(Go,5)),2&t&&(it(a=at())&&(n._inputElement=a.first),it(a=at())&&(n.ripple=a.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,n){2&t&&(Bs("id",n.id),Dt("tabindex",null),Bt("mat-checkbox-indeterminate",n.indeterminate)("mat-checkbox-checked",n.checked)("mat-checkbox-disabled",n.disabled)("mat-checkbox-label-before","before"==n.labelPosition)("_mat-animation-noopable","NoopAnimations"===n._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Lt([BX]),ht],ngContentSelectors:YX,decls:17,vars:21,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve","aria-hidden","true",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,n){if(1&t&&(ri(),p(0,"label",0,1),p(2,"span",2),p(3,"input",3,4),we("change",function(l){return n._onInteractionEvent(l)})("click",function(l){return n._onInputClick(l)}),m(),p(5,"span",5),Te(6,"span",6),m(),Te(7,"span",7),p(8,"span",8),wa(),p(9,"svg",9),Te(10,"path",10),m(),Rd(),Te(11,"span",11),m(),m(),p(12,"span",12,13),we("cdkObserveContent",function(){return n._onLabelTextChange()}),p(14,"span",14),F(15,"\xa0"),m(),jn(16),m(),m()),2&t){var a=Lr(1),o=Lr(13);Dt("for",n.inputId),v(2),Bt("mat-checkbox-inner-container-no-side-margin",!o.textContent||!o.textContent.trim()),v(1),E("id",n.inputId)("required",n.required)("checked",n.checked)("disabled",n.disabled)("tabIndex",n.tabIndex),Dt("value",n.value)("name",n.name)("aria-label",n.ariaLabel||null)("aria-labelledby",n.ariaLabelledby)("aria-checked",n._getAriaChecked())("aria-describedby",n.ariaDescribedby),v(2),E("matRippleTrigger",a)("matRippleDisabled",n._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",et(19,NX,"NoopAnimations"===n._animationMode?0:150))}},directives:[Go,Mv],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-ripple{outline:solid 3px}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}\n"],encapsulation:2,changeDetection:0}),e}(),iI=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({}),e}(),GX=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[lh,mn,wv,iI],mn,iI]}),e}(),qX=function(e){return{number:e}},rg=function(){function e(){this.numberOfElements=0,this.linkParts=[""],this.queryParams={}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-view-all-link"]],inputs:{numberOfElements:"numberOfElements",linkParts:"linkParts",queryParams:"queryParams"},decls:6,vars:9,consts:[[1,"main-container"],[3,"routerLink","queryParams"],[3,"inline"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"a",1),F(2),V(3,"translate"),p(4,"mat-icon",2),F(5,"chevron_right"),m(),m(),m()),2&t&&(v(1),E("routerLink",n.linkParts)("queryParams",n.queryParams),v(1),Ce(" ",Ht(3,4,"view-all-link.label",et(7,qX,n.numberOfElements))," "),v(2),E("inline",!0))},directives:[Kl,Cn],pipes:[wt],styles:[".main-container[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:4px;text-align:right;font-size:.875rem}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.main-container[_ngcontent-%COMP%]{margin:0;padding:16px}}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]}),e}();function KX(e,i){1&e&&(p(0,"span",14),F(1),V(2,"translate"),p(3,"mat-icon",15),V(4,"translate"),F(5,"help"),m(),m()),2&e&&(v(1),Ce(" ",U(2,3,"labels.title")," "),v(2),E("inline",!0)("matTooltip",U(4,5,"labels.info")))}function JX(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),be(U(2,1,t.translatableValue))}}function $X(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),be(t.value)}}function QX(e,i){if(1&e&&(p(0,"div",19),p(1,"span"),F(2),V(3,"translate"),m(),K(4,JX,3,3,"ng-container",20),K(5,$X,2,1,"ng-container",20),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),E("ngIf",t.translatableValue),v(1),E("ngIf",t.value)}}function ZX(e,i){if(1&e){var t=nt();p(0,"div",16),we("click",function(){return Ae(t),J().dataFilterer.removeFilters()}),K(1,QX,6,5,"div",17),p(2,"div",18),F(3),V(4,"translate"),m(),m()}if(2&e){var n=J();v(1),E("ngForOf",n.dataFilterer.currentFiltersTexts),v(2),be(U(4,2,"filters.press-to-remove"))}}function XX(e,i){if(1&e){var t=nt();p(0,"mat-icon",21),we("click",function(){return Ae(t),J().dataFilterer.changeFilters()}),V(1,"translate"),F(2,"filter_list"),m()}2&e&&E("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function eee(e,i){if(1&e&&(p(0,"mat-icon",22),F(1,"more_horiz"),m()),2&e){J();var t=Lr(9);E("inline",!0)("matMenuTriggerFor",t)}}var Q1=function(){return["/settings","labels"]};function tee(e,i){if(1&e&&Te(0,"app-paginator",23),2&e){var t=J();E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",Yn(4,Q1))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function nee(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function ree(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function iee(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function aee(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td",38),p(2,"mat-checkbox",39),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(3,"td"),F(4),m(),p(5,"td"),F(6),m(),p(7,"td"),F(8),V(9,"translate"),m(),p(10,"td",29),p(11,"button",40),we("click",function(){var l=Ae(t).$implicit;return J(2).delete(l.id)}),V(12,"translate"),p(13,"mat-icon",36),F(14,"close"),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(2),E("checked",a.selections.get(n.id)),v(2),Ce(" ",n.label," "),v(2),Ce(" ",n.id," "),v(2),Ii(" ",a.getLabelTypeIdentification(n)[0]," - ",U(9,7,a.getLabelTypeIdentification(n)[1])," "),v(3),E("matTooltip",U(12,9,"labels.delete")),v(2),E("inline",!0)}}function oee(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"tables.label")))}function see(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"tables.inverted-order")))}function lee(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td"),p(2,"div",33),p(3,"div",41),p(4,"mat-checkbox",39),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(5,"div",34),p(6,"div",42),p(7,"span",1),F(8),V(9,"translate"),m(),F(10),m(),p(11,"div",43),p(12,"span",1),F(13),V(14,"translate"),m(),F(15),m(),p(16,"div",42),p(17,"span",1),F(18),V(19,"translate"),m(),F(20),V(21,"translate"),m(),m(),Te(22,"div",44),p(23,"div",35),p(24,"button",45),we("click",function(s){var u=Ae(t).$implicit,d=J(2);return s.stopPropagation(),d.showOptionsDialog(u)}),V(25,"translate"),p(26,"mat-icon"),F(27),m(),m(),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(4),E("checked",a.selections.get(n.id)),v(4),be(U(9,10,"labels.label")),v(2),Ce(": ",n.label," "),v(3),be(U(14,12,"labels.id")),v(2),Ce(": ",n.id," "),v(3),be(U(19,14,"labels.type")),v(2),Ii(": ",a.getLabelTypeIdentification(n)[0]," - ",U(21,16,a.getLabelTypeIdentification(n)[1])," "),v(4),E("matTooltip",U(25,18,"common.options")),v(3),be("add")}}function uee(e,i){if(1&e&&Te(0,"app-view-all-link",46),2&e){var t=J(2);E("numberOfElements",t.filteredLabels.length)("linkParts",Yn(3,Q1))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var cee=function(e,i){return{"small-node-list-margins":e,"full-node-list-margins":i}},dee=function(e){return{"d-lg-none d-xl-table":e}},fee=function(e){return{"d-lg-table d-xl-none":e}};function hee(e,i){if(1&e){var t=nt();p(0,"div",24),p(1,"div",25),p(2,"table",26),p(3,"tr"),Te(4,"th"),p(5,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.labelSortData)}),F(6),V(7,"translate"),K(8,nee,2,2,"mat-icon",28),m(),p(9,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.idSortData)}),F(10),V(11,"translate"),K(12,ree,2,2,"mat-icon",28),m(),p(13,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.typeSortData)}),F(14),V(15,"translate"),K(16,iee,2,2,"mat-icon",28),m(),Te(17,"th",29),m(),K(18,aee,15,11,"tr",30),m(),p(19,"table",31),p(20,"tr",32),we("click",function(){return Ae(t),J().dataSorter.openSortingOrderModal()}),p(21,"td"),p(22,"div",33),p(23,"div",34),p(24,"div",1),F(25),V(26,"translate"),m(),p(27,"div"),F(28),V(29,"translate"),K(30,oee,3,3,"ng-container",20),K(31,see,3,3,"ng-container",20),m(),m(),p(32,"div",35),p(33,"mat-icon",36),F(34,"keyboard_arrow_down"),m(),m(),m(),m(),m(),K(35,lee,28,20,"tr",30),m(),K(36,uee,1,4,"app-view-all-link",37),m(),m()}if(2&e){var n=J();v(1),E("ngClass",Dn(27,cee,n.showShortList_,!n.showShortList_)),v(1),E("ngClass",et(30,dee,n.showShortList_)),v(4),Ce(" ",U(7,17,"labels.label")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.labelSortData),v(2),Ce(" ",U(11,19,"labels.id")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.idSortData),v(2),Ce(" ",U(15,21,"labels.type")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.typeSortData),v(2),E("ngForOf",n.dataSource),v(1),E("ngClass",et(32,fee,n.showShortList_)),v(6),be(U(26,23,"tables.sorting-title")),v(3),Ce("",U(29,25,n.dataSorter.currentSortingColumn.label)," "),v(2),E("ngIf",n.dataSorter.currentlySortingByLabel),v(1),E("ngIf",n.dataSorter.sortingInReverseOrder),v(2),E("inline",!0),v(2),E("ngForOf",n.dataSource),v(1),E("ngIf",n.showShortList_&&n.numberOfPages>1)}}function pee(e,i){1&e&&(p(0,"span",50),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"labels.empty")))}function mee(e,i){1&e&&(p(0,"span",50),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"labels.empty-with-filter")))}function vee(e,i){if(1&e&&(p(0,"div",24),p(1,"div",47),p(2,"mat-icon",48),F(3,"warning"),m(),K(4,pee,3,3,"span",49),K(5,mee,3,3,"span",49),m(),m()),2&e){var t=J();v(2),E("inline",!0),v(2),E("ngIf",0===t.allLabels.length),v(1),E("ngIf",0!==t.allLabels.length)}}function gee(e,i){if(1&e&&Te(0,"app-paginator",23),2&e){var t=J();E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",Yn(4,Q1))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var _ee=function(e){return{"paginator-icons-fixer":e}},aI=function(){function e(i,t,n,a,o,s){var l=this;this.dialog=i,this.route=t,this.router=n,this.snackbarService=a,this.translateService=o,this.storageService=s,this.listId="ll",this.labelSortData=new Ln(["label"],"labels.label",un.Text),this.idSortData=new Ln(["id"],"labels.id",un.Text),this.typeSortData=new Ln(["identifiedElementType_sort"],"labels.type",un.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:dr.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:dr.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:dr.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:ta.Node,label:"labels.filter-dialog.type-options.visor"},{value:ta.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:ta.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new td(this.dialog,this.translateService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){l.recalculateElementsToShow()}),this.dataFilterer=new rd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(d){l.filteredLabels=d,l.dataSorter.setData(l.filteredLabels)}),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe(function(d){if(d.has("page")){var y=Number.parseInt(d.get("page"),10);(isNaN(y)||y<1)&&(y=1),l.currentPageInUrl=y,l.recalculateElementsToShow()}})}return Object.defineProperty(e.prototype,"showShortList",{set:function(i){this.showShortList_=i,this.dataSorter.setData(this.filteredLabels)},enumerable:!1,configurable:!0}),e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()},e.prototype.loadData=function(){var i=this;this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach(function(t){t.identifiedElementType_sort=i.getLabelTypeIdentification(t)[0]}),this.dataFilterer.setData(this.allLabels)},e.prototype.getLabelTypeIdentification=function(i){return i.identifiedElementType===ta.Node?["1","labels.filter-dialog.type-options.visor"]:i.identifiedElementType===ta.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:i.identifiedElementType===ta.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0},e.prototype.changeSelection=function(i){this.selections.get(i.id)?this.selections.set(i.id,!1):this.selections.set(i.id,!0)},e.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var i=!1;return this.selections.forEach(function(t){t&&(i=!0)}),i},e.prototype.changeAllSelections=function(i){var t=this;this.selections.forEach(function(n,a){t.selections.set(a,i)})},e.prototype.deleteSelected=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.close(),i.selections.forEach(function(n,a){n&&i.storageService.saveLabel(a,"",null)}),i.snackbarService.showDone("labels.deleted"),i.loadData()})},e.prototype.showOptionsDialog=function(i){var t=this;Ui.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe(function(a){1===a&&t.delete(i.id)})},e.prototype.delete=function(i){var t=this,n=ln.createConfirmationDialog(this.dialog,"labels.delete-confirmation");n.componentInstance.operationAccepted.subscribe(function(){n.close(),t.storageService.saveLabel(i,"",null),t.snackbarService.showDone("labels.deleted"),t.loadData()})},e.prototype.recalculateElementsToShow=function(){var i=this;if(this.currentPage=this.currentPageInUrl,this.filteredLabels){var t=this.showShortList_?Gt.maxShortListElements:Gt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=t*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(n,n+t);var o=new Map;this.labelsToShow.forEach(function(l){o.set(l.id,!0),i.selections.has(l.id)||i.selections.set(l.id,!1)});var s=[];this.selections.forEach(function(l,u){o.has(u)||s.push(u)}),s.forEach(function(l){i.selections.delete(l)})}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(ai),N(Zt),N(xn),N(si),N(Vi))},e.\u0275cmp=Ke({type:e,selectors:[["app-label-list"]],inputs:{showShortList:"showShortList"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),K(2,KX,6,7,"span",2),K(3,ZX,5,4,"div",3),m(),p(4,"div",4),p(5,"div",5),K(6,XX,3,4,"mat-icon",6),K(7,eee,2,2,"mat-icon",7),p(8,"mat-menu",8,9),p(10,"div",10),we("click",function(){return n.changeAllSelections(!0)}),F(11),V(12,"translate"),m(),p(13,"div",10),we("click",function(){return n.changeAllSelections(!1)}),F(14),V(15,"translate"),m(),p(16,"div",11),we("click",function(){return n.deleteSelected()}),F(17),V(18,"translate"),m(),m(),m(),K(19,tee,1,5,"app-paginator",12),m(),m(),K(20,hee,37,34,"div",13),K(21,vee,6,3,"div",13),K(22,gee,1,5,"app-paginator",12)),2&t&&(E("ngClass",et(20,_ee,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)),v(2),E("ngIf",n.showShortList_),v(1),E("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0),v(3),E("ngIf",n.allLabels&&n.allLabels.length>0),v(1),E("ngIf",n.dataSource&&n.dataSource.length>0),v(1),E("overlapTrigger",!1),v(3),Ce(" ",U(12,14,"selection.select-all")," "),v(3),Ce(" ",U(15,16,"selection.unselect-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(18,18,"selection.delete-all")," "),v(2),E("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource),v(1),E("ngIf",n.dataSource&&n.dataSource.length>0),v(1),E("ngIf",!n.dataSource||0===n.dataSource.length),v(1),E("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource))},directives:[Cr,Ot,sd,Ts,Cn,cr,xr,ld,cd,ol,bi,rg],pipes:[wt],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),e}();function yee(e,i){1&e&&(p(0,"span"),p(1,"mat-icon",15),F(2,"warning"),m(),F(3),V(4,"translate"),m()),2&e&&(v(1),E("inline",!0),v(2),Ce(" ",U(4,2,"settings.updater-config.not-saved")," "))}var bee=function(){function e(i,t){this.snackbarService=i,this.dialog=t}return e.prototype.ngOnInit=function(){this.initialChannel=localStorage.getItem(gr.Channel),this.initialVersion=localStorage.getItem(gr.Version),this.initialArchiveURL=localStorage.getItem(gr.ArchiveURL),this.initialChecksumsURL=localStorage.getItem(gr.ChecksumsURL),this.initialChannel||(this.initialChannel=""),this.initialVersion||(this.initialVersion=""),this.initialArchiveURL||(this.initialArchiveURL=""),this.initialChecksumsURL||(this.initialChecksumsURL=""),this.hasCustomSettings=!!(this.initialChannel||this.initialVersion||this.initialArchiveURL||this.initialChecksumsURL),this.form=new rl({channel:new ra(this.initialChannel),version:new ra(this.initialVersion),archiveURL:new ra(this.initialArchiveURL),checksumsURL:new ra(this.initialChecksumsURL)})},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},Object.defineProperty(e.prototype,"dataChanged",{get:function(){return this.initialChannel!==this.form.get("channel").value.trim()||this.initialVersion!==this.form.get("version").value.trim()||this.initialArchiveURL!==this.form.get("archiveURL").value.trim()||this.initialChecksumsURL!==this.form.get("checksumsURL").value.trim()},enumerable:!1,configurable:!0}),e.prototype.saveSettings=function(){var i=this,t=this.form.get("channel").value.trim(),n=this.form.get("version").value.trim(),a=this.form.get("archiveURL").value.trim(),o=this.form.get("checksumsURL").value.trim();if(t||n||a||o){var s=ln.createConfirmationDialog(this.dialog,"settings.updater-config.save-confirmation");s.componentInstance.operationAccepted.subscribe(function(){s.close(),i.initialChannel=t,i.initialVersion=n,i.initialArchiveURL=a,i.initialChecksumsURL=o,i.hasCustomSettings=!0,localStorage.setItem(gr.UseCustomSettings,"true"),localStorage.setItem(gr.Channel,t),localStorage.setItem(gr.Version,n),localStorage.setItem(gr.ArchiveURL,a),localStorage.setItem(gr.ChecksumsURL,o),i.snackbarService.showDone("settings.updater-config.saved")})}else this.removeSettings()},e.prototype.removeSettings=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"settings.updater-config.remove-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.close(),i.initialChannel="",i.initialVersion="",i.initialArchiveURL="",i.initialChecksumsURL="",i.form.get("channel").setValue(""),i.form.get("version").setValue(""),i.form.get("archiveURL").setValue(""),i.form.get("checksumsURL").setValue(""),i.hasCustomSettings=!1,localStorage.removeItem(gr.UseCustomSettings),localStorage.removeItem(gr.Channel),localStorage.removeItem(gr.Version),localStorage.removeItem(gr.ArchiveURL),localStorage.removeItem(gr.ChecksumsURL),i.snackbarService.showDone("settings.updater-config.removed")})},e.\u0275fac=function(t){return new(t||e)(N(xn),N(Gn))},e.\u0275cmp=Ke({type:e,selectors:[["app-updater-config"]],decls:28,vars:28,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","channel","maxlength","255","matInput","",3,"placeholder"],["formControlName","version","maxlength","255","matInput","",3,"placeholder"],["formControlName","archiveURL","maxlength","255","matInput","",3,"placeholder"],["formControlName","checksumsURL","maxlength","255","matInput","",3,"placeholder"],[1,"mt-2","buttons-area"],[1,"text-area","red-clear-text"],[4,"ngIf"],["color","primary",1,"app-button","left-button",3,"forDarkBackground","disabled","action"],["color","primary",1,"app-button",3,"forDarkBackground","disabled","action"],[3,"inline"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"div",2),p(3,"mat-icon",3),V(4,"translate"),F(5," help "),m(),m(),p(6,"form",4),p(7,"mat-form-field",5),Te(8,"input",6),V(9,"translate"),m(),p(10,"mat-form-field",5),Te(11,"input",7),V(12,"translate"),m(),p(13,"mat-form-field",5),Te(14,"input",8),V(15,"translate"),m(),p(16,"mat-form-field",5),Te(17,"input",9),V(18,"translate"),m(),p(19,"div",10),p(20,"div",11),K(21,yee,5,4,"span",12),m(),p(22,"app-button",13),we("action",function(){return n.removeSettings()}),F(23),V(24,"translate"),m(),p(25,"app-button",14),we("action",function(){return n.saveSettings()}),F(26),V(27,"translate"),m(),m(),m(),m(),m()),2&t&&(v(3),E("inline",!0)("matTooltip",U(4,14,"settings.updater-config.help")),v(3),E("formGroup",n.form),v(2),E("placeholder",U(9,16,"settings.updater-config.channel")),v(3),E("placeholder",U(12,18,"settings.updater-config.version")),v(3),E("placeholder",U(15,20,"settings.updater-config.archive-url")),v(3),E("placeholder",U(18,22,"settings.updater-config.checksum-url")),v(4),E("ngIf",n.dataChanged),v(1),E("forDarkBackground",!0)("disabled",!n.hasCustomSettings),v(1),Ce(" ",U(24,24,"settings.updater-config.remove-settings")," "),v(2),E("forDarkBackground",!0)("disabled",!n.dataChanged),v(1),Ce(" ",U(27,26,"settings.updater-config.save")," "))},directives:[Cn,cr,$r,Jr,mr,ki,qr,aa,Kr,zr,ji,Ot,ui],pipes:[wt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}.buttons-area[_ngcontent-%COMP%]{display:flex}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:auto;flex-grow:1}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:32px!important}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:1px}.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{float:right;margin-right:32px;flex-grow:0}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-top:10px}}.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:5px!important}@media (max-width: 767px){.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:32px!important}}"]}),e}();function kee(e,i){if(1&e){var t=nt();p(0,"div",8),we("click",function(){return Ae(t),J().showUpdaterSettings()}),p(1,"span",9),F(2),V(3,"translate"),m(),m()}2&e&&(v(2),be(U(3,1,"settings.updater-config.open-link")))}function Cee(e,i){1&e&&Te(0,"app-updater-config",10)}var Mee=function(){return["start.title"]},wee=function(){function e(i,t,n,a){this.authService=i,this.router=t,this.snackbarService=n,this.dialog=a,this.tabsData=[],this.options=[],this.mustShowUpdaterSettings=!!localStorage.getItem(gr.UseCustomSettings),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}]}return e.prototype.performAction=function(i){"logout"===i&&this.logout()},e.prototype.logout=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"common.logout-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),i.authService.logout().subscribe(function(){return i.router.navigate(["login"])},function(){return i.snackbarService.showError("common.logout-error")})})},e.prototype.showUpdaterSettings=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"settings.updater-config.open-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.close(),i.mustShowUpdaterSettings=!0})},e.\u0275fac=function(t){return new(t||e)(N(hh),N(Zt),N(xn),N(Gn))},e.\u0275cmp=Ke({type:e,selectors:[["app-settings"]],decls:9,vars:9,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","optionSelected"],[1,"content","col-12","mt-4.5"],[1,"d-block","mb-4"],[3,"showShortList"],["class","d-block mt-4",3,"click",4,"ngIf"],["class","d-block mt-4",4,"ngIf"],[1,"d-block","mt-4",3,"click"],[1,"show-link"],[1,"d-block","mt-4"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"app-top-bar",2),we("optionSelected",function(o){return n.performAction(o)}),m(),m(),p(3,"div",3),Te(4,"app-refresh-rate",4),Te(5,"app-password"),Te(6,"app-label-list",5),K(7,kee,4,3,"div",6),K(8,Cee,1,0,"app-updater-config",7),m(),m()),2&t&&(v(2),E("titleParts",Yn(8,Mee))("tabsData",n.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",n.options),v(4),E("showShortList",!0),v(1),E("ngIf",!n.mustShowUpdaterSettings),v(1),E("ngIf",n.mustShowUpdaterSettings))},directives:[lu,RX,Cx,aI,Ot,bee],pipes:[wt],styles:[".show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),e}(),See=["button"],Tee=["firstInput"];function Dee(e,i){1&e&&Te(0,"app-loading-indicator",5),2&e&&E("showWhite",!1)}function Eee(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),Ce(" ",U(2,1,"transports.dialog.errors.remote-key-length-error")," "))}function Lee(e,i){1&e&&(F(0),V(1,"translate")),2&e&&Ce(" ",U(1,1,"transports.dialog.errors.remote-key-chars-error")," ")}function Pee(e,i){if(1&e&&(p(0,"mat-option",16),F(1),m()),2&e){var t=i.$implicit;E("value",t),v(1),be(t)}}function Oee(e,i){if(1&e){var t=nt();p(0,"form",6),p(1,"mat-form-field"),Te(2,"input",7,8),V(4,"translate"),p(5,"mat-error"),K(6,Eee,3,3,"ng-container",9),m(),K(7,Lee,2,3,"ng-template",null,10,Il),m(),p(9,"mat-form-field"),Te(10,"input",11),V(11,"translate"),m(),p(12,"mat-form-field"),p(13,"mat-select",12),V(14,"translate"),K(15,Pee,2,2,"mat-option",13),m(),p(16,"mat-error"),F(17),V(18,"translate"),m(),m(),p(19,"mat-checkbox",14),we("change",function(s){return Ae(t),J().setMakePersistent(s)}),F(20),V(21,"translate"),p(22,"mat-icon",15),V(23,"translate"),F(24,"help"),m(),m(),m()}if(2&e){var n=Lr(8),a=J();E("formGroup",a.form),v(2),E("placeholder",U(4,12,"transports.dialog.remote-key")),v(4),E("ngIf",!a.form.get("remoteKey").hasError("pattern"))("ngIfElse",n),v(4),E("placeholder",U(11,14,"transports.dialog.label")),v(3),E("placeholder",U(14,16,"transports.dialog.transport-type")),v(2),E("ngForOf",a.types),v(2),Ce(" ",U(18,18,"transports.dialog.errors.transport-type-error")," "),v(2),E("checked",a.makePersistent),v(1),Ce(" ",U(21,20,"transports.dialog.make-persistent")," "),v(2),E("inline",!0)("matTooltip",U(23,22,"transports.dialog.persistent-tooltip"))}}var xee=function(){function e(i,t,n,a,o,s){this.transportService=i,this.formBuilder=t,this.dialogRef=n,this.snackbarService=a,this.storageService=o,this.nodeService=s,this.makePersistent=!1,this.shouldShowError=!0}return e.openDialog=function(i){var t=new Zn;return t.autoFocus=!1,t.width=Gt.mediumModalWidth,i.open(e,t)},e.prototype.ngOnInit=function(){this.form=this.formBuilder.group({remoteKey:["",En.compose([En.required,En.minLength(66),En.maxLength(66),En.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",En.required]}),this.loadData(0)},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()},e.prototype.setMakePersistent=function(i){this.makePersistent=!!i.checked},e.prototype.create=function(){var i=this;if(this.form.valid&&!this.button.disabled){this.button.showLoading();var t=this.form.get("remoteKey").value,n=this.form.get("type").value,a=this.form.get("label").value;if(this.makePersistent){var o=this.transportService.getPersistentTransports(At.getCurrentNodeKey());this.operationSubscription=o.subscribe(function(s){var l=s||[],u=!1;l.forEach(function(d){d.pk.toUpperCase()===t.toUpperCase()&&d.type.toUpperCase()===n.toUpperCase()&&(u=!0)}),u?i.createTransport(t,n,a,!0):i.createPersistent(l,t,n,a)},function(s){i.onError(s)})}else this.createTransport(t,n,a,!1)}},e.prototype.createPersistent=function(i,t,n,a){var o=this;i.push({pk:t,type:n}),this.operationSubscription=this.transportService.savePersistentTransportsData(At.getCurrentNodeKey(),i).subscribe(function(){o.createTransport(t,n,a,!0)},function(s){o.onError(s)})},e.prototype.createTransport=function(i,t,n,a){var o=this;this.operationSubscription=this.transportService.create(At.getCurrentNodeKey(),i,t).subscribe(function(s){var l=!1;n&&(s&&s.id?o.storageService.saveLabel(s.id,n,ta.Transport):l=!0),At.refreshCurrentDisplayedData(),o.dialogRef.close(),l?o.snackbarService.showWarning("transports.dialog.success-without-label"):o.snackbarService.showDone("transports.dialog.success")},function(s){a?(At.refreshCurrentDisplayedData(),o.dialogRef.close(),o.snackbarService.showWarning("transports.dialog.only-persistent-created")):o.onError(s)})},e.prototype.onError=function(i){this.button.showError(),i=tn(i),this.snackbarService.showError(i)},e.prototype.loadData=function(i){var t=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=Qe(1).pipe(ci(i),Sn(function(){return t.transportService.types(At.getCurrentNodeKey())})).subscribe(function(n){n.sort(function(o,s){return o.localeCompare(s)});var a=n.findIndex(function(o){return"dmsg"===o.toLowerCase()});a=-1!==a?a:0,t.types=n,t.form.get("type").setValue(n[a]),t.snackbarService.closeCurrentIfTemporaryError(),setTimeout(function(){return t.firstInput.nativeElement.focus()})},function(n){n=tn(n),t.shouldShowError&&(t.snackbarService.showError("common.loading-error",null,!0,n),t.shouldShowError=!1),t.loadData(Gt.connectionRetryDelay)})},e.\u0275fac=function(t){return new(t||e)(N(eg),N(ia),N(wr),N(xn),N(Vi),N(ou))},e.\u0275cmp=Ke({type:e,selectors:[["app-create-transport"]],viewQuery:function(t,n){if(1&t&&(_t(See,5),_t(Tee,5)),2&t){var a=void 0;it(a=at())&&(n.button=a.first),it(a=at())&&(n.firstInput=a.first)}},decls:8,vars:9,consts:[[3,"headline"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],["formControlName","remoteKey","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["formControlName","type",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],[3,"value"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),K(2,Dee,1,1,"app-loading-indicator",1),K(3,Oee,25,24,"form",2),p(4,"app-button",3,4),we("action",function(){return n.create()}),F(6),V(7,"translate"),m(),m()),2&t&&(E("headline",U(1,5,"transports.create")),v(2),E("ngIf",!n.types),v(1),E("ngIf",n.types),v(1),E("disabled",!n.form.valid),v(2),Ce(" ",U(7,7,"transports.create")," "))},directives:[vr,Ot,ui,ws,$r,Jr,mr,ki,qr,aa,Kr,zr,ji,yh,wh,xr,ol,Cn,cr,Qc],pipes:[wt],styles:[""]}),e}();function Iee(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),p(3,"mat-icon",6),V(4,"translate"),F(5,"help"),m(),qe()),2&e&&(v(1),Ce(" ",U(2,3,"common.yes")," "),v(2),E("inline",!0)("matTooltip",U(4,5,"transports.persistent-transport-tooltip")))}function Aee(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"common.no")))}var Ree=function(){function e(i){this.data=i}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.largeModalWidth,i.open(e,n)},e.\u0275fac=function(t){return new(t||e)(N(Ur))},e.\u0275cmp=Ke({type:e,selectors:[["app-transport-details"]],decls:51,vars:44,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],[1,"help-icon","d-none","d-md-inline",3,"inline","matTooltip"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"div"),p(3,"div",1),p(4,"mat-icon",2),F(5,"list"),m(),F(6),V(7,"translate"),m(),p(8,"div",3),p(9,"span"),F(10),V(11,"translate"),m(),K(12,Iee,6,7,"ng-container",4),K(13,Aee,3,3,"ng-container",4),m(),p(14,"div",3),p(15,"span"),F(16),V(17,"translate"),m(),F(18),m(),p(19,"div",3),p(20,"span"),F(21),V(22,"translate"),m(),F(23),m(),p(24,"div",3),p(25,"span"),F(26),V(27,"translate"),m(),F(28),m(),p(29,"div",3),p(30,"span"),F(31),V(32,"translate"),m(),F(33),m(),p(34,"div",5),p(35,"mat-icon",2),F(36,"import_export"),m(),F(37),V(38,"translate"),m(),p(39,"div",3),p(40,"span"),F(41),V(42,"translate"),m(),F(43),V(44,"autoScale"),m(),p(45,"div",3),p(46,"span"),F(47),V(48,"translate"),m(),F(49),V(50,"autoScale"),m(),m(),m()),2&t&&(E("headline",U(1,20,"transports.details.title")),v(4),E("inline",!0),v(2),Ce("",U(7,22,"transports.details.basic.title")," "),v(4),be(U(11,24,"transports.details.basic.persistent")),v(2),E("ngIf",n.data.isPersistent),v(1),E("ngIf",!n.data.isPersistent),v(3),be(U(17,26,"transports.details.basic.id")),v(2),Ce(" ",n.data.id," "),v(3),be(U(22,28,"transports.details.basic.local-pk")),v(2),Ce(" ",n.data.localPk," "),v(3),be(U(27,30,"transports.details.basic.remote-pk")),v(2),Ce(" ",n.data.remotePk," "),v(3),be(U(32,32,"transports.details.basic.type")),v(2),Ce(" ",n.data.type," "),v(2),E("inline",!0),v(2),Ce("",U(38,34,"transports.details.data.title")," "),v(4),be(U(42,36,"transports.details.data.uploaded")),v(2),Ce(" ",U(44,38,n.data.sent)," "),v(4),be(U(48,40,"transports.details.data.downloaded")),v(2),Ce(" ",U(50,42,n.data.recv)," "))},directives:[vr,Cn,Ot,cr],pipes:[wt,Th],styles:[".help-icon[_ngcontent-%COMP%]{opacity:.5;font-size:14px;cursor:default}"]}),e}();function Fee(e,i){1&e&&(p(0,"span",15),F(1),V(2,"translate"),p(3,"mat-icon",16),V(4,"translate"),F(5,"help"),m(),m()),2&e&&(v(1),Ce(" ",U(2,3,"transports.title")," "),v(2),E("inline",!0)("matTooltip",U(4,5,"transports.info")))}function Nee(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),be(U(2,1,t.translatableValue))}}function Yee(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),be(t.value)}}function Hee(e,i){if(1&e&&(p(0,"div",20),p(1,"span"),F(2),V(3,"translate"),m(),K(4,Nee,3,3,"ng-container",21),K(5,Yee,2,1,"ng-container",21),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),E("ngIf",t.translatableValue),v(1),E("ngIf",t.value)}}function Vee(e,i){if(1&e){var t=nt();p(0,"div",17),we("click",function(){return Ae(t),J().dataFilterer.removeFilters()}),K(1,Hee,6,5,"div",18),p(2,"div",19),F(3),V(4,"translate"),m(),m()}if(2&e){var n=J();v(1),E("ngForOf",n.dataFilterer.currentFiltersTexts),v(2),be(U(4,2,"filters.press-to-remove"))}}function Bee(e,i){if(1&e){var t=nt();p(0,"mat-icon",22),we("click",function(){return Ae(t),J().dataFilterer.changeFilters()}),F(1,"filter_list"),m()}2&e&&E("inline",!0)}function jee(e,i){if(1&e&&(p(0,"mat-icon",23),F(1,"more_horiz"),m()),2&e){J();var t=Lr(11);E("inline",!0)("matMenuTriggerFor",t)}}var Z1=function(e){return["/nodes",e,"transports"]};function Uee(e,i){if(1&e&&Te(0,"app-paginator",24),2&e){var t=J();E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,Z1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function zee(e,i){if(1&e&&(p(0,"mat-icon",39),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Wee(e,i){1&e&&(Ge(0),F(1,"*"),qe())}function Gee(e,i){if(1&e&&(Ge(0),p(1,"mat-icon",39),F(2),m(),K(3,Wee,2,0,"ng-container",21),qe()),2&e){var t=J(2);v(1),E("inline",!0),v(1),be(t.dataSorter.sortingArrow),v(1),E("ngIf",t.dataSorter.currentlySortingByLabel)}}function qee(e,i){1&e&&(Ge(0),F(1,"*"),qe())}function Kee(e,i){if(1&e&&(Ge(0),p(1,"mat-icon",39),F(2),m(),K(3,qee,2,0,"ng-container",21),qe()),2&e){var t=J(2);v(1),E("inline",!0),v(1),be(t.dataSorter.sortingArrow),v(1),E("ngIf",t.dataSorter.currentlySortingByLabel)}}function Jee(e,i){if(1&e&&(p(0,"mat-icon",39),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function $ee(e,i){if(1&e&&(p(0,"mat-icon",39),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Qee(e,i){if(1&e&&(p(0,"mat-icon",39),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Zee(e,i){if(1&e){var t=nt();p(0,"button",48),we("click",function(){Ae(t);var a=J().$implicit;return J(2).changeIfPersistent([a],!1)}),V(1,"translate"),p(2,"mat-icon",49),F(3,"star"),m(),m()}2&e&&(E("matTooltip",U(1,2,"transports.persistent-transport-button-tooltip")),v(2),E("inline",!0))}function Xee(e,i){if(1&e){var t=nt();p(0,"button",48),we("click",function(){Ae(t);var a=J().$implicit;return J(2).changeIfPersistent([a],!0)}),V(1,"translate"),p(2,"mat-icon",50),F(3,"star_outline"),m(),m()}2&e&&(E("matTooltip",U(1,2,"transports.non-persistent-transport-button-tooltip")),v(2),E("inline",!0))}function ete(e,i){1&e&&(p(0,"span"),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"transports.offline")))}function tte(e,i){if(1&e){var t=nt();p(0,"td"),p(1,"app-labeled-element-text",51),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),K(2,ete,3,3,"span",21),m()}if(2&e){var n=J().$implicit,a=J(2);v(1),Tn("id",n.id),E("short",!0)("elementType",a.labeledElementTypes.Transport),v(1),E("ngIf",n.notFound)}}function nte(e,i){1&e&&(p(0,"td"),F(1),V(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"transports.offline")," "))}function rte(e,i){if(1&e&&(p(0,"td"),F(1),V(2,"autoScale"),m()),2&e){var t=J().$implicit;v(1),Ce(" ",U(2,1,t.sent)," ")}}function ite(e,i){if(1&e&&(p(0,"td"),F(1),V(2,"autoScale"),m()),2&e){var t=J().$implicit;v(1),Ce(" ",U(2,1,t.recv)," ")}}function ate(e,i){1&e&&(p(0,"td"),F(1),V(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"transports.offline")," "))}function ote(e,i){1&e&&(p(0,"td"),F(1),V(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"transports.offline")," "))}function ste(e,i){if(1&e){var t=nt();p(0,"button",52),we("click",function(){Ae(t);var a=J().$implicit;return J(2).details(a)}),V(1,"translate"),p(2,"mat-icon",39),F(3,"visibility"),m(),m()}2&e&&(E("matTooltip",U(1,2,"transports.details.title")),v(2),E("inline",!0))}function lte(e,i){if(1&e){var t=nt();p(0,"button",52),we("click",function(){Ae(t);var a=J().$implicit;return J(2).delete(a)}),V(1,"translate"),p(2,"mat-icon",39),F(3,"close"),m(),m()}2&e&&(E("matTooltip",U(1,2,"transports.delete")),v(2),E("inline",!0))}var oI=function(e){return{offline:e}};function ute(e,i){if(1&e){var t=nt();p(0,"tr",42),p(1,"td",43),p(2,"mat-checkbox",44),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(3,"td"),K(4,Zee,4,4,"button",45),K(5,Xee,4,4,"button",45),m(),K(6,tte,3,4,"td",21),K(7,nte,3,3,"td",21),p(8,"td"),p(9,"app-labeled-element-text",46),we("labelEdited",function(){return Ae(t),J(2).refreshData()}),m(),m(),p(10,"td"),F(11),m(),K(12,rte,3,3,"td",21),K(13,ite,3,3,"td",21),K(14,ate,3,3,"td",21),K(15,ote,3,3,"td",21),p(16,"td",32),K(17,ste,4,4,"button",47),K(18,lte,4,4,"button",47),m(),m()}if(2&e){var n=i.$implicit,a=J(2);E("ngClass",et(15,oI,n.notFound)),v(2),E("checked",a.selections.get(n.id)),v(2),E("ngIf",n.isPersistent),v(1),E("ngIf",!n.isPersistent),v(1),E("ngIf",!n.notFound),v(1),E("ngIf",n.notFound),v(2),Tn("id",n.remotePk),E("short",!0),v(2),Ce(" ",n.type," "),v(1),E("ngIf",!n.notFound),v(1),E("ngIf",!n.notFound),v(1),E("ngIf",n.notFound),v(1),E("ngIf",n.notFound),v(2),E("ngIf",!n.notFound),v(1),E("ngIf",!n.notFound)}}function cte(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"tables.label")))}function dte(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"tables.inverted-order")))}function fte(e,i){1&e&&(p(0,"div",59),p(1,"div",59),p(2,"mat-icon",62),F(3,"star"),m(),F(4,"\xa0 "),p(5,"span",63),F(6),V(7,"translate"),m(),m(),m()),2&e&&(v(2),E("inline",!0),v(4),be(U(7,2,"transports.persistent")))}function hte(e,i){if(1&e){var t=nt();p(0,"app-labeled-element-text",64),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m()}if(2&e){var n=J().$implicit,a=J(2);Tn("id",n.id),E("elementType",a.labeledElementTypes.Transport)}}function pte(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"transports.offline")))}function mte(e,i){if(1&e&&(Ge(0),F(1),V(2,"autoScale"),qe()),2&e){var t=J().$implicit;v(1),be(U(2,1,t.sent))}}function vte(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"transports.offline")))}function gte(e,i){if(1&e&&(Ge(0),F(1),V(2,"autoScale"),qe()),2&e){var t=J().$implicit;v(1),be(U(2,1,t.recv))}}function _te(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"transports.offline")))}function yte(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td"),p(2,"div",53),p(3,"div",54),p(4,"mat-checkbox",44),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(5,"div",37),K(6,fte,8,4,"div",55),p(7,"div",56),p(8,"span",1),F(9),V(10,"translate"),m(),F(11,": "),K(12,hte,1,2,"app-labeled-element-text",57),K(13,pte,3,3,"ng-container",21),m(),p(14,"div",56),p(15,"span",1),F(16),V(17,"translate"),m(),F(18,": "),p(19,"app-labeled-element-text",58),we("labelEdited",function(){return Ae(t),J(2).refreshData()}),m(),m(),p(20,"div",59),p(21,"span",1),F(22),V(23,"translate"),m(),F(24),m(),p(25,"div",59),p(26,"span",1),F(27),V(28,"translate"),m(),F(29,": "),K(30,mte,3,3,"ng-container",21),K(31,vte,3,3,"ng-container",21),m(),p(32,"div",59),p(33,"span",1),F(34),V(35,"translate"),m(),F(36,": "),K(37,gte,3,3,"ng-container",21),K(38,_te,3,3,"ng-container",21),m(),m(),Te(39,"div",60),p(40,"div",38),p(41,"button",61),we("click",function(s){var u=Ae(t).$implicit,d=J(2);return s.stopPropagation(),d.showOptionsDialog(u)}),V(42,"translate"),p(43,"mat-icon"),F(44),m(),m(),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(2),E("ngClass",et(30,oI,n.notFound)),v(2),E("checked",a.selections.get(n.id)),v(2),E("ngIf",n.isPersistent),v(3),be(U(10,18,"transports.id")),v(3),E("ngIf",!n.notFound),v(1),E("ngIf",n.notFound),v(3),be(U(17,20,"transports.remote-node")),v(3),Tn("id",n.remotePk),v(3),be(U(23,22,"transports.type")),v(2),Ce(": ",n.type," "),v(3),be(U(28,24,"common.uploaded")),v(3),E("ngIf",!n.notFound),v(1),E("ngIf",n.notFound),v(3),be(U(35,26,"common.downloaded")),v(3),E("ngIf",!n.notFound),v(1),E("ngIf",n.notFound),v(3),E("matTooltip",U(42,28,"common.options")),v(3),be("add")}}function bte(e,i){if(1&e&&Te(0,"app-view-all-link",65),2&e){var t=J(2);E("numberOfElements",t.filteredTransports.length)("linkParts",et(3,Z1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var kte=function(e,i){return{"small-node-list-margins":e,"full-node-list-margins":i}},Cte=function(e){return{"d-lg-none d-xl-table":e}},Mte=function(e){return{"d-lg-table d-xl-none":e}};function wte(e,i){if(1&e){var t=nt();p(0,"div",25),p(1,"div",26),p(2,"table",27),p(3,"tr"),Te(4,"th"),p(5,"th",28),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.persistentSortData)}),V(6,"translate"),p(7,"mat-icon",29),F(8,"star_outline"),m(),K(9,zee,2,2,"mat-icon",30),m(),p(10,"th",31),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.idSortData)}),F(11),V(12,"translate"),K(13,Gee,4,3,"ng-container",21),m(),p(14,"th",31),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.remotePkSortData)}),F(15),V(16,"translate"),K(17,Kee,4,3,"ng-container",21),m(),p(18,"th",31),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.typeSortData)}),F(19),V(20,"translate"),K(21,Jee,2,2,"mat-icon",30),m(),p(22,"th",31),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.uploadedSortData)}),F(23),V(24,"translate"),K(25,$ee,2,2,"mat-icon",30),m(),p(26,"th",31),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.downloadedSortData)}),F(27),V(28,"translate"),K(29,Qee,2,2,"mat-icon",30),m(),Te(30,"th",32),m(),K(31,ute,19,17,"tr",33),m(),p(32,"table",34),p(33,"tr",35),we("click",function(){return Ae(t),J().dataSorter.openSortingOrderModal()}),p(34,"td"),p(35,"div",36),p(36,"div",37),p(37,"div",1),F(38),V(39,"translate"),m(),p(40,"div"),F(41),V(42,"translate"),K(43,cte,3,3,"ng-container",21),K(44,dte,3,3,"ng-container",21),m(),m(),p(45,"div",38),p(46,"mat-icon",39),F(47,"keyboard_arrow_down"),m(),m(),m(),m(),m(),K(48,yte,45,32,"tr",40),m(),K(49,bte,1,5,"app-view-all-link",41),m(),m()}if(2&e){var n=J();v(1),E("ngClass",Dn(39,kte,n.showShortList_,!n.showShortList_)),v(1),E("ngClass",et(42,Cte,n.showShortList_)),v(3),E("matTooltip",U(6,23,"transports.persistent-tooltip")),v(4),E("ngIf",n.dataSorter.currentSortingColumn===n.persistentSortData),v(2),Ce(" ",U(12,25,"transports.id")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.idSortData),v(2),Ce(" ",U(16,27,"transports.remote-node")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.remotePkSortData),v(2),Ce(" ",U(20,29,"transports.type")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.typeSortData),v(2),Ce(" ",U(24,31,"common.uploaded")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.uploadedSortData),v(2),Ce(" ",U(28,33,"common.downloaded")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.downloadedSortData),v(2),E("ngForOf",n.dataSource),v(1),E("ngClass",et(44,Mte,n.showShortList_)),v(6),be(U(39,35,"tables.sorting-title")),v(3),Ce("",U(42,37,n.dataSorter.currentSortingColumn.label)," "),v(2),E("ngIf",n.dataSorter.currentlySortingByLabel),v(1),E("ngIf",n.dataSorter.sortingInReverseOrder),v(2),E("inline",!0),v(2),E("ngForOf",n.dataSource),v(1),E("ngIf",n.showShortList_&&n.numberOfPages>1)}}function Ste(e,i){1&e&&(p(0,"span",69),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"transports.empty")))}function Tte(e,i){1&e&&(p(0,"span",69),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"transports.empty-with-filter")))}function Dte(e,i){if(1&e&&(p(0,"div",25),p(1,"div",66),p(2,"mat-icon",67),F(3,"warning"),m(),K(4,Ste,3,3,"span",68),K(5,Tte,3,3,"span",68),m(),m()),2&e){var t=J();v(2),E("inline",!0),v(2),E("ngIf",0===t.allTransports.length),v(1),E("ngIf",0!==t.allTransports.length)}}function Ete(e,i){if(1&e&&Te(0,"app-paginator",24),2&e){var t=J();E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,Z1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var Lte=function(e){return{"paginator-icons-fixer":e}},sI=function(){function e(i,t,n,a,o,s,l,u){var d=this;this.dialog=i,this.transportService=t,this.route=n,this.router=a,this.snackbarService=o,this.translateService=s,this.storageService=l,this.nodeService=u,this.listId="tr",this.persistentSortData=new Ln(["isPersistent"],"transports.persistent",un.Boolean),this.idSortData=new Ln(["id"],"transports.id",un.Text,["id_label"]),this.remotePkSortData=new Ln(["remotePk"],"transports.remote-node",un.Text,["remote_pk_label"]),this.typeSortData=new Ln(["type"],"transports.type",un.Text),this.uploadedSortData=new Ln(["sent"],"common.uploaded",un.NumberReversed),this.downloadedSortData=new Ln(["recv"],"common.downloaded",un.NumberReversed),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.persistent",keyNameInElementsArray:"isPersistent",type:dr.Select,printableLabelsForValues:[{value:"",label:"transports.filter-dialog.persistent-options.any"},{value:"true",label:"transports.filter-dialog.persistent-options.persistent"},{value:"false",label:"transports.filter-dialog.persistent-options.non-persistent"}]},{filterName:"transports.filter-dialog.id",keyNameInElementsArray:"id",secondaryKeyNameInElementsArray:"id_label",type:dr.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:dr.TextInput,maxlength:66}],this.labeledElementTypes=ta,this.operationSubscriptionsGroup=[],this.dataSorter=new td(this.dialog,this.translateService,[this.persistentSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){d.recalculateElementsToShow()}),this.dataFilterer=new rd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(T){d.filteredTransports=T,d.dataSorter.setData(d.filteredTransports)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(T){if(T.has("page")){var I=Number.parseInt(T.get("page"),10);(isNaN(I)||I<1)&&(I=1),d.currentPageInUrl=I,d.recalculateElementsToShow()}}),this.languageSubscription=this.translateService.onLangChange.subscribe(function(){d.node=d.currentNode})}return Object.defineProperty(e.prototype,"showShortList",{set:function(i){this.showShortList_=i,this.dataSorter.setData(this.filteredTransports)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"node",{set:function(i){var t=this;this.currentNode=i,this.allTransports=i.transports,this.nodePK=i.localPk;var n=new Map;i.persistentTransports.forEach(function(a){return n.set(t.getPersistentTransportID(a.pk,a.type),a)}),this.allTransports.forEach(function(a){n.has(t.getPersistentTransportID(a.remotePk,a.type))?(a.isPersistent=!0,n.delete(t.getPersistentTransportID(a.remotePk,a.type))):a.isPersistent=!1}),n.forEach(function(a,o){t.allTransports.push({id:t.getPersistentTransportID(a.pk,a.type),localPk:i.localPk,remotePk:a.pk,type:a.type,recv:0,sent:0,isPersistent:!0,notFound:!0})}),this.allTransports.forEach(function(a){a.id_label=Ss.getCompleteLabel(t.storageService,t.translateService,a.id),a.remote_pk_label=Ss.getCompleteLabel(t.storageService,t.translateService,a.remotePk)}),this.dataFilterer.setData(this.allTransports)},enumerable:!1,configurable:!0}),e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(i){return i.unsubscribe()}),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose(),this.persistentTransportSubscription&&this.persistentTransportSubscription.unsubscribe()},e.prototype.changeSelection=function(i){this.selections.get(i.id)?this.selections.set(i.id,!1):this.selections.set(i.id,!0)},e.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var i=!1;return this.selections.forEach(function(t){t&&(i=!0)}),i},e.prototype.changeAllSelections=function(i){var t=this;this.selections.forEach(function(n,a){t.selections.set(a,i)})},e.prototype.deleteSelected=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing();var n=[];i.selections.forEach(function(a,o){a&&n.push(o)}),i.deleteRecursively(n,t)})},e.prototype.create=function(){xee.openDialog(this.dialog)},e.prototype.showOptionsDialog=function(i){var t=this,n=[];n.push(i.isPersistent?{icon:"star_outline",label:"transports.make-non-persistent"}:{icon:"star",label:"transports.make-persistent"}),i.notFound||(n.push({icon:"visibility",label:"transports.details.title"}),n.push({icon:"close",label:"transports.delete"})),Ui.openDialog(this.dialog,n,"common.options").afterClosed().subscribe(function(a){1===a?t.changeIfPersistent([i],!i.isPersistent):2===a?t.details(i):3===a&&t.delete(i)})},e.prototype.changeIfPersistentOfSelected=function(i){var t=this,n=[];this.allTransports.forEach(function(a){t.selections.has(a.id)&&t.selections.get(a.id)&&n.push(a)}),this.changeIfPersistent(n,i)},e.prototype.changeIfPersistent=function(i,t){var n=this;if(!(i.length<1)){var a="transports.",o=ln.createConfirmationDialog(this.dialog,a+=1===i.length?t?"make-persistent-confirmation":"make"+(i[0].notFound?"-offline":"")+"-non-persistent-confirmation":t?"make-selected-persistent-confirmation":"make-selected-non-persistent-confirmation");o.componentInstance.operationAccepted.subscribe(function(){o.componentInstance.showProcessing(),n.persistentTransportSubscription=n.transportService.getPersistentTransports(n.nodePK).subscribe(function(s){var l=s||[],u=!1,d=new Map;if(i.forEach(function(T){return d.set(n.getPersistentTransportID(T.remotePk,T.type),T)}),t)l.forEach(function(T){d.has(n.getPersistentTransportID(T.pk,T.type))&&d.delete(n.getPersistentTransportID(T.pk,T.type))}),(u=0===d.size)||d.forEach(function(T){l.push({pk:T.remotePk,type:T.type})});else{u=!0;for(var y=0;ythis.numberOfPages&&(this.currentPage=this.numberOfPages);var n=t*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(n,n+t);var o=new Map;this.transportsToShow.forEach(function(l){o.set(l.id,!0),i.selections.has(l.id)||i.selections.set(l.id,!1)});var s=[];this.selections.forEach(function(l,u){o.has(u)||s.push(u)}),s.forEach(function(l){i.selections.delete(l)})}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow},e.prototype.startDeleting=function(i){return this.transportService.delete(At.getCurrentNodeKey(),i)},e.prototype.deleteRecursively=function(i,t){var n=this;this.operationSubscriptionsGroup.push(this.startDeleting(i[i.length-1]).subscribe(function(){i.pop(),0===i.length?(t.close(),At.refreshCurrentDisplayedData(),n.snackbarService.showDone("transports.deleted")):n.deleteRecursively(i,t)},function(a){At.refreshCurrentDisplayedData(),a=tn(a),t.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)}))},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(eg),N(ai),N(Zt),N(xn),N(si),N(Vi),N(ou))},e.\u0275cmp=Ke({type:e,selectors:[["app-transport-list"]],inputs:{showShortList:"showShortList",node:"node"},decls:31,vars:31,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],[3,"inline","click"],["class","small-icon",3,"inline","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"persistent-icon","grey-text"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[3,"ngClass",4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[4,"ngFor","ngForOf"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[3,"ngClass"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","","class","action-button subtle-transparent-button",3,"matTooltip","click",4,"ngIf"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-icon-button","","class","action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"action-button","subtle-transparent-button",3,"matTooltip","click"],[1,"persistent-icon","default-cursor",3,"inline"],[1,"persistent-icon","grey-text",3,"inline"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"list-item-container",3,"ngClass"],[1,"check-part"],["class","list-row",4,"ngIf"],[1,"list-row","long-content"],[3,"id","elementType","labelEdited",4,"ngIf"],[3,"id","labelEdited"],[1,"list-row"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"persistent-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),K(2,Fee,6,7,"span",2),K(3,Vee,5,4,"div",3),m(),p(4,"div",4),p(5,"div",5),p(6,"mat-icon",6),we("click",function(){return n.create()}),F(7,"add"),m(),K(8,Bee,2,1,"mat-icon",7),K(9,jee,2,2,"mat-icon",8),p(10,"mat-menu",9,10),p(12,"div",11),we("click",function(){return n.changeAllSelections(!0)}),F(13),V(14,"translate"),m(),p(15,"div",11),we("click",function(){return n.changeAllSelections(!1)}),F(16),V(17,"translate"),m(),p(18,"div",12),we("click",function(){return n.changeIfPersistentOfSelected(!0)}),F(19),V(20,"translate"),m(),p(21,"div",12),we("click",function(){return n.changeIfPersistentOfSelected(!1)}),F(22),V(23,"translate"),m(),p(24,"div",12),we("click",function(){return n.deleteSelected()}),F(25),V(26,"translate"),m(),m(),m(),K(27,Uee,1,6,"app-paginator",13),m(),m(),K(28,wte,50,46,"div",14),K(29,Dte,6,3,"div",14),K(30,Ete,1,6,"app-paginator",13)),2&t&&(E("ngClass",et(29,Lte,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)),v(2),E("ngIf",n.showShortList_),v(1),E("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0),v(3),E("inline",!0),v(2),E("ngIf",n.allTransports&&n.allTransports.length>0),v(1),E("ngIf",n.dataSource&&n.dataSource.length>0),v(1),E("overlapTrigger",!1),v(3),Ce(" ",U(14,19,"selection.select-all")," "),v(3),Ce(" ",U(17,21,"selection.unselect-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(20,23,"transports.make-selected-persistent")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(23,25,"transports.make-selected-non-persistent")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(26,27,"selection.delete-all")," "),v(2),E("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource),v(1),E("ngIf",n.dataSource&&n.dataSource.length>0),v(1),E("ngIf",!n.dataSource||0===n.dataSource.length),v(1),E("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource))},directives:[Cr,Ot,Cn,sd,Ts,cr,xr,ld,cd,ol,Ss,bi,rg],pipes:[wt,Th],styles:[".overflow[_ngcontent-%COMP%]{display:block;width:100%;overflow-x:auto}.overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.small-column[_ngcontent-%COMP%]{width:1px;text-align:center}.persistent-icon[_ngcontent-%COMP%]{font-size:14px!important;color:#d48b05}.offline[_ngcontent-%COMP%]{opacity:.35}"]}),e}();function Pte(e,i){1&e&&(p(0,"div",5),p(1,"mat-icon",2),F(2,"settings"),m(),F(3),V(4,"translate"),m()),2&e&&(v(1),E("inline",!0),v(2),Ce("",U(4,2,"routes.details.specific-fields-titles.app")," "))}function Ote(e,i){1&e&&(p(0,"div",5),p(1,"mat-icon",2),F(2,"swap_horiz"),m(),F(3),V(4,"translate"),m()),2&e&&(v(1),E("inline",!0),v(2),Ce("",U(4,2,"routes.details.specific-fields-titles.forward")," "))}function xte(e,i){1&e&&(p(0,"div",5),p(1,"mat-icon",2),F(2,"arrow_forward"),m(),F(3),V(4,"translate"),m()),2&e&&(v(1),E("inline",!0),v(2),Ce("",U(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function Ite(e,i){if(1&e&&(p(0,"div"),p(1,"div",3),p(2,"span"),F(3),V(4,"translate"),m(),F(5),m(),p(6,"div",3),p(7,"span"),F(8),V(9,"translate"),m(),F(10),m(),m()),2&e){var t=J(2);v(3),be(U(4,5,"routes.details.specific-fields.route-id")),v(2),Ce(" ",t.routeRule.forwardFields?t.routeRule.forwardFields.nextRid:t.routeRule.intermediaryForwardFields.nextRid," "),v(3),be(U(9,7,"routes.details.specific-fields.transport-id")),v(2),Ii(" ",t.routeRule.forwardFields?t.routeRule.forwardFields.nextTid:t.routeRule.intermediaryForwardFields.nextTid," ",t.getLabel(t.routeRule.forwardFields?t.routeRule.forwardFields.nextTid:t.routeRule.intermediaryForwardFields.nextTid)," ")}}function Ate(e,i){if(1&e&&(p(0,"div"),p(1,"div",3),p(2,"span"),F(3),V(4,"translate"),m(),F(5),m(),p(6,"div",3),p(7,"span"),F(8),V(9,"translate"),m(),F(10),m(),p(11,"div",3),p(12,"span"),F(13),V(14,"translate"),m(),F(15),m(),p(16,"div",3),p(17,"span"),F(18),V(19,"translate"),m(),F(20),m(),m()),2&e){var t=J(2);v(3),be(U(4,10,"routes.details.specific-fields.destination-pk")),v(2),Ii(" ",t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.dstPk:t.routeRule.forwardFields.routeDescriptor.dstPk," ",t.getLabel(t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.dstPk:t.routeRule.forwardFields.routeDescriptor.dstPk)," "),v(3),be(U(9,12,"routes.details.specific-fields.source-pk")),v(2),Ii(" ",t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.srcPk:t.routeRule.forwardFields.routeDescriptor.srcPk," ",t.getLabel(t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.srcPk:t.routeRule.forwardFields.routeDescriptor.srcPk)," "),v(3),be(U(14,14,"routes.details.specific-fields.destination-port")),v(2),Ce(" ",t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.dstPort:t.routeRule.forwardFields.routeDescriptor.dstPort," "),v(3),be(U(19,16,"routes.details.specific-fields.source-port")),v(2),Ce(" ",t.routeRule.appFields?t.routeRule.appFields.routeDescriptor.srcPort:t.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function Rte(e,i){if(1&e&&(p(0,"div"),p(1,"div",5),p(2,"mat-icon",2),F(3,"list"),m(),F(4),V(5,"translate"),m(),p(6,"div",3),p(7,"span"),F(8),V(9,"translate"),m(),F(10),m(),p(11,"div",3),p(12,"span"),F(13),V(14,"translate"),m(),F(15),m(),p(16,"div",3),p(17,"span"),F(18),V(19,"translate"),m(),F(20),m(),K(21,Pte,5,4,"div",6),K(22,Ote,5,4,"div",6),K(23,xte,5,4,"div",6),K(24,Ite,11,9,"div",4),K(25,Ate,21,18,"div",4),m()),2&e){var t=J();v(2),E("inline",!0),v(2),Ce("",U(5,13,"routes.details.summary.title")," "),v(4),be(U(9,15,"routes.details.summary.keep-alive")),v(2),Ce(" ",t.routeRule.ruleSummary.keepAlive," "),v(3),be(U(14,17,"routes.details.summary.type")),v(2),Ce(" ",t.getRuleTypeName(t.routeRule.ruleSummary.ruleType)," "),v(3),be(U(19,19,"routes.details.summary.key-route-id")),v(2),Ce(" ",t.routeRule.ruleSummary.keyRouteId," "),v(1),E("ngIf",t.routeRule.appFields),v(1),E("ngIf",t.routeRule.forwardFields),v(1),E("ngIf",t.routeRule.intermediaryForwardFields),v(1),E("ngIf",t.routeRule.forwardFields||t.routeRule.intermediaryForwardFields),v(1),E("ngIf",t.routeRule.appFields&&t.routeRule.appFields.routeDescriptor||t.routeRule.forwardFields&&t.routeRule.forwardFields.routeDescriptor)}}var Fte=function(){function e(i,t,n){this.dialogRef=t,this.storageService=n,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=i}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.largeModalWidth,i.open(e,n)},e.prototype.getRuleTypeName=function(i){return this.ruleTypes.has(i)?this.ruleTypes.get(i):i.toString()},e.prototype.closePopup=function(){this.dialogRef.close()},e.prototype.getLabel=function(i){var t=this.storageService.getLabelInfo(i);return t?" ("+t.label+")":""},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(wr),N(Vi))},e.\u0275cmp=Ke({type:e,selectors:[["app-route-details"]],decls:19,vars:16,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"div"),p(3,"div",1),p(4,"mat-icon",2),F(5,"list"),m(),F(6),V(7,"translate"),m(),p(8,"div",3),p(9,"span"),F(10),V(11,"translate"),m(),F(12),m(),p(13,"div",3),p(14,"span"),F(15),V(16,"translate"),m(),F(17),m(),K(18,Rte,26,21,"div",4),m(),m()),2&t&&(E("headline",U(1,8,"routes.details.title")),v(4),E("inline",!0),v(2),Ce("",U(7,10,"routes.details.basic.title")," "),v(4),be(U(11,12,"routes.details.basic.key")),v(2),Ce(" ",n.routeRule.key," "),v(3),be(U(16,14,"routes.details.basic.rule")),v(2),Ce(" ",n.routeRule.rule," "),v(1),E("ngIf",n.routeRule.ruleSummary))},directives:[vr,Cn,Ot],pipes:[wt],styles:[""]}),e}();function Nte(e,i){1&e&&(p(0,"span",14),F(1),V(2,"translate"),p(3,"mat-icon",15),V(4,"translate"),F(5,"help"),m(),m()),2&e&&(v(1),Ce(" ",U(2,3,"routes.title")," "),v(2),E("inline",!0)("matTooltip",U(4,5,"routes.info")))}function Yte(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),be(U(2,1,t.translatableValue))}}function Hte(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),be(t.value)}}function Vte(e,i){if(1&e&&(p(0,"div",19),p(1,"span"),F(2),V(3,"translate"),m(),K(4,Yte,3,3,"ng-container",20),K(5,Hte,2,1,"ng-container",20),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),E("ngIf",t.translatableValue),v(1),E("ngIf",t.value)}}function Bte(e,i){if(1&e){var t=nt();p(0,"div",16),we("click",function(){return Ae(t),J().dataFilterer.removeFilters()}),K(1,Vte,6,5,"div",17),p(2,"div",18),F(3),V(4,"translate"),m(),m()}if(2&e){var n=J();v(1),E("ngForOf",n.dataFilterer.currentFiltersTexts),v(2),be(U(4,2,"filters.press-to-remove"))}}function jte(e,i){if(1&e){var t=nt();p(0,"mat-icon",21),we("click",function(){return Ae(t),J().dataFilterer.changeFilters()}),V(1,"translate"),F(2,"filter_list"),m()}2&e&&E("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function Ute(e,i){1&e&&(p(0,"mat-icon",22),F(1,"more_horiz"),m()),2&e&&(J(),E("matMenuTriggerFor",Lr(9)))}var X1=function(e){return["/nodes",e,"routes"]};function zte(e,i){if(1&e&&Te(0,"app-paginator",23),2&e){var t=J();E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,X1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function Wte(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Gte(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function qte(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Kte(e,i){if(1&e&&(p(0,"mat-icon",36),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Jte(e,i){if(1&e){var t=nt();Ge(0),p(1,"td"),p(2,"app-labeled-element-text",41),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),p(3,"td"),p(4,"app-labeled-element-text",41),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),qe()}if(2&e){var n=J().$implicit,a=J(2);v(2),Tn("id",n.src),E("short",!0)("elementType",a.labeledElementTypes.Node),v(2),Tn("id",n.dst),E("short",!0)("elementType",a.labeledElementTypes.Node)}}function $te(e,i){if(1&e){var t=nt();Ge(0),p(1,"td"),F(2,"---"),m(),p(3,"td"),p(4,"app-labeled-element-text",42),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),qe()}if(2&e){var n=J().$implicit,a=J(2);v(4),Tn("id",n.dst),E("short",!0)("elementType",a.labeledElementTypes.Transport)}}function Qte(e,i){1&e&&(Ge(0),p(1,"td"),F(2,"---"),m(),p(3,"td"),F(4,"---"),m(),qe())}function Zte(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td",38),p(2,"mat-checkbox",39),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(3,"td"),F(4),m(),p(5,"td"),F(6),m(),K(7,Jte,5,6,"ng-container",20),K(8,$te,5,3,"ng-container",20),K(9,Qte,5,0,"ng-container",20),p(10,"td",29),p(11,"button",40),we("click",function(){var l=Ae(t).$implicit;return J(2).details(l)}),V(12,"translate"),p(13,"mat-icon",36),F(14,"visibility"),m(),m(),p(15,"button",40),we("click",function(){var l=Ae(t).$implicit;return J(2).delete(l.key)}),V(16,"translate"),p(17,"mat-icon",36),F(18,"close"),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(2),E("checked",a.selections.get(n.key)),v(2),Ce(" ",n.key," "),v(2),Ce(" ",a.getTypeName(n.type)," "),v(1),E("ngIf",n.appFields||n.forwardFields),v(1),E("ngIf",!n.appFields&&!n.forwardFields&&n.intermediaryForwardFields),v(1),E("ngIf",!n.appFields&&!n.forwardFields&&!n.intermediaryForwardFields),v(2),E("matTooltip",U(12,10,"routes.details.title")),v(2),E("inline",!0),v(2),E("matTooltip",U(16,12,"routes.delete")),v(2),E("inline",!0)}}function Xte(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"tables.label")))}function ene(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"tables.inverted-order")))}function tne(e,i){if(1&e){var t=nt();Ge(0),p(1,"div",44),p(2,"span",1),F(3),V(4,"translate"),m(),F(5,": "),p(6,"app-labeled-element-text",47),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),p(7,"div",44),p(8,"span",1),F(9),V(10,"translate"),m(),F(11,": "),p(12,"app-labeled-element-text",47),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),qe()}if(2&e){var n=J().$implicit,a=J(2);v(3),be(U(4,6,"routes.source")),v(3),Tn("id",n.src),E("elementType",a.labeledElementTypes.Node),v(3),be(U(10,8,"routes.destination")),v(3),Tn("id",n.dst),E("elementType",a.labeledElementTypes.Node)}}function nne(e,i){if(1&e){var t=nt();Ge(0),p(1,"div",44),p(2,"span",1),F(3),V(4,"translate"),m(),F(5,": --- "),m(),p(6,"div",44),p(7,"span",1),F(8),V(9,"translate"),m(),F(10,": "),p(11,"app-labeled-element-text",47),we("labelEdited",function(){return Ae(t),J(3).refreshData()}),m(),m(),qe()}if(2&e){var n=J().$implicit,a=J(2);v(3),be(U(4,4,"routes.source")),v(5),be(U(9,6,"routes.destination")),v(3),Tn("id",n.dst),E("elementType",a.labeledElementTypes.Transport)}}function rne(e,i){1&e&&(Ge(0),p(1,"div",44),p(2,"span",1),F(3),V(4,"translate"),m(),F(5,": --- "),m(),p(6,"div",44),p(7,"span",1),F(8),V(9,"translate"),m(),F(10,": --- "),m(),qe()),2&e&&(v(3),be(U(4,2,"routes.source")),v(5),be(U(9,4,"routes.destination")))}function ine(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td"),p(2,"div",33),p(3,"div",43),p(4,"mat-checkbox",39),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(5,"div",34),p(6,"div",44),p(7,"span",1),F(8),V(9,"translate"),m(),F(10),m(),p(11,"div",44),p(12,"span",1),F(13),V(14,"translate"),m(),F(15),m(),K(16,tne,13,10,"ng-container",20),K(17,nne,12,8,"ng-container",20),K(18,rne,11,6,"ng-container",20),m(),Te(19,"div",45),p(20,"div",35),p(21,"button",46),we("click",function(s){var u=Ae(t).$implicit,d=J(2);return s.stopPropagation(),d.showOptionsDialog(u)}),V(22,"translate"),p(23,"mat-icon"),F(24),m(),m(),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(4),E("checked",a.selections.get(n.key)),v(4),be(U(9,10,"routes.key")),v(2),Ce(": ",n.key," "),v(3),be(U(14,12,"routes.type")),v(2),Ce(": ",a.getTypeName(n.type)," "),v(1),E("ngIf",n.appFields||n.forwardFields),v(1),E("ngIf",!n.appFields&&!n.forwardFields&&n.intermediaryForwardFields),v(1),E("ngIf",!n.appFields&&!n.forwardFields&&!n.intermediaryForwardFields),v(3),E("matTooltip",U(22,14,"common.options")),v(3),be("add")}}function ane(e,i){if(1&e&&Te(0,"app-view-all-link",48),2&e){var t=J(2);E("numberOfElements",t.filteredRoutes.length)("linkParts",et(3,X1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var one=function(e,i){return{"small-node-list-margins":e,"full-node-list-margins":i}},sne=function(e){return{"d-lg-none d-xl-table":e}},lne=function(e){return{"d-lg-table d-xl-none":e}};function une(e,i){if(1&e){var t=nt();p(0,"div",24),p(1,"div",25),p(2,"table",26),p(3,"tr"),Te(4,"th"),p(5,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.keySortData)}),F(6),V(7,"translate"),K(8,Wte,2,2,"mat-icon",28),m(),p(9,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.typeSortData)}),F(10),V(11,"translate"),K(12,Gte,2,2,"mat-icon",28),m(),p(13,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.sourceSortData)}),F(14),V(15,"translate"),K(16,qte,2,2,"mat-icon",28),m(),p(17,"th",27),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.destinationSortData)}),F(18),V(19,"translate"),K(20,Kte,2,2,"mat-icon",28),m(),Te(21,"th",29),m(),K(22,Zte,19,14,"tr",30),m(),p(23,"table",31),p(24,"tr",32),we("click",function(){return Ae(t),J().dataSorter.openSortingOrderModal()}),p(25,"td"),p(26,"div",33),p(27,"div",34),p(28,"div",1),F(29),V(30,"translate"),m(),p(31,"div"),F(32),V(33,"translate"),K(34,Xte,3,3,"ng-container",20),K(35,ene,3,3,"ng-container",20),m(),m(),p(36,"div",35),p(37,"mat-icon",36),F(38,"keyboard_arrow_down"),m(),m(),m(),m(),m(),K(39,ine,25,16,"tr",30),m(),K(40,ane,1,5,"app-view-all-link",37),m(),m()}if(2&e){var n=J();v(1),E("ngClass",Dn(31,one,n.showShortList_,!n.showShortList_)),v(1),E("ngClass",et(34,sne,n.showShortList_)),v(4),Ce(" ",U(7,19,"routes.key")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.keySortData),v(2),Ce(" ",U(11,21,"routes.type")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.typeSortData),v(2),Ce(" ",U(15,23,"routes.source")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.sourceSortData),v(2),Ce(" ",U(19,25,"routes.destination")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.destinationSortData),v(2),E("ngForOf",n.dataSource),v(1),E("ngClass",et(36,lne,n.showShortList_)),v(6),be(U(30,27,"tables.sorting-title")),v(3),Ce("",U(33,29,n.dataSorter.currentSortingColumn.label)," "),v(2),E("ngIf",n.dataSorter.currentlySortingByLabel),v(1),E("ngIf",n.dataSorter.sortingInReverseOrder),v(2),E("inline",!0),v(2),E("ngForOf",n.dataSource),v(1),E("ngIf",n.showShortList_&&n.numberOfPages>1)}}function cne(e,i){1&e&&(p(0,"span",52),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"routes.empty")))}function dne(e,i){1&e&&(p(0,"span",52),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"routes.empty-with-filter")))}function fne(e,i){if(1&e&&(p(0,"div",24),p(1,"div",49),p(2,"mat-icon",50),F(3,"warning"),m(),K(4,cne,3,3,"span",51),K(5,dne,3,3,"span",51),m(),m()),2&e){var t=J();v(2),E("inline",!0),v(2),E("ngIf",0===t.allRoutes.length),v(1),E("ngIf",0!==t.allRoutes.length)}}function hne(e,i){if(1&e&&Te(0,"app-paginator",23),2&e){var t=J();E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,X1,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var pne=function(e){return{"paginator-icons-fixer":e}},lI=function(){function e(i,t,n,a,o,s,l){var u=this;this.routeService=i,this.dialog=t,this.route=n,this.router=a,this.snackbarService=o,this.translateService=s,this.storageService=l,this.listId="rl",this.keySortData=new Ln(["key"],"routes.key",un.Number),this.typeSortData=new Ln(["type"],"routes.type",un.Number),this.sourceSortData=new Ln(["src"],"routes.source",un.Text,["src_label"]),this.destinationSortData=new Ln(["dst"],"routes.destination",un.Text,["dst_label"]),this.labeledElementTypes=ta,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:dr.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:dr.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:dr.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new td(this.dialog,this.translateService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){u.recalculateElementsToShow()});var y={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:dr.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach(function(T,I){y.printableLabelsForValues.push({value:I+"",label:T})}),this.filterProperties=[y].concat(this.filterProperties),this.dataFilterer=new rd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(T){u.filteredRoutes=T,u.dataSorter.setData(u.filteredRoutes)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(T){if(T.has("page")){var I=Number.parseInt(T.get("page"),10);(isNaN(I)||I<1)&&(I=1),u.currentPageInUrl=I,u.recalculateElementsToShow()}})}return Object.defineProperty(e.prototype,"showShortList",{set:function(i){this.showShortList_=i,this.dataSorter.setData(this.filteredRoutes)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"routes",{set:function(i){var t=this;this.allRoutes=i,this.allRoutes.forEach(function(n){if(n.type=n.ruleSummary.ruleType||0===n.ruleSummary.ruleType?n.ruleSummary.ruleType:"",n.appFields||n.forwardFields){var a=n.appFields?n.appFields.routeDescriptor:n.forwardFields.routeDescriptor;n.src=a.srcPk,n.src_label=Ss.getCompleteLabel(t.storageService,t.translateService,n.src),n.dst=a.dstPk,n.dst_label=Ss.getCompleteLabel(t.storageService,t.translateService,n.dst)}else n.intermediaryForwardFields?(n.src="",n.src_label="",n.dst=n.intermediaryForwardFields.nextTid,n.dst_label=Ss.getCompleteLabel(t.storageService,t.translateService,n.dst)):(n.src="",n.src_label="",n.dst="",n.dst_label="")}),this.dataFilterer.setData(this.allRoutes)},enumerable:!1,configurable:!0}),e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(i){return i.unsubscribe()}),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()},e.prototype.refreshData=function(){At.refreshCurrentDisplayedData()},e.prototype.getTypeName=function(i){return this.ruleTypes.has(i)?this.ruleTypes.get(i):"Unknown"},e.prototype.changeSelection=function(i){this.selections.get(i.key)?this.selections.set(i.key,!1):this.selections.set(i.key,!0)},e.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var i=!1;return this.selections.forEach(function(t){t&&(i=!0)}),i},e.prototype.changeAllSelections=function(i){var t=this;this.selections.forEach(function(n,a){t.selections.set(a,i)})},e.prototype.deleteSelected=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing();var n=[];i.selections.forEach(function(a,o){a&&n.push(o)}),i.deleteRecursively(n,t)})},e.prototype.showOptionsDialog=function(i){var t=this;Ui.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe(function(a){1===a?t.details(i):2===a&&t.delete(i.key)})},e.prototype.details=function(i){Fte.openDialog(this.dialog,i)},e.prototype.delete=function(i){var t=this,n=ln.createConfirmationDialog(this.dialog,"routes.delete-confirmation");n.componentInstance.operationAccepted.subscribe(function(){n.componentInstance.showProcessing(),t.operationSubscriptionsGroup.push(t.startDeleting(i).subscribe(function(){n.close(),At.refreshCurrentDisplayedData(),t.snackbarService.showDone("routes.deleted")},function(a){a=tn(a),n.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)}))})},e.prototype.recalculateElementsToShow=function(){var i=this;if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){var t=this.showShortList_?Gt.maxShortListElements:Gt.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=t*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(n,n+t);var o=new Map;this.routesToShow.forEach(function(l){o.set(l.key,!0),i.selections.has(l.key)||i.selections.set(l.key,!1)});var s=[];this.selections.forEach(function(l,u){o.has(u)||s.push(u)}),s.forEach(function(l){i.selections.delete(l)})}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow},e.prototype.startDeleting=function(i){return this.routeService.delete(At.getCurrentNodeKey(),i.toString())},e.prototype.deleteRecursively=function(i,t){var n=this;this.operationSubscriptionsGroup.push(this.startDeleting(i[i.length-1]).subscribe(function(){i.pop(),0===i.length?(t.close(),At.refreshCurrentDisplayedData(),n.snackbarService.showDone("routes.deleted")):n.deleteRecursively(i,t)},function(a){At.refreshCurrentDisplayedData(),a=tn(a),t.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)}))},e.\u0275fac=function(t){return new(t||e)(N(K1),N(Gn),N(ai),N(Zt),N(xn),N(si),N(Vi))},e.\u0275cmp=Ke({type:e,selectors:[["app-route-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",routes:"routes"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],["shortTextLength","7",3,"short","id","elementType","labelEdited"],["shortTextLength","5",3,"short","id","elementType","labelEdited"],[1,"check-part"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),K(2,Nte,6,7,"span",2),K(3,Bte,5,4,"div",3),m(),p(4,"div",4),p(5,"div",5),K(6,jte,3,4,"mat-icon",6),K(7,Ute,2,1,"mat-icon",7),p(8,"mat-menu",8,9),p(10,"div",10),we("click",function(){return n.changeAllSelections(!0)}),F(11),V(12,"translate"),m(),p(13,"div",10),we("click",function(){return n.changeAllSelections(!1)}),F(14),V(15,"translate"),m(),p(16,"div",11),we("click",function(){return n.deleteSelected()}),F(17),V(18,"translate"),m(),m(),m(),K(19,zte,1,6,"app-paginator",12),m(),m(),K(20,une,41,38,"div",13),K(21,fne,6,3,"div",13),K(22,hne,1,6,"app-paginator",12)),2&t&&(E("ngClass",et(20,pne,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)),v(2),E("ngIf",n.showShortList_),v(1),E("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0),v(3),E("ngIf",n.allRoutes&&n.allRoutes.length>0),v(1),E("ngIf",n.dataSource&&n.dataSource.length>0),v(1),E("overlapTrigger",!1),v(3),Ce(" ",U(12,14,"selection.select-all")," "),v(3),Ce(" ",U(15,16,"selection.unselect-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(18,18,"selection.delete-all")," "),v(2),E("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource),v(1),E("ngIf",n.dataSource&&n.dataSource.length>0),v(1),E("ngIf",!n.dataSource||0===n.dataSource.length),v(1),E("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource))},directives:[Cr,Ot,sd,Ts,Cn,cr,xr,ld,cd,ol,bi,Ss,rg],pipes:[wt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),e}(),mne=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){i.nodePK=t.localPk,i.node=t,i.routes=t.routes})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-routing"]],decls:2,vars:5,consts:[[3,"node","showShortList"],[3,"routes","showShortList","nodePK"]],template:function(t,n){1&t&&(Te(0,"app-transport-list",0),Te(1,"app-route-list",1)),2&t&&(E("node",n.node)("showShortList",!0),v(1),E("routes",n.routes)("showShortList",!0)("nodePK",n.nodePK))},directives:[sI,lI],styles:[""]}),e}();function vne(e,i){if(1&e&&(p(0,"mat-option",4),F(1),V(2,"translate"),m()),2&e){var t=i.$implicit;E("value",t.days),v(1),be(U(2,2,t.text))}}var gne=function(){function e(i,t,n){this.data=i,this.dialogRef=t,this.formBuilder=n}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.smallModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.filters=[{text:"apps.log.filter.7-days",days:7},{text:"apps.log.filter.1-month",days:30},{text:"apps.log.filter.3-months",days:90},{text:"apps.log.filter.6-months",days:180},{text:"apps.log.filter.1-year",days:365},{text:"apps.log.filter.all",days:-1}],this.form=this.formBuilder.group({filter:[this.data.days]}),this.formSubscription=this.form.get("filter").valueChanges.subscribe(function(t){i.dialogRef.close(i.filters.find(function(n){return n.days===t}))})},e.prototype.ngOnDestroy=function(){this.formSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(wr),N(ia))},e.\u0275cmp=Ke({type:e,selectors:[["app-log-filter"]],decls:7,vars:8,consts:[[3,"headline"],[3,"formGroup"],["formControlName","filter",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"form",1),p(3,"mat-form-field"),p(4,"mat-select",2),V(5,"translate"),K(6,vne,3,4,"mat-option",3),m(),m(),m(),m()),2&t&&(E("headline",U(1,4,"apps.log.filter.title")),v(2),E("formGroup",n.form),v(2),E("placeholder",U(5,6,"apps.log.filter.filter")),v(2),E("ngForOf",n.filters))},directives:[vr,$r,Jr,mr,ki,wh,Kr,zr,xr,Qc],pipes:[wt],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),e}(),_ne=["content"];function yne(e,i){if(1&e&&(p(0,"div",8),p(1,"span",3),F(2),m(),F(3),m()),2&e){var t=i.$implicit;v(2),Ce(" ",t.time," "),v(1),Ce(" ",t.msg," ")}}function bne(e,i){1&e&&(p(0,"div",9),F(1),V(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"apps.log.empty")," "))}function kne(e,i){1&e&&Te(0,"app-loading-indicator",10),2&e&&E("showWhite",!1)}var Cne=function(){function e(i,t,n,a){this.data=i,this.appsService=t,this.dialog=n,this.snackbarService=a,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.largeModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){this.loadData(0)},e.prototype.ngOnDestroy=function(){this.removeSubscription()},e.prototype.filter=function(){var i=this;gne.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe(function(t){t&&(i.currentFilter=t,i.logMessages=[],i.loadData(0))})},e.prototype.loadData=function(i){var t=this;this.removeSubscription(),this.loading=!0,this.subscription=Qe(1).pipe(ci(i),Sn(function(){return t.appsService.getLogMessages(At.getCurrentNodeKey(),t.data.name,t.currentFilter.days)})).subscribe(function(n){return t.onLogsReceived(n)},function(n){return t.onLogsError(n)})},e.prototype.removeSubscription=function(){this.subscription&&this.subscription.unsubscribe()},e.prototype.onLogsReceived=function(i){var t=this;void 0===i&&(i=[]),this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),i.forEach(function(n){var a=n.startsWith("[")?0:-1,o=-1!==a?n.indexOf("]"):-1;t.logMessages.push(-1!==a&&-1!==o?{time:n.substr(a,o+1),msg:n.substr(o+1)}:{time:"",msg:n})}),setTimeout(function(){t.content.nativeElement.scrollTop=t.content.nativeElement.scrollHeight})},e.prototype.onLogsError=function(i){i=tn(i),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,i),this.shouldShowError=!1),this.loadData(Gt.connectionRetryDelay)},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(ad),N(Gn),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-log"]],viewQuery:function(t,n){var a;(1&t&&_t(_ne,5),2&t)&&(it(a=at())&&(n.content=a.first))},decls:16,vars:14,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea"],[1,"filter-link-container"],[1,"filter-link","subtle-transparent-button",3,"click"],[1,"transparent"],["content",""],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"app-log-message"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"div",1),p(3,"div",2),we("click",function(){return n.filter()}),p(4,"span",3),F(5),V(6,"translate"),m(),F(7,"\xa0 "),p(8,"span"),F(9),V(10,"translate"),m(),m(),m(),p(11,"mat-dialog-content",null,4),K(13,yne,4,2,"div",5),K(14,bne,3,3,"div",6),K(15,kne,1,1,"app-loading-indicator",7),m(),m()),2&t&&(E("headline",U(1,8,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1),v(5),be(U(6,10,"apps.log.filter-button")),v(4),be(U(10,12,n.currentFilter.text)),v(4),E("ngForOf",n.logMessages),v(1),E("ngIf",!(n.loading||n.logMessages&&0!==n.logMessages.length)),v(1),E("ngIf",n.loading))},directives:[vr,k1,xr,Ot,ws],pipes:[wt],styles:[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.app-log-message[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.app-log-message[_ngcontent-%COMP%]:first-of-type{margin-top:0}.app-log-message[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.filter-link-container[_ngcontent-%COMP%]{text-align:center;margin:15px 0}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%]{display:inline-block;background:#F8F9F9;padding:5px 10px;border-radius:1000px;font-size:.875rem;text-align:center;color:#215f9e;cursor:pointer}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:rgba(33,95,158,.502)}"]}),e}(),Mne=["button"],wne=["firstInput"];function Sne(e,i){if(1&e){var t=nt();p(0,"div",8),p(1,"mat-checkbox",9),we("change",function(o){return Ae(t),J().setSecureMode(o)}),F(2),V(3,"translate"),p(4,"mat-icon",10),V(5,"translate"),F(6,"help"),m(),m(),m()}if(2&e){var n=J();v(1),E("checked",n.secureMode),v(1),Ce(" ",U(3,4,"apps.vpn-socks-server-settings.secure-mode-check")," "),v(2),E("inline",!0)("matTooltip",U(5,6,"apps.vpn-socks-server-settings.secure-mode-info"))}}var Tne=function(){function e(i,t,n,a,o,s){if(this.data=i,this.appsService=t,this.formBuilder=n,this.dialogRef=a,this.snackbarService=o,this.dialog=s,this.configuringVpn=!1,this.secureMode=!1,-1!==i.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0),this.data.args&&this.data.args.length>0)for(var l=0;l0),v(2),E("placeholder",U(6,8,"apps.vpn-socks-client-settings.filter-dialog.location")),v(3),E("placeholder",U(9,10,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),v(4),Ce(" ",U(13,12,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},directives:[vr,$r,Jr,mr,Ot,ki,qr,aa,Kr,zr,ji,ui,wh,Qc,xr,Y$],pipes:[wt],styles:[""]}),e}(),Yne=["firstInput"],Hne=function(){function e(i,t){this.dialogRef=i,this.formBuilder=t}return e.openDialog=function(i){var t=new Zn;return t.autoFocus=!1,t.width=Gt.smallModalWidth,i.open(e,t)},e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({password:[""]}),setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.finish=function(){var i=this.form.get("password").value;this.dialogRef.close("-"+i)},e.\u0275fac=function(t){return new(t||e)(N(wr),N(ia))},e.\u0275cmp=Ke({type:e,selectors:[["app-skysocks-client-password"]],viewQuery:function(t,n){var a;(1&t&&_t(Yne,5),2&t)&&(it(a=at())&&(n.firstInput=a.first))},decls:13,vars:13,consts:[[3,"headline"],[3,"formGroup"],[1,"info"],["type","password","id","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"form",1),p(3,"div",2),F(4),V(5,"translate"),m(),p(6,"mat-form-field"),Te(7,"input",3,4),V(9,"translate"),m(),m(),p(10,"app-button",5),we("action",function(){return n.finish()}),F(11),V(12,"translate"),m(),m()),2&t&&(E("headline",U(1,5,"apps.vpn-socks-client-settings.password-dialog.title")),v(2),E("formGroup",n.form),v(2),be(U(5,7,"apps.vpn-socks-client-settings.password-dialog.info")),v(3),E("placeholder",U(9,9,"apps.vpn-socks-client-settings.password-dialog.password")),v(4),Ce(" ",U(12,11,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,ji,ui],pipes:[wt],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),e}(),Vne=function(){function e(i){this.http=i,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type="}return e.prototype.getServices=function(i){var t=[];return this.http.get(this.discoveryServiceUrl+(i?"proxy":"vpn")).pipe(id(function(n){return n.pipe(ci(4e3))}),$e(function(n){return n.forEach(function(a){var o=new QJ,s=a.address.split(":");2===s.length&&(o.address=a.address,o.pk=s[0],o.port=s[1],o.location="",a.geo&&(a.geo.country&&(o.country=a.geo.country,o.location+=Ds[a.geo.country.toUpperCase()]?Ds[a.geo.country.toUpperCase()]:a.geo.country),a.geo.region&&a.geo.country&&(o.location+=", "),a.geo.region&&(o.region=a.geo.region,o.location+=o.region)),t.push(o))}),t}))},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(Ks))},providedIn:"root"}),e}();function Bne(e,i){1&e&&jn(0)}var e0=["*"];function jne(e,i){}var Une=function(i){return{animationDuration:i}},zne=function(i,t){return{value:i,params:t}},Wne=["tabBodyWrapper"],Gne=["tabHeader"];function qne(e,i){}function Kne(e,i){1&e&&K(0,qne,0,0,"ng-template",9),2&e&&E("cdkPortalOutlet",J().$implicit.templateLabel)}function Jne(e,i){1&e&&F(0),2&e&&be(J().$implicit.textLabel)}function $ne(e,i){if(1&e){var t=nt();p(0,"div",6),we("click",function(){var l=Ae(t),u=l.$implicit,d=l.index,y=J(),T=Lr(1);return y._handleClick(u,T,d)})("cdkFocusChange",function(l){var d=Ae(t).index;return J()._tabFocusChanged(l,d)}),p(1,"div",7),K(2,Kne,1,1,"ng-template",8),K(3,Jne,1,1,"ng-template",8),m(),m()}if(2&e){var n=i.$implicit,a=i.index,o=J();Bt("mat-tab-label-active",o.selectedIndex==a),E("id",o._getTabLabelId(a))("disabled",n.disabled)("matRippleDisabled",n.disabled||o.disableRipple),Dt("tabIndex",o._getTabIndex(n,a))("aria-posinset",a+1)("aria-setsize",o._tabs.length)("aria-controls",o._getTabContentId(a))("aria-selected",o.selectedIndex==a)("aria-label",n.ariaLabel||null)("aria-labelledby",!n.ariaLabel&&n.ariaLabelledby?n.ariaLabelledby:null),v(2),E("ngIf",n.templateLabel),v(1),E("ngIf",!n.templateLabel)}}function Qne(e,i){if(1&e){var t=nt();p(0,"mat-tab-body",10),we("_onCentered",function(){return Ae(t),J()._removeTabBodyWrapperHeight()})("_onCentering",function(l){return Ae(t),J()._setTabBodyWrapperHeight(l)}),m()}if(2&e){var n=i.$implicit,a=i.index,o=J();Bt("mat-tab-body-active",o.selectedIndex===a),E("id",o._getTabContentId(a))("content",n.content)("position",n.position)("origin",n.origin)("animationDuration",o.animationDuration),Dt("tabindex",null!=o.contentTabIndex&&o.selectedIndex===a?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(a))}}var cI=["tabListContainer"],dI=["tabList"],fI=["nextPaginator"],hI=["previousPaginator"],Xne=new Ze("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),ig=function(){var e=function(){function i(t,n,a,o){c(this,i),this._elementRef=t,this._ngZone=n,this._inkBarPositioner=a,this._animationMode=o}return f(i,[{key:"alignToElement",value:function(n){var a=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return a._setStyles(n)})}):this._setStyles(n)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(n){var a=this._inkBarPositioner(n),o=this._elementRef.nativeElement;o.style.left=a.left,o.style.width=a.width}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(vt),N(Xne),N(Mr,8))},e.\u0275dir=Ve({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,n){2&t&&Bt("_mat-animation-noopable","NoopAnimations"===n._animationMode)}}),e}(),pI=new Ze("MatTabContent"),mI=new Ze("MatTabLabel"),tre=Xs(function(){return function e(){c(this,e)}}()),vI=new Ze("MAT_TAB_GROUP"),gI=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o){var s;return c(this,n),(s=t.call(this))._viewContainerRef=a,s._closestTabGroup=o,s.textLabel="",s._contentPortal=null,s._stateChanges=new Ie,s.position=null,s.origin=null,s.isActive=!1,s}return f(n,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(o){this._setTemplateLabelInput(o)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(o){(o.hasOwnProperty("textLabel")||o.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new Qs(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(o){o&&(this._templateLabel=o)}}]),n}(tre);return e.\u0275fac=function(t){return new(t||e)(N(kr),N(vI,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-tab"]],contentQueries:function(t,n,a){var o;1&t&&(ur(a,mI,5),ur(a,pI,7,Vr)),2&t&&(it(o=at())&&(n.templateLabel=o.first),it(o=at())&&(n._explicitContent=o.first))},viewQuery:function(t,n){var a;1&t&&_t(Vr,7),2&t&&it(a=at())&&(n._implicitContent=a.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[ht,Jn],ngContentSelectors:e0,decls:1,vars:0,template:function(t,n){1&t&&(ri(),K(0,Bne,1,0,"ng-template"))},encapsulation:2}),e}(),nre={translateTab:gs("translateTab",[Hi("center, void, left-origin-center, right-origin-center",bn({transform:"none"})),Hi("left",bn({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Hi("right",bn({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),gi("* => left, * => right, left => center, right => center",Yi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),gi("void => left-origin-center",[bn({transform:"translate3d(-100%, 0, 0)"}),Yi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),gi("void => right-origin-center",[bn({transform:"translate3d(100%, 0, 0)"}),Yi("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},rre=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l){var u;return c(this,n),(u=t.call(this,a,o,l))._host=s,u._centeringSub=He.EMPTY,u._leavingSub=He.EMPTY,u}return f(n,[{key:"ngOnInit",value:function(){var o=this;D(x(n.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(_i(this._host._isCenterPosition(this._host._position))).subscribe(function(s){s&&!o.hasAttached()&&o.attach(o._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){o.detach()})}},{key:"ngOnDestroy",value:function(){D(x(n.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),n}(Cs);return e.\u0275fac=function(t){return new(t||e)(N(Yo),N(kr),N(fn(function(){return _I})),N(dt))},e.\u0275dir=Ve({type:e,selectors:[["","matTabBodyHost",""]],features:[ht]}),e}(),ire=function(){var e=function(){function i(t,n,a){var o=this;c(this,i),this._elementRef=t,this._dir=n,this._dirChangeSubscription=He.EMPTY,this._translateTabComplete=new Ie,this._onCentering=new mt,this._beforeCentering=new mt,this._afterLeavingCenter=new mt,this._onCentered=new mt(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe(function(s){o._computePositionAnimationState(s),a.markForCheck()})),this._translateTabComplete.pipe(dv(function(s,l){return s.fromState===l.fromState&&s.toState===l.toState})).subscribe(function(s){o._isCenterPosition(s.toState)&&o._isCenterPosition(o._position)&&o._onCentered.emit(),o._isCenterPosition(s.fromState)&&!o._isCenterPosition(o._position)&&o._afterLeavingCenter.emit()})}return f(i,[{key:"position",set:function(n){this._positionIndex=n,this._computePositionAnimationState()}},{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(n){var a=this._isCenterPosition(n.toState);this._beforeCentering.emit(a),a&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(n){return"center"==n||"left-origin-center"==n||"right-origin-center"==n}},{key:"_computePositionAnimationState",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==n?"left":"right":this._positionIndex>0?"ltr"==n?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(n){var a=this._getLayoutDirection();return"ltr"==a&&n<=0||"rtl"==a&&n>0?"left-origin-center":"right-origin-center"}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(jr,8),N(Nn))},e.\u0275dir=Ve({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e}(),_I=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s){return c(this,n),t.call(this,a,o,s)}return n}(ire);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(jr,8),N(Nn))},e.\u0275cmp=Ke({type:e,selectors:[["mat-tab-body"]],viewQuery:function(t,n){var a;1&t&&_t(Cs,5),2&t&&it(a=at())&&(n._portalHost=a.first)},hostAttrs:[1,"mat-tab-body"],features:[ht],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,n){1&t&&(p(0,"div",0,1),we("@translateTab.start",function(o){return n._onTranslateTabStarted(o)})("@translateTab.done",function(o){return n._translateTabComplete.next(o)}),K(2,jne,0,0,"ng-template",2),m()),2&t&&E("@translateTab",Dn(3,zne,n._position,et(1,Une,n.animationDuration)))},directives:[rre],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[nre.translateTab]}}),e}(),yI=new Ze("MAT_TABS_CONFIG"),are=0,ore=function e(){c(this,e)},sre=Xl($c(function(){return function e(i){c(this,e),this._elementRef=i}}()),"primary"),lre=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l){var u,d;return c(this,n),(u=t.call(this,a))._changeDetectorRef=o,u._animationMode=l,u._tabs=new Sc,u._indexToSelect=0,u._tabBodyWrapperHeight=0,u._tabsSubscription=He.EMPTY,u._tabLabelSubscription=He.EMPTY,u._selectedIndex=null,u.headerPosition="above",u.selectedIndexChange=new mt,u.focusChange=new mt,u.animationDone=new mt,u.selectedTabChange=new mt(!0),u._groupId=are++,u.animationDuration=s&&s.animationDuration?s.animationDuration:"500ms",u.disablePagination=!(!s||null==s.disablePagination)&&s.disablePagination,u.dynamicHeight=!(!s||null==s.dynamicHeight)&&s.dynamicHeight,u.contentTabIndex=null!==(d=null==s?void 0:s.contentTabIndex)&&void 0!==d?d:null,u}return f(n,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(o){this._dynamicHeight=kn(o)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(o){this._indexToSelect=yi(o,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(o){this._animationDuration=/^\d+$/.test(o)?o+"ms":o}},{key:"contentTabIndex",get:function(){return this._contentTabIndex},set:function(o){this._contentTabIndex=yi(o,null)}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(o){var s=this._elementRef.nativeElement;s.classList.remove("mat-background-".concat(this.backgroundColor)),o&&s.classList.add("mat-background-".concat(o)),this._backgroundColor=o}},{key:"ngAfterContentChecked",value:function(){var o=this,s=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=s){var l=null==this._selectedIndex;if(!l){this.selectedTabChange.emit(this._createChangeEvent(s));var u=this._tabBodyWrapper.nativeElement;u.style.minHeight=u.clientHeight+"px"}Promise.resolve().then(function(){o._tabs.forEach(function(d,y){return d.isActive=y===s}),l||(o.selectedIndexChange.emit(s),o._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(d,y){d.position=y-s,null!=o._selectedIndex&&0==d.position&&!d.origin&&(d.origin=s-o._selectedIndex)}),this._selectedIndex!==s&&(this._selectedIndex=s,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var o=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(o._clampTabIndex(o._indexToSelect)===o._selectedIndex)for(var l=o._tabs.toArray(),u=0;u.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),e}(),cre=Xs(function(){return function e(){c(this,e)}}()),bI=function(){var e=function(i){h(n,i);var t=C(n);function n(a){var o;return c(this,n),(o=t.call(this)).elementRef=a,o}return f(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),n}(cre);return e.\u0275fac=function(t){return new(t||e)(N(pt))},e.\u0275dir=Ve({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,n){2&t&&(Dt("aria-disabled",!!n.disabled),Bt("mat-tab-disabled",n.disabled))},inputs:{disabled:"disabled"},features:[ht]}),e}(),kI=$l({passive:!0}),MI=function(){var e=function(){function i(t,n,a,o,s,l,u){var d=this;c(this,i),this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=a,this._dir=o,this._ngZone=s,this._platform=l,this._animationMode=u,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new Ie,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new Ie,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new mt,this.indexFocused=new mt,s.runOutsideAngular(function(){ks(t.nativeElement,"mouseleave").pipe(rn(d._destroyed)).subscribe(function(){d._stopInterval()})})}return f(i,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(n){n=yi(n),this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItem(n))}},{key:"ngAfterViewInit",value:function(){var n=this;ks(this._previousPaginator.nativeElement,"touchstart",kI).pipe(rn(this._destroyed)).subscribe(function(){n._handlePaginatorPress("before")}),ks(this._nextPaginator.nativeElement,"touchstart",kI).pipe(rn(this._destroyed)).subscribe(function(){n._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var n=this,a=this._dir?this._dir.change:Qe("ltr"),o=this._viewportRuler.change(150),s=function(){n.updatePagination(),n._alignInkBarToSelectedTab()};this._keyManager=new dP(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(s):s(),wi(a,o,this._items.changes).pipe(rn(this._destroyed)).subscribe(function(){n._ngZone.run(function(){return Promise.resolve().then(s)}),n._keyManager.withHorizontalOrientation(n._getLayoutDirection())}),this._keyManager.change.pipe(rn(this._destroyed)).subscribe(function(l){n.indexFocused.emit(l),n._setTabFocus(l)})}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(n){if(!Ms(n))switch(n.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(n));break;default:this._keyManager.onKeydown(n)}}},{key:"_onContentChanges",value:function(){var n=this,a=this._elementRef.nativeElement.textContent;a!==this._currentTextContent&&(this._currentTextContent=a||"",this._ngZone.run(function(){n.updatePagination(),n._alignInkBarToSelectedTab(),n._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(n){!this._isValidIndex(n)||this.focusIndex===n||!this._keyManager||this._keyManager.setActiveItem(n)}},{key:"_isValidIndex",value:function(n){if(!this._items)return!0;var a=this._items?this._items.toArray()[n]:null;return!!a&&!a.disabled}},{key:"_setTabFocus",value:function(n){if(this._showPaginationControls&&this._scrollToLabel(n),this._items&&this._items.length){this._items.toArray()[n].focus();var a=this._tabListContainer.nativeElement,o=this._getLayoutDirection();a.scrollLeft="ltr"==o?0:a.scrollWidth-a.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var n=this.scrollDistance,a="ltr"===this._getLayoutDirection()?-n:n;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(a),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(n){this._scrollTo(n)}},{key:"_scrollHeader",value:function(n){return this._scrollTo(this._scrollDistance+("before"==n?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(n){this._stopInterval(),this._scrollHeader(n)}},{key:"_scrollToLabel",value:function(n){if(!this.disablePagination){var a=this._items?this._items.toArray()[n]:null;if(a){var d,y,o=this._tabListContainer.nativeElement.offsetWidth,s=a.elementRef.nativeElement,l=s.offsetLeft,u=s.offsetWidth;"ltr"==this._getLayoutDirection()?y=(d=l)+u:d=(y=this._tabList.nativeElement.offsetWidth-l)-u;var T=this.scrollDistance,I=this.scrollDistance+o;dI&&(this.scrollDistance+=y-I+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var n=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;n||(this.scrollDistance=0),n!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=n}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var n=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,a=n?n.elementRef.nativeElement:null;a?this._inkBar.alignToElement(a):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(n,a){var o=this;a&&null!=a.button&&0!==a.button||(this._stopInterval(),fv(650,100).pipe(rn(wi(this._stopScrolling,this._destroyed))).subscribe(function(){var s=o._scrollHeader(n),u=s.distance;(0===u||u>=s.maxScrollDistance)&&o._stopInterval()}))}},{key:"_scrollTo",value:function(n){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var a=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(a,n)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:a,distance:this._scrollDistance}}}]),i}();return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(fo),N(jr,8),N(vt),N(Qt),N(Mr,8))},e.\u0275dir=Ve({type:e,inputs:{disablePagination:"disablePagination"}}),e}(),hre=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y){var T;return c(this,n),(T=t.call(this,a,o,s,l,u,d,y))._disableRipple=!1,T}return f(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(o){this._disableRipple=kn(o)}},{key:"_itemSelected",value:function(o){o.preventDefault()}}]),n}(MI);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(fo),N(jr,8),N(vt),N(Qt),N(Mr,8))},e.\u0275dir=Ve({type:e,inputs:{disableRipple:"disableRipple"},features:[ht]}),e}(),pre=function(){var e=function(i){h(n,i);var t=C(n);function n(a,o,s,l,u,d,y){return c(this,n),t.call(this,a,o,s,l,u,d,y)}return n}(hre);return e.\u0275fac=function(t){return new(t||e)(N(pt),N(Nn),N(fo),N(jr,8),N(vt),N(Qt),N(Mr,8))},e.\u0275cmp=Ke({type:e,selectors:[["mat-tab-header"]],contentQueries:function(t,n,a){var o;1&t&&ur(a,bI,4),2&t&&it(o=at())&&(n._items=o)},viewQuery:function(t,n){var a;1&t&&(_t(ig,7),_t(cI,7),_t(dI,7),_t(fI,5),_t(hI,5)),2&t&&(it(a=at())&&(n._inkBar=a.first),it(a=at())&&(n._tabListContainer=a.first),it(a=at())&&(n._tabList=a.first),it(a=at())&&(n._nextPaginator=a.first),it(a=at())&&(n._previousPaginator=a.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,n){2&t&&Bt("mat-tab-header-pagination-controls-enabled",n._showPaginationControls)("mat-tab-header-rtl","rtl"==n._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ht],ngContentSelectors:e0,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,n){1&t&&(ri(),p(0,"div",0,1),we("click",function(){return n._handlePaginatorClick("before")})("mousedown",function(o){return n._handlePaginatorPress("before",o)})("touchend",function(){return n._stopInterval()}),Te(2,"div",2),m(),p(3,"div",3,4),we("keydown",function(o){return n._handleKeydown(o)}),p(5,"div",5,6),we("cdkObserveContent",function(){return n._onContentChanges()}),p(7,"div",7),jn(8),m(),Te(9,"mat-ink-bar"),m(),m(),p(10,"div",8,9),we("mousedown",function(o){return n._handlePaginatorPress("after",o)})("click",function(){return n._handlePaginatorClick("after")})("touchend",function(){return n._stopInterval()}),Te(12,"div",2),m()),2&t&&(Bt("mat-tab-header-pagination-disabled",n._disableScrollBefore),E("matRippleDisabled",n._disableScrollBefore||n.disableRipple),v(5),Bt("_mat-animation-noopable","NoopAnimations"===n._animationMode),v(5),Bt("mat-tab-header-pagination-disabled",n._disableScrollAfter),E("matRippleDisabled",n._disableScrollAfter||n.disableRipple))},directives:[Go,Mv,ig],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e}(),yre=function(){var e=function i(){c(this,i)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[Bo,mn,gv,lh,wv,SP],mn]}),e}(),bre=["button"],kre=["settingsButton"],Cre=["firstInput"];function Mre(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),Ce(" ",U(2,1,"apps.vpn-socks-client-settings.remote-key-length-error")," "))}function wre(e,i){1&e&&(F(0),V(1,"translate")),2&e&&Ce(" ",U(1,1,"apps.vpn-socks-client-settings.remote-key-chars-error")," ")}function Sre(e,i){1&e&&(p(0,"mat-form-field"),Te(1,"input",20),V(2,"translate"),m()),2&e&&(v(1),E("placeholder",U(2,1,"apps.vpn-socks-client-settings.password")))}function Tre(e,i){1&e&&(p(0,"div",21),p(1,"mat-icon",22),F(2,"warning"),m(),F(3),V(4,"translate"),m()),2&e&&(v(1),E("inline",!0),v(2),Ce(" ",U(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function Dre(e,i){1&e&&Te(0,"app-loading-indicator",23),2&e&&E("showWhite",!1)}function Ere(e,i){1&e&&(p(0,"div",24),p(1,"mat-icon",22),F(2,"error"),m(),F(3),V(4,"translate"),m()),2&e&&(v(1),E("inline",!0),v(2),Ce(" ",U(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function Lre(e,i){1&e&&(p(0,"div",31),F(1),V(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function Pre(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),be(U(2,1,t[1]))}}function Ore(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),be(t[2])}}function xre(e,i){if(1&e&&(p(0,"div",31),p(1,"span"),F(2),V(3,"translate"),m(),K(4,Pre,3,3,"ng-container",7),K(5,Ore,2,1,"ng-container",7),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t[0])," "),v(2),E("ngIf",t[1]),v(1),E("ngIf",t[2])}}function Ire(e,i){1&e&&(p(0,"div",24),p(1,"mat-icon",22),F(2,"error"),m(),F(3),V(4,"translate"),m()),2&e&&(v(1),E("inline",!0),v(2),Ce(" ",U(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}var SI=function(e){return{highlighted:e}};function Are(e,i){if(1&e&&(Ge(0),p(1,"span",36),F(2),m(),qe()),2&e){var t=i.$implicit,n=i.index;v(1),E("ngClass",et(2,SI,n%2!=0)),v(1),be(t)}}function Rre(e,i){if(1&e&&(Ge(0),p(1,"div",37),Te(2,"div"),m(),qe()),2&e){var t=J(2).$implicit;v(2),nr("background-image: url('assets/img/flags/"+t.country.toLocaleLowerCase()+".png');")}}function Fre(e,i){if(1&e&&(Ge(0),p(1,"span",36),F(2),m(),qe()),2&e){var t=i.$implicit,n=i.index;v(1),E("ngClass",et(2,SI,n%2!=0)),v(1),be(t)}}function Nre(e,i){if(1&e&&(p(0,"div",31),p(1,"span"),F(2),V(3,"translate"),m(),p(4,"span"),F(5,"\xa0 "),K(6,Rre,3,2,"ng-container",7),K(7,Fre,3,4,"ng-container",34),m(),m()),2&e){var t=J().$implicit,n=J(2);v(2),be(U(3,3,"apps.vpn-socks-client-settings.location")),v(4),E("ngIf",t.country),v(1),E("ngForOf",n.getHighlightedTextParts(t.location,n.currentFilters.location))}}function Yre(e,i){if(1&e){var t=nt();p(0,"div",32),p(1,"button",25),we("click",function(){var l=Ae(t).$implicit;return J(2).saveChanges(l.pk,null,!1,l.location)}),p(2,"div",33),p(3,"div",31),p(4,"span"),F(5),V(6,"translate"),m(),p(7,"span"),F(8,"\xa0"),K(9,Are,3,4,"ng-container",34),m(),m(),K(10,Nre,8,5,"div",28),m(),m(),p(11,"button",35),we("click",function(){var l=Ae(t).$implicit;return J(2).copyPk(l.pk)}),V(12,"translate"),p(13,"mat-icon",22),F(14,"filter_none"),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(5),be(U(6,5,"apps.vpn-socks-client-settings.key")),v(4),E("ngForOf",a.getHighlightedTextParts(n.pk,a.currentFilters.key)),v(1),E("ngIf",n.location),v(1),E("matTooltip",U(12,7,"apps.vpn-socks-client-settings.copy-pk-info")),v(2),E("inline",!0)}}function Hre(e,i){if(1&e){var t=nt();Ge(0),p(1,"button",25),we("click",function(){return Ae(t),J().changeFilters()}),p(2,"div",26),p(3,"div",27),p(4,"mat-icon",22),F(5,"filter_list"),m(),m(),p(6,"div"),K(7,Lre,3,3,"div",28),K(8,xre,6,5,"div",29),p(9,"div",30),F(10),V(11,"translate"),m(),m(),m(),m(),K(12,Ire,5,4,"div",12),K(13,Yre,15,9,"div",14),qe()}if(2&e){var n=J();v(4),E("inline",!0),v(3),E("ngIf",0===n.currentFiltersTexts.length),v(1),E("ngForOf",n.currentFiltersTexts),v(2),be(U(11,6,"apps.vpn-socks-client-settings.click-to-change")),v(2),E("ngIf",0===n.filteredProxiesFromDiscovery.length),v(1),E("ngForOf",n.proxiesFromDiscoveryToShow)}}var Vre=function(e,i){return{currentElementsRange:e,totalElements:i}};function Bre(e,i){if(1&e){var t=nt();p(0,"div",38),p(1,"span"),F(2),V(3,"translate"),m(),p(4,"button",39),we("click",function(){return Ae(t),J().goToPreviousPage()}),p(5,"mat-icon"),F(6,"chevron_left"),m(),m(),p(7,"button",39),we("click",function(){return Ae(t),J().goToNextPage()}),p(8,"mat-icon"),F(9,"chevron_right"),m(),m(),m()}if(2&e){var n=J();v(2),be(Ht(3,1,"apps.vpn-socks-client-settings.pagination-info",Dn(4,Vre,n.currentRange,n.filteredProxiesFromDiscovery.length)))}}var jre=function(e){return{number:e}};function Ure(e,i){if(1&e&&(p(0,"div"),p(1,"div",24),p(2,"mat-icon",22),F(3,"error"),m(),F(4),V(5,"translate"),m(),m()),2&e){var t=J();v(2),E("inline",!0),v(2),Ce(" ",Ht(5,2,"apps.vpn-socks-client-settings.no-history",et(5,jre,t.maxHistoryElements))," ")}}function zre(e,i){1&e&&Dl(0)}function Wre(e,i){1&e&&Dl(0)}function Gre(e,i){if(1&e&&(Ge(0),p(1,"span"),F(2),m(),qe()),2&e){var t=J(2).$implicit;v(2),Ce(" ",t.note,"")}}function qre(e,i){1&e&&(Ge(0),p(1,"span"),F(2),V(3,"translate"),m(),qe()),2&e&&(v(2),Ce(" ",U(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function Kre(e,i){if(1&e&&(Ge(0),p(1,"span"),F(2),m(),qe()),2&e){var t=J(4).$implicit;v(2),Ce(" (",t.location,")")}}function Jre(e,i){if(1&e&&(Ge(0),p(1,"span"),F(2),V(3,"translate"),m(),K(4,Kre,3,1,"ng-container",7),qe()),2&e){var t=J(3).$implicit;v(2),Ce(" ",U(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),v(2),E("ngIf",t.location)}}function $re(e,i){if(1&e&&(Ge(0),K(1,qre,4,3,"ng-container",7),K(2,Jre,5,4,"ng-container",7),qe()),2&e){var t=J(2).$implicit;v(1),E("ngIf",t.enteredManually),v(1),E("ngIf",!t.enteredManually)}}function Qre(e,i){if(1&e&&(p(0,"div",45),p(1,"div",46),p(2,"div",31),p(3,"span"),F(4),V(5,"translate"),m(),p(6,"span"),F(7),m(),m(),p(8,"div",31),p(9,"span"),F(10),V(11,"translate"),m(),K(12,Gre,3,1,"ng-container",7),K(13,$re,3,2,"ng-container",7),m(),m(),p(14,"div",47),p(15,"div",48),p(16,"mat-icon",22),F(17,"add"),m(),m(),m(),m()),2&e){var t=J().$implicit;v(4),be(U(5,6,"apps.vpn-socks-client-settings.key")),v(3),Ce(" ",t.key,""),v(3),be(U(11,8,"apps.vpn-socks-client-settings.note")),v(2),E("ngIf",t.note),v(1),E("ngIf",!t.note),v(3),E("inline",!0)}}function Zre(e,i){if(1&e){var t=nt();p(0,"div",32),p(1,"button",40),we("click",function(){var s=Ae(t).$implicit;return J().useFromHistory(s)}),K(2,zre,1,0,"ng-container",41),m(),p(3,"button",42),we("click",function(){var s=Ae(t).$implicit;return J().changeNote(s)}),V(4,"translate"),p(5,"mat-icon",22),F(6,"edit"),m(),m(),p(7,"button",42),we("click",function(){var s=Ae(t).$implicit;return J().removeFromHistory(s.key)}),V(8,"translate"),p(9,"mat-icon",22),F(10,"close"),m(),m(),p(11,"button",43),we("click",function(){var s=Ae(t).$implicit;return J().openHistoryOptions(s)}),K(12,Wre,1,0,"ng-container",41),m(),K(13,Qre,18,10,"ng-template",null,44,Il),m()}if(2&e){var n=Lr(14);v(2),E("ngTemplateOutlet",n),v(1),E("matTooltip",U(4,6,"apps.vpn-socks-client-settings.change-note")),v(2),E("inline",!0),v(2),E("matTooltip",U(8,8,"apps.vpn-socks-client-settings.remove-entry")),v(2),E("inline",!0),v(3),E("ngTemplateOutlet",n)}}function Xre(e,i){1&e&&(p(0,"div",49),p(1,"mat-icon",22),F(2,"warning"),m(),F(3),V(4,"translate"),m()),2&e&&(v(1),E("inline",!0),v(2),Ce(" ",U(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}var eie=function(){function e(i,t,n,a,o,s,l,u){this.data=i,this.dialogRef=t,this.appsService=n,this.formBuilder=a,this.snackbarService=o,this.dialog=s,this.proxyDiscoveryService=l,this.clipboardService=u,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new uI,this.currentFiltersTexts=[],this.configuringVpn=!1,this.killswitch=!1,this.initialKillswitchSetting=!1,this.working=!1,-1!==i.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.largeModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe(function(o){i.proxiesFromDiscovery=o,i.proxiesFromDiscovery.forEach(function(s){s.country&&i.countriesFromDiscovery.add(s.country.toUpperCase())}),i.filterProxies(),i.loadingFromDiscovery=!1});var t=localStorage.getItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=t?JSON.parse(t):[];var n="";if(this.data.args&&this.data.args.length>0)for(var a=0;a=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())},e.prototype.goToPreviousPage=function(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())},e.prototype.showCurrentPage=function(){this.proxiesFromDiscoveryToShow=this.filteredProxiesFromDiscovery.slice((this.currentPage-1)*this.maxElementsPerPage,this.currentPage*this.maxElementsPerPage),this.currentRange=(this.currentPage-1)*this.maxElementsPerPage+1+" - ",this.currentRange+=this.currentPagethis.maxHistoryElements){var l=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-l,l)}this.form.get("pk").setValue(i);var u=JSON.stringify(this.history);localStorage.setItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,u),At.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton.reset(!1)},e.prototype.onServerDataChangeError=function(i){this.working=!1,this.button.showError(!1),this.settingsButton.reset(!1),i=tn(i),this.snackbarService.showError(i)},e.\u0275fac=function(t){return new(t||e)(N(Ur),N(wr),N(ad),N(ia),N(xn),N(Gn),N(Vne),N(Ch))},e.\u0275cmp=Ke({type:e,selectors:[["app-skysocks-client-settings"]],viewQuery:function(t,n){if(1&t&&(_t(bre,5),_t(kre,5),_t(Cre,5)),2&t){var a=void 0;it(a=at())&&(n.button=a.first),it(a=at())&&(n.settingsButton=a.first),it(a=at())&&(n.firstInput=a.first)}},decls:44,vars:46,consts:[[3,"headline"],[3,"label"],[3,"formGroup"],["id","pk","formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[4,"ngIf"],["class","password-history-warning",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["class","loading-indicator",3,"showWhite",4,"ngIf"],["class","info-text",4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[1,"main-theme","settings-option"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],[1,"password-history-warning"],[3,"inline"],[1,"loading-indicator",3,"showWhite"],[1,"info-text"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"click"],[1,"filter-button-content"],[1,"icon-area"],["class","item",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],[1,"blue-part"],[1,"item"],[1,"d-flex"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[3,"ngClass"],[1,"flag-container"],[1,"paginator"],["mat-icon-button","",1,"hard-grey-button-background",3,"click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-none","d-md-inline",3,"click"],[4,"ngTemplateOutlet"],["mat-button","",1,"list-button","grey-button-background","d-none","d-md-inline",3,"matTooltip","click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-md-none",3,"click"],["content",""],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],[1,"settings-changed-warning"]],template:function(t,n){if(1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"mat-tab-group"),p(3,"mat-tab",1),V(4,"translate"),p(5,"form",2),p(6,"mat-form-field"),Te(7,"input",3,4),V(9,"translate"),p(10,"mat-error"),K(11,Mre,3,3,"ng-container",5),m(),K(12,wre,2,3,"ng-template",null,6,Il),m(),K(14,Sre,3,3,"mat-form-field",7),K(15,Tre,5,4,"div",8),p(16,"app-button",9,10),we("action",function(){return n.saveChanges()}),F(18),V(19,"translate"),m(),m(),m(),p(20,"mat-tab",1),V(21,"translate"),K(22,Dre,1,1,"app-loading-indicator",11),K(23,Ere,5,4,"div",12),K(24,Hre,14,8,"ng-container",7),K(25,Bre,10,7,"div",13),m(),p(26,"mat-tab",1),V(27,"translate"),K(28,Ure,6,7,"div",7),K(29,Zre,15,10,"div",14),m(),p(30,"mat-tab",1),V(31,"translate"),p(32,"div",15),p(33,"mat-checkbox",16),we("change",function(s){return n.setKillswitch(s)}),F(34),V(35,"translate"),p(36,"mat-icon",17),V(37,"translate"),F(38,"help"),m(),m(),m(),K(39,Xre,5,4,"div",18),p(40,"app-button",9,19),we("action",function(){return n.saveSettings()}),F(42),V(43,"translate"),m(),m(),m(),m()),2&t){var a=Lr(13);E("headline",U(1,26,"apps.vpn-socks-client-settings."+(n.configuringVpn?"vpn-title":"socks-title"))),v(3),E("label",U(4,28,"apps.vpn-socks-client-settings.remote-visor-tab")),v(2),E("formGroup",n.form),v(2),E("placeholder",U(9,30,"apps.vpn-socks-client-settings.public-key")),v(4),E("ngIf",!n.form.get("pk").hasError("pattern"))("ngIfElse",a),v(3),E("ngIf",n.configuringVpn),v(1),E("ngIf",n.form&&n.form.get("password").value),v(1),E("disabled",!n.form.valid||n.working),v(2),Ce(" ",U(19,32,"apps.vpn-socks-client-settings.save")," "),v(2),E("label",U(21,34,"apps.vpn-socks-client-settings.discovery-tab")),v(2),E("ngIf",n.loadingFromDiscovery),v(1),E("ngIf",!n.loadingFromDiscovery&&0===n.proxiesFromDiscovery.length),v(1),E("ngIf",!n.loadingFromDiscovery&&n.proxiesFromDiscovery.length>0),v(1),E("ngIf",n.numberOfPages>1),v(1),E("label",U(27,36,"apps.vpn-socks-client-settings.history-tab")),v(2),E("ngIf",0===n.history.length),v(1),E("ngForOf",n.history),v(1),E("label",U(31,38,"apps.vpn-socks-client-settings.settings-tab")),v(3),E("checked",n.killswitch),v(1),Ce(" ",U(35,40,"apps.vpn-socks-client-settings.killswitch-check")," "),v(2),E("inline",!0)("matTooltip",U(37,42,"apps.vpn-socks-client-settings.killswitch-info")),v(3),E("ngIf",n.killswitch!==n.initialKillswitchSetting),v(1),E("disabled",n.killswitch===n.initialKillswitchSetting||n.working),v(2),Ce(" ",U(43,44,"apps.vpn-socks-client-settings.save-settings")," ")}},directives:[vr,ure,gI,$r,Jr,mr,ki,qr,aa,Kr,zr,ji,yh,Ot,ui,xr,ol,Cn,cr,ws,bi,Cr,bm],pipes:[wt],styles:["form[_ngcontent-%COMP%]{margin-top:15px}.info-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.info-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.loading-indicator[_ngcontent-%COMP%]{height:100px}.password-history-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px}.list-button[_ngcontent-%COMP%]{border-bottom:solid 1px rgba(0,0,0,.12)}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%]{padding:15px 0;white-space:normal;line-height:1.3;color:#202226;text-align:left;display:flex;font-size:.8rem;word-break:break-word}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{font-size:20px;margin-right:15px;color:#999;opacity:.4;align-self:center}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:4px 0}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .blue-part[_ngcontent-%COMP%]{color:#215f9e}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{text-align:left;padding:15px 0;white-space:normal}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .full-size-area[_ngcontent-%COMP%]{flex-grow:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{line-height:1.3;margin:4px 0;font-size:.8rem;color:#202226;word-break:break-all}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{background-color:#ff0}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{flex-shrink:0;margin-left:5px;text-align:right;line-height:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .small-button[_ngcontent-%COMP%]{width:24px;height:24px;line-height:14px;font-size:14px;margin-left:5px}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px}@media (max-width: 767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px}.settings-option[_ngcontent-%COMP%]{margin:15px 12px 10px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px;padding:0 12px}"]}),e}();function tie(e,i){1&e&&(p(0,"span",14),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"apps.apps-list.title")))}function nie(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),be(U(2,1,t.translatableValue))}}function rie(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),be(t.value)}}function iie(e,i){if(1&e&&(p(0,"div",18),p(1,"span"),F(2),V(3,"translate"),m(),K(4,nie,3,3,"ng-container",19),K(5,rie,2,1,"ng-container",19),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),E("ngIf",t.translatableValue),v(1),E("ngIf",t.value)}}function aie(e,i){if(1&e){var t=nt();p(0,"div",15),we("click",function(){return Ae(t),J().dataFilterer.removeFilters()}),K(1,iie,6,5,"div",16),p(2,"div",17),F(3),V(4,"translate"),m(),m()}if(2&e){var n=J();v(1),E("ngForOf",n.dataFilterer.currentFiltersTexts),v(2),be(U(4,2,"filters.press-to-remove"))}}function oie(e,i){if(1&e){var t=nt();p(0,"mat-icon",20),we("click",function(){return Ae(t),J().dataFilterer.changeFilters()}),V(1,"translate"),F(2,"filter_list"),m()}2&e&&E("inline",!0)("matTooltip",U(1,2,"filters.filter-action"))}function sie(e,i){1&e&&(p(0,"mat-icon",21),F(1,"more_horiz"),m()),2&e&&(J(),E("matMenuTriggerFor",Lr(9)))}var t0=function(e){return["/nodes",e,"apps-list"]};function lie(e,i){if(1&e&&Te(0,"app-paginator",22),2&e){var t=J();E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,t0,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function uie(e,i){if(1&e&&(p(0,"mat-icon",37),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function cie(e,i){if(1&e&&(p(0,"mat-icon",37),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function die(e,i){if(1&e&&(p(0,"mat-icon",37),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function fie(e,i){if(1&e&&(p(0,"mat-icon",37),F(1),m()),2&e){var t=J(2);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function hie(e,i){if(1&e&&(p(0,"a",45),p(1,"button",46),V(2,"translate"),p(3,"mat-icon",37),F(4,"open_in_browser"),m(),m(),m()),2&e){var t=J().$implicit;E("href",J(2).getLink(t),Io),v(1),E("matTooltip",U(2,3,"apps.open")),v(2),E("inline",!0)}}function pie(e,i){if(1&e){var t=nt();p(0,"button",42),we("click",function(){Ae(t);var a=J().$implicit;return J(2).config(a)}),V(1,"translate"),p(2,"mat-icon",37),F(3,"settings"),m(),m()}2&e&&(E("matTooltip",U(1,2,"apps.settings")),v(2),E("inline",!0))}function mie(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td",39),p(2,"mat-checkbox",40),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(3,"td"),Te(4,"i",41),V(5,"translate"),m(),p(6,"td"),F(7),m(),p(8,"td"),F(9),m(),p(10,"td"),p(11,"button",42),we("click",function(){var l=Ae(t).$implicit;return J(2).changeAppAutostart(l)}),V(12,"translate"),p(13,"mat-icon",37),F(14),m(),m(),m(),p(15,"td",30),K(16,hie,5,5,"a",43),K(17,pie,4,4,"button",44),p(18,"button",42),we("click",function(){var l=Ae(t).$implicit;return J(2).viewLogs(l)}),V(19,"translate"),p(20,"mat-icon",37),F(21,"list"),m(),m(),p(22,"button",42),we("click",function(){var l=Ae(t).$implicit;return J(2).changeAppState(l)}),V(23,"translate"),p(24,"mat-icon",37),F(25),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(2),E("checked",a.selections.get(n.name)),v(2),pa(1===n.status?"dot-green":"dot-red"),E("matTooltip",U(5,16,1===n.status?"apps.status-running-tooltip":"apps.status-stopped-tooltip")),v(3),Ce(" ",n.name," "),v(2),Ce(" ",n.port," "),v(2),E("matTooltip",U(12,18,n.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart")),v(2),E("inline",!0),v(1),be(n.autostart?"done":"close"),v(2),E("ngIf",a.getLink(n)),v(1),E("ngIf",a.appsWithConfig.has(n.name)),v(1),E("matTooltip",U(19,20,"apps.view-logs")),v(2),E("inline",!0),v(2),E("matTooltip",U(23,22,"apps."+(1===n.status?"stop-app":"start-app"))),v(2),E("inline",!0),v(1),be(1===n.status?"stop":"play_arrow")}}function vie(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"tables.label")))}function gie(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"tables.inverted-order")))}function _ie(e,i){if(1&e&&(p(0,"a",52),we("click",function(o){return o.stopPropagation()}),p(1,"button",53),V(2,"translate"),p(3,"mat-icon"),F(4,"open_in_browser"),m(),m(),m()),2&e){var t=J().$implicit;E("href",J(2).getLink(t),Io),v(1),E("matTooltip",U(2,2,"apps.open"))}}function yie(e,i){if(1&e){var t=nt();p(0,"tr"),p(1,"td"),p(2,"div",34),p(3,"div",47),p(4,"mat-checkbox",40),we("change",function(){var l=Ae(t).$implicit;return J(2).changeSelection(l)}),m(),m(),p(5,"div",35),p(6,"div",48),p(7,"span",1),F(8),V(9,"translate"),m(),F(10),m(),p(11,"div",48),p(12,"span",1),F(13),V(14,"translate"),m(),F(15),m(),p(16,"div",48),p(17,"span",1),F(18),V(19,"translate"),m(),F(20,": "),p(21,"span"),F(22),V(23,"translate"),m(),m(),p(24,"div",48),p(25,"span",1),F(26),V(27,"translate"),m(),F(28,": "),p(29,"span"),F(30),V(31,"translate"),m(),m(),m(),Te(32,"div",49),p(33,"div",36),K(34,_ie,5,4,"a",50),p(35,"button",51),we("click",function(s){var u=Ae(t).$implicit,d=J(2);return s.stopPropagation(),d.showOptionsDialog(u)}),V(36,"translate"),p(37,"mat-icon"),F(38),m(),m(),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(2);v(4),E("checked",a.selections.get(n.name)),v(4),be(U(9,16,"apps.apps-list.app-name")),v(2),Ce(": ",n.name," "),v(3),be(U(14,18,"apps.apps-list.port")),v(2),Ce(": ",n.port," "),v(3),be(U(19,20,"apps.apps-list.state")),v(3),pa((1===n.status?"green-clear-text":"red-clear-text")+" title"),v(1),Ce(" ",U(23,22,1===n.status?"apps.status-running":"apps.status-stopped")," "),v(4),be(U(27,24,"apps.apps-list.auto-start")),v(3),pa((n.autostart?"green-clear-text":"red-clear-text")+" title"),v(1),Ce(" ",U(31,26,n.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled")," "),v(4),E("ngIf",a.getLink(n)),v(1),E("matTooltip",U(36,28,"common.options")),v(3),be("add")}}function bie(e,i){if(1&e&&Te(0,"app-view-all-link",54),2&e){var t=J(2);E("numberOfElements",t.filteredApps.length)("linkParts",et(3,t0,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var kie=function(e,i){return{"small-node-list-margins":e,"full-node-list-margins":i}},Cie=function(e){return{"d-lg-none d-xl-table":e}},Mie=function(e){return{"d-lg-table d-xl-none":e}};function wie(e,i){if(1&e){var t=nt();p(0,"div",23),p(1,"div",24),p(2,"table",25),p(3,"tr"),Te(4,"th"),p(5,"th",26),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.stateSortData)}),V(6,"translate"),Te(7,"span",27),K(8,uie,2,2,"mat-icon",28),m(),p(9,"th",29),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.nameSortData)}),F(10),V(11,"translate"),K(12,cie,2,2,"mat-icon",28),m(),p(13,"th",29),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.portSortData)}),F(14),V(15,"translate"),K(16,die,2,2,"mat-icon",28),m(),p(17,"th",29),we("click",function(){Ae(t);var o=J();return o.dataSorter.changeSortingOrder(o.autoStartSortData)}),F(18),V(19,"translate"),K(20,fie,2,2,"mat-icon",28),m(),Te(21,"th",30),m(),K(22,mie,26,24,"tr",31),m(),p(23,"table",32),p(24,"tr",33),we("click",function(){return Ae(t),J().dataSorter.openSortingOrderModal()}),p(25,"td"),p(26,"div",34),p(27,"div",35),p(28,"div",1),F(29),V(30,"translate"),m(),p(31,"div"),F(32),V(33,"translate"),K(34,vie,3,3,"ng-container",19),K(35,gie,3,3,"ng-container",19),m(),m(),p(36,"div",36),p(37,"mat-icon",37),F(38,"keyboard_arrow_down"),m(),m(),m(),m(),m(),K(39,yie,39,30,"tr",31),m(),K(40,bie,1,5,"app-view-all-link",38),m(),m()}if(2&e){var n=J();v(1),E("ngClass",Dn(31,kie,n.showShortList_,!n.showShortList_)),v(1),E("ngClass",et(34,Cie,n.showShortList_)),v(3),E("matTooltip",U(6,19,"apps.apps-list.state-tooltip")),v(3),E("ngIf",n.dataSorter.currentSortingColumn===n.stateSortData),v(2),Ce(" ",U(11,21,"apps.apps-list.app-name")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.nameSortData),v(2),Ce(" ",U(15,23,"apps.apps-list.port")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.portSortData),v(2),Ce(" ",U(19,25,"apps.apps-list.auto-start")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.autoStartSortData),v(2),E("ngForOf",n.dataSource),v(1),E("ngClass",et(36,Mie,n.showShortList_)),v(6),be(U(30,27,"tables.sorting-title")),v(3),Ce("",U(33,29,n.dataSorter.currentSortingColumn.label)," "),v(2),E("ngIf",n.dataSorter.currentlySortingByLabel),v(1),E("ngIf",n.dataSorter.sortingInReverseOrder),v(2),E("inline",!0),v(2),E("ngForOf",n.dataSource),v(1),E("ngIf",n.showShortList_&&n.numberOfPages>1)}}function Sie(e,i){1&e&&(p(0,"span",58),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"apps.apps-list.empty")))}function Tie(e,i){1&e&&(p(0,"span",58),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"apps.apps-list.empty-with-filter")))}function Die(e,i){if(1&e&&(p(0,"div",23),p(1,"div",55),p(2,"mat-icon",56),F(3,"warning"),m(),K(4,Sie,3,3,"span",57),K(5,Tie,3,3,"span",57),m(),m()),2&e){var t=J();v(2),E("inline",!0),v(2),E("ngIf",0===t.allApps.length),v(1),E("ngIf",0!==t.allApps.length)}}function Eie(e,i){if(1&e&&Te(0,"app-paginator",22),2&e){var t=J();E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",et(4,t0,t.nodePK))("queryParams",t.dataFilterer.currentUrlQueryParams)}}var Lie=function(e){return{"paginator-icons-fixer":e}},TI=function(){function e(i,t,n,a,o,s){var l=this;this.appsService=i,this.dialog=t,this.route=n,this.router=a,this.snackbarService=o,this.translateService=s,this.listId="ap",this.stateSortData=new Ln(["status"],"apps.apps-list.state",un.NumberReversed),this.nameSortData=new Ln(["name"],"apps.apps-list.app-name",un.Text),this.portSortData=new Ln(["port"],"apps.apps-list.port",un.Number),this.autoStartSortData=new Ln(["autostart"],"apps.apps-list.auto-start",un.Boolean),this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0],["vpn-client",!0],["vpn-server",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:dr.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.state-options.any"},{value:"1",label:"apps.apps-list.filter-dialog.state-options.running"},{value:"0",label:"apps.apps-list.filter-dialog.state-options.stopped"}]},{filterName:"apps.apps-list.filter-dialog.name",keyNameInElementsArray:"name",type:dr.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:dr.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:dr.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.autostart-options.any"},{value:"true",label:"apps.apps-list.filter-dialog.autostart-options.enabled"},{value:"false",label:"apps.apps-list.filter-dialog.autostart-options.disabled"}]}],this.refreshAgain=!1,this.operationSubscriptionsGroup=[],this.dataSorter=new td(this.dialog,this.translateService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){l.recalculateElementsToShow()}),this.dataFilterer=new rd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(d){l.filteredApps=d,l.dataSorter.setData(l.filteredApps)}),this.navigationsSubscription=this.route.paramMap.subscribe(function(d){if(d.has("page")){var y=Number.parseInt(d.get("page"),10);(isNaN(y)||y<1)&&(y=1),l.currentPageInUrl=y,l.recalculateElementsToShow()}})}return Object.defineProperty(e.prototype,"showShortList",{set:function(i){this.showShortList_=i,this.dataSorter.setData(this.filteredApps)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apps",{set:function(i){this.allApps=i||[],this.dataFilterer.setData(this.allApps)},enumerable:!1,configurable:!0}),e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach(function(i){return i.unsubscribe()}),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()},e.prototype.getLink=function(i){if("skychat"===i.name.toLocaleLowerCase()&&this.nodeIp){var t="8001";if(i.args)for(var n=0;nthis.numberOfPages&&(this.currentPage=this.numberOfPages);var n=t*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(n,n+t),this.appsMap=new Map,this.appsToShow.forEach(function(s){i.appsMap.set(s.name,s),i.selections.has(s.name)||i.selections.set(s.name,!1)});var o=[];this.selections.forEach(function(s,l){i.appsMap.has(l)||o.push(l)}),o.forEach(function(s){i.selections.delete(s)})}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout(function(){return At.refreshCurrentDisplayedData()},2e3))},e.prototype.startChangingAppState=function(i,t){return this.appsService.changeAppState(At.getCurrentNodeKey(),i,t)},e.prototype.startChangingAppAutostart=function(i,t){return this.appsService.changeAppAutostart(At.getCurrentNodeKey(),i,t)},e.prototype.changeAppsValRecursively=function(i,t,n,a){var s,o=this;if(void 0===a&&(a=null),!i||0===i.length)return setTimeout(function(){return At.refreshCurrentDisplayedData()},50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(a&&a.close());s=t?this.startChangingAppAutostart(i[i.length-1],n):this.startChangingAppState(i[i.length-1],n),this.operationSubscriptionsGroup.push(s.subscribe(function(){i.pop(),0===i.length?(a&&a.close(),setTimeout(function(){o.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),o.snackbarService.showDone("apps.operation-completed")):o.changeAppsValRecursively(i,t,n,a)},function(l){l=tn(l),setTimeout(function(){o.refreshAgain=!0,At.refreshCurrentDisplayedData()},50),a?a.componentInstance.showDone("confirmation.error-header-text",l.translatableErrorMsg):o.snackbarService.showError(l)}))},e.\u0275fac=function(t){return new(t||e)(N(ad),N(Gn),N(ai),N(Zt),N(xn),N(si))},e.\u0275cmp=Ke({type:e,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showShortList:"showShortList",apps:"apps"},decls:32,vars:34,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"matTooltip"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],[1,"check-part"],[1,"list-row"],[1,"margin-part"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href","click",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href","click"],["mat-icon-button","",1,"transparent-button",3,"matTooltip"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),K(2,tie,3,3,"span",2),K(3,aie,5,4,"div",3),m(),p(4,"div",4),p(5,"div",5),K(6,oie,3,4,"mat-icon",6),K(7,sie,2,1,"mat-icon",7),p(8,"mat-menu",8,9),p(10,"div",10),we("click",function(){return n.changeAllSelections(!0)}),F(11),V(12,"translate"),m(),p(13,"div",10),we("click",function(){return n.changeAllSelections(!1)}),F(14),V(15,"translate"),m(),p(16,"div",11),we("click",function(){return n.changeStateOfSelected(!0)}),F(17),V(18,"translate"),m(),p(19,"div",11),we("click",function(){return n.changeStateOfSelected(!1)}),F(20),V(21,"translate"),m(),p(22,"div",11),we("click",function(){return n.changeAutostartOfSelected(!0)}),F(23),V(24,"translate"),m(),p(25,"div",11),we("click",function(){return n.changeAutostartOfSelected(!1)}),F(26),V(27,"translate"),m(),m(),m(),K(28,lie,1,6,"app-paginator",12),m(),m(),K(29,wie,41,38,"div",13),K(30,Die,6,3,"div",13),K(31,Eie,1,6,"app-paginator",12)),2&t&&(E("ngClass",et(32,Lie,!n.showShortList_&&n.numberOfPages>1&&n.dataSource)),v(2),E("ngIf",n.showShortList_),v(1),E("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0),v(3),E("ngIf",n.allApps&&n.allApps.length>0),v(1),E("ngIf",n.dataSource&&n.dataSource.length>0),v(1),E("overlapTrigger",!1),v(3),Ce(" ",U(12,20,"selection.select-all")," "),v(3),Ce(" ",U(15,22,"selection.unselect-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(18,24,"selection.start-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(21,26,"selection.stop-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(24,28,"selection.enable-autostart-all")," "),v(2),Tn("disabled",!n.hasSelectedElements()),v(1),Ce(" ",U(27,30,"selection.disable-autostart-all")," "),v(2),E("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource),v(1),E("ngIf",n.dataSource&&n.dataSource.length>0),v(1),E("ngIf",!n.dataSource||0===n.dataSource.length),v(1),E("ngIf",!n.showShortList_&&n.numberOfPages>1&&n.dataSource))},directives:[Cr,Ot,sd,Ts,xr,Cn,cr,ld,cd,ol,bi,rg],pipes:[wt],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.skychat-link[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.skychat-link[_ngcontent-%COMP%] .big-action-button[_ngcontent-%COMP%]{margin-right:5px}"]}),e}(),Pie=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){i.nodePK=t.localPk,i.apps=t.apps,i.nodeIp=t.ip})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-apps"]],decls:1,vars:4,consts:[[3,"apps","showShortList","nodePK","nodeIp"]],template:function(t,n){1&t&&Te(0,"app-node-app-list",0),2&t&&E("apps",n.apps)("showShortList",!0)("nodePK",n.nodePK)("nodeIp",n.nodeIp)},directives:[TI],styles:[""]}),e}();function Oie(e,i){1&e&&Te(0,"app-transport-list",1),2&e&&E("node",J().node)("showShortList",!1)}var xie=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){return i.node=t})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-all-transports"]],decls:1,vars:1,consts:[[3,"node","showShortList",4,"ngIf"],[3,"node","showShortList"]],template:function(t,n){1&t&&K(0,Oie,1,2,"app-transport-list",0),2&t&&E("ngIf",n.node)},directives:[Ot,sI],styles:[""]}),e}();function Iie(e,i){if(1&e&&Te(0,"app-route-list",1),2&e){var t=J();E("routes",t.routes)("showShortList",!1)("nodePK",t.nodePK)}}var Aie=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){i.nodePK=t.localPk,i.routes=t.routes})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-all-routes"]],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(t,n){1&t&&K(0,Iie,1,3,"app-route-list",0),2&t&&E("ngIf",n.routes)},directives:[Ot,lI],styles:[""]}),e}();function Rie(e,i){if(1&e&&Te(0,"app-node-app-list",1),2&e){var t=J();E("apps",t.apps)("showShortList",!1)("nodePK",t.nodePK)}}var Fie=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){i.nodePK=t.localPk,i.apps=t.apps})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-all-apps"]],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(t,n){1&t&&K(0,Rie,1,3,"app-node-app-list",0),2&t&&E("ngIf",n.apps)},directives:[Ot,TI],styles:[""]}),e}(),Nie=["button"],Yie=["firstInput"],DI=function(){function e(i,t,n,a,o){this.dialogRef=i,this.data=t,this.formBuilder=n,this.snackbarService=a,this.routeService=o}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.smallModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({min:[this.data.minHops,En.compose([En.required,En.maxLength(3),En.pattern("^[0-9]+$")])]}),setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.ngOnDestroy=function(){this.operationSubscription&&this.operationSubscription.unsubscribe()},e.prototype.save=function(){!this.form.valid||this.operationSubscription||(this.button.showLoading(),this.operationSubscription=this.routeService.setMinHops(this.data.nodePk,Number.parseInt(this.form.get("min").value,10)).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))},e.prototype.onSuccess=function(i){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")},e.prototype.onError=function(i){this.button.showError(),this.operationSubscription=null,i=tn(i),this.snackbarService.showError(i)},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur),N(ia),N(xn),N(K1))},e.\u0275cmp=Ke({type:e,selectors:[["app-router-config"]],viewQuery:function(t,n){if(1&t&&(_t(Nie,5),_t(Yie,5)),2&t){var a=void 0;it(a=at())&&(n.button=a.first),it(a=at())&&(n.firstInput=a.first)}},decls:14,vars:14,consts:[[3,"headline"],[1,"info-container"],[3,"formGroup"],["formControlName","min","maxlength","3","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(t,n){1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"div",1),F(3),V(4,"translate"),m(),p(5,"form",2),p(6,"mat-form-field"),Te(7,"input",3,4),V(9,"translate"),m(),m(),p(10,"app-button",5,6),we("action",function(){return n.save()}),F(12),V(13,"translate"),m(),m()),2&t&&(E("headline",U(1,6,"router-config.title")),v(3),be(U(4,8,"router-config.info")),v(2),E("formGroup",n.form),v(2),E("placeholder",U(9,10,"router-config.min-hops")),v(3),E("disabled",!n.form.valid),v(2),Ce(" ",U(13,12,"router-config.save-config-button")," "))},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,ji,ui],pipes:[wt],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px;font-size:.8rem}"]}),e}(),Hie=function(){function e(i){this.clipboardService=i,this.copyEvent=new mt,this.errorEvent=new mt,this.value=""}return e.prototype.ngOnDestroy=function(){this.copyEvent.complete(),this.errorEvent.complete()},e.prototype.copyToClipboard=function(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()},e.\u0275fac=function(t){return new(t||e)(N(Ch))},e.\u0275dir=Ve({type:e,selectors:[["","clipboard",""]],hostBindings:function(t,n){1&t&&we("click",function(){return n.copyToClipboard()})},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),e}();function Vie(e,i){if(1&e&&(Ge(0),Te(1,"app-truncated-text",3),F(2," \xa0"),p(3,"mat-icon",4),F(4,"filter_none"),m(),qe()),2&e){var t=J();v(1),E("short",t.short)("showTooltip",!1)("shortTextLength",t.shortTextLength)("text",t.text),v(2),E("inline",!0)}}function Bie(e,i){if(1&e&&(p(0,"div",5),p(1,"div",6),F(2),m(),F(3," \xa0"),p(4,"mat-icon",4),F(5,"filter_none"),m(),m()),2&e){var t=J();v(2),be(t.text),v(2),E("inline",!0)}}var jie=function(e){return{text:e}},Uie=function(){return{"tooltip-word-break":!0}},n0=function(){function e(i){this.snackbarService=i,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}return e.prototype.onCopyToClipboardClicked=function(){this.snackbarService.showDone("copy.copied")},e.\u0275fac=function(t){return new(t||e)(N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-copy-to-clipboard-text"]],inputs:{text:"text",short:"short",shortSimple:"shortSimple",shortTextLength:"shortTextLength"},decls:4,vars:11,consts:[[1,"wrapper","highlight-internal-icon",3,"clipboard","matTooltip","matTooltipClass","copyEvent"],[4,"ngIf"],["class","d-flex",4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line"]],template:function(t,n){1&t&&(p(0,"div",0),we("copyEvent",function(){return n.onCopyToClipboardClicked()}),V(1,"translate"),K(2,Vie,5,5,"ng-container",1),K(3,Bie,6,2,"div",2),m()),2&t&&(E("clipboard",n.text)("matTooltip",Ht(1,5,n.short||n.shortSimple?"copy.tooltip-with-text":"copy.tooltip",et(8,jie,n.text)))("matTooltipClass",Yn(10,Uie)),v(2),E("ngIf",!n.shortSimple),v(1),E("ngIf",n.shortSimple))},directives:[Hie,cr,Ot,Sx,Cn],pipes:[wt],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:initial!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width: 767px),(min-width: 992px) and (max-width: 1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width: 767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}']}),e}(),zie=B(55494),Wie=["chart"],r0=function(){function e(i){this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=i.find([]).create(null)}return e.prototype.ngAfterViewInit=function(){this.chart=new zie.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["rgba(10, 15, 22, 0.4)"],borderColor:["rgba(10, 15, 22, 0.4)"],borderWidth:1}]},options:{maintainAspectRatio:!1,events:[],legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{display:!1,ticks:{suggestedMin:0}}],xAxes:[{display:!1}]},elements:{point:{radius:0}},layout:{padding:{left:0,right:0,top:e.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))},e.prototype.ngDoCheck=function(){this.differ.diff(this.data)&&this.chart&&(void 0!==this.min&&void 0!==this.max&&this.updateMinAndMax(),this.animated?this.chart.update():this.chart.update(0))},e.prototype.ngOnDestroy=function(){this.chart&&this.chart.destroy()},e.prototype.updateMinAndMax=function(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}},e.topInternalMargin=5,e.\u0275fac=function(t){return new(t||e)(N(Pl))},e.\u0275cmp=Ke({type:e,selectors:[["app-line-chart"]],viewQuery:function(t,n){var a;(1&t&&_t(Wie,5),2&t)&&(it(a=at())&&(n.chartElement=a.first))},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(t,n){1&t&&(p(0,"div",0),Te(1,"canvas",null,1),m()),2&t&&nr("height: "+n.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),e}(),EI=function(){return{showValue:!0}},LI=function(){return{showUnit:!0}},Gie=function(){function e(i){this.nodeService=i}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=this.nodeService.specificNodeTrafficData.subscribe(function(t){i.data=t})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(N(ou))},e.\u0275cmp=Ke({type:e,selectors:[["app-charts"]],decls:26,vars:28,consts:[[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(t,n){1&t&&(p(0,"div",0),Te(1,"app-line-chart",1),p(2,"div",2),p(3,"span",3),F(4),V(5,"translate"),m(),p(6,"span",4),p(7,"span",5),F(8),V(9,"autoScale"),m(),p(10,"span",6),F(11),V(12,"autoScale"),m(),m(),m(),m(),p(13,"div",0),Te(14,"app-line-chart",1),p(15,"div",2),p(16,"span",3),F(17),V(18,"translate"),m(),p(19,"span",4),p(20,"span",5),F(21),V(22,"autoScale"),m(),p(23,"span",6),F(24),V(25,"autoScale"),m(),m(),m(),m()),2&t&&(v(1),E("data",n.data.sentHistory),v(3),be(U(5,8,"common.uploaded")),v(4),be(Ht(9,10,n.data.totalSent,Yn(24,EI))),v(3),be(Ht(12,13,n.data.totalSent,Yn(25,LI))),v(3),E("data",n.data.receivedHistory),v(3),be(U(18,16,"common.downloaded")),v(4),be(Ht(22,18,n.data.totalReceived,Yn(26,EI))),v(3),be(Ht(25,21,n.data.totalReceived,Yn(27,LI))))},directives:[r0],pipes:[wt,Th],styles:[".chart[_ngcontent-%COMP%]{position:relative;margin-bottom:20px}.chart[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px;width:100%}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f8f9f9}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.text[_ngcontent-%COMP%]{font-size:.8rem;text-transform:uppercase;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .unit[_ngcontent-%COMP%]{font-size:.8rem;padding-left:5px}"]}),e}();function qie(e,i){if(1&e&&(p(0,"span",4),p(1,"span",5),F(2),V(3,"translate"),m(),Te(4,"app-copy-to-clipboard-text",8),m()),2&e){var t=J(2);v(2),Ce("",U(3,2,"node.details.node-info.public-ip"),"\xa0"),v(2),Tn("text",t.node.publicIp)}}function Kie(e,i){if(1&e&&(p(0,"span",4),p(1,"span",5),F(2),V(3,"translate"),m(),Te(4,"app-copy-to-clipboard-text",8),m()),2&e){var t=J(2);v(2),Ce("",U(3,2,"node.details.node-info.ip"),"\xa0"),v(2),Tn("text",t.node.ip)}}var a0=function(e){return{time:e}};function Jie(e,i){if(1&e&&(p(0,"mat-icon",12),V(1,"translate"),F(2," info "),m()),2&e){var t=J(2);E("inline",!0)("matTooltip",Ht(1,2,"node.details.node-info.time.minutes",et(5,a0,t.timeOnline.totalMinutes)))}}function $ie(e,i){if(1&e){var t=nt();p(0,"div",1),p(1,"div",2),p(2,"span",3),F(3),V(4,"translate"),m(),p(5,"span",4),p(6,"span",5),F(7),V(8,"translate"),m(),p(9,"span",6),we("click",function(){return Ae(t),J().showEditLabelDialog()}),F(10),p(11,"mat-icon",7),F(12,"edit"),m(),m(),m(),p(13,"span",4),p(14,"span",5),F(15),V(16,"translate"),m(),Te(17,"app-copy-to-clipboard-text",8),m(),p(18,"span",4),p(19,"span",5),F(20),V(21,"translate"),m(),F(22),V(23,"translate"),m(),K(24,qie,5,4,"span",9),K(25,Kie,5,4,"span",9),p(26,"span",4),p(27,"span",5),F(28),V(29,"translate"),m(),Te(30,"app-copy-to-clipboard-text",8),m(),p(31,"span",4),p(32,"span",5),F(33),V(34,"translate"),m(),F(35),V(36,"translate"),m(),p(37,"span",4),p(38,"span",5),F(39),V(40,"translate"),m(),F(41),V(42,"translate"),m(),p(43,"span",4),p(44,"span",5),F(45),V(46,"translate"),m(),F(47),V(48,"translate"),m(),p(49,"span",4),p(50,"span",5),F(51),V(52,"translate"),m(),F(53),V(54,"translate"),K(55,Jie,3,7,"mat-icon",10),m(),m(),Te(56,"div",11),p(57,"div",2),p(58,"span",3),F(59),V(60,"translate"),m(),p(61,"span",4),p(62,"span",5),F(63),V(64,"translate"),m(),F(65),V(66,"translate"),p(67,"mat-icon",12),V(68,"translate"),F(69,"info"),m(),m(),p(70,"div",13),p(71,"app-button",14),we("action",function(){return Ae(t),J().changeTransportsConfig()}),F(72),V(73,"translate"),m(),m(),m(),Te(74,"div",11),p(75,"div",2),p(76,"span",3),F(77),V(78,"translate"),m(),p(79,"span",4),p(80,"span",5),F(81),V(82,"translate"),m(),F(83),m(),p(84,"div",13),p(85,"app-button",14),we("action",function(){return Ae(t),J().changeRouterConfig()}),F(86),V(87,"translate"),m(),m(),m(),Te(88,"div",11),p(89,"div",2),p(90,"span",3),F(91),V(92,"translate"),m(),p(93,"span",4),p(94,"span",5),F(95),V(96,"translate"),m(),Te(97,"i"),F(98),V(99,"translate"),m(),m(),Te(100,"div",11),p(101,"div",2),p(102,"span",3),F(103),V(104,"translate"),m(),Te(105,"app-charts",15),m(),m()}if(2&e){var n=J();v(3),be(U(4,39,"node.details.node-info.title")),v(4),be(U(8,41,"node.details.node-info.label")),v(3),Ce(" ",n.node.label," "),v(1),E("inline",!0),v(4),Ce("",U(16,43,"node.details.node-info.public-key"),"\xa0"),v(2),Tn("text",n.node.localPk),v(3),Ce("",U(21,45,"node.details.node-info.symmetic-nat"),"\xa0"),v(2),Ce(" ",U(23,47,n.node.isSymmeticNat?"common.yes":"common.no")," "),v(2),E("ngIf",!n.node.isSymmeticNat),v(1),E("ngIf",n.node.ip),v(3),Ce("",U(29,49,"node.details.node-info.dmsg-server"),"\xa0"),v(2),Tn("text",n.node.dmsgServerPk),v(3),Ce("",U(34,51,"node.details.node-info.ping"),"\xa0"),v(2),Ce(" ",Ht(36,53,"common.time-in-ms",et(93,a0,n.node.roundTripPing))," "),v(4),be(U(40,56,"node.details.node-info.node-version")),v(2),Ce(" ",n.node.version?n.node.version:U(42,58,"common.unknown")," "),v(4),be(U(46,60,"node.details.node-info.skybian-version")),v(2),Ce(" ",n.node.skybianBuildVersion?n.node.skybianBuildVersion:U(48,62,"node.details.node-info.no-skybian-version")," "),v(4),be(U(52,64,"node.details.node-info.time.title")),v(2),Ce(" ",Ht(54,66,"node.details.node-info.time."+n.timeOnline.translationVarName,et(95,a0,n.timeOnline.elapsedTime))," "),v(2),E("ngIf",n.timeOnline.totalMinutes>60),v(4),be(U(60,69,"node.details.transports-info.title")),v(4),be(U(64,71,"node.details.transports-info.autoconnect")),v(2),Ce(" ",U(66,73,"node.details.transports-info."+(n.node.autoconnectTransports?"enabled":"disabled"))," "),v(2),E("inline",!0)("matTooltip",U(68,75,"node.details.transports-info.autoconnect-info")),v(4),E("forDarkBackground",!0),v(1),Ce(" ",U(73,77,"node.details.transports-info."+(n.node.autoconnectTransports?"disable":"enable")+"-button")," "),v(5),be(U(78,79,"node.details.router-info.title")),v(4),be(U(82,81,"node.details.router-info.min-hops")),v(2),Ce(" ",n.node.minHops," "),v(2),E("forDarkBackground",!0),v(1),Ce(" ",U(87,83,"node.details.router-info.change-config-button")," "),v(5),be(U(92,85,"node.details.node-health.title")),v(4),be(U(96,87,"node.details.node-health.uptime-tracker")),v(2),pa(n.nodeHealthClass),v(1),Ce(" ",U(99,89,n.nodeHealthText)," "),v(5),be(U(104,91,"node.details.node-traffic-data"))}}var PI=function(){function e(i,t,n,a){this.dialog=i,this.storageService=t,this.transportService=n,this.snackbarService=a}return Object.defineProperty(e.prototype,"nodeInfo",{set:function(i){this.node=i,this.timeOnline=Ux.getElapsedTime(i.secondsOnline),i.health&&i.health.servicesHealth===il.Healthy?(this.nodeHealthText="node.statuses.online",this.nodeHealthClass="dot-green"):i.health&&i.health.servicesHealth===il.Unhealthy?(this.nodeHealthText="node.statuses.partially-online",this.nodeHealthClass="dot-yellow blinking"):i.health&&i.health.servicesHealth===il.Connecting?(this.nodeHealthText="node.statuses.connecting",this.nodeHealthClass="dot-outline-gray"):(this.nodeHealthText="node.statuses.unknown",this.nodeHealthClass="dot-outline-gray")},enumerable:!1,configurable:!0}),e.prototype.ngOnDestroy=function(){this.autoconnectSubscription&&this.autoconnectSubscription.unsubscribe()},e.prototype.showEditLabelDialog=function(){var i=this.storageService.getLabelInfo(this.node.localPk);i||(i={id:this.node.localPk,label:"",identifiedElementType:ta.Node}),J1.openDialog(this.dialog,i).afterClosed().subscribe(function(t){t&&At.refreshCurrentDisplayedData()})},e.prototype.changeRouterConfig=function(){DI.openDialog(this.dialog,{nodePk:this.node.localPk,minHops:this.node.minHops}).afterClosed().subscribe(function(t){t&&At.refreshCurrentDisplayedData()})},e.prototype.changeTransportsConfig=function(){var i=this,t=ln.createConfirmationDialog(this.dialog,this.node.autoconnectTransports?"node.details.transports-info.disable-confirmation":"node.details.transports-info.enable-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.showProcessing();var n=i.transportService.changeAutoconnectSetting(i.node.localPk,!i.node.autoconnectTransports);i.autoconnectSubscription=n.subscribe(function(){t.close(),i.snackbarService.showDone(i.node.autoconnectTransports?"node.details.transports-info.disable-done":"node.details.transports-info.enable-done"),At.refreshCurrentDisplayedData()},function(a){a=tn(a),t.componentInstance.showDone("confirmation.error-header-text",a.translatableErrorMsg)})})},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(Vi),N(eg),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo"},decls:1,vars:1,consts:[["class","font-smaller d-flex flex-column mt-4.5",4,"ngIf"],[1,"font-smaller","d-flex","flex-column","mt-4.5"],[1,"d-flex","flex-column"],[1,"section-title"],[1,"info-line"],[1,"title"],[1,"highlight-internal-icon",3,"click"],[3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[3,"inline","matTooltip"],[1,"config-button-container"],["color","primary",3,"forDarkBackground","action"],[1,"d-flex","flex-column","justify-content-end","mt-3"]],template:function(t,n){1&t&&K(0,$ie,106,97,"div",0),2&t&&E("ngIf",n.node)},directives:[Ot,Cn,n0,cr,ui,Gie],pipes:[wt],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:bold;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-all;margin-top:7px}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.info-line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px}.info-line[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{opacity:.75}.separator[_ngcontent-%COMP%]{width:100%;height:0px;margin:1rem 0;border-top:1px solid rgba(255,255,255,.15)}.config-button-container[_ngcontent-%COMP%]{margin-top:10px;margin-left:-4px}"]}),e}(),Qie=function(){function e(){}return e.prototype.ngOnInit=function(){var i=this;this.dataSubscription=At.currentNode.subscribe(function(t){i.node=t})},e.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-node-info"]],decls:1,vars:1,consts:[[3,"nodeInfo"]],template:function(t,n){1&t&&Te(0,"app-node-info-content",0),2&t&&E("nodeInfo",n.node)},directives:[PI],styles:[""]}),e}(),Zie=function(){return["settings.title","labels.title"]},Xie=function(){function e(i){this.router=i,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}return e.prototype.performAction=function(i){null===i&&this.router.navigate(["settings"])},e.\u0275fac=function(t){return new(t||e)(N(Zt))},e.\u0275cmp=Ke({type:e,selectors:[["app-all-labels"]],decls:5,vars:6,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","showUpdateButton","returnText","optionSelected"],[1,"content","col-12"],[3,"showShortList"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"app-top-bar",2),we("optionSelected",function(o){return n.performAction(o)}),m(),m(),p(3,"div",3),Te(4,"app-label-list",4),m(),m()),2&t&&(v(2),E("titleParts",Yn(5,Zie))("tabsData",n.tabsData)("showUpdateButton",!1)("returnText",n.returnButtonText),v(2),E("showShortList",!1))},directives:[lu,aI],styles:[""]}),e}(),eae=["firstInput"];function tae(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),Ce(" ",U(2,1,"vpn.server-list.add-server-dialog.pk-length-error")," "))}function nae(e,i){1&e&&(F(0),V(1,"translate")),2&e&&Ce(" ",U(1,1,"vpn.server-list.add-server-dialog.pk-chars-error")," ")}var rae=function(){function e(i,t,n,a,o,s,l,u){this.dialogRef=i,this.data=t,this.formBuilder=n,this.dialog=a,this.router=o,this.vpnClientService=s,this.vpnSavedDataService=l,this.snackbarService=u}return e.openDialog=function(i,t){var n=new Zn;return n.data=t,n.autoFocus=!1,n.width=Gt.mediumModalWidth,i.open(e,n)},e.prototype.ngOnInit=function(){var i=this;this.form=this.formBuilder.group({pk:["",En.compose([En.required,En.minLength(66),En.maxLength(66),En.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout(function(){return i.firstInput.nativeElement.focus()})},e.prototype.process=function(){if(this.form.valid){var i={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};Wr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,i,this.form.get("password").value)}},e.\u0275fac=function(t){return new(t||e)(N(wr),N(Ur),N(ia),N(Gn),N(Zt),N(od),N(su),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-add-vpn-server"]],viewQuery:function(t,n){var a;(1&t&&_t(eae,5),2&t)&&(it(a=at())&&(n.firstInput=a.first))},decls:23,vars:22,consts:[[3,"headline"],[3,"formGroup"],["formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput","",3,"placeholder"],["formControlName","name","maxlength","100","matInput","",3,"placeholder"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["color","primary",1,"float-right",3,"disabled","action"]],template:function(t,n){if(1&t&&(p(0,"app-dialog",0),V(1,"translate"),p(2,"form",1),p(3,"mat-form-field"),Te(4,"input",2,3),V(6,"translate"),p(7,"mat-error"),K(8,tae,3,3,"ng-container",4),m(),K(9,nae,2,3,"ng-template",null,5,Il),m(),p(11,"mat-form-field"),Te(12,"input",6),V(13,"translate"),m(),p(14,"mat-form-field"),Te(15,"input",7),V(16,"translate"),m(),p(17,"mat-form-field"),Te(18,"input",8),V(19,"translate"),m(),m(),p(20,"app-button",9),we("action",function(){return n.process()}),F(21),V(22,"translate"),m(),m()),2&t){var a=Lr(10);E("headline",U(1,10,"vpn.server-list.add-server-dialog.title")),v(2),E("formGroup",n.form),v(2),E("placeholder",U(6,12,"vpn.server-list.add-server-dialog.pk-label")),v(4),E("ngIf",!n.form.get("pk").hasError("pattern"))("ngIfElse",a),v(4),E("placeholder",U(13,14,"vpn.server-list.add-server-dialog.password-label")),v(3),E("placeholder",U(16,16,"vpn.server-list.add-server-dialog.name-label")),v(3),E("placeholder",U(19,18,"vpn.server-list.add-server-dialog.note-label")),v(2),E("disabled",!n.form.valid),v(1),Ce(" ",U(22,20,"vpn.server-list.add-server-dialog.use-server-button")," ")}},directives:[vr,$r,Jr,mr,ki,qr,aa,Kr,zr,ji,yh,Ot,ui],pipes:[wt],styles:[""]}),e}(),iae=function(){return function(){this.countryCode="ZZ"}}(),aae=function(){function e(i){this.http=i,this.discoveryServiceUrl="https://sd.skycoin.com/api/services?type=vpn"}return e.prototype.getServers=function(){var i=this;return this.servers?Qe(this.servers):this.http.get(this.discoveryServiceUrl).pipe(id(function(t){return t.pipe(ci(4e3))}),$e(function(t){var n=[];return t.forEach(function(a){var o=new iae,s=a.address.split(":");2===s.length&&(o.pk=s[0],o.location="",a.geo&&(a.geo.country&&(o.countryCode=a.geo.country),a.geo.region&&(o.location=a.geo.region)),o.name=s[0],o.note="",n.push(o))}),i.servers=n,n}))},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(Ks))},providedIn:"root"}),e}();function oae(e,i){1&e&&Dl(0)}var OI=function(){return["vpn.title"]};function sae(e,i){if(1&e&&(p(0,"div",3),p(1,"div",4),Te(2,"app-top-bar",5),p(3,"div",6),p(4,"div",7),p(5,"div",8),K(6,oae,1,0,"ng-container",9),m(),m(),m(),m(),Te(7,"app-loading-indicator",10),m()),2&e){var t=J(),n=Lr(2);v(2),E("titleParts",Yn(6,OI))("tabsData",t.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",t.currentLocalPk),v(4),E("ngTemplateOutlet",n)}}function lae(e,i){1&e&&(p(0,"div",22),p(1,"span"),F(2),V(3,"translate"),m(),m()),2&e&&(v(2),be(U(3,1,"vpn.server-list.tabs.public")))}var ag=function(e,i){return["/vpn",e,"servers",i,1]};function uae(e,i){if(1&e&&(p(0,"a",23),p(1,"span"),F(2),V(3,"translate"),m(),m()),2&e){var t=J(2);E("routerLink",Dn(4,ag,t.currentLocalPk,t.lists.Public)),v(2),be(U(3,2,"vpn.server-list.tabs.public"))}}function cae(e,i){1&e&&(p(0,"div",22),p(1,"span"),F(2),V(3,"translate"),m(),m()),2&e&&(v(2),be(U(3,1,"vpn.server-list.tabs.history")))}function dae(e,i){if(1&e&&(p(0,"a",23),p(1,"span"),F(2),V(3,"translate"),m(),m()),2&e){var t=J(2);E("routerLink",Dn(4,ag,t.currentLocalPk,t.lists.History)),v(2),be(U(3,2,"vpn.server-list.tabs.history"))}}function fae(e,i){1&e&&(p(0,"div",22),p(1,"span"),F(2),V(3,"translate"),m(),m()),2&e&&(v(2),be(U(3,1,"vpn.server-list.tabs.favorites")))}function hae(e,i){if(1&e&&(p(0,"a",23),p(1,"span"),F(2),V(3,"translate"),m(),m()),2&e){var t=J(2);E("routerLink",Dn(4,ag,t.currentLocalPk,t.lists.Favorites)),v(2),be(U(3,2,"vpn.server-list.tabs.favorites"))}}function pae(e,i){1&e&&(p(0,"div",22),p(1,"span"),F(2),V(3,"translate"),m(),m()),2&e&&(v(2),be(U(3,1,"vpn.server-list.tabs.blocked")))}function mae(e,i){if(1&e&&(p(0,"a",23),p(1,"span"),F(2),V(3,"translate"),m(),m()),2&e){var t=J(2);E("routerLink",Dn(4,ag,t.currentLocalPk,t.lists.Blocked)),v(2),be(U(3,2,"vpn.server-list.tabs.blocked"))}}function vae(e,i){1&e&&Te(0,"br")}function gae(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J().$implicit;v(1),be(U(2,1,t.translatableValue))}}function _ae(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),be(t.value)}}function yae(e,i){if(1&e&&(p(0,"div",28),p(1,"span"),F(2),V(3,"translate"),m(),K(4,gae,3,3,"ng-container",21),K(5,_ae,2,1,"ng-container",21),m()),2&e){var t=i.$implicit;v(2),Ce("",U(3,3,t.filterName),": "),v(2),E("ngIf",t.translatableValue),v(1),E("ngIf",t.value)}}function bae(e,i){if(1&e){var t=nt();p(0,"div",25),we("click",function(){return Ae(t),J(3).dataFilterer.removeFilters()}),p(1,"div",26),p(2,"mat-icon",19),F(3,"search"),m(),F(4),V(5,"translate"),m(),K(6,yae,6,5,"div",27),m()}if(2&e){var n=J(3);v(2),E("inline",!0),v(2),Ce(" ",U(5,3,"vpn.server-list.current-filters"),""),v(2),E("ngForOf",n.dataFilterer.currentFiltersTexts)}}function kae(e,i){if(1&e&&(Ge(0),K(1,vae,1,0,"br",21),K(2,bae,7,5,"div",24),qe()),2&e){var t=J(2);v(1),E("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0),v(1),E("ngIf",t.dataFilterer.currentFiltersTexts&&t.dataFilterer.currentFiltersTexts.length>0)}}var Cae=function(e){return{deactivated:e}};function Mae(e,i){if(1&e){var t=nt();p(0,"div",11),p(1,"div",12),p(2,"div",13),p(3,"div",14),K(4,lae,4,3,"div",15),K(5,uae,4,7,"a",16),K(6,cae,4,3,"div",15),K(7,dae,4,7,"a",16),K(8,fae,4,3,"div",15),K(9,hae,4,7,"a",16),K(10,pae,4,3,"div",15),K(11,mae,4,7,"a",16),m(),m(),m(),m(),p(12,"div",17),p(13,"div",12),p(14,"div",13),p(15,"div",14),p(16,"div",18),we("click",function(){Ae(t);var o=J();return o.dataFilterer?o.dataFilterer.changeFilters():null}),V(17,"translate"),p(18,"span"),p(19,"mat-icon",19),F(20,"search"),m(),m(),m(),m(),m(),m(),m(),p(21,"div",20),p(22,"div",12),p(23,"div",13),p(24,"div",14),p(25,"div",18),we("click",function(){return Ae(t),J().enterManually()}),V(26,"translate"),p(27,"span"),p(28,"mat-icon",19),F(29,"add"),m(),m(),m(),m(),m(),m(),m(),K(30,kae,3,2,"ng-container",21)}if(2&e){var n=J();v(4),E("ngIf",n.currentList===n.lists.Public),v(1),E("ngIf",n.currentList!==n.lists.Public),v(1),E("ngIf",n.currentList===n.lists.History),v(1),E("ngIf",n.currentList!==n.lists.History),v(1),E("ngIf",n.currentList===n.lists.Favorites),v(1),E("ngIf",n.currentList!==n.lists.Favorites),v(1),E("ngIf",n.currentList===n.lists.Blocked),v(1),E("ngIf",n.currentList!==n.lists.Blocked),v(1),E("ngClass",et(18,Cae,n.loading)),v(4),E("matTooltip",U(17,14,"filters.filter-info")),v(3),E("inline",!0),v(6),E("matTooltip",U(26,16,"vpn.server-list.add-manually-info")),v(3),E("inline",!0),v(2),E("ngIf",n.dataFilterer)}}function wae(e,i){1&e&&Dl(0)}function Sae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(5);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Tae(e,i){if(1&e){var t=nt();p(0,"th",50),we("click",function(){Ae(t);var o=J(4);return o.dataSorter.changeSortingOrder(o.dateSortData)}),V(1,"translate"),p(2,"div",43),p(3,"div",44),F(4),V(5,"translate"),m(),K(6,Sae,2,2,"mat-icon",41),m(),m()}if(2&e){var n=J(4);E("matTooltip",U(1,3,"vpn.server-list.date-info")),v(4),Ce(" ",U(5,5,"vpn.server-list.date-small-table-label")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.dateSortData)}}function Dae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(4);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Eae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(4);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Lae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(4);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Pae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(4);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function Oae(e,i){if(1&e&&(p(0,"mat-icon",19),F(1),m()),2&e){var t=J(4);E("inline",!0),v(1),be(t.dataSorter.sortingArrow)}}function xae(e,i){if(1&e&&(p(0,"td",64),F(1),V(2,"date"),m()),2&e){var t=J().$implicit;v(1),Ce(" ",Ht(2,1,t.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function Iae(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J().$implicit;v(1),Ce(" ",t.location," ")}}function Aae(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),Ce(" ",U(2,1,"vpn.server-list.unknown")," "))}var Rae=function(e,i){return{custom:e,original:i}};function Fae(e,i){if(1&e&&(p(0,"mat-icon",65),we("click",function(o){return o.stopPropagation()}),V(1,"translate"),F(2,"info_outline"),m()),2&e){var t=J().$implicit,n=J(4);E("inline",!0)("matTooltip",Ht(1,2,n.getNoteVar(t),Dn(5,Rae,t.personalNote,t.note)))}}var Nae=function(e){return{"selectable click-effect":e}};function Yae(e,i){if(1&e){var t=nt();p(0,"tr",51),we("click",function(){var l=Ae(t).$implicit,u=J(4);return u.currentList!==u.lists.Blocked?u.selectServer(l):null}),K(1,xae,3,4,"td",52),p(2,"td",53),p(3,"div",54),Te(4,"div",55),m(),m(),p(5,"td",56),Te(6,"app-vpn-server-name",57),m(),p(7,"td",58),K(8,Iae,2,1,"ng-container",21),K(9,Aae,3,3,"ng-container",21),m(),p(10,"td",59),p(11,"app-copy-to-clipboard-text",60),we("click",function(s){return s.stopPropagation()}),m(),m(),p(12,"td",61),K(13,Fae,3,8,"mat-icon",62),m(),p(14,"td",48),p(15,"button",63),we("click",function(s){var u=Ae(t).$implicit,d=J(4);return s.stopPropagation(),d.openOptions(u)}),V(16,"translate"),p(17,"mat-icon",19),F(18,"settings"),m(),m(),m(),m()}if(2&e){var n=i.$implicit,a=J(4);E("ngClass",et(23,Nae,a.currentList!==a.lists.Blocked)),v(1),E("ngIf",a.currentList===a.lists.History),v(3),nr("background-image: url('assets/img/big-flags/"+n.countryCode.toLocaleLowerCase()+".png');"),E("matTooltip",a.getCountryName(n.countryCode)),v(2),E("isCurrentServer",a.currentServer&&n.pk===a.currentServer.pk)("isFavorite",n.flag===a.serverFlags.Favorite&&a.currentList!==a.lists.Favorites)("isBlocked",n.flag===a.serverFlags.Blocked&&a.currentList!==a.lists.Blocked)("isInHistory",n.inHistory&&a.currentList!==a.lists.History)("hasPassword",n.usedWithPassword)("name",n.name)("pk",n.pk)("customName",n.customName)("defaultName","vpn.server-list.none"),v(2),E("ngIf",n.location),v(1),E("ngIf",!n.location),v(2),E("shortSimple",!0)("text",n.pk),v(2),E("ngIf",n.note||n.personalNote),v(2),E("matTooltip",U(16,21,"vpn.server-options.tooltip")),v(2),E("inline",!0)}}var Hae=function(e,i){return{"public-pk-column":e,"history-pk-column":i}};function Vae(e,i){if(1&e){var t=nt();p(0,"table",38),p(1,"tr"),K(2,Tae,7,7,"th",39),p(3,"th",40),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.countrySortData)}),V(4,"translate"),p(5,"mat-icon",19),F(6,"flag"),m(),K(7,Dae,2,2,"mat-icon",41),m(),p(8,"th",42),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.nameSortData)}),p(9,"div",43),p(10,"div",44),F(11),V(12,"translate"),m(),K(13,Eae,2,2,"mat-icon",41),m(),m(),p(14,"th",45),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.locationSortData)}),p(15,"div",43),p(16,"div",44),F(17),V(18,"translate"),m(),K(19,Lae,2,2,"mat-icon",41),m(),m(),p(20,"th",46),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.pkSortData)}),V(21,"translate"),p(22,"div",43),p(23,"div",44),F(24),V(25,"translate"),m(),K(26,Pae,2,2,"mat-icon",41),m(),m(),p(27,"th",47),we("click",function(){Ae(t);var o=J(3);return o.dataSorter.changeSortingOrder(o.noteSortData)}),V(28,"translate"),p(29,"div",43),p(30,"mat-icon",19),F(31,"info_outline"),m(),K(32,Oae,2,2,"mat-icon",41),m(),m(),Te(33,"th",48),m(),K(34,Yae,19,25,"tr",49),m()}if(2&e){var n=J(3);v(2),E("ngIf",n.currentList===n.lists.History),v(1),E("matTooltip",U(4,16,"vpn.server-list.country-info")),v(2),E("inline",!0),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.countrySortData),v(4),Ce(" ",U(12,18,"vpn.server-list.name-small-table-label")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.nameSortData),v(4),Ce(" ",U(18,20,"vpn.server-list.location-small-table-label")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.locationSortData),v(1),E("ngClass",Dn(28,Hae,n.currentList===n.lists.Public,n.currentList===n.lists.History))("matTooltip",U(21,22,"vpn.server-list.public-key-info")),v(4),Ce(" ",U(25,24,"vpn.server-list.public-key-small-table-label")," "),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.pkSortData),v(1),E("matTooltip",U(28,26,"vpn.server-list.note-info")),v(3),E("inline",!0),v(2),E("ngIf",n.dataSorter.currentSortingColumn===n.noteSortData),v(2),E("ngForOf",n.dataSource)}}function Bae(e,i){if(1&e&&(p(0,"div",35),p(1,"div",36),K(2,Vae,35,31,"table",37),m(),m()),2&e){var t=J(2);v(2),E("ngIf",t.dataSource.length>0)}}var jae=function(e,i){return["/vpn",e,"servers",i]};function Uae(e,i){if(1&e&&Te(0,"app-paginator",66),2&e){var t=J(2);E("currentPage",t.currentPage)("numberOfPages",t.numberOfPages)("linkParts",Dn(4,jae,t.currentLocalPk,t.currentList))("queryParams",t.dataFilterer.currentUrlQueryParams)}}function zae(e,i){1&e&&(p(0,"span",70),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"vpn.server-list.empty-discovery")))}function Wae(e,i){1&e&&(p(0,"span",70),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"vpn.server-list.empty-history")))}function Gae(e,i){1&e&&(p(0,"span",70),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"vpn.server-list.empty-favorites")))}function qae(e,i){1&e&&(p(0,"span",70),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"vpn.server-list.empty-blocked")))}function Kae(e,i){1&e&&(p(0,"span",70),F(1),V(2,"translate"),m()),2&e&&(v(1),be(U(2,1,"vpn.server-list.empty-with-filter")))}function Jae(e,i){if(1&e&&(p(0,"div",35),p(1,"div",67),p(2,"mat-icon",68),F(3,"warning"),m(),K(4,zae,3,3,"span",69),K(5,Wae,3,3,"span",69),K(6,Gae,3,3,"span",69),K(7,qae,3,3,"span",69),K(8,Kae,3,3,"span",69),m(),m()),2&e){var t=J(2);v(2),E("inline",!0),v(2),E("ngIf",0===t.allServers.length&&t.currentList===t.lists.Public),v(1),E("ngIf",0===t.allServers.length&&t.currentList===t.lists.History),v(1),E("ngIf",0===t.allServers.length&&t.currentList===t.lists.Favorites),v(1),E("ngIf",0===t.allServers.length&&t.currentList===t.lists.Blocked),v(1),E("ngIf",0!==t.allServers.length)}}var $ae=function(e){return{"mb-3":e}};function Qae(e,i){if(1&e&&(p(0,"div",29),p(1,"div",30),Te(2,"app-top-bar",5),m(),p(3,"div",31),p(4,"div",7),p(5,"div",32),K(6,wae,1,0,"ng-container",9),m(),K(7,Bae,3,1,"div",33),K(8,Uae,1,7,"app-paginator",34),K(9,Jae,9,6,"div",33),m(),m(),m()),2&e){var t=J(),n=Lr(2);v(2),E("titleParts",Yn(10,OI))("tabsData",t.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",t.currentLocalPk),v(3),E("ngClass",et(11,$ae,!t.dataFilterer.currentFiltersTexts||t.dataFilterer.currentFiltersTexts.length<1)),v(1),E("ngTemplateOutlet",n),v(1),E("ngIf",0!==t.dataSource.length),v(1),E("ngIf",t.numberOfPages>1),v(1),E("ngIf",0===t.dataSource.length)}}var Qr=function(e){return e.Public="public",e.History="history",e.Favorites="favorites",e.Blocked="blocked",e}({}),xI=function(){function e(i,t,n,a,o,s,l,u){var d=this;this.dialog=i,this.router=t,this.translateService=n,this.route=a,this.vpnClientDiscoveryService=o,this.vpnClientService=s,this.vpnSavedDataService=l,this.snackbarService=u,this.maxFullListElements=50,this.dateSortData=new Ln(["lastUsed"],"vpn.server-list.date-small-table-label",un.NumberReversed),this.countrySortData=new Ln(["countryName"],"vpn.server-list.country-small-table-label",un.Text),this.nameSortData=new Ln(["name"],"vpn.server-list.name-small-table-label",un.Text),this.locationSortData=new Ln(["location"],"vpn.server-list.location-small-table-label",un.Text),this.pkSortData=new Ln(["pk"],"vpn.server-list.public-key-small-table-label",un.Text),this.noteSortData=new Ln(["note"],"vpn.server-list.note-small-table-label",un.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=Wr.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=Qr.Public,this.vpnRunning=!1,this.serverFlags=rr,this.lists=Qr,this.initialLoadStarted=!1,this.navigationsSubscription=a.paramMap.subscribe(function(y){if(y.has("type")?y.get("type")===Qr.Favorites?(d.currentList=Qr.Favorites,d.listId="vfs"):y.get("type")===Qr.Blocked?(d.currentList=Qr.Blocked,d.listId="vbs"):y.get("type")===Qr.History?(d.currentList=Qr.History,d.listId="vhs"):(d.currentList=Qr.Public,d.listId="vps"):(d.currentList=Qr.Public,d.listId="vps"),Wr.setDefaultTabForServerList(d.currentList),y.has("key")&&(d.currentLocalPk=y.get("key"),Wr.changeCurrentPk(d.currentLocalPk),d.tabsData=Wr.vpnTabsData),y.has("page")){var T=Number.parseInt(y.get("page"),10);(isNaN(T)||T<1)&&(T=1),d.currentPageInUrl=T,d.recalculateElementsToShow()}d.initialLoadStarted||(d.initialLoadStarted=!0,d.loadData())}),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe(function(y){return d.currentServer=y}),this.backendDataSubscription=this.vpnClientService.backendState.subscribe(function(y){y&&(d.loadingBackendData=!1,d.vpnRunning=y.vpnClientAppData.running)})}return e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.currentServerSubscription.unsubscribe(),this.backendDataSubscription.unsubscribe(),this.dataSortedSubscription&&this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription&&this.dataFiltererSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataFilterer&&this.dataFilterer.dispose(),this.dataSorter&&this.dataSorter.dispose()},e.prototype.enterManually=function(){rae.openDialog(this.dialog,this.currentLocalPk)},e.prototype.getNoteVar=function(i){return i.note&&i.personalNote?"vpn.server-list.notes-info":!i.note&&i.personalNote?i.personalNote:i.note},e.prototype.selectServer=function(i){var t=this,n=this.vpnSavedDataService.getSavedVersion(i.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),n&&n.flag===rr.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer&&this.currentServer.pk===i.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{var a=ln.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");a.componentInstance.operationAccepted.subscribe(function(){a.componentInstance.closeModal(),t.vpnClientService.start(),Wr.redirectAfterServerChange(t.router,null,t.currentLocalPk)})}return}if(n&&n.usedWithPassword)return void Ax.openDialog(this.dialog,!0).afterClosed().subscribe(function(o){o&&t.makeServerChange(i,"-"===o?null:o.substr(1))});this.makeServerChange(i,null)}},e.prototype.makeServerChange=function(i,t){Wr.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,i.originalLocalData,i.originalDiscoveryData,null,t)},e.prototype.openOptions=function(i){var t=this,n=this.vpnSavedDataService.getSavedVersion(i.pk,!0);n||(n=this.vpnSavedDataService.processFromDiscovery(i.originalDiscoveryData)),n?Wr.openServerOptions(n,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe(function(a){a&&t.processAllServers()}):this.snackbarService.showError("vpn.unexpedted-error")},e.prototype.loadData=function(){var i=this;this.dataSubscription=this.currentList===Qr.Public?this.vpnClientDiscoveryService.getServers().subscribe(function(n){i.allServers=n.map(function(a){return{countryCode:a.countryCode,countryName:i.getCountryName(a.countryCode),name:a.name,customName:null,location:a.location,pk:a.pk,note:a.note,personalNote:null,originalDiscoveryData:a}}),i.vpnSavedDataService.updateFromDiscovery(n),i.loading=!1,i.processAllServers()}):(this.currentList===Qr.History?this.vpnSavedDataService.history:this.currentList===Qr.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked).subscribe(function(n){var a=[];n.forEach(function(o){a.push({countryCode:o.countryCode,countryName:i.getCountryName(o.countryCode),name:o.name,customName:null,location:o.location,pk:o.pk,note:o.note,personalNote:null,lastUsed:o.lastUsed,inHistory:o.inHistory,flag:o.flag,originalLocalData:o})}),i.allServers=a,i.loading=!1,i.processAllServers()})},e.prototype.processAllServers=function(){var i=this;this.fillFilterPropertiesArray();var t=new Set;this.allServers.forEach(function(d,y){t.add(d.countryCode);var T=i.vpnSavedDataService.getSavedVersion(d.pk,0===y);d.customName=T?T.customName:null,d.personalNote=T?T.personalNote:null,d.inHistory=!!T&&T.inHistory,d.flag=T?T.flag:rr.None,d.enteredManually=!!T&&T.enteredManually,d.usedWithPassword=!!T&&T.usedWithPassword});var n=[];t.forEach(function(d){n.push({label:i.getCountryName(d),value:d,image:"/assets/img/big-flags/"+d.toLowerCase()+".png"})}),n.sort(function(d,y){return d.label.localeCompare(y.label)}),n=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(n),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:dr.Select,printableLabelsForValues:n,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);var s,l,u,o=[];this.currentList===Qr.Public?(o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),s=0,l=1):(this.currentList===Qr.History&&o.push(this.dateSortData),o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),s=this.currentList===Qr.History?0:1,l=this.currentList===Qr.History?2:3),this.dataSorter=new td(this.dialog,this.translateService,o,s,this.listId),this.dataSorter.setTieBreakerColumnIndex(l),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe(function(){i.recalculateElementsToShow()}),this.dataFilterer=new rd(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe(function(d){i.filteredServers=d,i.dataSorter.setData(i.filteredServers)}),u=this.currentList===Qr.Public?this.allServers.filter(function(d){return d.flag!==rr.Blocked}):this.allServers,this.dataFilterer.setData(u)},e.prototype.fillFilterPropertiesArray=function(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:dr.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:dr.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:dr.TextInput,maxlength:100}]},e.prototype.recalculateElementsToShow=function(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){var i=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/i),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var t=i*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(t,t+i)}else this.serversToShow=null;this.dataSource=this.serversToShow},e.prototype.getCountryName=function(i){return Ds[i.toUpperCase()]?Ds[i.toUpperCase()]:i},e.\u0275fac=function(t){return new(t||e)(N(Gn),N(Zt),N(si),N(ai),N(aae),N(od),N(su),N(xn))},e.\u0275cmp=Ke({type:e,selectors:[["app-vpn-server-list"]],decls:4,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["topPart",""],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[1,"loading-top-container"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"main-container"],[1,"width-limiter"],[1,"center-container","mt-4.5"],[4,"ngTemplateOutlet"],[1,"h-100","loading-indicator"],[1,"option-bar-container"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","allow-overflow"],[1,"option-bar"],["class","text-option selected",4,"ngIf"],["class","text-option",3,"routerLink",4,"ngIf"],[1,"option-bar-container","option-bar-margin",3,"ngClass"],[1,"icon-option",3,"matTooltip","click"],[3,"inline"],[1,"option-bar-container","option-bar-margin"],[4,"ngIf"],[1,"text-option","selected"],[1,"text-option",3,"routerLink"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],[1,"transparent-50"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"row"],[1,"col-12"],[1,"col-12","vpn-table-container"],[1,"center-container","mt-4.5",3,"ngClass"],["class","rounded-elevated-box",4,"ngIf"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],["class","sortable-column date-column click-effect",3,"matTooltip","click",4,"ngIf"],[1,"sortable-column","flag-column","center","click-effect",3,"matTooltip","click"],[3,"inline",4,"ngIf"],[1,"sortable-column","name-column","click-effect",3,"click"],[1,"header-container"],[1,"header-text"],[1,"sortable-column","location-column","click-effect",3,"click"],[1,"sortable-column","pk-column","click-effect",3,"ngClass","matTooltip","click"],[1,"sortable-column","note-column","center","click-effect",3,"matTooltip","click"],[1,"actions"],[3,"ngClass","click",4,"ngFor","ngForOf"],[1,"sortable-column","date-column","click-effect",3,"matTooltip","click"],[3,"ngClass","click"],["class","date-column",4,"ngIf"],[1,"flag-column","icon-fixer"],[1,"flag"],[3,"matTooltip"],[1,"name-column"],[3,"isCurrentServer","isFavorite","isBlocked","isInHistory","hasPassword","name","pk","customName","defaultName"],[1,"location-column"],[1,"pk-column","history-pk-column"],[1,"d-inline-block","w-100",3,"shortSimple","text","click"],[1,"center","note-column"],["class","note-icon",3,"inline","matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button","vpn-small-button",3,"matTooltip","click"],[1,"date-column"],[1,"note-icon",3,"inline","matTooltip","click"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,n){1&t&&(K(0,sae,8,7,"div",0),K(1,Mae,31,20,"ng-template",null,1,Il),K(3,Qae,10,13,"div",2)),2&t&&(E("ngIf",n.loading||n.loadingBackendData),v(3),E("ngIf",!n.loading&&!n.loadingBackendData))},styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .note-column[_ngcontent-%COMP%], .pk-column[_ngcontent-%COMP%], .location-column[_ngcontent-%COMP%], .name-column[_ngcontent-%COMP%], .date-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.center-container[_ngcontent-%COMP%]{text-align:center}.center-container[_ngcontent-%COMP%] app-paginator[_ngcontent-%COMP%]{display:inline-block}.loading-top-container[_ngcontent-%COMP%]{z-index:1}.loading-indicator[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:20px}.deactivated[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.option-bar-container[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .allow-overflow[_ngcontent-%COMP%]{overflow:visible}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%]{display:flex;margin:-17px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:55px;line-height:55px;cursor:pointer;color:#fff;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover, .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{transform:scale(.95)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .text-option[_ngcontent-%COMP%]{padding:0 40px;font-size:1rem}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .icon-option[_ngcontent-%COMP%]{width:55px;font-size:24px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:rgba(0,0,0,.36);cursor:unset!important}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.option-bar-margin[_ngcontent-%COMP%]{margin-left:10px}.filter-label[_ngcontent-%COMP%]{font-size:.7rem;display:inline-block;padding:5px 10px;margin-bottom:7px}.filter-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}table[_ngcontent-%COMP%]{width:100%}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 5px!important;font-size:12px!important;font-weight:normal!important}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px!important;padding-right:5px!important}.date-column[_ngcontent-%COMP%]{width:150px}.name-column[_ngcontent-%COMP%]{max-width:0;width:20%}.location-column[_ngcontent-%COMP%]{max-width:0;min-width:72px}.pk-column[_ngcontent-%COMP%]{max-width:0;width:25%}.history-pk-column[_ngcontent-%COMP%]{width:20%!important}.icon-fixer[_ngcontent-%COMP%]{line-height:0px}.note-column[_ngcontent-%COMP%]{max-width:0;width:3%;min-width:60px}.note-column[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{opacity:.55;font-size:16px!important;display:inline}.flag-column[_ngcontent-%COMP%]{width:1px;line-height:0px}.actions[_ngcontent-%COMP%]{width:1px}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}.flag[_ngcontent-%COMP%]{width:20px;height:15px;display:inline-block;margin-right:5px;background-image:url(/assets/img/big-flags/unknown.png);background-size:contain}.flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.center[_ngcontent-%COMP%]{text-align:center}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),e}(),Dh=function(e,i){return{"small-text-icon":e,"big-text-icon":i}};function Zae(e,i){if(1&e&&(p(0,"mat-icon",4),V(1,"translate"),F(2,"done"),m()),2&e){var t=J();E("ngClass",Dn(5,Dh,!t.adjustIconsForBigText,t.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.selected-info"))}}function Xae(e,i){if(1&e&&(p(0,"mat-icon",5),V(1,"translate"),F(2,"clear"),m()),2&e){var t=J();E("ngClass",Dn(5,Dh,!t.adjustIconsForBigText,t.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.blocked-info"))}}function eoe(e,i){if(1&e&&(p(0,"mat-icon",6),V(1,"translate"),F(2,"star"),m()),2&e){var t=J();E("ngClass",Dn(5,Dh,!t.adjustIconsForBigText,t.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.favorite-info"))}}function toe(e,i){if(1&e&&(p(0,"mat-icon",4),V(1,"translate"),F(2,"history"),m()),2&e){var t=J();E("ngClass",Dn(5,Dh,!t.adjustIconsForBigText,t.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.history-info"))}}function noe(e,i){if(1&e&&(p(0,"mat-icon",4),V(1,"translate"),F(2,"lock_outlined"),m()),2&e){var t=J();E("ngClass",Dn(5,Dh,!t.adjustIconsForBigText,t.adjustIconsForBigText))("inline",!0)("matTooltip",U(1,3,"vpn.server-conditions.has-password-info"))}}function roe(e,i){if(1&e&&(Ge(0),F(1),p(2,"mat-icon",7),F(3,"fiber_manual_record"),m(),F(4),qe()),2&e){var t=J();v(1),Ce(" ",t.customName," "),v(1),E("inline",!0),v(2),Ce(" ",t.name,"\n")}}function ioe(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J();v(1),be(t.customName)}}function aoe(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J();v(1),be(t.name)}}function ooe(e,i){if(1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e){var t=J();v(1),be(U(2,1,t.defaultName))}}var II=function(){function e(){this.isCurrentServer=!1,this.isFavorite=!1,this.isBlocked=!1,this.isInHistory=!1,this.hasPassword=!1,this.name="",this.customName="",this.pk="",this.defaultName="",this.adjustIconsForBigText=!1}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=Ke({type:e,selectors:[["app-vpn-server-name"]],inputs:{isCurrentServer:"isCurrentServer",isFavorite:"isFavorite",isBlocked:"isBlocked",isInHistory:"isInHistory",hasPassword:"hasPassword",name:"name",customName:"customName",pk:"pk",defaultName:"defaultName",adjustIconsForBigText:"adjustIconsForBigText"},decls:9,vars:9,consts:[["class","server-condition-icon",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon red-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon yellow-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"server-condition-icon",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","red-clear-text",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","yellow-clear-text",3,"ngClass","inline","matTooltip"],[1,"name-separator",3,"inline"]],template:function(t,n){1&t&&(K(0,Zae,3,8,"mat-icon",0),K(1,Xae,3,8,"mat-icon",1),K(2,eoe,3,8,"mat-icon",2),K(3,toe,3,8,"mat-icon",0),K(4,noe,3,8,"mat-icon",0),K(5,roe,5,3,"ng-container",3),K(6,ioe,2,1,"ng-container",3),K(7,aoe,2,1,"ng-container",3),K(8,ooe,3,3,"ng-container",3)),2&t&&(E("ngIf",n.isCurrentServer),v(1),E("ngIf",n.isBlocked),v(1),E("ngIf",n.isFavorite),v(1),E("ngIf",n.isInHistory),v(1),E("ngIf",n.hasPassword),v(1),E("ngIf",n.customName&&n.name&&(!n.pk||n.name!==n.pk)),v(1),E("ngIf",(!n.name||n.pk&&n.name===n.pk)&&n.customName),v(1),E("ngIf",n.name&&(!n.pk||n.name!==n.pk)&&!n.customName),v(1),E("ngIf",(!n.name||n.pk&&n.name===n.pk)&&!n.customName))},directives:[Ot,Cn,Cr,cr],pipes:[wt],styles:[".server-condition-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;margin-right:3px;position:relative;width:14px!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0px}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),e}(),AI=function(){return["vpn.title"]};function soe(e,i){if(1&e&&(p(0,"div",2),p(1,"div"),Te(2,"app-top-bar",3),m(),Te(3,"app-loading-indicator"),m()),2&e){var t=J();v(2),E("titleParts",Yn(5,AI))("tabsData",t.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",t.currentLocalPk)}}function loe(e,i){1&e&&Te(0,"mat-spinner",32),2&e&&E("diameter",40)}function uoe(e,i){1&e&&(p(0,"mat-icon",33),F(1,"power_settings_new"),m()),2&e&&E("inline",!0)}function coe(e,i){if(1&e){var t=nt();Ge(0),p(1,"div",34),Te(2,"div",35),m(),p(3,"div",36),p(4,"div",37),Te(5,"app-vpn-server-name",38),m(),p(6,"div",39),Te(7,"app-copy-to-clipboard-text",40),m(),m(),p(8,"div",41),Te(9,"div"),m(),p(10,"div",42),p(11,"mat-icon",43),we("click",function(){return Ae(t),J(3).openServerOptions()}),V(12,"translate"),F(13,"settings"),m(),m(),qe()}if(2&e){var n=J(3);v(2),nr("background-image: url('assets/img/big-flags/"+n.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),E("matTooltip",n.getCountryName(n.currentRemoteServer.countryCode)),v(3),E("isFavorite",n.currentRemoteServer.flag===n.serverFlags.Favorite)("isBlocked",n.currentRemoteServer.flag===n.serverFlags.Blocked)("hasPassword",n.currentRemoteServer.usedWithPassword)("name",n.currentRemoteServer.name)("pk",n.currentRemoteServer.pk)("customName",n.currentRemoteServer.customName),v(2),E("shortSimple",!0)("text",n.currentRemoteServer.pk),v(4),E("inline",!0)("matTooltip",U(12,13,"vpn.server-options.tooltip"))}}function doe(e,i){1&e&&(Ge(0),p(1,"div",44),F(2),V(3,"translate"),m(),qe()),2&e&&(v(2),be(U(3,1,"vpn.status-page.no-server")))}var foe=function(e,i){return{custom:e,original:i}};function hoe(e,i){if(1&e&&(p(0,"div",45),p(1,"mat-icon",33),F(2,"info_outline"),m(),F(3),V(4,"translate"),m()),2&e){var t=J(3);v(1),E("inline",!0),v(2),Ce(" ",Ht(4,2,t.getNoteVar(),Dn(5,foe,t.currentRemoteServer.personalNote,t.currentRemoteServer.note))," ")}}function poe(e,i){if(1&e&&(p(0,"div",46),p(1,"mat-icon",33),F(2,"cancel"),m(),F(3),V(4,"translate"),m()),2&e){var t=J(3);v(1),E("inline",!0),v(2),Ii(" ",U(4,3,"vpn.status-page.last-error")," ",t.backendState.vpnClientAppData.lastErrorMsg," ")}}var RI=function(e){return{"disabled-button":e}};function moe(e,i){if(1&e){var t=nt();p(0,"div",22),p(1,"div",11),p(2,"div",13),F(3),V(4,"translate"),m(),p(5,"div"),p(6,"div",23),we("click",function(){return Ae(t),J(2).start()}),p(7,"div",24),Te(8,"div",25),m(),p(9,"div",24),Te(10,"div",26),m(),K(11,loe,1,1,"mat-spinner",27),K(12,uoe,2,1,"mat-icon",28),m(),m(),p(13,"div",29),K(14,coe,14,15,"ng-container",18),K(15,doe,4,3,"ng-container",18),m(),p(16,"div"),K(17,hoe,5,8,"div",30),m(),p(18,"div"),K(19,poe,5,5,"div",31),m(),m(),m()}if(2&e){var n=J(2);v(3),be(U(4,8,"vpn.status-page.start-title")),v(3),E("ngClass",et(10,RI,n.showBusy)),v(5),E("ngIf",n.showBusy),v(1),E("ngIf",!n.showBusy),v(2),E("ngIf",n.currentRemoteServer),v(1),E("ngIf",!n.currentRemoteServer),v(2),E("ngIf",n.currentRemoteServer&&(n.currentRemoteServer.note||n.currentRemoteServer.personalNote)),v(2),E("ngIf",n.backendState&&n.backendState.vpnClientAppData&&n.backendState.vpnClientAppData.lastErrorMsg)}}function voe(e,i){if(1&e&&(p(0,"div",77),p(1,"mat-icon",33),F(2,"cancel"),m(),F(3),V(4,"translate"),m()),2&e){var t=J(3);v(1),E("inline",!0),v(2),Ii(" ",U(4,3,"vpn.status-page.last-error")," ",t.backendState.vpnClientAppData.connectionData.error," ")}}function goe(e,i){1&e&&(p(0,"div"),Te(1,"mat-spinner",32),m()),2&e&&(v(1),E("diameter",24))}function _oe(e,i){1&e&&(p(0,"mat-icon",33),F(1,"power_settings_new"),m()),2&e&&E("inline",!0)}var dd=function(e){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:e}},FI=function(e){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:e}},NI=function(e){return{showValue:!0,showUnit:!0,useBits:e}},og=function(e){return{time:e}};function yoe(e,i){if(1&e){var t=nt();p(0,"div",47),p(1,"div",11),p(2,"div",48),p(3,"div",49),p(4,"mat-icon",33),F(5,"timer"),m(),p(6,"span"),F(7),m(),m(),m(),p(8,"div",50),F(9),V(10,"translate"),m(),p(11,"div",51),p(12,"div",52),F(13),V(14,"translate"),m(),Te(15,"div"),m(),p(16,"div",53),F(17),V(18,"translate"),m(),K(19,voe,5,5,"div",54),p(20,"div",55),p(21,"div",56),V(22,"translate"),p(23,"div",57),Te(24,"app-line-chart",58),m(),p(25,"div",59),p(26,"div",60),p(27,"div",61),F(28),V(29,"autoScale"),m(),Te(30,"div",62),m(),m(),p(31,"div",59),p(32,"div",63),p(33,"div",61),F(34),V(35,"autoScale"),m(),Te(36,"div",62),m(),m(),p(37,"div",59),p(38,"div",64),p(39,"div",61),F(40),V(41,"autoScale"),m(),m(),m(),p(42,"div",65),p(43,"mat-icon",66),F(44,"keyboard_backspace"),m(),p(45,"div",67),F(46),V(47,"autoScale"),m(),p(48,"div",68),F(49),V(50,"autoScale"),V(51,"translate"),m(),m(),m(),p(52,"div",56),V(53,"translate"),p(54,"div",57),Te(55,"app-line-chart",58),m(),p(56,"div",69),p(57,"div",60),p(58,"div",61),F(59),V(60,"autoScale"),m(),Te(61,"div",62),m(),m(),p(62,"div",59),p(63,"div",63),p(64,"div",61),F(65),V(66,"autoScale"),m(),Te(67,"div",62),m(),m(),p(68,"div",59),p(69,"div",64),p(70,"div",61),F(71),V(72,"autoScale"),m(),m(),m(),p(73,"div",65),p(74,"mat-icon",70),F(75,"keyboard_backspace"),m(),p(76,"div",67),F(77),V(78,"autoScale"),m(),p(79,"div",68),F(80),V(81,"autoScale"),V(82,"translate"),m(),m(),m(),m(),p(83,"div",71),p(84,"div",72),V(85,"translate"),p(86,"div",57),Te(87,"app-line-chart",73),m(),p(88,"div",69),p(89,"div",60),p(90,"div",61),F(91),V(92,"translate"),m(),Te(93,"div",62),m(),m(),p(94,"div",59),p(95,"div",63),p(96,"div",61),F(97),V(98,"translate"),m(),Te(99,"div",62),m(),m(),p(100,"div",59),p(101,"div",64),p(102,"div",61),F(103),V(104,"translate"),m(),m(),m(),p(105,"div",65),p(106,"mat-icon",33),F(107,"swap_horiz"),m(),p(108,"div"),F(109),V(110,"translate"),m(),m(),m(),m(),p(111,"div",74),we("click",function(){return Ae(t),J(2).stop()}),p(112,"div",75),p(113,"div",76),K(114,goe,2,1,"div",18),K(115,_oe,2,1,"mat-icon",28),p(116,"span"),F(117),V(118,"translate"),m(),m(),m(),m(),m(),m()}if(2&e){var n=J(2);v(4),E("inline",!0),v(3),be(n.connectionTimeString),v(2),be(U(10,58,"vpn.connection-info.state-title")),v(4),be(U(14,60,n.currentStateText)),v(2),pa("state-line "+n.currentStateLineClass),v(2),be(U(18,62,n.currentStateText+"-info")),v(2),E("ngIf",n.backendState&&n.backendState.vpnClientAppData&&n.backendState.vpnClientAppData.connectionData&&n.backendState.vpnClientAppData.connectionData.error),v(2),E("matTooltip",U(22,64,"vpn.status-page.upload-info")),v(3),E("animated",!1)("data",n.sentHistory)("min",n.minUploadInGraph)("max",n.maxUploadInGraph),v(4),Ce(" ",Ht(29,66,n.maxUploadInGraph,et(118,dd,n.showSpeedsInBits))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin+"px;"),v(4),Ce(" ",Ht(35,69,n.midUploadInGraph,et(120,dd,n.showSpeedsInBits))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin/2+"px;"),v(4),Ce(" ",Ht(41,72,n.minUploadInGraph,et(122,dd,n.showSpeedsInBits))," "),v(3),E("inline",!0),v(3),be(Ht(47,75,n.uploadSpeed,et(124,FI,n.showSpeedsInBits))),v(3),Ii(" ",Ht(50,78,n.totalUploaded,et(126,NI,n.showTotalsInBits))," ",U(51,81,"vpn.status-page.total-data-label")," "),v(3),E("matTooltip",U(53,83,"vpn.status-page.download-info")),v(3),E("animated",!1)("data",n.receivedHistory)("min",n.minDownloadInGraph)("max",n.maxDownloadInGraph),v(4),Ce(" ",Ht(60,85,n.maxDownloadInGraph,et(128,dd,n.showSpeedsInBits))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin+"px;"),v(4),Ce(" ",Ht(66,88,n.midDownloadInGraph,et(130,dd,n.showSpeedsInBits))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin/2+"px;"),v(4),Ce(" ",Ht(72,91,n.minDownloadInGraph,et(132,dd,n.showSpeedsInBits))," "),v(3),E("inline",!0),v(3),be(Ht(78,94,n.downloadSpeed,et(134,FI,n.showSpeedsInBits))),v(3),Ii(" ",Ht(81,97,n.totalDownloaded,et(136,NI,n.showTotalsInBits))," ",U(82,100,"vpn.status-page.total-data-label")," "),v(4),E("matTooltip",U(85,102,"vpn.status-page.latency-info")),v(3),E("animated",!1)("data",n.latencyHistory)("min",n.minLatencyInGraph)("max",n.maxLatencyInGraph),v(4),Ce(" ",Ht(92,104,"common."+n.getLatencyValueString(n.maxLatencyInGraph),et(138,og,n.getPrintableLatency(n.maxLatencyInGraph)))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin+"px;"),v(4),Ce(" ",Ht(98,107,"common."+n.getLatencyValueString(n.midLatencyInGraph),et(140,og,n.getPrintableLatency(n.midLatencyInGraph)))," "),v(2),nr("margin-top: "+n.graphsTopInternalMargin/2+"px;"),v(4),Ce(" ",Ht(104,110,"common."+n.getLatencyValueString(n.minLatencyInGraph),et(142,og,n.getPrintableLatency(n.minLatencyInGraph)))," "),v(3),E("inline",!0),v(3),be(Ht(110,113,"common."+n.getLatencyValueString(n.latency),et(144,og,n.getPrintableLatency(n.latency)))),v(2),E("ngClass",et(146,RI,n.showBusy)),v(3),E("ngIf",n.showBusy),v(1),E("ngIf",!n.showBusy),v(2),be(U(118,116,"vpn.status-page.disconnect"))}}function boe(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J(3);v(1),be(t.currentIp)}}function koe(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"common.unknown")))}function Coe(e,i){1&e&&Te(0,"mat-spinner",32),2&e&&E("diameter",20)}function Moe(e,i){1&e&&(p(0,"mat-icon",81),V(1,"translate"),F(2,"warning"),m()),2&e&&E("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-problem-info"))}function woe(e,i){if(1&e){var t=nt();p(0,"mat-icon",82),we("click",function(){return Ae(t),J(3).getIp()}),V(1,"translate"),F(2,"refresh"),m()}2&e&&E("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-refresh-info"))}function Soe(e,i){if(1&e&&(p(0,"div",78),K(1,boe,2,1,"ng-container",18),K(2,koe,3,3,"ng-container",18),K(3,Coe,1,1,"mat-spinner",27),K(4,Moe,3,4,"mat-icon",79),K(5,woe,3,4,"mat-icon",80),m()),2&e){var t=J(2);v(1),E("ngIf",t.currentIp),v(1),E("ngIf",!t.currentIp&&!t.loadingCurrentIp),v(1),E("ngIf",t.loadingCurrentIp),v(1),E("ngIf",t.problemGettingIp),v(1),E("ngIf",!t.loadingCurrentIp)}}function Toe(e,i){1&e&&(p(0,"div",78),F(1),V(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"vpn.status-page.data.unavailable")," "))}function Doe(e,i){if(1&e&&(Ge(0),F(1),qe()),2&e){var t=J(3);v(1),be(t.ipCountry)}}function Eoe(e,i){1&e&&(Ge(0),F(1),V(2,"translate"),qe()),2&e&&(v(1),be(U(2,1,"common.unknown")))}function Loe(e,i){1&e&&Te(0,"mat-spinner",32),2&e&&E("diameter",20)}function Poe(e,i){1&e&&(p(0,"mat-icon",81),V(1,"translate"),F(2,"warning"),m()),2&e&&E("inline",!0)("matTooltip",U(1,2,"vpn.status-page.data.ip-country-problem-info"))}function Ooe(e,i){if(1&e&&(p(0,"div",78),K(1,Doe,2,1,"ng-container",18),K(2,Eoe,3,3,"ng-container",18),K(3,Loe,1,1,"mat-spinner",27),K(4,Poe,3,4,"mat-icon",79),m()),2&e){var t=J(2);v(1),E("ngIf",t.ipCountry),v(1),E("ngIf",!t.ipCountry&&!t.loadingIpCountry),v(1),E("ngIf",t.loadingIpCountry),v(1),E("ngIf",t.problemGettingIpCountry)}}function xoe(e,i){1&e&&(p(0,"div",78),F(1),V(2,"translate"),m()),2&e&&(v(1),Ce(" ",U(2,1,"vpn.status-page.data.unavailable")," "))}function Ioe(e,i){if(1&e){var t=nt();p(0,"div"),p(1,"div",13),F(2),V(3,"translate"),m(),p(4,"div",78),Te(5,"app-vpn-server-name",83),p(6,"mat-icon",82),we("click",function(){return Ae(t),J(2).openServerOptions()}),V(7,"translate"),F(8,"settings"),m(),m(),m()}if(2&e){var n=J(2);v(2),be(U(3,10,"vpn.status-page.data.server")),v(3),E("isFavorite",n.currentRemoteServer.flag===n.serverFlags.Favorite)("isBlocked",n.currentRemoteServer.flag===n.serverFlags.Blocked)("hasPassword",n.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",n.currentRemoteServer.name)("pk",n.currentRemoteServer.pk)("customName",n.currentRemoteServer.customName),v(1),E("inline",!0)("matTooltip",U(7,12,"vpn.server-options.tooltip"))}}function Aoe(e,i){1&e&&Te(0,"div",15)}function Roe(e,i){if(1&e&&(p(0,"div"),p(1,"div",13),F(2),V(3,"translate"),m(),p(4,"div",20),F(5),m(),m()),2&e){var t=J(2);v(2),be(U(3,2,"vpn.status-page.data.server-note")),v(3),Ce(" ",t.currentRemoteServer.personalNote," ")}}function Foe(e,i){1&e&&Te(0,"div",15)}function Noe(e,i){if(1&e&&(p(0,"div"),p(1,"div",13),F(2),V(3,"translate"),m(),p(4,"div",20),F(5),m(),m()),2&e){var t=J(2);v(2),be(U(3,2,"vpn.status-page.data."+(t.currentRemoteServer.personalNote?"original-":"")+"server-note")),v(3),Ce(" ",t.currentRemoteServer.note," ")}}function Yoe(e,i){1&e&&Te(0,"div",15)}function Hoe(e,i){if(1&e&&(p(0,"div"),p(1,"div",13),F(2),V(3,"translate"),m(),p(4,"div",20),Te(5,"app-copy-to-clipboard-text",21),m(),m()),2&e){var t=J(2);v(2),be(U(3,2,"vpn.status-page.data.remote-pk")),v(3),E("text",t.currentRemoteServer.pk)}}function Voe(e,i){1&e&&Te(0,"div",15)}function Boe(e,i){if(1&e&&(p(0,"div",4),p(1,"div",5),p(2,"div",6),Te(3,"app-top-bar",3),m(),m(),p(4,"div",7),K(5,moe,20,12,"div",8),K(6,yoe,119,148,"div",9),p(7,"div",10),p(8,"div",11),p(9,"div",12),p(10,"div"),p(11,"div",13),F(12),V(13,"translate"),m(),K(14,Soe,6,5,"div",14),K(15,Toe,3,3,"div",14),m(),Te(16,"div",15),p(17,"div"),p(18,"div",13),F(19),V(20,"translate"),m(),K(21,Ooe,5,4,"div",14),K(22,xoe,3,3,"div",14),m(),Te(23,"div",16),Te(24,"div",17),Te(25,"div",16),K(26,Ioe,9,14,"div",18),K(27,Aoe,1,0,"div",19),K(28,Roe,6,4,"div",18),K(29,Foe,1,0,"div",19),K(30,Noe,6,4,"div",18),K(31,Yoe,1,0,"div",19),K(32,Hoe,6,4,"div",18),K(33,Voe,1,0,"div",19),p(34,"div"),p(35,"div",13),F(36),V(37,"translate"),m(),p(38,"div",20),Te(39,"app-copy-to-clipboard-text",21),m(),m(),m(),m(),m(),m(),m()),2&e){var t=J();v(3),E("titleParts",Yn(29,AI))("tabsData",t.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",t.currentLocalPk),v(2),E("ngIf",!t.showStarted),v(1),E("ngIf",t.showStarted),v(6),be(U(13,23,"vpn.status-page.data.ip")),v(2),E("ngIf",t.ipInfoAllowed),v(1),E("ngIf",!t.ipInfoAllowed),v(4),be(U(20,25,"vpn.status-page.data.country")),v(2),E("ngIf",t.ipInfoAllowed),v(1),E("ngIf",!t.ipInfoAllowed),v(4),E("ngIf",t.showStarted&&t.currentRemoteServer),v(1),E("ngIf",t.showStarted&&t.currentRemoteServer),v(1),E("ngIf",t.showStarted&&t.currentRemoteServer&&t.currentRemoteServer.personalNote),v(1),E("ngIf",t.showStarted&&t.currentRemoteServer&&t.currentRemoteServer.personalNote),v(1),E("ngIf",t.showStarted&&t.currentRemoteServer&&t.currentRemoteServer.note),v(1),E("ngIf",t.showStarted&&t.currentRemoteServer&&t.currentRemoteServer.note),v(1),E("ngIf",t.showStarted&&t.currentRemoteServer),v(1),E("ngIf",t.showStarted&&t.currentRemoteServer),v(3),be(U(37,27,"vpn.status-page.data.local-pk")),v(3),E("text",t.currentLocalPk)}}var joe=function(){function e(i,t,n,a,o,s,l){this.vpnClientService=i,this.vpnSavedDataService=t,this.snackbarService=n,this.translateService=a,this.route=o,this.dialog=s,this.router=l,this.tabsData=Wr.vpnTabsData,this.sentHistory=[0,0,0,0,0,0,0,0,0,0],this.receivedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0],this.minUploadInGraph=0,this.midUploadInGraph=0,this.maxUploadInGraph=0,this.minDownloadInGraph=0,this.midDownloadInGraph=0,this.maxDownloadInGraph=0,this.minLatencyInGraph=0,this.midLatencyInGraph=0,this.maxLatencyInGraph=0,this.graphsTopInternalMargin=r0.topInternalMargin,this.connectionTimeString="00:00:00",this.calculatedSegs=-1,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0,this.showSpeedsInBits=!0,this.showTotalsInBits=!1,this.loading=!0,this.showStartedLastValue=!1,this.showStarted=!1,this.lastAppState=null,this.showBusy=!1,this.stopRequested=!1,this.loadingCurrentIp=!0,this.loadingIpCountry=!0,this.problemGettingIp=!1,this.problemGettingIpCountry=!1,this.lastIpRefresDate=0,this.serverFlags=rr,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();var u=this.vpnSavedDataService.getDataUnitsSetting();u===go.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):u===go.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}return e.prototype.ngOnInit=function(){var i=this;this.navigationsSubscription=this.route.paramMap.subscribe(function(t){t.has("key")&&(i.currentLocalPk=t.get("key"),Wr.changeCurrentPk(i.currentLocalPk),i.tabsData=Wr.vpnTabsData),setTimeout(function(){return i.navigationsSubscription.unsubscribe()}),i.dataSubscription=i.vpnClientService.backendState.subscribe(function(n){if(n&&n.serviceState!==Ci.PerformingInitialCheck){var a=!i.backendState;if(i.backendState=n,(a||i.lastAppState===Pn.Running&&n.vpnClientAppData.appState!==Pn.Running||i.lastAppState!==Pn.Running&&n.vpnClientAppData.appState===Pn.Running)&&i.getIp(!0),i.showStarted=n.vpnClientAppData.running||n.vpnClientAppData.appState!==Pn.Stopped,i.showStartedLastValue!==i.showStarted){for(var o=0;o<10;o++)i.receivedHistory[o]=0,i.sentHistory[o]=0,i.latencyHistory[o]=0;i.updateGraphLimits(),i.uploadSpeed=0,i.downloadSpeed=0,i.totalUploaded=0,i.totalDownloaded=0,i.latency=0}if(i.lastAppState=n.vpnClientAppData.appState,i.showStartedLastValue=i.showStarted,i.stopRequested?i.showStarted||(i.stopRequested=!1,i.showBusy=n.busy):i.showBusy=n.busy,n.vpnClientAppData.connectionData){for(o=0;o<10;o++)i.receivedHistory[o]=n.vpnClientAppData.connectionData.downloadSpeedHistory[o],i.sentHistory[o]=n.vpnClientAppData.connectionData.uploadSpeedHistory[o],i.latencyHistory[o]=n.vpnClientAppData.connectionData.latencyHistory[o];i.updateGraphLimits(),i.uploadSpeed=n.vpnClientAppData.connectionData.uploadSpeed,i.downloadSpeed=n.vpnClientAppData.connectionData.downloadSpeed,i.totalUploaded=n.vpnClientAppData.connectionData.totalUploaded,i.totalDownloaded=n.vpnClientAppData.connectionData.totalDownloaded,i.latency=n.vpnClientAppData.connectionData.latency}n.vpnClientAppData.running&&n.vpnClientAppData.appState===Pn.Running&&n.vpnClientAppData.connectionData&&n.vpnClientAppData.connectionData.connectionDuration?(-1===i.calculatedSegs||n.vpnClientAppData.connectionData.connectionDuration>i.calculatedSegs+2||n.vpnClientAppData.connectionData.connectionDurationn&&(n=o)}),0===n&&(n+=1),[0,new(Xv())(n).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),n]},e.prototype.getIp=function(i){var t=this;if(void 0===i&&(i=!1),this.ipInfoAllowed){if(!i){if(this.loadingCurrentIp||this.loadingIpCountry)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");if(Date.now()-this.lastIpRefresDate<1e4){var a=Math.ceil((1e4-(Date.now()-this.lastIpRefresDate))/1e3);return void this.snackbarService.showWarning(this.translateService.instant("vpn.status-page.data.ip-refresh-time-warning",{seconds:a}))}}this.ipSubscription&&this.ipSubscription.unsubscribe(),this.loadingCurrentIp=!0,this.loadingIpCountry=!0,this.previousIp=this.currentIp,this.ipSubscription=this.vpnClientService.getIp().subscribe(function(o){t.loadingCurrentIp=!1,t.lastIpRefresDate=Date.now(),o?(t.problemGettingIp=!1,t.currentIp=o,!t.ipCountry||t.previousIp!==t.currentIp||t.problemGettingIpCountry?t.getIpCountry():t.loadingIpCountry=!1):(t.problemGettingIp=!0,t.problemGettingIpCountry=!0,t.loadingIpCountry=!1)},function(){t.lastIpRefresDate=Date.now(),t.loadingCurrentIp=!1,t.loadingIpCountry=!1,t.problemGettingIp=!1,t.problemGettingIpCountry=!0})}},e.prototype.getIpCountry=function(){var i=this;!this.ipInfoAllowed||(this.ipSubscription&&this.ipSubscription.unsubscribe(),this.loadingIpCountry=!0,this.ipSubscription=this.vpnClientService.getIpCountry(this.currentIp).subscribe(function(t){i.loadingIpCountry=!1,i.lastIpRefresDate=Date.now(),t?(i.problemGettingIpCountry=!1,i.ipCountry=t):i.problemGettingIpCountry=!0},function(){i.lastIpRefresDate=Date.now(),i.loadingIpCountry=!1,i.problemGettingIpCountry=!0}))},e.\u0275fac=function(t){return new(t||e)(N(od),N(su),N(xn),N(si),N(ai),N(Gn),N(Zt))},e.\u0275cmp=Ke({type:e,selectors:[["app-vpn-status"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","general-container",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"general-container"],[1,"row"],[1,"col-12"],[1,"row","flex-1"],["class","col-7 column left-area",4,"ngIf"],["class","col-7 column left-area-connected",4,"ngIf"],[1,"col-5","column","right-area"],[1,"column-container"],[1,"content-area"],[1,"title"],["class","big-text",4,"ngIf"],[1,"margin"],[1,"big-margin"],[1,"separator"],[4,"ngIf"],["class","margin",4,"ngIf"],[1,"small-text"],[3,"text"],[1,"col-7","column","left-area"],[1,"start-button",3,"ngClass","click"],[1,"start-button-img-container"],[1,"start-button-img"],[1,"start-button-img","animated-button"],[3,"diameter",4,"ngIf"],[3,"inline",4,"ngIf"],[1,"current-server"],["class","lower-text current-server-note",4,"ngIf"],["class","lower-text last-error",4,"ngIf"],[3,"diameter"],[3,"inline"],[1,"flag"],[3,"matTooltip"],[1,"text-container"],[1,"top-line"],["defaultName","vpn.unnamed",3,"isFavorite","isBlocked","hasPassword","name","pk","customName"],[1,"bottom-line"],[3,"shortSimple","text"],[1,"icon-button-separator"],[1,"icon-button"],[1,"transparent-button","vpn-small-button",3,"inline","matTooltip","click"],[1,"none"],[1,"lower-text","current-server-note"],[1,"lower-text","last-error"],[1,"col-7","column","left-area-connected"],[1,"time-container"],[1,"time-content"],[1,"state-title"],[1,"d-inline-block"],[1,"state-text"],[1,"state-explanation"],["class","last-connected-error",4,"ngIf"],[1,"data-container"],[1,"rounded-elevated-box","data-box","big-box",3,"matTooltip"],[1,"chart-container"],["height","140","color","#00000080",3,"animated","data","min","max"],[1,"chart-label"],[1,"label-container","label-top"],[1,"label"],[1,"line"],[1,"label-container","label-mid"],[1,"label-container","label-bottom"],[1,"content"],[1,"upload",3,"inline"],[1,"speed"],[1,"total"],[1,"chart-label","top-chart-label"],[1,"download",3,"inline"],[1,"latency-container"],[1,"rounded-elevated-box","data-box","small-box",3,"matTooltip"],["height","50","color","#00000080",3,"animated","data","min","max"],[1,"disconnect-button",3,"ngClass","click"],[1,"disconnect-button-container"],[1,"d-inline-flex"],[1,"last-connected-error"],[1,"big-text"],["class","small-icon blinking",3,"inline","matTooltip",4,"ngIf"],["class","big-icon transparent-button vpn-small-button",3,"inline","matTooltip","click",4,"ngIf"],[1,"small-icon","blinking",3,"inline","matTooltip"],[1,"big-icon","transparent-button","vpn-small-button",3,"inline","matTooltip","click"],["defaultName","vpn.unnamed",3,"isFavorite","isBlocked","hasPassword","adjustIconsForBigText","name","pk","customName"]],template:function(t,n){1&t&&(K(0,soe,4,6,"div",0),K(1,Boe,40,30,"div",1)),2&t&&(E("ngIf",n.loading),v(1),E("ngIf",!n.loading))},directives:[Ot,lu,ws,n0,Cr,iu,Cn,cr,II,r0],pipes:[wt,Th],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}.general-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.column[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;padding-top:40px;padding-bottom:20px}.column[_ngcontent-%COMP%] .column-container[_ngcontent-%COMP%]{width:100%;text-align:center}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:100px;font-size:.8rem;padding:8px 15px;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%]{color:#bbb}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:top}.left-area-connected[_ngcontent-%COMP%] .state-title[_ngcontent-%COMP%]{font-size:1rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .state-text[_ngcontent-%COMP%]{font-size:2rem;text-transform:uppercase}.left-area-connected[_ngcontent-%COMP%] .state-line[_ngcontent-%COMP%]{height:1px;width:100%;margin-bottom:5px}.left-area-connected[_ngcontent-%COMP%] .green-line[_ngcontent-%COMP%]{background-color:#2ecc54}.left-area-connected[_ngcontent-%COMP%] .yellow-line[_ngcontent-%COMP%]{background-color:#d48b05}.left-area-connected[_ngcontent-%COMP%] .red-line[_ngcontent-%COMP%]{background-color:#da3439}.left-area-connected[_ngcontent-%COMP%] .state-explanation[_ngcontent-%COMP%]{font-size:.7rem}.left-area-connected[_ngcontent-%COMP%] .last-connected-error[_ngcontent-%COMP%]{margin-top:15px;font-size:.8rem;color:#ff393f}.left-area-connected[_ngcontent-%COMP%] .last-connected-error[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .data-container[_ngcontent-%COMP%]{margin-top:20px}.left-area-connected[_ngcontent-%COMP%] .latency-container[_ngcontent-%COMP%]{margin-bottom:20px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%]{cursor:default;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{height:0px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%]{height:0px;text-align:left}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{position:relative;top:-3px;left:-3px;display:flex;margin-right:-6px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.6rem;margin-left:5px;opacity:.2}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:1px;width:10px;background-color:#fff;flex-grow:1;opacity:.1;margin-left:10px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-top[_ngcontent-%COMP%]{align-items:flex-start}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-mid[_ngcontent-%COMP%]{align-items:center}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-bottom[_ngcontent-%COMP%]{align-items:flex-end;position:relative;top:-6px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%]{width:170px;height:140px;margin:5px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:170px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:170px;height:140px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:20px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:25px;transform:rotate(-90deg);width:40px;height:40px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .download[_ngcontent-%COMP%]{transform:rotate(-90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .upload[_ngcontent-%COMP%]{transform:rotate(90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .speed[_ngcontent-%COMP%]{font-size:.875rem}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:140px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%]{width:352px;height:50px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:352px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:100%;font-size:.875rem;position:relative}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;height:25px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:50px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]{background:linear-gradient(#940000,#7b0000) no-repeat!important;box-shadow:5px 5px 7px rgba(0,0,0,.502);width:352px;font-size:24px;display:inline-block;border-radius:10px;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:hover{background:linear-gradient(#a10000,#900000) no-repeat!important}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:active{transform:scale(.98);box-shadow:0 0 7px rgba(0,0,0,.502)}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%]{background-image:url(/assets/img/background-pattern.png);padding:12px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;position:relative;top:4px;margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;top:-2px;line-height:1.7}.left-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:bold;text-align:center;text-transform:uppercase}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]{text-align:center;margin:10px 0;cursor:pointer;display:inline-block;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:active mat-icon[_ngcontent-%COMP%]{transform:scale(.9)}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover .start-button-img-container[_ngcontent-%COMP%]{opacity:1}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{text-shadow:0px 0px 5px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%]{width:0px;height:0px;opacity:.7}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .start-button-img[_ngcontent-%COMP%]{display:inline-block;background-image:url(/assets/img/start-button.png);background-size:contain;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .animated-button[_ngcontent-%COMP%]{-webkit-animation:button-animation 4s linear infinite;animation:button-animation 4s linear infinite;pointer-events:none}@-webkit-keyframes button-animation{0%{transform:scale(1.5);opacity:0}25%{transform:scale(1);opacity:.8}50%{transform:scale(1.5);opacity:0}to{transform:scale(1.5);opacity:0}}@keyframes button-animation{0%{transform:scale(1.5);opacity:0}25%{transform:scale(1);opacity:.8}50%{transform:scale(1.5);opacity:0}to{transform:scale(1.5);opacity:0}}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{line-height:140px;font-size:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-shadow:0px 0px 2px white}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-top:50px;opacity:.5}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%]{display:inline-flex;background:rgba(0,0,0,.7);border-radius:10px;padding:10px 15px;max-width:280px;text-align:left}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{background-image:url(/assets/img/big-flags/unknown.png);width:20px;height:15px;background-size:contain;align-self:center;flex-shrink:0;margin-right:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{overflow:hidden}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.7rem;color:#bbb}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%]{display:flex;align-items:center}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:1px;height:30px;background:rgba(255,255,255,.15);margin-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%]{font-size:22px;line-height:1;display:flex;align-items:center;padding-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{cursor:pointer}.left-area[_ngcontent-%COMP%] .lower-text[_ngcontent-%COMP%]{display:inline-block;max-width:280px;margin-top:10px}.left-area[_ngcontent-%COMP%] .lower-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.left-area[_ngcontent-%COMP%] .current-server-note[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area[_ngcontent-%COMP%] .last-error[_ngcontent-%COMP%]{font-size:.8rem;color:#ff393f}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%]{background:#3d67a226;padding:30px;text-align:left;max-width:420px;opacity:.95}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%]{font-size:1.25rem;overflow-wrap:break-word}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .small-icon[_ngcontent-%COMP%]{color:#d48b05;opacity:.7;font-size:.875rem;cursor:default;margin-left:5px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .big-icon[_ngcontent-%COMP%]{font-size:1.125rem;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .small-text[_ngcontent-%COMP%]{font-size:.7rem;margin-top:1px;overflow-wrap:break-word}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .margin[_ngcontent-%COMP%]{height:12px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-margin[_ngcontent-%COMP%]{height:15px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{height:1px;width:100%;background:rgba(255,255,255,.15)}.disabled-button[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}"]}),e}(),o0=function(){function e(i){this.router=i}return Object.defineProperty(e.prototype,"lastError",{set:function(i){this.lastErrorInternal=i},enumerable:!1,configurable:!0}),e.prototype.canActivate=function(i,t){return this.checkIfCanActivate()},e.prototype.canActivateChild=function(i,t){return this.checkIfCanActivate()},e.prototype.checkIfCanActivate=function(){return this.lastErrorInternal?(this.router.navigate(["vpn","unavailable"],{queryParams:{problem:this.lastErrorInternal}}),Qe(!1)):Qe(!0)},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)(_e(Zt))},providedIn:"root"}),e}(),uu=function(e){return e.UnableToConnectWithTheVpnClientApp="unavailable",e.NoLocalVisorPkProvided="pk",e.InvalidStorageState="storage",e.LocalVisorPkChangedDuringUsage="pkChange",e}({}),Uoe=function(){function e(i,t,n){var a=this;this.route=i,this.vpnAuthGuardService=t,this.vpnClientService=n,this.problem=null,this.navigationsSubscription=this.route.queryParamMap.subscribe(function(o){a.problem=o.get("problem"),a.problem||(a.problem=uu.UnableToConnectWithTheVpnClientApp),a.vpnAuthGuardService.lastError=a.problem,a.vpnClientService.stopContinuallyUpdatingData(),setTimeout(function(){return a.navigationsSubscription.unsubscribe()})})}return e.prototype.getTitle=function(){return this.problem===uu.NoLocalVisorPkProvided?"vpn.error-page.text-pk":this.problem===uu.InvalidStorageState?"vpn.error-page.text-storage":this.problem===uu.LocalVisorPkChangedDuringUsage?"vpn.error-page.text-pk-change":"vpn.error-page.text"},e.prototype.getInfo=function(){return this.problem===uu.NoLocalVisorPkProvided?"vpn.error-page.more-info-pk":this.problem===uu.InvalidStorageState?"vpn.error-page.more-info-storage":this.problem===uu.LocalVisorPkChangedDuringUsage?"vpn.error-page.more-info-pk-change":"vpn.error-page.more-info"},e.\u0275fac=function(t){return new(t||e)(N(ai),N(o0),N(od))},e.\u0275cmp=Ke({type:e,selectors:[["app-vpn-error"]],decls:12,vars:7,consts:[[1,"main-container"],[1,"text-container"],[1,"inner-container"],[1,"error-icon"],[3,"inline"],[1,"more-info"]],template:function(t,n){1&t&&(p(0,"div",0),p(1,"div",1),p(2,"div",2),p(3,"div",3),p(4,"mat-icon",4),F(5,"error_outline"),m(),m(),p(6,"div"),F(7),V(8,"translate"),m(),p(9,"div",5),F(10),V(11,"translate"),m(),m(),m(),m()),2&t&&(v(4),E("inline",!0),v(3),be(U(8,3,n.getTitle())),v(3),be(U(11,5,n.getInfo())))},directives:[Cn],pipes:[wt],styles:[".main-container[_ngcontent-%COMP%]{height:100%;display:flex}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:100%;align-self:center;text-align:center}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%]{max-width:550px;display:inline-block;font-size:1.25rem}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{font-size:80px}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .more-info[_ngcontent-%COMP%]{font-size:.8rem;opacity:.75;margin-top:10px}"]}),e}(),zoe=["topBarLoading"],Woe=["topBarLoaded"],YI=function(){return["vpn.title"]};function Goe(e,i){if(1&e&&(p(0,"div",2),p(1,"div"),Te(2,"app-top-bar",3,4),m(),Te(4,"app-loading-indicator",5),m()),2&e){var t=J();v(2),E("titleParts",Yn(5,YI))("tabsData",t.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",t.currentLocalPk)}}function qoe(e,i){1&e&&Te(0,"mat-spinner",20),2&e&&E("diameter",12)}function Koe(e,i){if(1&e){var t=nt();p(0,"div",6),p(1,"div",7),Te(2,"app-top-bar",3,8),m(),p(4,"div",9),p(5,"div",10),p(6,"div",11),p(7,"div",12),p(8,"table",13),p(9,"tr"),p(10,"th",14),p(11,"div",15),p(12,"div",16),F(13),V(14,"translate"),m(),m(),m(),p(15,"th",14),F(16),V(17,"translate"),m(),m(),p(18,"tr",17),we("click",function(){return Ae(t),J().changeKillswitchOption()}),p(19,"td",14),p(20,"div"),F(21),V(22,"translate"),p(23,"mat-icon",18),V(24,"translate"),F(25,"help"),m(),m(),m(),p(26,"td",14),Te(27,"span"),F(28),V(29,"translate"),K(30,qoe,1,1,"mat-spinner",19),m(),m(),p(31,"tr",17),we("click",function(){return Ae(t),J().changeGetIpOption()}),p(32,"td",14),p(33,"div"),F(34),V(35,"translate"),p(36,"mat-icon",18),V(37,"translate"),F(38,"help"),m(),m(),m(),p(39,"td",14),Te(40,"span"),F(41),V(42,"translate"),m(),m(),p(43,"tr",17),we("click",function(){return Ae(t),J().changeDataUnits()}),p(44,"td",14),p(45,"div"),F(46),V(47,"translate"),p(48,"mat-icon",18),V(49,"translate"),F(50,"help"),m(),m(),m(),p(51,"td",14),F(52),V(53,"translate"),m(),m(),p(54,"tr",17),we("click",function(){return Ae(t),J().changeHops()}),p(55,"td",14),p(56,"div"),F(57),V(58,"translate"),p(59,"mat-icon",18),V(60,"translate"),F(61,"help"),m(),m(),m(),p(62,"td",14),F(63),m(),m(),m(),m(),m(),m(),m(),m()}if(2&e){var n=J();v(2),E("titleParts",Yn(54,YI))("tabsData",n.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",n.currentLocalPk),v(11),Ce(" ",U(14,28,"vpn.settings-page.setting-small-table-label")," "),v(3),Ce(" ",U(17,30,"vpn.settings-page.value-small-table-label")," "),v(5),Ce(" ",U(22,32,"vpn.settings-page.killswitch")," "),v(2),E("inline",!0)("matTooltip",U(24,34,"vpn.settings-page.killswitch-info")),v(4),pa(n.getStatusClass(n.backendData.vpnClientAppData.killswitch)),v(1),Ce(" ",U(29,36,n.getStatusText(n.backendData.vpnClientAppData.killswitch))," "),v(2),E("ngIf",n.working===n.workingOptions.Killswitch),v(4),Ce(" ",U(35,38,"vpn.settings-page.get-ip")," "),v(2),E("inline",!0)("matTooltip",U(37,40,"vpn.settings-page.get-ip-info")),v(4),pa(n.getStatusClass(n.getIpOption)),v(1),Ce(" ",U(42,42,n.getStatusText(n.getIpOption))," "),v(5),Ce(" ",U(47,44,"vpn.settings-page.data-units")," "),v(2),E("inline",!0)("matTooltip",U(49,46,"vpn.settings-page.data-units-info")),v(4),Ce(" ",U(53,48,n.getUnitsOptionText(n.dataUnitsOption))," "),v(5),Ce(" ",U(58,50,"vpn.settings-page.minimum-hops")," "),v(2),E("inline",!0)("matTooltip",U(60,52,"vpn.settings-page.minimum-hops-info")),v(4),Ce(" ",n.backendData.vpnClientAppData.minHops," ")}}var fd=function(e){return e[e.None=0]="None",e[e.Killswitch=1]="Killswitch",e}({}),$oe=[{path:"",component:zq},{path:"login",component:wx},{path:"nodes",canActivate:[fh],canActivateChild:[fh],children:[{path:"",redirectTo:"list/1",pathMatch:"full"},{path:"list",redirectTo:"list/1",pathMatch:"full"},{path:"list/:page",component:eI},{path:"dmsg",redirectTo:"dmsg/1",pathMatch:"full"},{path:"dmsg/:page",component:eI},{path:":key",component:At,children:[{path:"",redirectTo:"routing",pathMatch:"full"},{path:"info",component:Qie},{path:"routing",component:mne},{path:"apps",component:Pie},{path:"transports",redirectTo:"transports/1",pathMatch:"full"},{path:"transports/:page",component:xie},{path:"routes",redirectTo:"routes/1",pathMatch:"full"},{path:"routes/:page",component:Aie},{path:"apps-list",redirectTo:"apps-list/1",pathMatch:"full"},{path:"apps-list/:page",component:Fie}]}]},{path:"settings",canActivate:[fh],canActivateChild:[fh],children:[{path:"",component:wee},{path:"labels",redirectTo:"labels/1",pathMatch:"full"},{path:"labels/:page",component:Xie}]},{path:"vpnlogin/:key",component:wx},{path:"vpn",canActivate:[o0],canActivateChild:[o0],children:[{path:"unavailable",component:Uoe},{path:":key",children:[{path:"status",component:joe},{path:"servers",redirectTo:"servers/public/1",pathMatch:"full"},{path:"servers/:type/:page",component:xI},{path:"settings",component:function(){function e(i,t,n,a,o,s){var l=this;this.vpnClientService=i,this.snackbarService=t,this.appsService=n,this.vpnSavedDataService=a,this.dialog=o,this.loading=!0,this.tabsData=Wr.vpnTabsData,this.working=fd.None,this.workingOptions=fd,this.navigationsSubscription=s.paramMap.subscribe(function(u){u.has("key")&&(l.currentLocalPk=u.get("key"),Wr.changeCurrentPk(l.currentLocalPk),l.tabsData=Wr.vpnTabsData)}),this.dataSubscription=this.vpnClientService.backendState.subscribe(function(u){u&&u.serviceState!==Ci.PerformingInitialCheck&&(l.backendData=u,l.loading=!1)}),this.getIpOption=this.vpnSavedDataService.getCheckIpSetting(),this.dataUnitsOption=this.vpnSavedDataService.getDataUnitsSetting()}return e.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()},e.prototype.getStatusClass=function(i){switch(i){case!0:return"dot-green";default:return"dot-red"}},e.prototype.getStatusText=function(i){switch(i){case!0:return"vpn.settings-page.setting-on";default:return"vpn.settings-page.setting-off"}},e.prototype.getUnitsOptionText=function(i){switch(i){case go.OnlyBits:return"vpn.settings-page.data-units-modal.only-bits";case go.OnlyBytes:return"vpn.settings-page.data-units-modal.only-bytes";default:return"vpn.settings-page.data-units-modal.bits-speed-and-bytes-volume"}},e.prototype.changeKillswitchOption=function(){var i=this;if(this.working===fd.None)if(this.backendData.vpnClientAppData.running){var t=ln.createConfirmationDialog(this.dialog,"vpn.settings-page.change-while-connected-confirmation");t.componentInstance.operationAccepted.subscribe(function(){t.componentInstance.closeModal(),i.finishChangingKillswitchOption()})}else this.finishChangingKillswitchOption();else this.snackbarService.showWarning("vpn.settings-page.working-warning")},e.prototype.finishChangingKillswitchOption=function(){var i=this;this.working=fd.Killswitch,this.operationSubscription=this.appsService.changeAppSettings(this.currentLocalPk,this.vpnClientService.vpnClientAppName,{killswitch:!this.backendData.vpnClientAppData.killswitch}).subscribe(function(){i.working=fd.None,i.vpnClientService.updateData()},function(t){i.working=fd.None,t=tn(t),i.snackbarService.showError(t)})},e.prototype.changeGetIpOption=function(){this.getIpOption=!this.getIpOption,this.vpnSavedDataService.setCheckIpSetting(this.getIpOption)},e.prototype.changeDataUnits=function(){var i=this,t=[],n=[];Object.keys(go).forEach(function(a){var o={label:i.getUnitsOptionText(go[a])};i.dataUnitsOption===go[a]&&(o.icon="done"),t.push(o),n.push(go[a])}),Ui.openDialog(this.dialog,t,"vpn.settings-page.data-units-modal.title").afterClosed().subscribe(function(a){a&&(i.dataUnitsOption=n[a-1],i.vpnSavedDataService.setDataUnitsSetting(i.dataUnitsOption),i.topBarLoading&&i.topBarLoading.updateVpnDataStatsUnit(),i.topBarLoaded&&i.topBarLoaded.updateVpnDataStatsUnit())})},e.prototype.changeHops=function(){DI.openDialog(this.dialog,{nodePk:this.currentLocalPk,minHops:this.backendData.vpnClientAppData.minHops}).afterClosed().subscribe()},e.\u0275fac=function(t){return new(t||e)(N(od),N(xn),N(ad),N(su),N(Gn),N(ai))},e.\u0275cmp=Ke({type:e,selectors:[["app-vpn-settings-list"]],viewQuery:function(t,n){if(1&t&&(_t(zoe,5),_t(Woe,5)),2&t){var a=void 0;it(a=at())&&(n.topBarLoading=a.first),it(a=at())&&(n.topBarLoaded=a.first)}},decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],["topBarLoading",""],[1,"h-100"],[1,"row"],[1,"col-12"],["topBarLoaded",""],[1,"col-12","mt-4.5","vpn-table-container"],[1,"width-limiter"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"data-column"],[1,"header-container"],[1,"header-text"],[1,"selectable",3,"click"],[1,"help-icon",3,"inline","matTooltip"],[3,"diameter",4,"ngIf"],[3,"diameter"]],template:function(t,n){1&t&&(K(0,Goe,5,6,"div",0),K(1,Koe,64,55,"div",1)),2&t&&(E("ngIf",n.loading),v(1),E("ngIf",!n.loading))},directives:[Ot,lu,ws,Cn,cr,iu],pipes:[wt],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important;font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important;font-weight:lighter!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .data-column[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.grey-text[_ngcontent-%COMP%]{color:#777!important}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-top:7px!important;padding-bottom:7px!important;font-size:12px!important;font-weight:normal!important}.data-column[_ngcontent-%COMP%]{max-width:0;width:50%}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:2px;position:relative;top:2px}mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}"]}),e}()},{path:"**",redirectTo:"status"}]},{path:"**",redirectTo:"/vpn/unavailable?problem=pk"}]},{path:"**",redirectTo:""}],Qoe=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[CL.forRoot($oe,{useHash:!0,relativeLinkResolution:"legacy"})],CL]}),e}(),Zoe=function(){function e(){}return e.prototype.getTranslation=function(i){return ot(B(16297)("./"+i+".json"))},e}(),Xoe=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e}),e.\u0275inj=kt({imports:[[rO.forRoot({loader:{provide:uh,useClass:Zoe}})],rO]}),e}(),ese=function(){function e(){}return e.prototype.shouldDetach=function(i){return!1},e.prototype.store=function(i,t){},e.prototype.shouldAttach=function(i){return!1},e.prototype.retrieve=function(i){return null},e.prototype.shouldReuseRoute=function(i,t){return!1},e.\u0275prov=We({token:e,factory:e.\u0275fac=function(t){return new(t||e)}}),e}(),tse={disabled:!0},nse=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=Ct({type:e,bootstrap:[Eq]}),e.\u0275inj=kt({providers:[Ch,{provide:h1,useValue:{duration:3e3,verticalPosition:"top"}},{provide:aO,useValue:{width:"600px",hasBackdrop:!0}},{provide:Pv,useClass:yG},{provide:mL,useClass:ese},{provide:Ov,useValue:tse}],imports:[[Ub,a7,ox,C7,Qoe,Xoe,WP,wq,Zv,OJ,yre,VP,nq,tJ,HQ,FK,eQ,V$,jq,GX]]}),e}();So(At,[Ot,lu,ws,Cn,Cr,sv,PI],[wt]),So(xI,[Ot,lu,bm,ws,Kl,Cr,cr,Cn,xr,II,n0,bi,cd],[wt,HD]),function(){if(UT)throw new Error("Cannot enable prod mode after platform setup.");jT=!1}(),Mj().bootstrapModule(nse).catch(function(e){return console.log(e)})},46700:function(ge,ke,B){var x={"./af":90776,"./af.js":90776,"./ar":67634,"./ar-dz":42758,"./ar-dz.js":42758,"./ar-kw":64980,"./ar-kw.js":64980,"./ar-ly":9602,"./ar-ly.js":9602,"./ar-ma":52500,"./ar-ma.js":52500,"./ar-sa":36909,"./ar-sa.js":36909,"./ar-tn":92735,"./ar-tn.js":92735,"./ar.js":67634,"./az":27798,"./az.js":27798,"./be":29949,"./be.js":29949,"./bg":44590,"./bg.js":44590,"./bm":15938,"./bm.js":15938,"./bn":60595,"./bn.js":60595,"./bo":4756,"./bo.js":4756,"./br":17277,"./br.js":17277,"./bs":4166,"./bs.js":4166,"./ca":13943,"./ca.js":13943,"./cs":53474,"./cs.js":53474,"./cv":92218,"./cv.js":92218,"./cy":21061,"./cy.js":21061,"./da":82743,"./da.js":82743,"./de":31899,"./de-at":28580,"./de-at.js":28580,"./de-ch":3264,"./de-ch.js":3264,"./de.js":31899,"./dv":98784,"./dv.js":98784,"./el":54654,"./el.js":54654,"./en-au":56277,"./en-au.js":56277,"./en-ca":76896,"./en-ca.js":76896,"./en-gb":71609,"./en-gb.js":71609,"./en-ie":24557,"./en-ie.js":24557,"./en-il":15836,"./en-il.js":15836,"./en-nz":43586,"./en-nz.js":43586,"./eo":62777,"./eo.js":62777,"./es":63357,"./es-do":3128,"./es-do.js":3128,"./es-us":83256,"./es-us.js":83256,"./es.js":63357,"./et":2654,"./et.js":2654,"./eu":57287,"./eu.js":57287,"./fa":73875,"./fa.js":73875,"./fi":73431,"./fi.js":73431,"./fo":41781,"./fo.js":41781,"./fr":61717,"./fr-ca":11539,"./fr-ca.js":11539,"./fr-ch":19847,"./fr-ch.js":19847,"./fr.js":61717,"./fy":42250,"./fy.js":42250,"./gd":85214,"./gd.js":85214,"./gl":36154,"./gl.js":36154,"./gom-latn":18518,"./gom-latn.js":18518,"./gu":89221,"./gu.js":89221,"./he":64743,"./he.js":64743,"./hi":77339,"./hi.js":77339,"./hr":13224,"./hr.js":13224,"./hu":50856,"./hu.js":50856,"./hy-am":76855,"./hy-am.js":76855,"./id":2190,"./id.js":2190,"./is":53887,"./is.js":53887,"./it":19270,"./it.js":19270,"./ja":46595,"./ja.js":46595,"./jv":93081,"./jv.js":93081,"./ka":27477,"./ka.js":27477,"./kk":13978,"./kk.js":13978,"./km":19205,"./km.js":19205,"./kn":60025,"./kn.js":60025,"./ko":50427,"./ko.js":50427,"./ky":19314,"./ky.js":19314,"./lb":23136,"./lb.js":23136,"./lo":29115,"./lo.js":29115,"./lt":27087,"./lt.js":27087,"./lv":95683,"./lv.js":95683,"./me":79454,"./me.js":79454,"./mi":35507,"./mi.js":35507,"./mk":98466,"./mk.js":98466,"./ml":82933,"./ml.js":82933,"./mn":19477,"./mn.js":19477,"./mr":43597,"./mr.js":43597,"./ms":85529,"./ms-my":99965,"./ms-my.js":99965,"./ms.js":85529,"./mt":30259,"./mt.js":30259,"./my":88061,"./my.js":88061,"./nb":72618,"./nb.js":72618,"./ne":28452,"./ne.js":28452,"./nl":1885,"./nl-be":60413,"./nl-be.js":60413,"./nl.js":1885,"./nn":45107,"./nn.js":45107,"./pa-in":702,"./pa-in.js":702,"./pl":31711,"./pl.js":31711,"./pt":10594,"./pt-br":58238,"./pt-br.js":58238,"./pt.js":10594,"./ro":74681,"./ro.js":74681,"./ru":16201,"./ru.js":16201,"./sd":62912,"./sd.js":62912,"./se":6002,"./se.js":6002,"./si":67942,"./si.js":67942,"./sk":25577,"./sk.js":25577,"./sl":41775,"./sl.js":41775,"./sq":36823,"./sq.js":36823,"./sr":59038,"./sr-cyrl":83848,"./sr-cyrl.js":83848,"./sr.js":59038,"./ss":96173,"./ss.js":96173,"./sv":5788,"./sv.js":5788,"./sw":76882,"./sw.js":76882,"./ta":82678,"./ta.js":82678,"./te":82797,"./te.js":82797,"./tet":52447,"./tet.js":52447,"./tg":31335,"./tg.js":31335,"./th":68667,"./th.js":68667,"./tl-ph":99914,"./tl-ph.js":99914,"./tlh":71389,"./tlh.js":71389,"./tr":3578,"./tr.js":3578,"./tzl":36969,"./tzl.js":36969,"./tzm":76509,"./tzm-latn":690,"./tzm-latn.js":690,"./tzm.js":76509,"./ug-cn":20055,"./ug-cn.js":20055,"./uk":22452,"./uk.js":22452,"./ur":91151,"./ur.js":91151,"./uz":31555,"./uz-latn":46547,"./uz-latn.js":46547,"./uz.js":31555,"./vi":16541,"./vi.js":16541,"./x-pseudo":42401,"./x-pseudo.js":42401,"./yo":2341,"./yo.js":2341,"./zh-cn":80619,"./zh-cn.js":80619,"./zh-hk":67058,"./zh-hk.js":67058,"./zh-tw":22782,"./zh-tw.js":22782};function w(_){var f=D(_);return B(f)}function D(_){if(!B.o(x,_)){var f=new Error("Cannot find module '"+_+"'");throw f.code="MODULE_NOT_FOUND",f}return x[_]}w.keys=function(){return Object.keys(x)},w.resolve=D,ge.exports=w,w.id=46700},16297:function(ge,ke,B){var x={"./de.json":[23634,634],"./de_base.json":[3431,431],"./en.json":[40502,502],"./es.json":[84268,268],"./es_base.json":[43974,974],"./pt.json":[5733,733],"./pt_base.json":[77048,48]};function w(D){if(!B.o(x,D))return Promise.resolve().then(function(){var c=new Error("Cannot find module '"+D+"'");throw c.code="MODULE_NOT_FOUND",c});var _=x[D],f=_[0];return B.e(_[1]).then(function(){return B.t(f,19)})}w.keys=function(){return Object.keys(x)},w.id=16297,ge.exports=w}},function(ge){ge(ge.s=50329)}]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/main.8d5909cbfb477c956f69.js b/cmd/skywire-visor/static/main.8d5909cbfb477c956f69.js deleted file mode 100644 index 1f91585922..0000000000 --- a/cmd/skywire-visor/static/main.8d5909cbfb477c956f69.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+s0g":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(t,e,n){!function(t){"use strict";t.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/X5v":function(t,e,n){!function(t){"use strict";t.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},0:function(t,e,n){t.exports=n("zUnb")},"0mo+":function(t,e,n){!function(t){"use strict";var e={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};t.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(t){return t.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&t>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&t<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":t<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":t<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":t<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0tRk":function(t,e,n){!function(t){"use strict";t.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba"})}(n("wd/R"))},"1rYy":function(t,e,n){!function(t){"use strict";t.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(t){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(t)},meridiem:function(t){return t<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":t<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":t<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(t,e){switch(e){case"DDD":case"w":case"W":case"DDDo":return 1===t?t+"-\u056b\u0576":t+"-\u0580\u0564";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"1xZ4":function(t,e,n){!function(t){"use strict";t.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(t,e){var n=1===t?"r":2===t?"n":3===t?"r":4===t?"t":"\xe8";return"w"!==e&&"W"!==e||(n="a"),t+n},week:{dow:1,doy:4}})}(n("wd/R"))},"2UWG":function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3");function a(t){return void 0!==t._view.width}function o(t){var e,n,i,r,o=t._view;if(a(t)){var s=o.width/2;e=o.x-s,n=o.x+s,i=Math.min(o.y,o.base),r=Math.max(o.y,o.base)}else{var l=o.height/2;e=Math.min(o.x,o.base),n=Math.max(o.x,o.base),i=o.y-l,r=o.y+l}return{left:e,top:i,right:n,bottom:r}}i._set("global",{elements:{rectangle:{backgroundColor:i.global.defaultColor,borderColor:i.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),t.exports=r.extend({draw:function(){var t,e,n,i,r,a,o,s=this._chart.ctx,l=this._view,u=l.borderWidth;if(l.horizontal?(n=l.y-l.height/2,i=l.y+l.height/2,r=(e=l.x)>(t=l.base)?1:-1,a=1,o=l.borderSkipped||"left"):(t=l.x-l.width/2,e=l.x+l.width/2,r=1,a=(i=l.base)>(n=l.y)?1:-1,o=l.borderSkipped||"bottom"),u){var c=Math.min(Math.abs(t-e),Math.abs(n-i)),d=(u=u>c?c:u)/2,h=t+("left"!==o?d*r:0),f=e+("right"!==o?-d*r:0),p=n+("top"!==o?d*a:0),m=i+("bottom"!==o?-d*a:0);h!==f&&(n=p,i=m),p!==m&&(t=h,e=f)}s.beginPath(),s.fillStyle=l.backgroundColor,s.strokeStyle=l.borderColor,s.lineWidth=u;var g=[[t,i],[t,n],[e,n],[e,i]],v=["bottom","left","top","right"].indexOf(o,0);function _(t){return g[(v+t)%4]}-1===v&&(v=0);var y=_(0);s.moveTo(y[0],y[1]);for(var b=1;b<4;b++)y=_(b),s.lineTo(y[0],y[1]);s.fill(),u&&s.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n=!1;if(this._view){var i=o(this);n=t>=i.left&&t<=i.right&&e>=i.top&&e<=i.bottom}return n},inLabelRange:function(t,e){if(!this._view)return!1;var n=o(this);return a(this)?t>=n.left&&t<=n.right:e>=n.top&&e<=n.bottom},inXRange:function(t){var e=o(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=o(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e,n=this._view;return a(this)?(t=n.x,e=(n.y+n.base)/2):(t=(n.x+n.base)/2,e=n.y),{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},"2fjn":function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}}})}(n("wd/R"))},"2ykv":function(t,e,n){!function(t){"use strict";var e="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|april|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;t.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|mei|ju[nl]i|april|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"35yf":function(t,e,n){"use strict";n("CDJp")._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),t.exports=function(t){t.controllers.scatter=t.controllers.line}},"3E1r":function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("hi",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924"===e?t<4?t:t+12:"\u0938\u0941\u092c\u0939"===e?t:"\u0926\u094b\u092a\u0939\u0930"===e?t>=10?t:t+12:"\u0936\u093e\u092e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924":t<10?"\u0938\u0941\u092c\u0939":t<17?"\u0926\u094b\u092a\u0939\u0930":t<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"4MV3":function(t,e,n){!function(t){"use strict";var e={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};t.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ac7\u0ab9\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(t){return t.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0ab0\u0abe\u0aa4"===e?t<4?t:t+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?t:"\u0aac\u0aaa\u0acb\u0ab0"===e?t>=10?t:t+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0ab0\u0abe\u0aa4":t<10?"\u0ab8\u0ab5\u0abe\u0ab0":t<17?"\u0aac\u0aaa\u0acb\u0ab0":t<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(t,e,n){!function(t){"use strict";t.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"5ZZ7":function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),a=n("RDha");i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[];e.push('
    ');var n=t.data,i=n.datasets,r=n.labels;if(i.length)for(var a=0;a'),r[a]&&e.push(r[a]),e.push("");return e.push("
"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var r=t.getDatasetMeta(0),o=e.datasets[0],s=r.data[i].custom||{},l=a.valueAtIndexOrDefault,u=t.options.elements.arc;return{text:n,fillStyle:s.backgroundColor?s.backgroundColor:l(o.backgroundColor,i,u.backgroundColor),strokeStyle:s.borderColor?s.borderColor:l(o.borderColor,i,u.borderColor),lineWidth:s.borderWidth?s.borderWidth:l(o.borderWidth,i,u.borderWidth),hidden:isNaN(o.data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,r,a=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n0&&!isNaN(t)?2*Math.PI/e:0}})}},"5ey7":function(t,e,n){var i={"./de.json":["K+GZ",5],"./de_base.json":["KPjT",6],"./en.json":["amrp",7],"./es.json":["ZF/7",8],"./es_base.json":["bIFx",9]};function r(t){if(!n.o(i,t))return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}));var e=i[t],r=e[0];return n.e(e[1]).then((function(){return n.t(r,3)}))}r.keys=function(){return Object.keys(i)},r.id="5ey7",t.exports=r},"6+QB":function(t,e,n){!function(t){"use strict";t.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(t,e,n){!function(t){"use strict";var e={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};t.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(t){return"\u179b\u17d2\u1784\u17b6\u1785"===t},meridiem:function(t,e,n){return t<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(t){return t.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},"6rqY":function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),a=n("mlr9"),o=n("fELs"),s=n("iM7B"),l=n("VgNv");t.exports=function(t){function e(e){var n=e.options;r.each(e.scales,(function(t){o.removeBox(e,t)})),n=r.configMerge(t.defaults.global,t.defaults[e.config.type],n),e.options=e.config.options=n,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=n.tooltips,e.tooltip.initialize()}function n(t){return"top"===t||"bottom"===t}t.types={},t.instances={},t.controllers={},r.extend(t.prototype,{construct:function(e,n){var a=this;n=function(t){var e=(t=t||{}).data=t.data||{};return e.datasets=e.datasets||[],e.labels=e.labels||[],t.options=r.configMerge(i.global,i[t.type],t.options||{}),t}(n);var o=s.acquireContext(e,n),l=o&&o.canvas,u=l&&l.height,c=l&&l.width;a.id=r.uid(),a.ctx=o,a.canvas=l,a.config=n,a.width=c,a.height=u,a.aspectRatio=u?c/u:null,a.options=n.options,a._bufferedRender=!1,a.chart=a,a.controller=a,t.instances[a.id]=a,Object.defineProperty(a,"data",{get:function(){return a.config.data},set:function(t){a.config.data=t}}),o&&l?(a.initialize(),a.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return l.notify(t,"beforeInit"),r.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),l.notify(t,"afterInit"),t},clear:function(){return r.canvas.clear(this),this},stop:function(){return t.animationService.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,a=n.maintainAspectRatio&&e.aspectRatio||null,o=Math.max(0,Math.floor(r.getMaximumWidth(i))),s=Math.max(0,Math.floor(a?o/a:r.getMaximumHeight(i)));if((e.width!==o||e.height!==s)&&(i.width=e.width=o,i.height=e.height=s,i.style.width=o+"px",i.style.height=s+"px",r.retinaScale(e,n.devicePixelRatio),!t)){var u={width:o,height:s};l.notify(e,"resize",[u]),e.options.onResize&&e.options.onResize(e,u),e.stop(),e.update(e.options.responsiveAnimationDuration)}},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},n=t.scale;r.each(e.xAxes,(function(t,e){t.id=t.id||"x-axis-"+e})),r.each(e.yAxes,(function(t,e){t.id=t.id||"y-axis-"+e})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,i=e.options,a=e.scales||{},o=[],s=Object.keys(a).reduce((function(t,e){return t[e]=!1,t}),{});i.scales&&(o=o.concat((i.scales.xAxes||[]).map((function(t){return{options:t,dtype:"category",dposition:"bottom"}})),(i.scales.yAxes||[]).map((function(t){return{options:t,dtype:"linear",dposition:"left"}})))),i.scale&&o.push({options:i.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),r.each(o,(function(i){var o=i.options,l=o.id,u=r.valueOrDefault(o.type,i.dtype);n(o.position)!==n(i.dposition)&&(o.position=i.dposition),s[l]=!0;var c=null;if(l in a&&a[l].type===u)(c=a[l]).options=o,c.ctx=e.ctx,c.chart=e;else{var d=t.scaleService.getScaleConstructor(u);if(!d)return;c=new d({id:l,type:u,options:o,ctx:e.ctx,chart:e}),a[c.id]=c}c.mergeTicksOptions(),i.isDefault&&(e.scale=c)})),r.each(s,(function(t,e){t||delete a[e]})),e.scales=a,t.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e=this,n=[],i=[];return r.each(e.data.datasets,(function(r,a){var o=e.getDatasetMeta(a),s=r.type||e.config.type;if(o.type&&o.type!==s&&(e.destroyDatasetMeta(a),o=e.getDatasetMeta(a)),o.type=s,n.push(o.type),o.controller)o.controller.updateIndex(a),o.controller.linkScales();else{var l=t.controllers[o.type];if(void 0===l)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new l(e,a),i.push(o.controller)}}),e),i},resetElements:function(){var t=this;r.each(t.data.datasets,(function(e,n){t.getDatasetMeta(n).controller.reset()}),t)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var n=this;if(t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),e(n),l._invalidate(n),!1!==l.notify(n,"beforeUpdate")){n.tooltip._data=n.data;var i=n.buildOrUpdateControllers();r.each(n.data.datasets,(function(t,e){n.getDatasetMeta(e).controller.buildOrUpdateElements()}),n),n.updateLayout(),n.options.animation&&n.options.animation.duration&&r.each(i,(function(t){t.reset()})),n.updateDatasets(),n.tooltip.initialize(),n.lastActive=[],l.notify(n,"afterUpdate"),n._bufferedRender?n._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:n.render(t)}},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(o.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t=0;--n)e.isDatasetVisible(n)&&e.drawDataset(n,t);l.notify(e,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this.getDatasetMeta(t),i={meta:n,index:t,easingValue:e};!1!==l.notify(this,"beforeDatasetDraw",[i])&&(n.controller.draw(e),l.notify(this,"afterDatasetDraw",[i]))},_drawTooltip:function(t){var e=this.tooltip,n={tooltip:e,easingValue:t};!1!==l.notify(this,"beforeTooltipDraw",[n])&&(e.draw(),l.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(t){return a.modes.single(this,t)},getElementsAtEvent:function(t){return a.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return a.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){var i=a.modes[e];return"function"==typeof i?i(this,t,n):[]},getDatasetAtEvent:function(t){return a.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){var e=this.data.datasets[t];e._meta||(e._meta={});var n=e._meta[this.id];return n||(n=e._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null}),n},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;en?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,e=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[e,e,e]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,n=(e[0]+t)%360;return e[0]=n<0?360+n:n,this.setValues("hsl",e),this},mix:function(t,e){var n=t,i=void 0===e?.5:e,r=2*i-1,a=this.alpha()-n.alpha(),o=((r*a==-1?r:(r+a)/(1+r*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*i+n.alpha()*(1-i))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n=new a,i=this.values,r=n.values;for(var o in i)i.hasOwnProperty(o)&&("[object Array]"===(e={}.toString.call(t=i[o]))?r[o]=t.slice(0):"[object Number]"===e?r[o]=t:console.error("unexpected color value:",t));return n}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},a.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},a.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"8/+R":function(t,e,n){!function(t){"use strict";var e={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};t.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(t){return t.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0a30\u0a3e\u0a24"===e?t<4?t:t+12:"\u0a38\u0a35\u0a47\u0a30"===e?t:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?t>=10?t:t+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0a30\u0a3e\u0a24":t<10?"\u0a38\u0a35\u0a47\u0a30":t<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":t<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"8//i":function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),a=n("g8vO");t.exports=function(t){var e=i.global,n={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:a.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function o(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function s(t){var n=t.options.pointLabels,i=r.valueOrDefault(n.fontSize,e.defaultFontSize),a=r.valueOrDefault(n.fontStyle,e.defaultFontStyle),o=r.valueOrDefault(n.fontFamily,e.defaultFontFamily);return{size:i,style:a,family:o,font:r.fontString(i,a,o)}}function l(t,e,n,i,r){return t===i||t===r?{start:e-n/2,end:e+n/2}:tr?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function u(t){return 0===t||180===t?"center":t<180?"left":"right"}function c(t,e,n,i){if(r.isArray(e))for(var a=n.y,o=1.5*i,s=0;s270||t<90)&&(n.y-=e.h)}function h(t){return r.isNumber(t)?t:0}var f=t.LinearScaleBase.extend({setDimensions:function(){var t=this,n=t.options,i=n.ticks;t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2);var a=r.min([t.height,t.width]),o=r.valueOrDefault(i.fontSize,e.defaultFontSize);t.drawingArea=n.display?a/2-(o/2+i.backdropPaddingY):a/2},determineDataLimits:function(){var t=this,e=t.chart,n=Number.POSITIVE_INFINITY,i=Number.NEGATIVE_INFINITY;r.each(e.data.datasets,(function(a,o){if(e.isDatasetVisible(o)){var s=e.getDatasetMeta(o);r.each(a.data,(function(e,r){var a=+t.getRightValue(e);isNaN(a)||s.data[r].hidden||(n=Math.min(a,n),i=Math.max(a,i))}))}})),t.min=n===Number.POSITIVE_INFINITY?0:n,t.max=i===Number.NEGATIVE_INFINITY?0:i,t.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,n=r.valueOrDefault(t.fontSize,e.defaultFontSize);return Math.min(t.maxTicksLimit?t.maxTicksLimit:11,Math.ceil(this.drawingArea/(1.5*n)))},convertTicksToLabels:function(){var e=this;t.LinearScaleBase.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map(e.options.pointLabels.callback,e)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t;this.options.pointLabels.display?function(t){var e,n,i,a=s(t),u=Math.min(t.height/2,t.width/2),c={r:t.width,l:0,t:t.height,b:0},d={};t.ctx.font=a.font,t._pointLabelSizes=[];var h,f,p,m=o(t);for(e=0;ec.r&&(c.r=_.end,d.r=g),y.startc.b&&(c.b=y.end,d.b=g)}t.setReductions(u,c,d)}(this):(t=Math.min(this.height/2,this.width/2),this.drawingArea=Math.round(t),this.setCenterPoint(0,0,0,0))},setReductions:function(t,e,n){var i=e.l/Math.sin(n.l),r=Math.max(e.r-this.width,0)/Math.sin(n.r),a=-e.t/Math.cos(n.t),o=-Math.max(e.b-this.height,0)/Math.cos(n.b);i=h(i),r=h(r),a=h(a),o=h(o),this.drawingArea=Math.min(Math.round(t-(i+r)/2),Math.round(t-(a+o)/2)),this.setCenterPoint(i,r,a,o)},setCenterPoint:function(t,e,n,i){var r=this,a=n+r.drawingArea,o=r.height-i-r.drawingArea;r.xCenter=Math.round((t+r.drawingArea+(r.width-e-r.drawingArea))/2+r.left),r.yCenter=Math.round((a+o)/2+r.top)},getIndexAngle:function(t){return t*(2*Math.PI/o(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e=this;if(null===t)return 0;var n=e.drawingArea/(e.max-e.min);return e.options.ticks.reverse?(e.max-t)*n:(t-e.min)*n},getPointPosition:function(t,e){var n=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(n)*e)+this.xCenter,y:Math.round(Math.sin(n)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0)},draw:function(){var t=this,n=t.options,i=n.gridLines,a=n.ticks,l=r.valueOrDefault;if(n.display){var h=t.ctx,f=this.getIndexAngle(0),p=l(a.fontSize,e.defaultFontSize),m=l(a.fontStyle,e.defaultFontStyle),g=l(a.fontFamily,e.defaultFontFamily),v=r.fontString(p,m,g);r.each(t.ticks,(function(n,s){if(s>0||a.reverse){var u=t.getDistanceFromCenterForValue(t.ticksAsNumbers[s]);if(i.display&&0!==s&&function(t,e,n,i){var a=t.ctx;if(a.strokeStyle=r.valueAtIndexOrDefault(e.color,i-1),a.lineWidth=r.valueAtIndexOrDefault(e.lineWidth,i-1),t.options.gridLines.circular)a.beginPath(),a.arc(t.xCenter,t.yCenter,n,0,2*Math.PI),a.closePath(),a.stroke();else{var s=o(t);if(0===s)return;a.beginPath();var l=t.getPointPosition(0,n);a.moveTo(l.x,l.y);for(var u=1;u=0;p--){if(a.display){var m=t.getPointPosition(p,h);n.beginPath(),n.moveTo(t.xCenter,t.yCenter),n.lineTo(m.x,m.y),n.stroke(),n.closePath()}if(l.display){var g=t.getPointPosition(p,h+5),v=r.valueAtIndexOrDefault(l.fontColor,p,e.defaultFontColor);n.font=f.font,n.fillStyle=v;var _=t.getIndexAngle(p),y=r.toDegrees(_);n.textAlign=u(y),d(y,t._pointLabelSizes[p],g),c(n,t.pointLabels[p]||"",g,f.size)}}}(t)}}});t.scaleService.registerScaleType("radialLinear",f,n)}},"8TtQ":function(t,e,n){"use strict";t.exports=function(t){var e=t.Scale.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1,void 0!==e.options.ticks.min&&(t=n.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=n.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var t=this,e=t.getLabels();t.ticks=0===t.minIndex&&t.maxIndex===e.length-1?e:e.slice(t.minIndex,t.maxIndex+1)},getLabelForIndex:function(t,e){var n=this,i=n.chart.data,r=n.isHorizontal();return i.yLabels&&!r?n.getRightValue(i.datasets[e].data[t]):n.ticks[t-n.minIndex]},getPixelForValue:function(t,e){var n,i=this,r=i.options.offset,a=Math.max(i.maxIndex+1-i.minIndex-(r?0:1),1);if(null!=t&&(n=i.isHorizontal()?t.x:t.y),void 0!==n||void 0!==t&&isNaN(e)){var o=i.getLabels().indexOf(t=n||t);e=-1!==o?o:e}if(i.isHorizontal()){var s=i.width/a,l=s*(e-i.minIndex);return r&&(l+=s/2),i.left+Math.round(l)}var u=i.height/a,c=u*(e-i.minIndex);return r&&(c+=u/2),i.top+Math.round(c)},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this,n=e.options.offset,i=Math.max(e._ticks.length-(n?0:1),1),r=e.isHorizontal(),a=(r?e.width:e.height)/i;return t-=r?e.left:e.top,n&&(t-=a/2),(t<=0?0:Math.round(t/a))+e.minIndex},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",e,{position:"bottom"})}},"8mBD":function(t,e,n){!function(t){"use strict";t.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"9rRi":function(t,e,n){!function(t){"use strict";t.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(t){return t+(1===t?"d":t%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(t,e,n){!function(t){"use strict";t.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(t){return t+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(t)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(t)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},A5uo:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),a=n("RDha");i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:a.noop,onComplete:a.noop}}),t.exports=function(t){t.Animation=r.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var r,a,o=this.animations;for(e.chart=t,i||(t.animating=!0),r=0,a=o.length;r1&&(n=Math.floor(t.dropFrames),t.dropFrames=t.dropFrames%1),t.advance(1+n);var i=Date.now();t.dropFrames+=(i-e)/t.frameDuration,t.animations.length>0&&t.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,r=0;r=e.numSteps?(a.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(r,1)):++r}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},AQ68:function(t,e,n){!function(t){"use strict";t.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AX6q:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),a=n("RDha"),o=n("fELs"),s=a.noop;function l(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}i._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var n=e.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(t){var e=t.data;return a.isArray(e.datasets)?e.datasets.map((function(e,n){return{text:e.label,fillStyle:a.isArray(e.backgroundColor)?e.backgroundColor[0]:e.backgroundColor,hidden:!t.isDatasetVisible(n),lineCap:e.borderCapStyle,lineDash:e.borderDash,lineDashOffset:e.borderDashOffset,lineJoin:e.borderJoinStyle,lineWidth:e.borderWidth,strokeStyle:e.borderColor,pointStyle:e.pointStyle,datasetIndex:n}}),this):[]}}},legendCallback:function(t){var e=[];e.push('
    ');for(var n=0;n'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("");return e.push("
"),e.join("")}});var u=r.extend({initialize:function(t){a.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:s,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:s,beforeSetDimensions:s,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:s,beforeBuildLabels:s,buildLabels:function(){var t=this,e=t.options.labels||{},n=a.callback(e.generateLabels,[t.chart],t)||[];e.filter&&(n=n.filter((function(n){return e.filter(n,t.chart.data)}))),t.options.reverse&&n.reverse(),t.legendItems=n},afterBuildLabels:s,beforeFit:s,fit:function(){var t=this,e=t.options,n=e.labels,r=e.display,o=t.ctx,s=i.global,u=a.valueOrDefault,c=u(n.fontSize,s.defaultFontSize),d=u(n.fontStyle,s.defaultFontStyle),h=u(n.fontFamily,s.defaultFontFamily),f=a.fontString(c,d,h),p=t.legendHitBoxes=[],m=t.minSize,g=t.isHorizontal();if(g?(m.width=t.maxWidth,m.height=r?10:0):(m.width=r?10:0,m.height=t.maxHeight),r)if(o.font=f,g){var v=t.lineWidths=[0],_=t.legendItems.length?c+n.padding:0;o.textAlign="left",o.textBaseline="top",a.each(t.legendItems,(function(e,i){var r=l(n,c)+c/2+o.measureText(e.text).width;v[v.length-1]+r+n.padding>=t.width&&(_+=c+n.padding,v[v.length]=t.left),p[i]={left:0,top:0,width:r,height:c},v[v.length-1]+=r+n.padding})),m.height+=_}else{var y=n.padding,b=t.columnWidths=[],k=n.padding,w=0,S=0,M=c+y;a.each(t.legendItems,(function(t,e){var i=l(n,c)+c/2+o.measureText(t.text).width;S+M>m.height&&(k+=w+n.padding,b.push(w),w=0,S=0),w=Math.max(w,i),S+=M,p[e]={left:0,top:0,width:i,height:c}})),k+=w,b.push(w),m.width+=k}t.width=m.width,t.height=m.height},afterFit:s,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var t=this,e=t.options,n=e.labels,r=i.global,o=r.elements.line,s=t.width,u=t.lineWidths;if(e.display){var c,d=t.ctx,h=a.valueOrDefault,f=h(n.fontColor,r.defaultFontColor),p=h(n.fontSize,r.defaultFontSize),m=h(n.fontStyle,r.defaultFontStyle),g=h(n.fontFamily,r.defaultFontFamily),v=a.fontString(p,m,g);d.textAlign="left",d.textBaseline="middle",d.lineWidth=.5,d.strokeStyle=f,d.fillStyle=f,d.font=v;var _=l(n,p),y=t.legendHitBoxes,b=t.isHorizontal();c=b?{x:t.left+(s-u[0])/2,y:t.top+n.padding,line:0}:{x:t.left+n.padding,y:t.top+n.padding,line:0};var k=p+n.padding;a.each(t.legendItems,(function(i,l){var f=d.measureText(i.text).width,m=_+p/2+f,g=c.x,v=c.y;b?g+m>=s&&(v=c.y+=k,c.line++,g=c.x=t.left+(s-u[c.line])/2):v+k>t.bottom&&(g=c.x=g+t.columnWidths[c.line]+n.padding,v=c.y=t.top+n.padding,c.line++),function(t,n,i){if(!(isNaN(_)||_<=0)){d.save(),d.fillStyle=h(i.fillStyle,r.defaultColor),d.lineCap=h(i.lineCap,o.borderCapStyle),d.lineDashOffset=h(i.lineDashOffset,o.borderDashOffset),d.lineJoin=h(i.lineJoin,o.borderJoinStyle),d.lineWidth=h(i.lineWidth,o.borderWidth),d.strokeStyle=h(i.strokeStyle,r.defaultColor);var s=0===h(i.lineWidth,o.borderWidth);if(d.setLineDash&&d.setLineDash(h(i.lineDash,o.borderDash)),e.labels&&e.labels.usePointStyle){var l=p*Math.SQRT2/2,u=l/Math.SQRT2;a.canvas.drawPoint(d,i.pointStyle,l,t+u,n+u)}else s||d.strokeRect(t,n,_,p),d.fillRect(t,n,_,p);d.restore()}}(g,v,i),y[l].left=g,y[l].top=v,function(t,e,n,i){var r=p/2,a=_+r+t,o=e+r;d.fillText(n.text,a,o),n.hidden&&(d.beginPath(),d.lineWidth=2,d.moveTo(a,o),d.lineTo(a+i,o),d.stroke())}(g,v,i,f),b?c.x+=m+n.padding:c.y+=k}))}},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,r=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var a=t.x,o=t.y;if(a>=e.left&&a<=e.right&&o>=e.top&&o<=e.bottom)for(var s=e.legendHitBoxes,l=0;l=u.left&&a<=u.left+u.width&&o>=u.top&&o<=u.top+u.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[l]),r=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[l]),r=!0;break}}}return r}});function c(t,e){var n=new u({ctx:t.ctx,options:e,chart:t});o.configure(t,n,e),o.addBox(t,n),t.legend=n}t.exports={id:"legend",_element:u,beforeInit:function(t){var e=t.options.legend;e&&c(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(a.mergeIf(e,i.global.legend),n?(o.configure(t,n,e),n.options=e):c(t,e)):n&&(o.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){var n=t.legend;n&&n.handleEvent(e)}}},As3K:function(t,e,n){"use strict";var i=n("TC34");t.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,r,a;return i.isObject(t)?(e=+t.top||0,n=+t.right||0,r=+t.bottom||0,a=+t.left||0):e=n=r=a=+t||0,{top:e,right:n,bottom:r,left:a,height:e+r,width:a+n}},resolve:function(t,e,n){var r,a,o;for(r=0,a=t.length;r=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===e||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":t<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":t<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":t<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},B55N:function(t,e,n){!function(t){"use strict";t.defineLocale("ja",{months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(t){return"\u5348\u5f8c"===t},meridiem:function(t,e,n){return t<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(t){return t.week()12?t:t+12:"sanje"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"rati":t<12?"sokalli":t<16?"donparam":t<20?"sanje":"rati"}})}(n("wd/R"))},Dkky:function(t,e,n){!function(t){"use strict";t.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(t,e){switch(e){default:case"M":case"Q":case"D":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},DoHr:function(t,e,n){!function(t){"use strict";var e={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};t.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xc7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(t,n){switch(n){case"d":case"D":case"Do":case"DD":return t;default:if(0===t)return t+"'\u0131nc\u0131";var i=t%10;return t+(e[i]||e[t%100-i]||e[t>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},DxQv:function(t,e,n){!function(t){"use strict";t.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(t,e,n){!function(t){"use strict";t.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(t){return t},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(t,e,n){!function(t){"use strict";var e={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u0435 \u043c\u0438\u043d\u0443\u0442\u0435"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0435","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],yy:["\u0433\u043e\u0434\u0438\u043d\u0430","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"\u0434\u0430\u043d",dd:e.translate,M:"\u043c\u0435\u0441\u0435\u0446",MM:e.translate,y:"\u0433\u043e\u0434\u0438\u043d\u0443",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EOgW:function(t,e,n){!function(t){"use strict";t.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(t){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===t},meridiem:function(t,e,n){return t<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},G0Q6:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),a=n("RDha");i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),t.exports=function(t){function e(t,e){return a.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:r.Line,dataElementType:r.Point,update:function(t){var n,i,r,o=this,s=o.getMeta(),l=s.dataset,u=s.data||[],c=o.chart.options,d=c.elements.line,h=o.getScaleForId(s.yAxisID),f=o.getDataset(),p=e(f,c);for(p&&(r=l.custom||{},void 0!==f.tension&&void 0===f.lineTension&&(f.lineTension=f.tension),l._scale=h,l._datasetIndex=o.index,l._children=u,l._model={spanGaps:f.spanGaps?f.spanGaps:c.spanGaps,tension:r.tension?r.tension:a.valueOrDefault(f.lineTension,d.tension),backgroundColor:r.backgroundColor?r.backgroundColor:f.backgroundColor||d.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:f.borderWidth||d.borderWidth,borderColor:r.borderColor?r.borderColor:f.borderColor||d.borderColor,borderCapStyle:r.borderCapStyle?r.borderCapStyle:f.borderCapStyle||d.borderCapStyle,borderDash:r.borderDash?r.borderDash:f.borderDash||d.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:f.borderDashOffset||d.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:f.borderJoinStyle||d.borderJoinStyle,fill:r.fill?r.fill:void 0!==f.fill?f.fill:d.fill,steppedLine:r.steppedLine?r.steppedLine:a.valueOrDefault(f.steppedLine,d.stepped),cubicInterpolationMode:r.cubicInterpolationMode?r.cubicInterpolationMode:a.valueOrDefault(f.cubicInterpolationMode,d.cubicInterpolationMode)},l.pivot()),n=0,i=u.length;n=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}t.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:e,mm:e,h:e,hh:e,d:"\u0434\u0437\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u044b":t<12?"\u0440\u0430\u043d\u0456\u0446\u044b":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t%10!=2&&t%10!=3||t%100==12||t%100==13?t+"-\u044b":t+"-\u0456";case"D":return t+"-\u0433\u0430";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},HP3h:function(t,e,n){!function(t){"use strict";var e={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(t){return function(e,r,a,o){var s=n(e),l=i[t][n(e)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,e)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},Hg4g:function(t,e){t.exports={acquireContext:function(t){return t&&t.canvas&&(t=t.canvas),t&&t.getContext("2d")||null}}},IBtZ:function(t,e,n){!function(t){"use strict";t.defineLocale("ka",{months:{standalone:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),format:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10e1_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10e1_\u10db\u10d0\u10e0\u10e2\u10e1_\u10d0\u10de\u10e0\u10d8\u10da\u10d8\u10e1_\u10db\u10d0\u10d8\u10e1\u10e1_\u10d8\u10d5\u10dc\u10d8\u10e1\u10e1_\u10d8\u10d5\u10da\u10d8\u10e1\u10e1_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10e1_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10e1_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10e1_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10e1".split("_")},monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10ec\u10d4\u10da\u10d8)/.test(t)?t.replace(/\u10d8$/,"\u10e8\u10d8"):t+"\u10e8\u10d8"},past:function(t){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(t)?t.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(t)?t.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):void 0},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(t){return 0===t?t:1===t?t+"-\u10da\u10d8":t<20||t<=100&&t%20==0||t%100==0?"\u10db\u10d4-"+t:t+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},"Ivi+":function(t,e,n){!function(t){"use strict";t.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\uc77c";case"M":return t+"\uc6d4";case"w":case"W":return t+"\uc8fc";default:return t}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(t){return"\uc624\ud6c4"===t},meridiem:function(t,e,n){return t<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},JVSJ:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JvlW:function(t,e,n){!function(t){"use strict";var e={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(t,e,n,i){return e?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(t){return t%10==0||t>10&&t<20}function r(t){return e[t].split("_")}function a(t,e,a,o){var s=t+" ";return 1===t?s+n(0,e,a[0],o):e?s+(i(t)?r(a)[1]:r(a)[0]):o?s+r(a)[1]:s+(i(t)?r(a)[1]:r(a)[2])}t.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(t,e,n,i){return e?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(t){return t+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(t,e,n){!function(t){"use strict";t.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(t){return/^nm$/i.test(t)},meridiem:function(t,e,n){return t<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(t){return t+(1===t||8===t||t>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},K2E3:function(t,e,n){"use strict";var i=n("6ww4"),r=n("RDha"),a=function(t){r.extend(this,t),this.initialize.apply(this,arguments)};r.extend(a.prototype,{initialize:function(){this.hidden=!1},pivot:function(){var t=this;return t._view||(t._view=r.clone(t._model)),t._start={},t},transition:function(t){var e=this,n=e._model,r=e._start,a=e._view;return n&&1!==t?(a||(a=e._view={}),r||(r=e._start={}),function(t,e,n,r){var a,o,s,l,u,c,d,h,f,p=Object.keys(n);for(a=0,o=p.length;a0||(e.forEach((function(e){delete t[e]})),delete t._chartjs)}}t.DatasetController=function(t,e){this.initialize(t,e)},i.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this,e=t.getMeta(),n=t.getDataset();null!==e.xAxisID&&e.xAxisID in t.chart.scales||(e.xAxisID=n.xAxisID||t.chart.options.scales.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in t.chart.scales||(e.yAxisID=n.yAxisID||t.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&n(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){var t,e,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(t=0,e=i.length;tn&&this.insertElements(n,i-n)},insertElements:function(t,e){for(var n=0;n=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mjesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},LdGl:function(t,e){function n(t){var e,n,i=t[0]/255,r=t[1]/255,a=t[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o;return s==o?e=0:i==s?e=(r-a)/l:r==s?e=2+(a-i)/l:a==s&&(e=4+(i-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),n=(o+s)/2,[e,100*(s==o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]}function i(t){var e,n,i=t[0],r=t[1],a=t[2],o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o;return n=0==s?0:l/s*1e3/10,s==o?e=0:i==s?e=(r-a)/l:r==s?e=2+(a-i)/l:a==s&&(e=4+(i-r)/l),(e=Math.min(60*e,360))<0&&(e+=360),[e,n,s/255*1e3/10]}function a(t){var e=t[0],i=t[1],r=t[2];return[n(t)[0],1/255*Math.min(e,Math.min(i,r))*100,100*(r=1-1/255*Math.max(e,Math.max(i,r)))]}function o(t){var e,n=t[0]/255,i=t[1]/255,r=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-i,1-r)))/(1-e)||0),100*((1-i-e)/(1-e)||0),100*((1-r-e)/(1-e)||0),100*e]}function s(t){return M[JSON.stringify(t)]}function l(t){var e=t[0]/255,n=t[1]/255,i=t[2]/255;return[100*(.4124*(e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=i>.04045?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*e+.7152*n+.0722*i),100*(.0193*e+.1192*n+.9505*i)]}function u(t){var e=l(t),n=e[0],i=e[1],r=e[2];return i/=100,r/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]}function c(t){var e,n,i,r,a,o=t[0]/360,s=t[1]/100,l=t[2]/100;if(0==s)return[a=255*l,a,a];e=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var u=0;u<3;u++)(i=o+1/3*-(u-1))<0&&i++,i>1&&i--,r[u]=255*(a=6*i<1?e+6*(n-e)*i:2*i<1?n:3*i<2?e+(n-e)*(2/3-i)*6:e);return r}function d(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,r=Math.floor(e)%6,a=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*a),l=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}}function h(t){var e,n,i,a,o=t[0]/360,s=t[1]/100,l=t[2]/100,u=s+l;switch(u>1&&(s/=u,l/=u),i=6*o-(e=Math.floor(6*o)),0!=(1&e)&&(i=1-i),a=s+i*((n=1-l)-s),e){default:case 6:case 0:r=n,g=a,b=s;break;case 1:r=a,g=n,b=s;break;case 2:r=s,g=n,b=a;break;case 3:r=s,g=a,b=n;break;case 4:r=a,g=s,b=n;break;case 5:r=n,g=s,b=a}return[255*r,255*g,255*b]}function f(t){var e=t[1]/100,n=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,t[0]/100*(1-i)+i)),255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i))]}function p(t){var e,n,i,r=t[0]/100,a=t[1]/100,o=t[2]/100;return n=-.9689*r+1.8758*a+.0415*o,i=.0557*r+-.204*a+1.057*o,e=(e=3.2406*r+-1.5372*a+-.4986*o)>.0031308?1.055*Math.pow(e,1/2.4)-.055:e*=12.92,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:n*=12.92,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*=12.92,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]}function m(t){var e=t[0],n=t[1],i=t[2];return n/=100,i/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]}function v(t){var e,n,i,r,a=t[0],o=t[1],s=t[2];return a<=8?r=(n=100*a/903.3)/100*7.787+16/116:(n=100*Math.pow((a+16)/116,3),r=Math.pow(n/100,1/3)),[e=e/95.047<=.008856?e=95.047*(o/500+r-16/116)/7.787:95.047*Math.pow(o/500+r,3),n,i=i/108.883<=.008859?i=108.883*(r-s/200-16/116)/7.787:108.883*Math.pow(r-s/200,3)]}function _(t){var e,n=t[0],i=t[1],r=t[2];return(e=360*Math.atan2(r,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+r*r),e]}function y(t){return p(v(t))}function k(t){var e,n=t[1];return e=t[2]/360*2*Math.PI,[t[0],n*Math.cos(e),n*Math.sin(e)]}function w(t){return S[t]}t.exports={rgb2hsl:n,rgb2hsv:i,rgb2hwb:a,rgb2cmyk:o,rgb2keyword:s,rgb2xyz:l,rgb2lab:u,rgb2lch:function(t){return _(u(t))},hsl2rgb:c,hsl2hsv:function(t){var e=t[1]/100,n=t[2]/100;return 0===n?[0,0,0]:[t[0],2*(e*=(n*=2)<=1?n:2-n)/(n+e)*100,(n+e)/2*100]},hsl2hwb:function(t){return a(c(t))},hsl2cmyk:function(t){return o(c(t))},hsl2keyword:function(t){return s(c(t))},hsv2rgb:d,hsv2hsl:function(t){var e,n,i=t[1]/100,r=t[2]/100;return e=i*r,[t[0],100*(e=(e/=(n=(2-i)*r)<=1?n:2-n)||0),100*(n/=2)]},hsv2hwb:function(t){return a(d(t))},hsv2cmyk:function(t){return o(d(t))},hsv2keyword:function(t){return s(d(t))},hwb2rgb:h,hwb2hsl:function(t){return n(h(t))},hwb2hsv:function(t){return i(h(t))},hwb2cmyk:function(t){return o(h(t))},hwb2keyword:function(t){return s(h(t))},cmyk2rgb:f,cmyk2hsl:function(t){return n(f(t))},cmyk2hsv:function(t){return i(f(t))},cmyk2hwb:function(t){return a(f(t))},cmyk2keyword:function(t){return s(f(t))},keyword2rgb:w,keyword2hsl:function(t){return n(w(t))},keyword2hsv:function(t){return i(w(t))},keyword2hwb:function(t){return a(w(t))},keyword2cmyk:function(t){return o(w(t))},keyword2lab:function(t){return u(w(t))},keyword2xyz:function(t){return l(w(t))},xyz2rgb:p,xyz2lab:m,xyz2lch:function(t){return _(m(t))},lab2xyz:v,lab2rgb:y,lab2lch:_,lch2lab:k,lch2xyz:function(t){return v(k(t))},lch2rgb:function(t){return y(k(t))}};var S={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},M={};for(var C in S)M[JSON.stringify(S[C])]=C},Loxo:function(t,e,n){!function(t){"use strict";t.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},ODdm:function(t,e,n){"use strict";t.exports=function(t){t.Bar=function(e,n){return n.type="bar",new t(e,n)}}},OIYi:function(t,e,n){!function(t){"use strict";t.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}})}(n("wd/R"))},OXbD:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),a=n("RDha"),o=i.global.defaultColor;function s(t){var e=this._view;return!!e&&Math.abs(t-e.x)=10?t:t+12:"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0930\u093e\u0924\u094d\u0930\u0940":t<10?"\u0938\u0915\u093e\u0933\u0940":t<17?"\u0926\u0941\u092a\u093e\u0930\u0940":t<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(t,e,n){!function(t){"use strict";var e={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};t.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(t){return t.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0930\u093e\u0924\u093f"===e?t<4?t:t+12:"\u092c\u093f\u0939\u093e\u0928"===e?t:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?t>=10?t:t+12:"\u0938\u093e\u0901\u091d"===e?t+12:void 0},meridiem:function(t,e,n){return t<3?"\u0930\u093e\u0924\u093f":t<12?"\u092c\u093f\u0939\u093e\u0928":t<16?"\u0926\u093f\u0909\u0901\u0938\u094b":t<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},Oxv6:function(t,e,n){!function(t){"use strict";var e={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};t.defineLocale("tg",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u041f\u0430\u0433\u043e\u04b3 \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0448\u0430\u0431"===e?t<4?t:t+12:"\u0441\u0443\u0431\u04b3"===e?t:"\u0440\u04ef\u0437"===e?t>=11?t:t+12:"\u0431\u0435\u0433\u043e\u04b3"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0448\u0430\u0431":t<11?"\u0441\u0443\u0431\u04b3":t<16?"\u0440\u04ef\u0437":t<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},OzsZ:function(t,e,n){var i=n("LdGl"),r=function(){return new u};for(var a in i){r[a+"Raw"]=function(t){return function(e){return"number"==typeof e&&(e=Array.prototype.slice.call(arguments)),i[t](e)}}(a);var o=/(\w+)2(\w+)/.exec(a),s=o[1],l=o[2];(r[s]=r[s]||{})[l]=r[a]=function(t){return function(e){"number"==typeof e&&(e=Array.prototype.slice.call(arguments));var n=i[t](e);if("string"==typeof n||void 0===n)return n;for(var r=0;r1&&t<5&&1!=~~(t/10)}function r(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return e||r?a+(i(t)?"sekundy":"sekund"):a+"sekundami";case"m":return e?"minuta":r?"minutu":"minutou";case"mm":return e||r?a+(i(t)?"minuty":"minut"):a+"minutami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(i(t)?"hodiny":"hodin"):a+"hodinami";case"d":return e||r?"den":"dnem";case"dd":return e||r?a+(i(t)?"dny":"dn\xed"):a+"dny";case"M":return e||r?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return e||r?a+(i(t)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):a+"m\u011bs\xedci";case"y":return e||r?"rok":"rokem";case"yy":return e||r?a+(i(t)?"roky":"let"):a+"lety"}}t.defineLocale("cs",{months:e,monthsShort:n,monthsParse:function(t,e){var n,i=[];for(n=0;n<12;n++)i[n]=new RegExp("^"+t[n]+"$|^"+e[n]+"$","i");return i}(e,n),shortMonthsParse:function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(n),longMonthsParse:function(t){var e,n=[];for(e=0;e<12;e++)n[e]=new RegExp("^"+t[e]+"$","i");return n}(e),weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PeUW:function(t,e,n){!function(t){"use strict";var e={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};t.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(t){return t+"\u0bb5\u0ba4\u0bc1"},preparse:function(t){return t.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(t,e,n){return t<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":t<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":t<10?" \u0b95\u0bbe\u0bb2\u0bc8":t<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":t<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":t<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(t,e){return 12===t&&(t=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?t<2?t:t+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&t>=10?t:t+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(t,e,n){!function(t){"use strict";var e={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};t.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(t){return t.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?t<4?t:t+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?t:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?t>=10?t:t+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":t<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":t<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":t<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(t){return t+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},Qexa:function(t,e,n){"use strict";t.exports=function(t){t.Bubble=function(e,n){return n.type="bubble",new t(e,n)}}},Qj4J:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},RAwQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return e?r[n][0]:r[n][1]}function n(t){if(t=parseInt(t,10),isNaN(t))return!1;if(t<0)return!0;if(t<10)return 4<=t&&t<=7;if(t<100){var e=t%10;return n(0===e?t/10:e)}if(t<1e4){for(;t>=10;)t/=10;return n(t)}return n(t/=1e3)}t.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(t){return n(t.substr(0,t.indexOf(" ")))?"a "+t:"an "+t},past:function(t){return n(t.substr(0,t.indexOf(" ")))?"viru "+t:"virun "+t},s:"e puer Sekonnen",ss:"%d Sekonnen",m:e,mm:"%d Minutten",h:e,hh:"%d Stonnen",d:e,dd:"%d Deeg",M:e,MM:"%d M\xe9int",y:e,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RCHg:function(t,e,n){"use strict";var i=n("wd/R");i="function"==typeof i?i:window.moment;var r=n("CDJp"),a=n("RDha"),o=Number.MIN_SAFE_INTEGER||-9007199254740991,s=Number.MAX_SAFE_INTEGER||9007199254740991,l={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},u=Object.keys(l);function c(t,e){return t-e}function d(t){var e,n,i,r={},a=[];for(e=0,n=t.length;e=0&&o<=s;){if(a=t[i=o+s>>1],!(r=t[i-1]||null))return{lo:null,hi:a};if(a[e]n))return{lo:r,hi:a};s=i-1}}return{lo:a,hi:null}}(t,e,n),a=r.lo?r.hi?r.lo:t[t.length-2]:t[0],o=r.lo?r.hi?r.hi:t[t.length-1]:t[1],s=o[e]-a[e];return a[i]+(o[i]-a[i])*(s?(n-a[e])/s:0)}function f(t,e){var n=e.parser,r=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof r?i(t,r):(t instanceof i||(t=i(t)),t.isValid()?t:"function"==typeof r?r(t):t)}function p(t,e){if(a.isNullOrUndef(t))return null;var n=e.options.time,i=f(e.getRightValue(t),n);return i.isValid()?(n.round&&i.startOf(n.round),i.valueOf()):null}function m(t){for(var e=u.indexOf(t)+1,n=u.length;e=o&&n<=c&&_.push(n);return r.min=o,r.max=c,r._unit=g.unit||function(t,e,n,r){var a,o,s=i.duration(i(r).diff(i(n)));for(a=u.length-1;a>=u.indexOf(e);a--)if(l[o=u[a]].common&&s.as(o)>=t.length)return o;return u[e?u.indexOf(e):0]}(_,g.minUnit,r.min,r.max),r._majorUnit=m(r._unit),r._table=function(t,e,n,i){if("linear"===i||!t.length)return[{time:e,pos:0},{time:n,pos:1}];var r,a,o,s,l,u=[],c=[e];for(r=0,a=t.length;re&&s1?e[1]:i,"pos")-h(t,"time",a,"pos"))/2),r.time.max||(a=e.length>1?e[e.length-2]:n,s=(h(t,"time",e[e.length-1],"pos")-h(t,"time",a,"pos"))/2)),{left:o,right:s}}(r._table,_,o,c,d),r._labelFormat=function(t,e){var n,i,r,a=t.length;for(n=0;n=0&&t0?s:1}});t.scaleService.registerScaleType("time",e,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},RDha:function(t,e,n){"use strict";t.exports=n("TC34"),t.exports.easing=n("u0Op"),t.exports.canvas=n("Sfow"),t.exports.options=n("As3K")},RnhZ:function(t,e,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(t){var e=a(t);return n(e)}function a(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}r.keys=function(){return Object.keys(i)},r.resolve=a,t.exports=r,r.id="RnhZ"},"S3/U":function(t,e,n){"use strict";t.exports=function(t){t.Scatter=function(e,n){return n.type="scatter",new t(e,n)}}},S6ln:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=t+" ";switch(n){case"ss":return i+(1===t?"sekunda":2===t||3===t||4===t?"sekunde":"sekundi");case"m":return e?"jedna minuta":"jedne minute";case"mm":return i+(1===t?"minuta":2===t||3===t||4===t?"minute":"minuta");case"h":return e?"jedan sat":"jednog sata";case"hh":return i+(1===t?"sat":2===t||3===t||4===t?"sata":"sati");case"dd":return i+(1===t?"dan":"dana");case"MM":return i+(1===t?"mjesec":2===t||3===t||4===t?"mjeseca":"mjeseci");case"yy":return i+(1===t?"godina":2===t||3===t||4===t?"godine":"godina")}}t.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:e,m:e,mm:e,h:e,hh:e,d:"dan",dd:e,M:"mjesec",MM:e,y:"godinu",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},S7Ns:function(t,e,n){"use strict";t.exports=function(t){t.Doughnut=function(e,n){return n.type="doughnut",new t(e,n)}}},SFxW:function(t,e,n){!function(t){"use strict";var e={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};t.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"birne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(t){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(t)},meridiem:function(t,e,n){return t<4?"gec\u0259":t<12?"s\u0259h\u0259r":t<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(t){if(0===t)return t+"-\u0131nc\u0131";var n=t%10;return t+(e[n]||e[t%100-n]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},SatO:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Sfow:function(t,e,n){"use strict";var i=n("TC34");e=t.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,r,a){if(a){var o=Math.min(a,i/2),s=Math.min(a,r/2);t.moveTo(e+o,n),t.lineTo(e+i-o,n),t.quadraticCurveTo(e+i,n,e+i,n+s),t.lineTo(e+i,n+r-s),t.quadraticCurveTo(e+i,n+r,e+i-o,n+r),t.lineTo(e+o,n+r),t.quadraticCurveTo(e,n+r,e,n+r-s),t.lineTo(e,n+s),t.quadraticCurveTo(e,n,e+o,n)}else t.rect(e,n,i,r)},drawPoint:function(t,e,n,i,r){var a,o,s,l,u,c;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(a=e.toString())&&"[object HTMLCanvasElement]"!==a){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(i,r,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),u=(o=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-o/2,r+u/3),t.lineTo(i+o/2,r+u/3),t.lineTo(i,r-2*u/3),t.closePath(),t.fill();break;case"rect":c=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-c,r-c,2*c,2*c),t.strokeRect(i-c,r-c,2*c,2*c);break;case"rectRounded":var d=n/Math.SQRT2,h=i-d,f=r-d,p=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,h,f,p,p,n/2),t.closePath(),t.fill();break;case"rectRot":c=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-c,r),t.lineTo(i,r+c),t.lineTo(i+c,r),t.lineTo(i,r-c),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,r+n),t.lineTo(i,r-n),t.moveTo(i-n,r),t.lineTo(i+n,r),t.closePath();break;case"crossRot":t.beginPath(),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i-s,r+l),t.lineTo(i+s,r-l),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,r+n),t.lineTo(i,r-n),t.moveTo(i-n,r),t.lineTo(i+n,r),s=Math.cos(Math.PI/4)*n,l=Math.sin(Math.PI/4)*n,t.moveTo(i-s,r-l),t.lineTo(i+s,r+l),t.moveTo(i-s,r+l),t.lineTo(i+s,r-l),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,r),t.lineTo(i+n,r),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,r),t.lineTo(i+n,r),t.closePath()}t.stroke()}}else t.drawImage(e,i-e.width/2,r-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){if(n.steppedLine)return"after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),void t.lineTo(n.x,n.y);n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},i.clear=e.clear,i.drawRoundedRectangle=function(t){t.beginPath(),e.roundedRect.apply(e,arguments),t.closePath()}},T016:function(t,e){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},TC34:function(t,e,n){"use strict";var i,r={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return r.valueOrDefault(r.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var a,o,s;if(r.isArray(t))if(o=t.length,i)for(a=o-1;a>=0;a--)e.call(n,t[a],a);else for(a=0;a=11?t:t+12:"sore"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"siang":t<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},UpQW:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];t.defineLocale("ur",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},UqmZ:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),a=n("RDha"),o=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:o.defaultColor,borderWidth:3,borderColor:o.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),t.exports=r.extend({draw:function(){var t,e,n,i,r=this._view,s=this._chart.ctx,l=r.spanGaps,u=this._children.slice(),c=o.elements.line,d=-1;for(this._loop&&u.length&&u.push(u[0]),s.save(),s.lineCap=r.borderCapStyle||c.borderCapStyle,s.setLineDash&&s.setLineDash(r.borderDash||c.borderDash),s.lineDashOffset=r.borderDashOffset||c.borderDashOffset,s.lineJoin=r.borderJoinStyle||c.borderJoinStyle,s.lineWidth=r.borderWidth||c.borderWidth,s.strokeStyle=r.borderColor||o.defaultColor,s.beginPath(),d=-1,t=0;t=11?t:t+12:"entsambama"===e||"ebusuku"===e?0===t?0:t+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(t,e,n){!function(t){"use strict";t.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"minutu balun",ss:"minutu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Vclq:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_");t.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsParseExact:!0,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"MMMM [de] D [de] YYYY",LLL:"MMMM [de] D [de] YYYY h:mm A",LLLL:"dddd, MMMM [de] D [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},VgNv:function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha");i._set("global",{plugins:{}}),t.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach((function(t){-1===e.indexOf(t)&&e.push(t)})),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach((function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){var i,r,a,o,s,l=this.descriptors(t),u=l.length;for(i=0;il;)r-=2*Math.PI;for(;r=s&&r<=l&&o>=n.innerRadius&&o<=n.outerRadius}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},XDpg:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:t>=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u5468";default:return t}},relativeTime:{future:"%s\u5185",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(t,e,n){!function(t){"use strict";t.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c42\u0c32\u0c46\u0c56_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===e?t<4?t:t+12:"\u0c09\u0c26\u0c2f\u0c02"===e?t:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===e?t>=10?t:t+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===e?t+12:void 0},meridiem:function(t,e,n){return t<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":t<10?"\u0c09\u0c26\u0c2f\u0c02":t<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":t<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},"XQh+":function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),a=n("RDha");i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[];e.push('
    ');var n=t.data,i=n.datasets,r=n.labels;if(i.length)for(var a=0;a'),r[a]&&e.push(r[a]),e.push("");return e.push("
"),e.join("")},legend:{labels:{generateLabels:function(t){var e=t.data;return e.labels.length&&e.datasets.length?e.labels.map((function(n,i){var r=t.getDatasetMeta(0),o=e.datasets[0],s=r.data[i],l=s&&s.custom||{},u=a.valueAtIndexOrDefault,c=t.options.elements.arc;return{text:n,fillStyle:l.backgroundColor?l.backgroundColor:u(o.backgroundColor,i,c.backgroundColor),strokeStyle:l.borderColor?l.borderColor:u(o.borderColor,i,c.borderColor),lineWidth:l.borderWidth?l.borderWidth:u(o.borderWidth,i,c.borderWidth),hidden:isNaN(o.data[i])||r.data[i].hidden,index:i}})):[]}},onClick:function(t,e){var n,i,r,a=e.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n=Math.PI?-1:p<-Math.PI?1:0))+f,g={x:Math.cos(p),y:Math.sin(p)},v={x:Math.cos(m),y:Math.sin(m)},_=p<=0&&m>=0||p<=2*Math.PI&&2*Math.PI<=m,y=p<=.5*Math.PI&&.5*Math.PI<=m||p<=2.5*Math.PI&&2.5*Math.PI<=m,b=p<=-Math.PI&&-Math.PI<=m||p<=Math.PI&&Math.PI<=m,k=p<=.5*-Math.PI&&.5*-Math.PI<=m||p<=1.5*Math.PI&&1.5*Math.PI<=m,w=h/100,S={x:b?-1:Math.min(g.x*(g.x<0?1:w),v.x*(v.x<0?1:w)),y:k?-1:Math.min(g.y*(g.y<0?1:w),v.y*(v.y<0?1:w))},M={x:_?1:Math.max(g.x*(g.x>0?1:w),v.x*(v.x>0?1:w)),y:y?1:Math.max(g.y*(g.y>0?1:w),v.y*(v.y>0?1:w))},C={width:.5*(M.x-S.x),height:.5*(M.y-S.y)};u=Math.min(s/C.width,l/C.height),c={x:-.5*(M.x+S.x),y:-.5*(M.y+S.y)}}n.borderWidth=e.getMaxBorderWidth(d.data),n.outerRadius=Math.max((u-n.borderWidth)/2,0),n.innerRadius=Math.max(h?n.outerRadius/100*h:0,0),n.radiusLength=(n.outerRadius-n.innerRadius)/n.getVisibleDatasetCount(),n.offsetX=c.x*n.outerRadius,n.offsetY=c.y*n.outerRadius,d.total=e.calculateTotal(),e.outerRadius=n.outerRadius-n.radiusLength*e.getRingIndex(e.index),e.innerRadius=Math.max(e.outerRadius-n.radiusLength,0),a.each(d.data,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,r=i.chart,o=r.chartArea,s=r.options,l=s.animation,u=(o.left+o.right)/2,c=(o.top+o.bottom)/2,d=s.rotation,h=s.rotation,f=i.getDataset(),p=n&&l.animateRotate||t.hidden?0:i.calculateCircumference(f.data[e])*(s.circumference/(2*Math.PI));a.extend(t,{_datasetIndex:i.index,_index:e,_model:{x:u+r.offsetX,y:c+r.offsetY,startAngle:d,endAngle:h,circumference:p,outerRadius:n&&l.animateScale?0:i.outerRadius,innerRadius:n&&l.animateScale?0:i.innerRadius,label:(0,a.valueAtIndexOrDefault)(f.label,e,r.data.labels[e])}});var m=t._model;this.removeHoverStyle(t),n&&l.animateRotate||(m.startAngle=0===e?s.rotation:i.getMeta().data[e-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),t.pivot()},removeHoverStyle:function(e){t.DatasetController.prototype.removeHoverStyle.call(this,e,this.chart.options.elements.arc)},calculateTotal:function(){var t,e=this.getDataset(),n=this.getMeta(),i=0;return a.each(n.data,(function(n,r){t=e.data[r],isNaN(t)||n.hidden||(i+=Math.abs(t))})),i},calculateCircumference:function(t){var e=this.getMeta().total;return e>0&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,r=this.index,a=t.length,o=0;o(i=(e=t[o]._model?t[o]._model.borderWidth:0)>i?e:i)?n:i;return i}})}},Y4Rb:function(t,e,n){"use strict";var i=n("RDha"),r=n("g8vO");t.exports=function(t){var e={position:"left",ticks:{callback:r.formatters.logarithmic}},n=t.Scale.extend({determineDataLimits:function(){var t=this,e=t.options,n=t.chart,r=n.data.datasets,a=t.isHorizontal();function o(e){return a?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null,t.minNotZero=null;var s=e.stacked;if(void 0===s&&i.each(r,(function(t,e){if(!s){var i=n.getDatasetMeta(e);n.isDatasetVisible(e)&&o(i)&&void 0!==i.stack&&(s=!0)}})),e.stacked||s){var l={};i.each(r,(function(r,a){var s=n.getDatasetMeta(a),u=[s.type,void 0===e.stacked&&void 0===s.stack?a:"",s.stack].join(".");n.isDatasetVisible(a)&&o(s)&&(void 0===l[u]&&(l[u]=[]),i.each(r.data,(function(e,n){var i=l[u],r=+t.getRightValue(e);isNaN(r)||s.data[n].hidden||r<0||(i[n]=i[n]||0,i[n]+=r)})))})),i.each(l,(function(e){if(e.length>0){var n=i.min(e),r=i.max(e);t.min=null===t.min?n:Math.min(t.min,n),t.max=null===t.max?r:Math.max(t.max,r)}}))}else i.each(r,(function(e,r){var a=n.getDatasetMeta(r);n.isDatasetVisible(r)&&o(a)&&i.each(e.data,(function(e,n){var i=+t.getRightValue(e);isNaN(i)||a.data[n].hidden||i<0||((null===t.min||it.max)&&(t.max=i),0!==i&&(null===t.minNotZero||i0?t.min:t.max<1?Math.pow(10,Math.floor(i.log10(t.max))):1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),r=t.ticks=function(t,e){var n,r,a=[],o=i.valueOrDefault,s=o(t.min,Math.pow(10,Math.floor(i.log10(e.min)))),l=Math.floor(i.log10(e.max)),u=Math.ceil(e.max/Math.pow(10,l));0===s?(n=Math.floor(i.log10(e.minNotZero)),r=Math.floor(e.minNotZero/Math.pow(10,n)),a.push(s),s=r*Math.pow(10,n)):(n=Math.floor(i.log10(s)),r=Math.floor(s/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(s),10==++r&&(r=1,c=++n>=0?1:c),s=Math.round(r*Math.pow(10,n)*c)/c}while(n=11?t:t+12},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return t+"-\u06be\u06d5\u067e\u062a\u06d5";default:return t}},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},YSsK:function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),a=n("g8vO");t.exports=function(t){var e={position:"left",ticks:{callback:a.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){var t=this,e=t.options,n=t.chart,i=n.data.datasets,a=t.isHorizontal();function o(e){return a?e.xAxisID===t.id:e.yAxisID===t.id}t.min=null,t.max=null;var s=e.stacked;if(void 0===s&&r.each(i,(function(t,e){if(!s){var i=n.getDatasetMeta(e);n.isDatasetVisible(e)&&o(i)&&void 0!==i.stack&&(s=!0)}})),e.stacked||s){var l={};r.each(i,(function(i,a){var s=n.getDatasetMeta(a),u=[s.type,void 0===e.stacked&&void 0===s.stack?a:"",s.stack].join(".");void 0===l[u]&&(l[u]={positiveValues:[],negativeValues:[]});var c=l[u].positiveValues,d=l[u].negativeValues;n.isDatasetVisible(a)&&o(s)&&r.each(i.data,(function(n,i){var r=+t.getRightValue(n);isNaN(r)||s.data[i].hidden||(c[i]=c[i]||0,d[i]=d[i]||0,e.relativePoints?c[i]=100:r<0?d[i]+=r:c[i]+=r)}))})),r.each(l,(function(e){var n=e.positiveValues.concat(e.negativeValues),i=r.min(n),a=r.max(n);t.min=null===t.min?i:Math.min(t.min,i),t.max=null===t.max?a:Math.max(t.max,a)}))}else r.each(i,(function(e,i){var a=n.getDatasetMeta(i);n.isDatasetVisible(i)&&o(a)&&r.each(e.data,(function(e,n){var i=+t.getRightValue(e);isNaN(i)||a.data[n].hidden||((null===t.min||it.max)&&(t.max=i))}))}));t.min=isFinite(t.min)&&!isNaN(t.min)?t.min:0,t.max=isFinite(t.max)&&!isNaN(t.max)?t.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;if(this.isHorizontal())t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.width/50));else{var n=r.valueOrDefault(e.fontSize,i.global.defaultFontSize);t=Math.min(e.maxTicksLimit?e.maxTicksLimit:11,Math.ceil(this.height/(2*n)))}return t},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this,n=e.start,i=+e.getRightValue(t),r=e.end-n;return e.isHorizontal()?e.left+e.width/r*(i-n):e.bottom-e.height/r*(i-n)},getValueForPixel:function(t){var e=this,n=e.isHorizontal();return e.start+(n?t-e.left:e.bottom-t)/(n?e.width:e.height)*(e.end-e.start)},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",n,e)}},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z4QM:function(t,e,n){!function(t){"use strict";var e=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];t.defineLocale("sd",{months:e,monthsShort:e,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(t){return"\u0634\u0627\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/\u060c/g,",")},postformat:function(t){return t.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(t,e,n){!function(t){"use strict";t.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(t,e){return 12===t&&(t=0),"pagi"===e?t:"tengahari"===e?t>=11?t:t+12:"petang"===e||"malam"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"pagi":t<15?"tengahari":t<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZANz:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),a=n("RDha");i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return t.length>0&&(t[0].yLabel?n=t[0].yLabel:e.labels.length>0&&t[0].index0?Math.min(o,i-n):o,n=i;return o}(n,u):-1,pixels:u,start:s,end:l,stackCount:i,scale:n}},calculateBarValuePixels:function(t,e){var n,i,r,a,o,s,l=this.chart,u=this.getMeta(),c=this.getValueScale(),d=l.data.datasets,h=c.getRightValue(d[t].data[e]),f=c.options.stacked,p=u.stack,m=0;if(f||void 0===f&&void 0!==p)for(n=0;n=0&&r>0)&&(m+=r));return a=c.getPixelForValue(m),{size:s=((o=c.getPixelForValue(m+h))-a)/2,base:a,head:o,center:o+s/2}},calculateBarIndexPixels:function(t,e,n){var i=n.scale.options,r="flex"===i.barThickness?function(t,e,n){var i=e.pixels,r=i[t],a=t>0?i[t-1]:null,o=t11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd [je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasinta] dddd [je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"sekundoj",ss:"%d sekundoj",m:"minuto",mm:"%d minutoj",h:"horo",hh:"%d horoj",d:"tago",dd:"%d tagoj",M:"monato",MM:"%d monatoj",y:"jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},aB2c:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),a=n("RDha");i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),t.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:r.Line,dataElementType:r.Point,linkScales:a.noop,update:function(t){var e=this,n=e.getMeta(),i=n.data,r=n.dataset.custom||{},o=e.getDataset(),s=e.chart.options.elements.line,l=e.chart.scale;void 0!==o.tension&&void 0===o.lineTension&&(o.lineTension=o.tension),a.extend(n.dataset,{_datasetIndex:e.index,_scale:l,_children:i,_loop:!0,_model:{tension:r.tension?r.tension:a.valueOrDefault(o.lineTension,s.tension),backgroundColor:r.backgroundColor?r.backgroundColor:o.backgroundColor||s.backgroundColor,borderWidth:r.borderWidth?r.borderWidth:o.borderWidth||s.borderWidth,borderColor:r.borderColor?r.borderColor:o.borderColor||s.borderColor,fill:r.fill?r.fill:void 0!==o.fill?o.fill:s.fill,borderCapStyle:r.borderCapStyle?r.borderCapStyle:o.borderCapStyle||s.borderCapStyle,borderDash:r.borderDash?r.borderDash:o.borderDash||s.borderDash,borderDashOffset:r.borderDashOffset?r.borderDashOffset:o.borderDashOffset||s.borderDashOffset,borderJoinStyle:r.borderJoinStyle?r.borderJoinStyle:o.borderJoinStyle||s.borderJoinStyle}}),n.dataset.pivot(),a.each(i,(function(n,i){e.updateElement(n,i,t)}),e),e.updateBezierControlPoints()},updateElement:function(t,e,n){var i=this,r=t.custom||{},o=i.getDataset(),s=i.chart.scale,l=i.chart.options.elements.point,u=s.getPointPositionForValue(e,o.data[e]);void 0!==o.radius&&void 0===o.pointRadius&&(o.pointRadius=o.radius),void 0!==o.hitRadius&&void 0===o.pointHitRadius&&(o.pointHitRadius=o.hitRadius),a.extend(t,{_datasetIndex:i.index,_index:e,_scale:s,_model:{x:n?s.xCenter:u.x,y:n?s.yCenter:u.y,tension:r.tension?r.tension:a.valueOrDefault(o.lineTension,i.chart.options.elements.line.tension),radius:r.radius?r.radius:a.valueAtIndexOrDefault(o.pointRadius,e,l.radius),backgroundColor:r.backgroundColor?r.backgroundColor:a.valueAtIndexOrDefault(o.pointBackgroundColor,e,l.backgroundColor),borderColor:r.borderColor?r.borderColor:a.valueAtIndexOrDefault(o.pointBorderColor,e,l.borderColor),borderWidth:r.borderWidth?r.borderWidth:a.valueAtIndexOrDefault(o.pointBorderWidth,e,l.borderWidth),pointStyle:r.pointStyle?r.pointStyle:a.valueAtIndexOrDefault(o.pointStyle,e,l.pointStyle),hitRadius:r.hitRadius?r.hitRadius:a.valueAtIndexOrDefault(o.pointHitRadius,e,l.hitRadius)}}),t._model.skip=r.skip?r.skip:isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var t=this.chart.chartArea,e=this.getMeta();a.each(e.data,(function(n,i){var r=n._model,o=a.splineCurve(a.previousItem(e.data,i,!0)._model,r,a.nextItem(e.data,i,!0)._model,r.tension);r.controlPointPreviousX=Math.max(Math.min(o.previous.x,t.right),t.left),r.controlPointPreviousY=Math.max(Math.min(o.previous.y,t.bottom),t.top),r.controlPointNextX=Math.max(Math.min(o.next.x,t.right),t.left),r.controlPointNextY=Math.max(Math.min(o.next.y,t.bottom),t.top),n.pivot()}))},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,r=t._model;r.radius=n.hoverRadius?n.hoverRadius:a.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),r.backgroundColor=n.hoverBackgroundColor?n.hoverBackgroundColor:a.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,a.getHoverColor(r.backgroundColor)),r.borderColor=n.hoverBorderColor?n.hoverBorderColor:a.valueAtIndexOrDefault(e.pointHoverBorderColor,i,a.getHoverColor(r.borderColor)),r.borderWidth=n.hoverBorderWidth?n.hoverBorderWidth:a.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,r.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,r=t._model,o=this.chart.options.elements.point;r.radius=n.radius?n.radius:a.valueAtIndexOrDefault(e.pointRadius,i,o.radius),r.backgroundColor=n.backgroundColor?n.backgroundColor:a.valueAtIndexOrDefault(e.pointBackgroundColor,i,o.backgroundColor),r.borderColor=n.borderColor?n.borderColor:a.valueAtIndexOrDefault(e.pointBorderColor,i,o.borderColor),r.borderWidth=n.borderWidth?n.borderWidth:a.valueAtIndexOrDefault(e.pointBorderWidth,i,o.borderWidth)}})}},aIdf:function(t,e,n){!function(t){"use strict";function e(t,e,n){return t+" "+function(t,e){return 2===e?function(t){var e={m:"v",b:"v",d:"z"};return void 0===e[t.charAt(0)]?t:e[t.charAt(0)]+t.substring(1)}(t):t}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],t)}t.defineLocale("br",{months:"Genver_C'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc'her_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h[e]mm A",LTS:"h[e]mm:ss A",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY h[e]mm A",LLLL:"dddd, D [a viz] MMMM YYYY h[e]mm A"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc'hoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec'h da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s 'zo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:e,h:"un eur",hh:"%d eur",d:"un devezh",dd:e,M:"ur miz",MM:e,y:"ur bloaz",yy:function(t){switch(function t(e){return e>9?t(e%10):e}(t)){case 1:case 3:case 4:case 5:case 9:return t+" bloaz";default:return t+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(t){return t+(1===t?"a\xf1":"vet")},week:{dow:1,doy:4}})}(n("wd/R"))},aIsn:function(t,e,n){!function(t){"use strict";t.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(t,e,n){!function(t){"use strict";t.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u043e\u0441\u043b\u0435 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},b1Dy:function(t,e,n){!function(t){"use strict";t.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(t){var e=t%10;return t+(1==~~(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},bOMt:function(t,e,n){!function(t){"use strict";t.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bXm7:function(t,e,n){!function(t){"use strict";var e={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};t.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bidN:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),a=n("RDha");i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": ("+t.xLabel+", "+t.yLabel+", "+e.datasets[t.datasetIndex].data[t.index].r+")"}}}}),t.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:r.Point,update:function(t){var e=this,n=e.getMeta();a.each(n.data,(function(n,i){e.updateElement(n,i,t)}))},updateElement:function(t,e,n){var i=this,r=i.getMeta(),a=t.custom||{},o=i.getScaleForId(r.xAxisID),s=i.getScaleForId(r.yAxisID),l=i._resolveElementOptions(t,e),u=i.getDataset().data[e],c=i.index,d=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof u?u:NaN,e,c),h=n?s.getBasePixel():s.getPixelForValue(u,e,c);t._xScale=o,t._yScale=s,t._options=l,t._datasetIndex=c,t._index=e,t._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,radius:n?0:l.radius,skip:a.skip||isNaN(d)||isNaN(h),x:d,y:h},t.pivot()},setHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=a.valueOrDefault(n.hoverBackgroundColor,a.getHoverColor(n.backgroundColor)),e.borderColor=a.valueOrDefault(n.hoverBorderColor,a.getHoverColor(n.borderColor)),e.borderWidth=a.valueOrDefault(n.hoverBorderWidth,n.borderWidth),e.radius=n.radius+n.hoverRadius},removeHoverStyle:function(t){var e=t._model,n=t._options;e.backgroundColor=n.backgroundColor,e.borderColor=n.borderColor,e.borderWidth=n.borderWidth,e.radius=n.radius},_resolveElementOptions:function(t,e){var n,i,r,o=this.chart,s=o.data.datasets[this.index],l=t.custom||{},u=o.options.elements.point,c=a.options.resolve,d=s.data[e],h={},f={chart:o,dataIndex:e,dataset:s,datasetIndex:this.index},p=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"];for(n=0,i=p.length;n=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cdu6:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),a=n("RDha"),o=n("g8vO");function s(t){var e,n,i=[];for(e=0,n=t.length;eh&&lt.maxHeight){l--;break}l++,d=u*c}t.labelRotation=l},afterCalculateTickRotation:function(){a.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){a.callback(this.options.beforeFit,[this])},fit:function(){var t=this,i=t.minSize={width:0,height:0},r=s(t._ticks),l=t.options,u=l.ticks,c=l.scaleLabel,d=l.gridLines,h=l.display,f=t.isHorizontal(),p=n(u),m=l.gridLines.tickMarkLength;if(i.width=f?t.isFullWidth()?t.maxWidth-t.margins.left-t.margins.right:t.maxWidth:h&&d.drawTicks?m:0,i.height=f?h&&d.drawTicks?m:0:t.maxHeight,c.display&&h){var g=o(c)+a.options.toPadding(c.padding).height;f?i.height+=g:i.width+=g}if(u.display&&h){var v=a.longestText(t.ctx,p.font,r,t.longestTextCache),_=a.numberOfLabelLines(r),y=.5*p.size,b=t.options.ticks.padding;if(f){t.longestLabelWidth=v;var k=a.toRadians(t.labelRotation),w=Math.cos(k),S=Math.sin(k);i.height=Math.min(t.maxHeight,i.height+(S*v+p.size*_+y*(_-1)+y)+b),t.ctx.font=p.font;var M=e(t.ctx,r[0],p.font),C=e(t.ctx,r[r.length-1],p.font);0!==t.labelRotation?(t.paddingLeft="bottom"===l.position?w*M+3:w*y+3,t.paddingRight="bottom"===l.position?w*y+3:w*C+3):(t.paddingLeft=M/2+3,t.paddingRight=C/2+3)}else u.mirror?v=0:v+=b+y,i.width=Math.min(t.maxWidth,i.width+v),t.paddingTop=p.size/2,t.paddingBottom=p.size/2}t.handleMargins(),t.width=i.width,t.height=i.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){a.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(a.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:a.noop,getPixelForValue:a.noop,getValueForPixel:a.noop,getPixelForTick:function(t){var e=this,n=e.options.offset;if(e.isHorizontal()){var i=(e.width-(e.paddingLeft+e.paddingRight))/Math.max(e._ticks.length-(n?0:1),1),r=i*t+e.paddingLeft;return n&&(r+=i/2),e.left+Math.round(r)+(e.isFullWidth()?e.margins.left:0)}return e.top+t*((e.height-(e.paddingTop+e.paddingBottom))/(e._ticks.length-1))},getPixelForDecimal:function(t){var e=this;return e.isHorizontal()?e.left+Math.round((e.width-(e.paddingLeft+e.paddingRight))*t+e.paddingLeft)+(e.isFullWidth()?e.margins.left:0):e.top+t*e.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:t>0&&e>0?t:0},_autoSkip:function(t){var e,n,i,r,o=this,s=o.isHorizontal(),l=o.options.ticks.minor,u=t.length,c=a.toRadians(o.labelRotation),d=Math.cos(c),h=o.longestLabelWidth*d,f=[];for(l.maxTicksLimit&&(r=l.maxTicksLimit),s&&(e=!1,(h+l.autoSkipPadding)*u>o.width-(o.paddingLeft+o.paddingRight)&&(e=1+Math.floor((h+l.autoSkipPadding)*u/(o.width-(o.paddingLeft+o.paddingRight)))),r&&u>r&&(e=Math.max(e,Math.floor(u/r)))),n=0;n1&&n%e>0||n%e==0&&n+e>=u)&&n!==u-1&&delete i.label,f.push(i);return f},draw:function(t){var e=this,r=e.options;if(r.display){var s=e.ctx,u=i.global,c=r.ticks.minor,d=r.ticks.major||c,h=r.gridLines,f=r.scaleLabel,p=0!==e.labelRotation,m=e.isHorizontal(),g=c.autoSkip?e._autoSkip(e.getTicks()):e.getTicks(),v=a.valueOrDefault(c.fontColor,u.defaultFontColor),_=n(c),y=a.valueOrDefault(d.fontColor,u.defaultFontColor),b=n(d),k=h.drawTicks?h.tickMarkLength:0,w=a.valueOrDefault(f.fontColor,u.defaultFontColor),S=n(f),M=a.options.toPadding(f.padding),C=a.toRadians(e.labelRotation),x=[],D=e.options.gridLines.lineWidth,L="right"===r.position?e.right:e.right-D-k,T="right"===r.position?e.right+k:e.right,P="bottom"===r.position?e.top+D:e.bottom-k-D,O="bottom"===r.position?e.top+D+k:e.bottom+D;if(a.each(g,(function(n,i){if(!a.isNullOrUndef(n.label)){var o,s,d,f,v,_,y,b,w,S,M,E,I,A,Y=n.label;i===e.zeroLineIndex&&r.offset===h.offsetGridLines?(o=h.zeroLineWidth,s=h.zeroLineColor,d=h.zeroLineBorderDash,f=h.zeroLineBorderDashOffset):(o=a.valueAtIndexOrDefault(h.lineWidth,i),s=a.valueAtIndexOrDefault(h.color,i),d=a.valueOrDefault(h.borderDash,u.borderDash),f=a.valueOrDefault(h.borderDashOffset,u.borderDashOffset));var F="middle",R="middle",N=c.padding;if(m){var H=k+N;"bottom"===r.position?(R=p?"middle":"top",F=p?"right":"center",A=e.top+H):(R=p?"middle":"bottom",F=p?"left":"center",A=e.bottom-H);var j=l(e,i,h.offsetGridLines&&g.length>1);j1);z1&&t<5}function r(t,e,n,r){var a=t+" ";switch(n){case"s":return e||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return e||r?a+(i(t)?"sekundy":"sek\xfand"):a+"sekundami";case"m":return e?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return e||r?a+(i(t)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return e?"hodina":r?"hodinu":"hodinou";case"hh":return e||r?a+(i(t)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return e||r?"de\u0148":"d\u0148om";case"dd":return e||r?a+(i(t)?"dni":"dn\xed"):a+"d\u0148ami";case"M":return e||r?"mesiac":"mesiacom";case"MM":return e||r?a+(i(t)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return e||r?"rok":"rokom";case"yy":return e||r?a+(i(t)?"roky":"rokov"):a+"rokmi"}}t.defineLocale("sk",{months:e,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},fELs:function(t,e,n){"use strict";var i=n("RDha");function r(t,e){return i.where(t,(function(t){return t.position===e}))}function a(t,e){t.forEach((function(t,e){return t._tmpIndex_=e,t})),t.sort((function(t,n){var i=e?n:t,r=e?t:n;return i.weight===r.weight?i._tmpIndex_-r._tmpIndex_:i.weight-r.weight})),t.forEach((function(t){delete t._tmpIndex_}))}t.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){var n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure:function(t,e,n){for(var i,r=["fullWidth","position","weight"],a=r.length,o=0;o3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&t!==Math.floor(t)&&(r=t-Math.floor(t));var a=i.log10(Math.abs(r)),o="";if(0!==t){var s=-1*Math.floor(a);s=Math.max(Math.min(s,20),0),o=t.toFixed(s)}else o="0";return o},logarithmic:function(t,e,n){var r=t/Math.pow(10,Math.floor(i.log10(t)));return 0===t?"0":1===r||2===r||5===r||0===e||e===n.length-1?t.toExponential():""}}}},gVVK:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r=t+" ";switch(n){case"s":return e||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===t?e?"sekundo":"sekundi":2===t?e||i?"sekundi":"sekundah":t<5?e||i?"sekunde":"sekundah":"sekund");case"m":return e?"ena minuta":"eno minuto";case"mm":return r+(1===t?e?"minuta":"minuto":2===t?e||i?"minuti":"minutama":t<5?e||i?"minute":"minutami":e||i?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return r+(1===t?e?"ura":"uro":2===t?e||i?"uri":"urama":t<5?e||i?"ure":"urami":e||i?"ur":"urami");case"d":return e||i?"en dan":"enim dnem";case"dd":return r+(1===t?e||i?"dan":"dnem":2===t?e||i?"dni":"dnevoma":e||i?"dni":"dnevi");case"M":return e||i?"en mesec":"enim mesecem";case"MM":return r+(1===t?e||i?"mesec":"mesecem":2===t?e||i?"meseca":"mesecema":t<5?e||i?"mesece":"meseci":e||i?"mesecev":"meseci");case"y":return e||i?"eno leto":"enim letom";case"yy":return r+(1===t?e||i?"leto":"letom":2===t?e||i?"leti":"letoma":t<5?e||i?"leta":"leti":e||i?"let":"leti")}}t.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(t,e,n){!function(t){"use strict";var e="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",e[7],e[8],e[9]];function i(t,i,r,a){var o="";switch(r){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":return a?"sekunnin":"sekuntia";case"m":return a?"minuutin":"minuutti";case"mm":o=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":o=a?"tunnin":"tuntia";break;case"d":return a?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=a?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return a?"kuukauden":"kuukausi";case"MM":o=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":o=a?"vuoden":"vuotta"}return function(t,i){return t<10?i?n[t]:e[t]:t}(t,a)+" "+o}t.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};t.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},hKrs:function(t,e,n){!function(t){"use strict";t.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0440_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u0412 \u0438\u0437\u043c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u043d\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(t){var e=t%10,n=t%100;return 0===t?t+"-\u0435\u0432":0===n?t+"-\u0435\u043d":n>10&&n<20?t+"-\u0442\u0438":1===e?t+"-\u0432\u0438":2===e?t+"-\u0440\u0438":7===e||8===e?t+"-\u043c\u0438":t+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(t,e,n){!function(t){"use strict";var e={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};t.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(t){return t.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},week:{dow:1,doy:4}})}(n("wd/R"))},iEDd:function(t,e,n){!function(t){"use strict";t.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(t){return 0===t.indexOf("un")?"n"+t:"en "+t},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iM7B:function(t,e,n){"use strict";var i=n("RDha"),r=n("Hg4g"),a=n("q8Fl");t.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},a._enabled?a:r)},iYGd:function(t,e,n){"use strict";t.exports=function(t){t.Radar=function(e,n){return n.type="radar",new t(e,n)}}},iYuL:function(t,e,n){!function(t){"use strict";var e="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;t.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(t,i){return t?/-MMM-/.test(i)?n[t.month()]:e[t.month()]:e},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},jUeY:function(t,e,n){!function(t){"use strict";t.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(t,e){return t?"string"==typeof e&&/D/.test(e.substring(0,e.indexOf("MMMM")))?this._monthsGenitiveEl[t.month()]:this._monthsNominativeEl[t.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(t,e,n){return t>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(t){return"\u03bc"===(t+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(t,e){var n,i=this._calendarEl[t],r=e&&e.hours();return((n=i)instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(e)),i.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(t,e,n){!function(t){"use strict";var e="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_");function i(t){return t%10<5&&t%10>1&&~~(t/10)%10!=1}function r(t,e,n){var r=t+" ";switch(n){case"ss":return r+(i(t)?"sekundy":"sekund");case"m":return e?"minuta":"minut\u0119";case"mm":return r+(i(t)?"minuty":"minut");case"h":return e?"godzina":"godzin\u0119";case"hh":return r+(i(t)?"godziny":"godzin");case"MM":return r+(i(t)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return r+(i(t)?"lata":"lat")}}t.defineLocale("pl",{months:function(t,i){return t?""===i?"("+n[t.month()]+"|"+e[t.month()]+")":/D MMMM/.test(i)?n[t.month()]:e[t.month()]:e},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzie\u0144",dd:"%d dni",M:"miesi\u0105c",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jXIB:function(t,e,n){"use strict";t.exports={},t.exports.filler=n("vpM6"),t.exports.legend=n("AX6q"),t.exports.title=n("mjYD")},jfSC:function(t,e,n){!function(t){"use strict";var e={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};t.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(t){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(t)},meridiem:function(t,e,n){return t<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"\u062b\u0627\u0646\u06cc\u0647 d%",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(t){return t.replace(/[\u06f0-\u06f9]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jnO4:function(t,e,n){!function(t){"use strict";var e={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(t){return 0===t?0:1===t?1:2===t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(t){return function(e,n,a,o){var s=i(e),l=r[t][i(e)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,e)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];t.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(t){return"\u0645"===t},meridiem:function(t,e,n){return t<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(t){return t.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,(function(t){return n[t]})).replace(/\u060c/g,",")},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]})).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},kB5k:function(t,e,n){var i;!function(r){"use strict";var a,o=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,s=Math.ceil,l=Math.floor,u="[BigNumber Error] ",c=u+"Number primitive has more than 15 significant digits: ",d=1e14,h=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],f=1e9;function p(t){var e=0|t;return t>0||t===e?e:e-1}function m(t){for(var e,n,i=1,r=t.length,a=t[0]+"";iu^n?1:-1;for(s=(l=r.length)<(u=a.length)?l:u,o=0;oa[o]^n?1:-1;return l==u?0:l>u^n?1:-1}function v(t,e,n,i){if(tn||t!==(t<0?s(t):l(t)))throw Error(u+(i||"Argument")+("number"==typeof t?tn?" out of range: ":" not an integer: ":" not a primitive number: ")+t)}function _(t){return"[object Array]"==Object.prototype.toString.call(t)}function y(t){var e=t.c.length-1;return p(t.e/14)==e&&t.c[e]%2!=0}function b(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function k(t,e,n){var i,r;if(e<0){for(r=n+".";++e;r+=n);t=r+t}else if(++e>(i=t.length)){for(r=n,e-=i;--e;r+=n);t+=r}else e=10;d/=10,u++);return m.e=u,void(m.c=[t])}p=t+""}else{if(!o.test(p=t+""))return r(m,p,h);m.s=45==p.charCodeAt(0)?(p=p.slice(1),-1):1}(u=p.indexOf("."))>-1&&(p=p.replace(".","")),(d=p.search(/e/i))>0?(u<0&&(u=d),u+=+p.slice(d+1),p=p.substring(0,d)):u<0&&(u=p.length)}else{if(v(e,2,H.length,"Base"),p=t+"",10==e)return W(m=new j(t instanceof j?t:p),T+m.e+1,P);if(h="number"==typeof t){if(0*t!=0)return r(m,p,h,e);if(m.s=1/t<0?(p=p.slice(1),-1):1,j.DEBUG&&p.replace(/^0\.0*|\./,"").length>15)throw Error(c+t);h=!1}else m.s=45===p.charCodeAt(0)?(p=p.slice(1),-1):1;for(n=H.slice(0,e),u=d=0,f=p.length;du){u=f;continue}}else if(!s&&(p==p.toUpperCase()&&(p=p.toLowerCase())||p==p.toLowerCase()&&(p=p.toUpperCase()))){s=!0,d=-1,u=0;continue}return r(m,t+"",h,e)}(u=(p=i(p,e,10,m.s)).indexOf("."))>-1?p=p.replace(".",""):u=p.length}for(d=0;48===p.charCodeAt(d);d++);for(f=p.length;48===p.charCodeAt(--f););if(p=p.slice(d,++f)){if(f-=d,h&&j.DEBUG&&f>15&&(t>9007199254740991||t!==l(t)))throw Error(c+m.s*t);if((u=u-d-1)>A)m.c=m.e=null;else if(us){if(--e>0)for(l+=".";e--;l+="0");}else if((e+=a-s)>0)for(a+1==s&&(l+=".");e--;l+="0");return t.s<0&&r?"-"+l:l}function V(t,e){var n,i,r=0;for(_(t[0])&&(t=t[0]),n=new j(t[0]);++r=10;r/=10,i++);return(n=i+14*n-1)>A?t.c=t.e=null:n=10;u/=10,r++);if((a=e-r)<0)a+=14,p=(c=m[f=0])/g[r-(o=e)-1]%10|0;else if((f=s((a+1)/14))>=m.length){if(!i)break t;for(;m.length<=f;m.push(0));c=p=0,r=1,o=(a%=14)-14+1}else{for(c=u=m[f],r=1;u>=10;u/=10,r++);p=(o=(a%=14)-14+r)<0?0:c/g[r-o-1]%10|0}if(i=i||e<0||null!=m[f+1]||(o<0?c:c%g[r-o-1]),i=n<4?(p||i)&&(0==n||n==(t.s<0?3:2)):p>5||5==p&&(4==n||i||6==n&&(a>0?o>0?c/g[r-o]:0:m[f-1])%10&1||n==(t.s<0?8:7)),e<1||!m[0])return m.length=0,i?(m[0]=g[(14-(e-=t.e+1)%14)%14],t.e=-e||0):m[0]=t.e=0,t;if(0==a?(m.length=f,u=1,f--):(m.length=f+1,u=g[14-a],m[f]=o>0?l(c/g[r-o]%g[o])*u:0),i)for(;;){if(0==f){for(a=1,o=m[0];o>=10;o/=10,a++);for(o=m[0]+=u,u=1;o>=10;o/=10,u++);a!=u&&(t.e++,m[0]==d&&(m[0]=1));break}if(m[f]+=u,m[f]!=d)break;m[f--]=0,u=1}for(a=m.length;0===m[--a];m.pop());}t.e>A?t.c=t.e=null:t.e>>11))>=9e15?(n=crypto.getRandomValues(new Uint32Array(2)),e[c]=n[0],e[c+1]=n[1]):(d.push(o%1e14),c+=2);c=r/2}else{if(!crypto.randomBytes)throw Y=!1,Error(u+"crypto unavailable");for(e=crypto.randomBytes(r*=7);c=9e15?crypto.randomBytes(7).copy(e,c):(d.push(o%1e14),c+=7);c=r/7}if(!Y)for(;c=10;o/=10,c++);c<14&&(i-=14-c)}return p.e=i,p.c=d,p}),i=function(){function t(t,e,n,i){for(var r,a,o=[0],s=0,l=t.length;sn-1&&(null==o[r+1]&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}return function(e,i,r,a,o){var s,l,u,c,d,h,f,p,g=e.indexOf("."),v=T,_=P;for(g>=0&&(c=R,R=0,e=e.replace(".",""),h=(p=new j(i)).pow(e.length-g),R=c,p.c=t(k(m(h.c),h.e,"0"),10,r,"0123456789"),p.e=p.c.length),u=c=(f=t(e,i,r,o?(s=H,"0123456789"):(s="0123456789",H))).length;0==f[--c];f.pop());if(!f[0])return s.charAt(0);if(g<0?--u:(h.c=f,h.e=u,h.s=a,f=(h=n(h,p,v,_,r)).c,d=h.r,u=h.e),g=f[l=u+v+1],c=r/2,d=d||l<0||null!=f[l+1],d=_<4?(null!=g||d)&&(0==_||_==(h.s<0?3:2)):g>c||g==c&&(4==_||d||6==_&&1&f[l-1]||_==(h.s<0?8:7)),l<1||!f[0])e=d?k(s.charAt(1),-v,s.charAt(0)):s.charAt(0);else{if(f.length=l,d)for(--r;++f[--l]>r;)f[l]=0,l||(++u,f=[1].concat(f));for(c=f.length;!f[--c];);for(g=0,e="";g<=c;e+=s.charAt(f[g++]));e=k(e,u,s.charAt(0))}return e}}(),n=function(){function t(t,e,n){var i,r,a,o,s=0,l=t.length,u=e%1e7,c=e/1e7|0;for(t=t.slice();l--;)s=((r=u*(a=t[l]%1e7)+(i=c*a+(o=t[l]/1e7|0)*u)%1e7*1e7+s)/n|0)+(i/1e7|0)+c*o,t[l]=r%n;return s&&(t=[s].concat(t)),t}function e(t,e,n,i){var r,a;if(n!=i)a=n>i?1:-1;else for(r=a=0;re[r]?1:-1;break}return a}function n(t,e,n,i){for(var r=0;n--;)t[n]-=r,t[n]=(r=t[n]1;t.splice(0,1));}return function(i,r,a,o,s){var u,c,h,f,m,g,v,_,y,b,k,w,S,M,C,x,D,L=i.s==r.s?1:-1,T=i.c,P=r.c;if(!(T&&T[0]&&P&&P[0]))return new j(i.s&&r.s&&(T?!P||T[0]!=P[0]:P)?T&&0==T[0]||!P?0*L:L/0:NaN);for(y=(_=new j(L)).c=[],L=a+(c=i.e-r.e)+1,s||(s=d,c=p(i.e/14)-p(r.e/14),L=L/14|0),h=0;P[h]==(T[h]||0);h++);if(P[h]>(T[h]||0)&&c--,L<0)y.push(1),f=!0;else{for(M=T.length,x=P.length,h=0,L+=2,(m=l(s/(P[0]+1)))>1&&(P=t(P,m,s),T=t(T,m,s),x=P.length,M=T.length),S=x,k=(b=T.slice(0,x)).length;k=s/2&&C++;do{if(m=0,(u=e(P,b,x,k))<0){if(w=b[0],x!=k&&(w=w*s+(b[1]||0)),(m=l(w/C))>1)for(m>=s&&(m=s-1),v=(g=t(P,m,s)).length,k=b.length;1==e(g,b,v,k);)m--,n(g,x=10;L/=10,h++);W(_,a+(_.e=h+14*c-1)+1,o,f)}else _.e=c,_.r=+f;return _}}(),w=/^(-?)0([xbo])(?=\w[\w.]*$)/i,S=/^([^.]+)\.$/,M=/^\.([^.]+)$/,C=/^-?(Infinity|NaN)$/,x=/^\s*\+(?=[\w.])|^\s+|\s+$/g,r=function(t,e,n,i){var r,a=n?e:e.replace(x,"");if(C.test(a))t.s=isNaN(a)?null:a<0?-1:1,t.c=t.e=null;else{if(!n&&(a=a.replace(w,(function(t,e,n){return r="x"==(n=n.toLowerCase())?16:"b"==n?2:8,i&&i!=r?t:e})),i&&(r=i,a=a.replace(S,"$1").replace(M,"0.$1")),e!=a))return new j(a,r);if(j.DEBUG)throw Error(u+"Not a"+(i?" base "+i:"")+" number: "+e);t.c=t.e=t.s=null}},D.absoluteValue=D.abs=function(){var t=new j(this);return t.s<0&&(t.s=1),t},D.comparedTo=function(t,e){return g(this,new j(t,e))},D.decimalPlaces=D.dp=function(t,e){var n,i,r,a=this;if(null!=t)return v(t,0,f),null==e?e=P:v(e,0,8),W(new j(a),t+a.e+1,e);if(!(n=a.c))return null;if(i=14*((r=n.length-1)-p(this.e/14)),r=n[r])for(;r%10==0;r/=10,i--);return i<0&&(i=0),i},D.dividedBy=D.div=function(t,e){return n(this,new j(t,e),T,P)},D.dividedToIntegerBy=D.idiv=function(t,e){return n(this,new j(t,e),0,1)},D.exponentiatedBy=D.pow=function(t,e){var n,i,r,a,o,c,d,h=this;if((t=new j(t)).c&&!t.isInteger())throw Error(u+"Exponent not an integer: "+t);if(null!=e&&(e=new j(e)),a=t.e>14,!h.c||!h.c[0]||1==h.c[0]&&!h.e&&1==h.c.length||!t.c||!t.c[0])return d=new j(Math.pow(+h.valueOf(),a?2-y(t):+t)),e?d.mod(e):d;if(o=t.s<0,e){if(e.c?!e.c[0]:!e.s)return new j(NaN);(i=!o&&h.isInteger()&&e.isInteger())&&(h=h.mod(e))}else{if(t.e>9&&(h.e>0||h.e<-1||(0==h.e?h.c[0]>1||a&&h.c[1]>=24e7:h.c[0]<8e13||a&&h.c[0]<=9999975e7)))return r=h.s<0&&y(t)?-0:0,h.e>-1&&(r=1/r),new j(o?1/r:r);R&&(r=s(R/14+2))}for(a?(n=new j(.5),c=y(t)):c=t%2,o&&(t.s=1),d=new j(L);;){if(c){if(!(d=d.times(h)).c)break;r?d.c.length>r&&(d.c.length=r):i&&(d=d.mod(e))}if(a){if(W(t=t.times(n),t.e+1,1),!t.c[0])break;a=t.e>14,c=y(t)}else{if(!(t=l(t/2)))break;c=t%2}h=h.times(h),r?h.c&&h.c.length>r&&(h.c.length=r):i&&(h=h.mod(e))}return i?d:(o&&(d=L.div(d)),e?d.mod(e):r?W(d,R,P,void 0):d)},D.integerValue=function(t){var e=new j(this);return null==t?t=P:v(t,0,8),W(e,e.e+1,t)},D.isEqualTo=D.eq=function(t,e){return 0===g(this,new j(t,e))},D.isFinite=function(){return!!this.c},D.isGreaterThan=D.gt=function(t,e){return g(this,new j(t,e))>0},D.isGreaterThanOrEqualTo=D.gte=function(t,e){return 1===(e=g(this,new j(t,e)))||0===e},D.isInteger=function(){return!!this.c&&p(this.e/14)>this.c.length-2},D.isLessThan=D.lt=function(t,e){return g(this,new j(t,e))<0},D.isLessThanOrEqualTo=D.lte=function(t,e){return-1===(e=g(this,new j(t,e)))||0===e},D.isNaN=function(){return!this.s},D.isNegative=function(){return this.s<0},D.isPositive=function(){return this.s>0},D.isZero=function(){return!!this.c&&0==this.c[0]},D.minus=function(t,e){var n,i,r,a,o=this,s=o.s;if(e=(t=new j(t,e)).s,!s||!e)return new j(NaN);if(s!=e)return t.s=-e,o.plus(t);var l=o.e/14,u=t.e/14,c=o.c,h=t.c;if(!l||!u){if(!c||!h)return c?(t.s=-e,t):new j(h?o:NaN);if(!c[0]||!h[0])return h[0]?(t.s=-e,t):new j(c[0]?o:3==P?-0:0)}if(l=p(l),u=p(u),c=c.slice(),s=l-u){for((a=s<0)?(s=-s,r=c):(u=l,r=h),r.reverse(),e=s;e--;r.push(0));r.reverse()}else for(i=(a=(s=c.length)<(e=h.length))?s:e,s=e=0;e0)for(;e--;c[n++]=0);for(e=d-1;i>s;){if(c[--i]=0;){for(n=0,f=b[r]%1e7,m=b[r]/1e7|0,a=r+(o=l);a>r;)n=((u=f*(u=y[--o]%1e7)+(s=m*u+(c=y[o]/1e7|0)*f)%1e7*1e7+g[a]+n)/v|0)+(s/1e7|0)+m*c,g[a--]=u%v;g[a]=n}return n?++i:g.splice(0,1),z(t,g,i)},D.negated=function(){var t=new j(this);return t.s=-t.s||null,t},D.plus=function(t,e){var n,i=this,r=i.s;if(e=(t=new j(t,e)).s,!r||!e)return new j(NaN);if(r!=e)return t.s=-e,i.minus(t);var a=i.e/14,o=t.e/14,s=i.c,l=t.c;if(!a||!o){if(!s||!l)return new j(r/0);if(!s[0]||!l[0])return l[0]?t:new j(s[0]?i:0*r)}if(a=p(a),o=p(o),s=s.slice(),r=a-o){for(r>0?(o=a,n=l):(r=-r,n=s),n.reverse();r--;n.push(0));n.reverse()}for((r=s.length)-(e=l.length)<0&&(n=l,l=s,s=n,e=r),r=0;e;)r=(s[--e]=s[e]+l[e]+r)/d|0,s[e]=d===s[e]?0:s[e]%d;return r&&(s=[r].concat(s),++o),z(t,s,o)},D.precision=D.sd=function(t,e){var n,i,r,a=this;if(null!=t&&t!==!!t)return v(t,1,f),null==e?e=P:v(e,0,8),W(new j(a),t,e);if(!(n=a.c))return null;if(i=14*(r=n.length-1)+1,r=n[r]){for(;r%10==0;r/=10,i--);for(r=n[0];r>=10;r/=10,i++);}return t&&a.e+1>i&&(i=a.e+1),i},D.shiftedBy=function(t){return v(t,-9007199254740991,9007199254740991),this.times("1e"+t)},D.squareRoot=D.sqrt=function(){var t,e,i,r,a,o=this,s=o.c,l=o.s,u=o.e,c=T+4,d=new j("0.5");if(1!==l||!s||!s[0])return new j(!l||l<0&&(!s||s[0])?NaN:s?o:1/0);if(0==(l=Math.sqrt(+o))||l==1/0?(((e=m(s)).length+u)%2==0&&(e+="0"),l=Math.sqrt(e),u=p((u+1)/2)-(u<0||u%2),i=new j(e=l==1/0?"1e"+u:(e=l.toExponential()).slice(0,e.indexOf("e")+1)+u)):i=new j(l+""),i.c[0])for((l=(u=i.e)+c)<3&&(l=0);;)if(i=d.times((a=i).plus(n(o,a,c,1))),m(a.c).slice(0,l)===(e=m(i.c)).slice(0,l)){if(i.e0&&h>0){for(l=d.substr(0,i=h%a||a);i0&&(l+=s+d.slice(i)),c&&(l="-"+l)}n=u?l+N.decimalSeparator+((o=+N.fractionGroupSize)?u.replace(new RegExp("\\d{"+o+"}\\B","g"),"$&"+N.fractionGroupSeparator):u):l}return n},D.toFraction=function(t){var e,i,r,a,o,s,l,c,d,f,p,g,v=this,_=v.c;if(null!=t&&(!(c=new j(t)).isInteger()&&(c.c||1!==c.s)||c.lt(L)))throw Error(u+"Argument "+(c.isInteger()?"out of range: ":"not an integer: ")+t);if(!_)return v.toString();for(i=new j(L),f=r=new j(L),a=d=new j(L),g=m(_),s=i.e=g.length-v.e-1,i.c[0]=h[(l=s%14)<0?14+l:l],t=!t||c.comparedTo(i)>0?s>0?i:f:c,l=A,A=1/0,c=new j(g),d.c[0]=0;p=n(c,i,0,1),1!=(o=r.plus(p.times(a))).comparedTo(t);)r=a,a=o,f=d.plus(p.times(o=f)),d=o,i=c.minus(p.times(o=i)),c=o;return o=n(t.minus(r),a,0,1),d=d.plus(o.times(f)),r=r.plus(o.times(a)),d.s=f.s=v.s,e=n(f,a,s*=2,P).minus(v).abs().comparedTo(n(d,r,s,P).minus(v).abs())<1?[f.toString(),a.toString()]:[d.toString(),r.toString()],A=l,e},D.toNumber=function(){return+this},D.toPrecision=function(t,e){return null!=t&&v(t,1,f),B(this,t,e,2)},D.toString=function(t){var e,n=this,r=n.s,a=n.e;return null===a?r?(e="Infinity",r<0&&(e="-"+e)):e="NaN":(e=m(n.c),null==t?e=a<=O||a>=E?b(e,a):k(e,a,"0"):(v(t,2,H.length,"Base"),e=i(k(e,a,"0"),10,t,r,!0)),r<0&&n.c[0]&&(e="-"+e)),e},D.valueOf=D.toJSON=function(){var t,e=this,n=e.e;return null===n?e.toString():(t=m(e.c),t=n<=O||n>=E?b(t,n):k(t,n,"0"),e.s<0?"-"+t:t)},D._isBigNumber=!0,null!=e&&j.set(e),j}()).default=a.BigNumber=a,void 0===(i=(function(){return a}).call(e,n,e,t))||(t.exports=i)}()},kEOa:function(t,e,n){!function(t){"use strict";var e={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};t.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09c0_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2_\u0986\u0997_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u0983_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(t){return t.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,(function(t){return n[t]}))},postformat:function(t){return t.replace(/\d/g,(function(t){return e[t]}))},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u09b0\u09be\u09a4"===e&&t>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&t<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?t+12:t},meridiem:function(t,e,n){return t<4?"\u09b0\u09be\u09a4":t<10?"\u09b8\u0995\u09be\u09b2":t<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":t<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},kOpN:function(t,e,n){!function(t){"use strict";t.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(t,e){return 12===t&&(t=0),"\u51cc\u6668"===e||"\u65e9\u4e0a"===e||"\u4e0a\u5348"===e?t:"\u4e2d\u5348"===e?t>=11?t:t+12:"\u4e0b\u5348"===e||"\u665a\u4e0a"===e?t+12:void 0},meridiem:function(t,e,n){var i=100*t+e;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"\u65e5";case"M":return t+"\u6708";case"w":case"W":return t+"\u9031";default:return t}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},l5ep:function(t,e,n){!function(t){"use strict";t.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(t){var e="";return t>20?e=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(e=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][t]),t+e},week:{dow:1,doy:4}})}(n("wd/R"))},lXzo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i,r;return"m"===n?e?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":t+" "+(i=+t,r={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];t.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?\] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(t){if(t.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0435\u0441\u044f\u0446",MM:e,y:"\u0433\u043e\u0434",yy:e},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0438":t<12?"\u0443\u0442\u0440\u0430":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":return t+"-\u0439";case"D":return t+"-\u0433\u043e";case"w":case"W":return t+"-\u044f";default:return t}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){switch(n){case"s":return e?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return t+(e?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return t+(e?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return t+(e?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return t+(e?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return t+(e?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return t+(e?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return t}}t.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(t){return"\u04ae\u0425"===t},meridiem:function(t,e,n){return t<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+" \u04e9\u0434\u04e9\u0440";default:return t}}})}(n("wd/R"))},lgnt:function(t,e,n){!function(t){"use strict";var e={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};t.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u0435 \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(t){return t+(e[t]||e[t%10]||e[t>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},lyxo:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i=" ";return(t%100>=20||t>=100&&t%100==0)&&(i=" de "),t+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"}[n]}t.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:e,m:"un minut",mm:e,h:"o or\u0103",hh:e,d:"o zi",dd:e,M:"o lun\u0103",MM:e,y:"un an",yy:e},week:{dow:1,doy:7}})}(n("wd/R"))},mgIt:function(t,e,n){var i=n("T016");function r(t){if(t){var e=[0,0,0],n=1,r=t.match(/^#([a-fA-F0-9]{3})$/i);if(r){r=r[1];for(var a=0;a0&&(u=t.getDatasetMeta(u[0]._datasetIndex).data),u},"x-axis":function(t,e){return u(t,e,{intersect:!1})},point:function(t,e){return o(t,r(e,t))},nearest:function(t,e,n){var i=r(e,t);n.axis=n.axis||"xy";var a=l(n.axis),o=s(t,i,n.intersect,a);return o.length>1&&o.sort((function(t,e){var n=t.getArea()-e.getArea();return 0===n&&(n=t._datasetIndex-e._datasetIndex),n})),o.slice(0,1)},x:function(t,e,n){var i=r(e,t),o=[],s=!1;return a(t,(function(t){t.inXRange(i.x)&&o.push(t),t.inRange(i.x,i.y)&&(s=!0)})),n.intersect&&!s&&(o=[]),o},y:function(t,e,n){var i=r(e,t),o=[],s=!1;return a(t,(function(t){t.inYRange(i.y)&&o.push(t),t.inRange(i.x,i.y)&&(s=!0)})),n.intersect&&!s&&(o=[]),o}}}},nDWh:function(t,e,n){"use strict";var i=n("6ww4"),r=n("CDJp"),a=n("RDha");t.exports=function(t){function e(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function n(t){return null!=t&&"none"!==t}function o(t,i,r){var a=document.defaultView,o=t.parentNode,s=a.getComputedStyle(t)[i],l=a.getComputedStyle(o)[i],u=n(s),c=n(l),d=Number.POSITIVE_INFINITY;return u||c?Math.min(u?e(s,t,r):d,c?e(l,o,r):d):"none"}a.configMerge=function(){return a.merge(a.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,r){var o=n[e]||{},s=i[e];"scales"===e?n[e]=a.scaleMerge(o,s):"scale"===e?n[e]=a.merge(o,[t.scaleService.getScaleDefaults(s.type),s]):a._merger(e,n,i,r)}})},a.scaleMerge=function(){return a.merge(a.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(e,n,i,r){if("xAxes"===e||"yAxes"===e){var o,s,l,u=i[e].length;for(n[e]||(n[e]=[]),o=0;o=n[e].length&&n[e].push({}),a.merge(n[e][o],!n[e][o].type||l.type&&l.type!==n[e][o].type?[t.scaleService.getScaleDefaults(s),l]:l)}else a._merger(e,n,i,r)}})},a.where=function(t,e){if(a.isArray(t)&&Array.prototype.filter)return t.filter(e);var n=[];return a.each(t,(function(t){e(t)&&n.push(t)})),n},a.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,r=t.length;i=0;i--){var r=t[i];if(e(r))return r}},a.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},a.almostEquals=function(t,e,n){return Math.abs(t-e)t},a.max=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.max(t,e)}),Number.NEGATIVE_INFINITY)},a.min=function(t){return t.reduce((function(t,e){return isNaN(e)?t:Math.min(t,e)}),Number.POSITIVE_INFINITY)},a.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:t>0?1:-1},a.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e},a.toRadians=function(t){return t*(Math.PI/180)},a.toDegrees=function(t){return t*(180/Math.PI)},a.getAngleFromPoint=function(t,e){var n=e.x-t.x,i=e.y-t.y,r=Math.sqrt(n*n+i*i),a=Math.atan2(i,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:r}},a.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},a.aliasPixel=function(t){return t%2==0?0:.5},a.splineCurve=function(t,e,n,i){var r=t.skip?e:t,a=e,o=n.skip?e:n,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),u=s/(s+l),c=l/(s+l),d=i*(u=isNaN(u)?0:u),h=i*(c=isNaN(c)?0:c);return{previous:{x:a.x-d*(o.x-r.x),y:a.y-d*(o.y-r.y)},next:{x:a.x+h*(o.x-r.x),y:a.y+h*(o.y-r.y)}}},a.EPSILON=Number.EPSILON||1e-14,a.splineCurveMonotone=function(t){var e,n,i,r,o,s,l,u,c,d=(t||[]).map((function(t){return{model:t._model,deltaK:0,mK:0}})),h=d.length;for(e=0;e0?d[e-1]:null,(r=e0?d[e-1]:null)&&!n.model.skip&&(i.model.controlPointPreviousX=i.model.x-(c=(i.model.x-n.model.x)/3),i.model.controlPointPreviousY=i.model.y-c*i.mK),r&&!r.model.skip&&(i.model.controlPointNextX=i.model.x+(c=(r.model.x-i.model.x)/3),i.model.controlPointNextY=i.model.y+c*i.mK))},a.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},a.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},a.niceNum=function(t,e){var n=Math.floor(a.log10(t)),i=t/Math.pow(10,n);return(e?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},a.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},a.getRelativePosition=function(t,e){var n,i,r=t.originalEvent||t,o=t.currentTarget||t.srcElement,s=o.getBoundingClientRect(),l=r.touches;l&&l.length>0?(n=l[0].clientX,i=l[0].clientY):(n=r.clientX,i=r.clientY);var u=parseFloat(a.getStyle(o,"padding-left")),c=parseFloat(a.getStyle(o,"padding-top")),d=parseFloat(a.getStyle(o,"padding-right")),h=parseFloat(a.getStyle(o,"padding-bottom")),f=s.bottom-s.top-c-h;return{x:n=Math.round((n-s.left-u)/(s.right-s.left-u-d)*o.width/e.currentDevicePixelRatio),y:i=Math.round((i-s.top-c)/f*o.height/e.currentDevicePixelRatio)}},a.getConstraintWidth=function(t){return o(t,"max-width","clientWidth")},a.getConstraintHeight=function(t){return o(t,"max-height","clientHeight")},a.getMaximumWidth=function(t){var e=t.parentNode;if(!e)return t.clientWidth;var n=parseInt(a.getStyle(e,"padding-left"),10),i=parseInt(a.getStyle(e,"padding-right"),10),r=e.clientWidth-n-i,o=a.getConstraintWidth(t);return isNaN(o)?r:Math.min(r,o)},a.getMaximumHeight=function(t){var e=t.parentNode;if(!e)return t.clientHeight;var n=parseInt(a.getStyle(e,"padding-top"),10),i=parseInt(a.getStyle(e,"padding-bottom"),10),r=e.clientHeight-n-i,o=a.getConstraintHeight(t);return isNaN(o)?r:Math.min(r,o)},a.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},a.retinaScale=function(t,e){var n=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;if(1!==n){var i=t.canvas,r=t.height,a=t.width;i.height=r*n,i.width=a*n,t.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=a+"px")}},a.fontString=function(t,e,n){return e+" "+t+"px "+n},a.longestText=function(t,e,n,i){var r=(i=i||{}).data=i.data||{},o=i.garbageCollect=i.garbageCollect||[];i.font!==e&&(r=i.data={},o=i.garbageCollect=[],i.font=e),t.font=e;var s=0;a.each(n,(function(e){null!=e&&!0!==a.isArray(e)?s=a.measureText(t,r,o,s,e):a.isArray(e)&&a.each(e,(function(e){null==e||a.isArray(e)||(s=a.measureText(t,r,o,s,e))}))}));var l=o.length/2;if(l>n.length){for(var u=0;ui&&(i=a),i},a.numberOfLabelLines=function(t){var e=1;return a.each(t,(function(t){a.isArray(t)&&t.length>e&&(e=t.length)})),e},a.color=i?function(t){return t instanceof CanvasGradient&&(t=r.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},a.getHoverColor=function(t){return t instanceof CanvasPattern?t:a.color(t).saturate(.5).darken(.1).rgbString()}}},nyYc:function(t,e,n){!function(t){"use strict";t.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(t,e){switch(e){case"D":return t+(1===t?"er":"");default:case"M":case"Q":case"DDD":case"d":return t+(1===t?"er":"e");case"w":case"W":return t+(1===t?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(t,e,n){!function(t){"use strict";t.defineLocale("ar-dz",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u0623\u062d_\u0625\u062b_\u062b\u0644\u0627_\u0623\u0631_\u062e\u0645_\u062c\u0645_\u0633\u0628".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:4}})}(n("wd/R"))},"p/rL":function(t,e,n){!function(t){"use strict";t.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},paOr:function(t,e,n){"use strict";var i=n("RDha");t.exports=function(t){var e=i.noop;t.LinearScaleBase=t.Scale.extend({getRightValue:function(e){return"string"==typeof e?+e:t.Scale.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks;if(e.beginAtZero){var n=i.sign(t.min),r=i.sign(t.max);n<0&&r<0?t.max=0:n>0&&r>0&&(t.min=0)}var a=void 0!==e.min||void 0!==e.suggestedMin,o=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(t.min=null===t.min?e.suggestedMin:Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(t.max=null===t.max?e.suggestedMax:Math.max(t.max,e.suggestedMax)),a!==o&&t.min>=t.max&&(a?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:e,handleDirectionalChanges:e,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:e.min,max:e.max,stepSize:i.valueOrDefault(e.fixedStepSize,e.stepSize)},a=t.ticks=function(t,e){var n,r=[];if(t.stepSize&&t.stepSize>0)n=t.stepSize;else{var a=i.niceNum(e.max-e.min,!1);n=i.niceNum(a/(t.maxTicks-1),!0)}var o=Math.floor(e.min/n)*n,s=Math.ceil(e.max/n)*n;t.min&&t.max&&t.stepSize&&i.almostWhole((t.max-t.min)/t.stepSize,n/1e3)&&(o=t.min,s=t.max);var l=(s-o)/n;l=i.almostEquals(l,Math.round(l),n/1e3)?Math.round(l):Math.ceil(l);var u=1;n<1&&(u=Math.pow(10,n.toString().length-2),o=Math.round(o*u)/u,s=Math.round(s*u)/u),r.push(void 0!==t.min?t.min:o);for(var c=1;c
';var r=e.childNodes[0],a=e.childNodes[1];e._reset=function(){r.scrollLeft=1e6,r.scrollTop=1e6,a.scrollLeft=1e6,a.scrollTop=1e6};var o=function(){e._reset(),t()};return l(r,"scroll",o.bind(r,"expand")),l(a,"scroll",o.bind(a,"shrink")),e}((a=function(){if(d.resizer)return e(c("resize",n))},s=!1,u=[],function(){u=Array.prototype.slice.call(arguments),o=o||this,s||(s=!0,i.requestAnimFrame.call(window,(function(){s=!1,a.apply(o,u)})))}));!function(t,e){var n=t.$chartjs||(t.$chartjs={}),a=n.renderProxy=function(t){"chartjs-render-animation"===t.animationName&&e()};i.each(r,(function(e){l(t,e,a)})),n.reflow=!!t.offsetParent,t.classList.add("chartjs-render-monitor")}(t,(function(){if(d.resizer){var e=t.parentNode;e&&e!==h.parentNode&&e.insertBefore(h,e.firstChild),h._reset()}}))}(o,n,t)},removeEventListener:function(t,e,n){var a,o,s,l=t.canvas;if("resize"!==e){var c=((n.$chartjs||{}).proxies||{})[t.id+"_"+e];c&&u(l,e,c)}else s=(o=(a=l).$chartjs||{}).resizer,delete o.resizer,function(t){var e=t.$chartjs||{},n=e.renderProxy;n&&(i.each(r,(function(e){u(t,e,n)})),delete e.renderProxy),t.classList.remove("chartjs-render-monitor")}(a),s&&s.parentNode&&s.parentNode.removeChild(s)}},i.addEvent=l,i.removeEvent=u},qzaf:function(t,e,n){"use strict";t.exports=function(t){t.PolarArea=function(e,n){return n.type="polarArea",new t(e,n)}}},raLr:function(t,e,n){!function(t){"use strict";function e(t,e,n){var i,r;return"m"===n?e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?e?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":t+" "+(i=+t,r={ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:e?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2])}function n(t){return function(){return t+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}t.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(t,e){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return t?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(e)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(e)?"genitive":"nominative"][t.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:e,m:e,mm:e,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:e,d:"\u0434\u0435\u043d\u044c",dd:e,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:e,y:"\u0440\u0456\u043a",yy:e},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(t){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(t)},meridiem:function(t,e,n){return t<4?"\u043d\u043e\u0447\u0456":t<12?"\u0440\u0430\u043d\u043a\u0443":t<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(t,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return t+"-\u0439";case"D":return t+"-\u0433\u043e";default:return t}},week:{dow:1,doy:7}})}(n("wd/R"))},"s+uk":function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},sp3z:function(t,e,n){!function(t){"use strict";t.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(t){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===t},meridiem:function(t,e,n){return t<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(t){return"\u0e97\u0eb5\u0ec8"+t}})}(n("wd/R"))},tGlX:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(t,e,n){!function(t){"use strict";t.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(t,e,n){!function(t){"use strict";t.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(t,e){return 12===t&&(t=0),"enjing"===e?t:"siyang"===e?t>=11?t:t+12:"sonten"===e||"ndalu"===e?t+12:void 0},meridiem:function(t,e,n){return t<11?"enjing":t<15?"siyang":t<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tjFV:function(t,e,n){"use strict";var i=n("CDJp"),r=n("RDha"),a=n("fELs");t.exports=function(t){t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=r.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?r.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=r.extend(this.defaults[t],e))},addScalesToLayout:function(t){r.each(t.scales,(function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,a.addBox(t,e)}))}}}},u0Op:function(t,e,n){"use strict";var i=n("TC34"),r={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return(t-=1)*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-((t-=1)*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return(t-=1)*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return t>=1?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1-(t-=1)*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n||(n=.3),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n||(n=.45),i<1?(i=1,e=n/4):e=n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-r.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*r.easeInBounce(2*t):.5*r.easeOutBounce(2*t-1)+.5}};t.exports={effects:r},i.easingEffects=r},u3GI:function(t,e,n){!function(t){"use strict";function e(t,e,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[t+" Tage",t+" Tagen"],M:["ein Monat","einem Monat"],MM:[t+" Monate",t+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[t+" Jahre",t+" Jahren"]};return e?r[n][0]:r[n][1]}t.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:e,mm:"%d Minuten",h:e,hh:"%d Stunden",d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uEye:function(t,e,n){!function(t){"use strict";t.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"sun_m\xe5n_tys_ons_tor_fre_lau".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uXwI:function(t,e,n){!function(t){"use strict";var e={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(t,e,n){return n?e%10==1&&e%100!=11?t[2]:t[3]:e%10==1&&e%100!=11?t[0]:t[1]}function i(t,i,r){return t+" "+n(e[r],t,i)}function r(t,i,r){return n(e[r],t,i)}t.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(t,e){return e?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},vpM6:function(t,e,n){"use strict";var i=n("CDJp"),r=n("vvH+"),a=n("RDha");i._set("global",{plugins:{filler:{propagate:!0}}});var o={dataset:function(t){var e=t.fill,n=t.chart,i=n.getDatasetMeta(e),r=i&&n.isDatasetVisible(e)&&i.dataset._children||[],a=r.length||0;return a?function(t,e){return e=n)&&i;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function l(t){var e,n=t.el._model||{},i=t.el._scale||{},r=t.fill,a=null;if(isFinite(r))return null;if("start"===r?a=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?a=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?a=n.scaleZero:i.getBasePosition?a=i.getBasePosition():i.getBasePixel&&(a=i.getBasePixel()),null!=a){if(void 0!==a.x&&void 0!==a.y)return a;if("number"==typeof a&&isFinite(a))return{x:(e=i.isHorizontal())?a:null,y:e?null:a}}return null}function u(t,e,n){var i,r=t[e].fill,a=[e];if(!n)return r;for(;!1!==r&&-1===a.indexOf(r);){if(!isFinite(r))return r;if(!(i=t[r]))return!1;if(i.visible)return r;a.push(r),r=i.fill}return!1}function c(t){var e=t.fill,n="dataset";return!1===e?null:(isFinite(e)||(n="boundary"),o[n](t))}function d(t){return t&&!t.skip}function h(t,e,n,i,r){var o;if(i&&r){for(t.moveTo(e[0].x,e[0].y),o=1;o0;--o)a.canvas.lineTo(t,n[o],n[o-1],!0)}}t.exports={id:"filler",afterDatasetsUpdate:function(t,e){var n,i,a,o,d=(t.data.datasets||[]).length,h=e.propagate,f=[];for(i=0;i>>0,i=0;i0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}var j=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},z={};function W(t,e,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),t&&(z[t]=r),e&&(z[e[0]]=function(){return H(r.apply(this,arguments),e[1],e[2])}),n&&(z[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),t)})}function U(t,e){return t.isValid()?(e=q(e,t.localeData()),V[e]=V[e]||function(t){var e,n,i,r=t.match(j);for(e=0,n=r.length;e=0&&B.test(t);)t=t.replace(B,i),B.lastIndex=0,n-=1;return t}var G=/\d/,K=/\d\d/,J=/\d{3}/,Z=/\d{4}/,$=/[+-]?\d{6}/,Q=/\d\d?/,X=/\d\d\d\d?/,tt=/\d\d\d\d\d\d?/,et=/\d{1,3}/,nt=/\d{1,4}/,it=/[+-]?\d{1,6}/,rt=/\d+/,at=/[+-]?\d+/,ot=/Z|[+-]\d\d:?\d\d/gi,st=/Z|[+-]\d\d(?::?\d\d)?/gi,lt=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,ut={};function ct(t,e,n){ut[t]=P(e)?e:function(t,i){return t&&n?n:e}}function dt(t,e){return d(ut,t)?ut[t](e._strict,e._locale):new RegExp(ht(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(t,e,n,i,r){return e||n||i||r}))))}function ht(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ft={};function pt(t,e){var n,i=e;for("string"==typeof t&&(t=[t]),l(e)&&(i=function(t,n){n[e]=S(t)}),n=0;n68?1900:2e3)};var yt,bt=kt("FullYear",!0);function kt(t,e){return function(n){return null!=n?(St(this,t,n),r.updateOffset(this,e),this):wt(this,t)}}function wt(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function St(t,e,n){t.isValid()&&!isNaN(n)&&("FullYear"===e&&_t(t.year())&&1===t.month()&&29===t.date()?t._d["set"+(t._isUTC?"UTC":"")+e](n,t.month(),Mt(n,t.month())):t._d["set"+(t._isUTC?"UTC":"")+e](n))}function Mt(t,e){if(isNaN(t)||isNaN(e))return NaN;var n=(e%12+12)%12;return t+=(e-n)/12,1===n?_t(t)?29:28:31-n%7%2}yt=Array.prototype.indexOf?Array.prototype.indexOf:function(t){var e;for(e=0;e=0&&isFinite(s.getFullYear())&&s.setFullYear(t),s}function Yt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&t>=0&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Ft(t,e,n){var i=7+e-n;return-(7+Yt(t,0,i).getUTCDay()-e)%7+i-1}function Rt(t,e,n,i,r){var a,o,s=1+7*(e-1)+(7+n-i)%7+Ft(t,i,r);return s<=0?o=vt(a=t-1)+s:s>vt(t)?(a=t+1,o=s-vt(t)):(a=t,o=s),{year:a,dayOfYear:o}}function Nt(t,e,n){var i,r,a=Ft(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?i=o+Ht(r=t.year()-1,e,n):o>Ht(t.year(),e,n)?(i=o-Ht(t.year(),e,n),r=t.year()+1):(r=t.year(),i=o),{week:i,year:r}}function Ht(t,e,n){var i=Ft(t,e,n),r=Ft(t+1,e,n);return(vt(t)-i+r)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),N("week",5),N("isoWeek",5),ct("w",Q),ct("ww",Q,K),ct("W",Q),ct("WW",Q,K),mt(["w","ww","W","WW"],(function(t,e,n,i){e[i.substr(0,1)]=S(t)})),W("d",0,"do","day"),W("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),W("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),W("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),ct("d",Q),ct("e",Q),ct("E",Q),ct("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ct("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ct("dddd",(function(t,e){return e.weekdaysRegex(t)})),mt(["dd","ddd","dddd"],(function(t,e,n,i){var r=n._locale.weekdaysParse(t,i,n._strict);null!=r?e.d=r:p(n).invalidWeekday=t})),mt(["d","e","E"],(function(t,e,n,i){e[i]=S(t)}));var jt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Vt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function zt(t,e,n){var i,r,a,o=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(r=yt.call(this._weekdaysParse,o))?r:null:"ddd"===e?-1!==(r=yt.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=yt.call(this._minWeekdaysParse,o))?r:null:"dddd"===e?-1!==(r=yt.call(this._weekdaysParse,o))||-1!==(r=yt.call(this._shortWeekdaysParse,o))||-1!==(r=yt.call(this._minWeekdaysParse,o))?r:null:"ddd"===e?-1!==(r=yt.call(this._shortWeekdaysParse,o))||-1!==(r=yt.call(this._weekdaysParse,o))||-1!==(r=yt.call(this._minWeekdaysParse,o))?r:null:-1!==(r=yt.call(this._minWeekdaysParse,o))||-1!==(r=yt.call(this._weekdaysParse,o))||-1!==(r=yt.call(this._shortWeekdaysParse,o))?r:null}var Wt=lt,Ut=lt,qt=lt;function Gt(){function t(t,e){return e.length-t.length}var e,n,i,r,a,o=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),s.push(r),l.push(a),u.push(i),u.push(r),u.push(a);for(o.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=ht(s[e]),l[e]=ht(l[e]),u[e]=ht(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Kt(){return this.hours()%12||12}function Jt(t,e){W(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Zt(t,e){return e._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Kt),W("k",["kk",2],0,(function(){return this.hours()||24})),W("hmm",0,0,(function(){return""+Kt.apply(this)+H(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+Kt.apply(this)+H(this.minutes(),2)+H(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+H(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+H(this.minutes(),2)+H(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),A("hour","h"),N("hour",13),ct("a",Zt),ct("A",Zt),ct("H",Q),ct("h",Q),ct("k",Q),ct("HH",Q,K),ct("hh",Q,K),ct("kk",Q,K),ct("hmm",X),ct("hmmss",tt),ct("Hmm",X),ct("Hmmss",tt),pt(["H","HH"],3),pt(["k","kk"],(function(t,e,n){var i=S(t);e[3]=24===i?0:i})),pt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),pt(["h","hh"],(function(t,e,n){e[3]=S(t),p(n).bigHour=!0})),pt("hmm",(function(t,e,n){var i=t.length-2;e[3]=S(t.substr(0,i)),e[4]=S(t.substr(i)),p(n).bigHour=!0})),pt("hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=S(t.substr(0,i)),e[4]=S(t.substr(i,2)),e[5]=S(t.substr(r)),p(n).bigHour=!0})),pt("Hmm",(function(t,e,n){var i=t.length-2;e[3]=S(t.substr(0,i)),e[4]=S(t.substr(i))})),pt("Hmmss",(function(t,e,n){var i=t.length-4,r=t.length-2;e[3]=S(t.substr(0,i)),e[4]=S(t.substr(i,2)),e[5]=S(t.substr(r))}));var $t,Qt=kt("Hours",!0),Xt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:xt,monthsShort:Dt,week:{dow:0,doy:6},weekdays:jt,weekdaysMin:Vt,weekdaysShort:Bt,meridiemParse:/[ap]\.?m?\.?/i},te={},ee={};function ne(t){return t?t.toLowerCase().replace("_","-"):t}function ie(e){var i=null;if(!te[e]&&void 0!==t&&t&&t.exports)try{i=$t._abbr,n("RnhZ")("./"+e),re(i)}catch(r){}return te[e]}function re(t,e){var n;return t&&((n=s(e)?oe(t):ae(t,e))?$t=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),$t._abbr}function ae(t,e){if(null!==e){var n,i=Xt;if(e.abbr=t,null!=te[t])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=te[t]._config;else if(null!=e.parentLocale)if(null!=te[e.parentLocale])i=te[e.parentLocale]._config;else{if(null==(n=ie(e.parentLocale)))return ee[e.parentLocale]||(ee[e.parentLocale]=[]),ee[e.parentLocale].push({name:t,config:e}),null;i=n._config}return te[t]=new E(O(i,e)),ee[t]&&ee[t].forEach((function(t){ae(t.name,t.config)})),re(t),te[t]}return delete te[t],null}function oe(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return $t;if(!a(t)){if(e=ie(t))return e;t=[t]}return function(t){for(var e,n,i,r,a=0;a0;){if(i=ie(r.slice(0,e).join("-")))return i;if(n&&n.length>=e&&M(r,n,!0)>=e-1)break;e--}a++}return $t}(t)}function se(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Mt(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,p(t)._overflowDayOfYear&&(e<0||e>2)&&(e=2),p(t)._overflowWeeks&&-1===e&&(e=7),p(t)._overflowWeekday&&-1===e&&(e=8),p(t).overflow=e),t}function le(t,e,n){return null!=t?t:null!=e?e:n}function ue(t){var e,n,i,a,o,s=[];if(!t._d){for(i=function(t){var e=new Date(r.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}(t),t._w&&null==t._a[2]&&null==t._a[1]&&function(t){var e,n,i,r,a,o,s,l;if(null!=(e=t._w).GG||null!=e.W||null!=e.E)a=1,o=4,n=le(e.GG,t._a[0],Nt(Se(),1,4).year),i=le(e.W,1),((r=le(e.E,1))<1||r>7)&&(l=!0);else{a=t._locale._week.dow,o=t._locale._week.doy;var u=Nt(Se(),a,o);n=le(e.gg,t._a[0],u.year),i=le(e.w,u.week),null!=e.d?((r=e.d)<0||r>6)&&(l=!0):null!=e.e?(r=e.e+a,(e.e<0||e.e>6)&&(l=!0)):r=a}i<1||i>Ht(n,a,o)?p(t)._overflowWeeks=!0:null!=l?p(t)._overflowWeekday=!0:(s=Rt(n,i,r,a,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(o=le(t._a[0],i[0]),(t._dayOfYear>vt(o)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=Yt(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=i[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Yt:At).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(p(t).weekdayMismatch=!0)}}var ce=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,de=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,he=/Z|[+-]\d\d(?::?\d\d)?/,fe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],pe=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],me=/^\/?Date\((\-?\d+)/i;function ge(t){var e,n,i,r,a,o,s=t._i,l=ce.exec(s)||de.exec(s);if(l){for(p(t).iso=!0,e=0,n=fe.length;e0&&p(t).unusedInput.push(o),s=s.slice(s.indexOf(n)+n.length),u+=n.length),z[a]?(n?p(t).empty=!1:p(t).unusedTokens.push(a),gt(a,n,t)):t._strict&&!n&&p(t).unusedTokens.push(a);p(t).charsLeftOver=l-u,s.length>0&&p(t).unusedInput.push(s),t._a[3]<=12&&!0===p(t).bigHour&&t._a[3]>0&&(p(t).bigHour=void 0),p(t).parsedDateParts=t._a.slice(0),p(t).meridiem=t._meridiem,t._a[3]=function(t,e,n){var i;return null==n?e:null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((i=t.isPM(n))&&e<12&&(e+=12),i||12!==e||(e=0),e):e}(t._locale,t._a[3],t._meridiem),ue(t),se(t)}else ye(t);else ge(t)}function ke(t){var e=t._i,n=t._f;return t._locale=t._locale||oe(t._l),null===e||void 0===n&&""===e?g({nullInput:!0}):("string"==typeof e&&(t._i=e=t._locale.preparse(e)),k(e)?new b(se(e)):(u(e)?t._d=e:a(n)?function(t){var e,n,i,r,a;if(0===t._f.length)return p(t).invalidFormat=!0,void(t._d=new Date(NaN));for(r=0;rthis?this:t:g()}));function xe(t,e){var n,i;if(1===e.length&&a(e[0])&&(e=e[0]),!e.length)return Se();for(n=e[0],i=1;i(a=Ht(t,i,r))&&(e=a),Qe.call(this,t,e,n,i,r))}function Qe(t,e,n,i,r){var a=Rt(t,e,n,i,r),o=Yt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Ze("gggg","weekYear"),Ze("ggggg","weekYear"),Ze("GGGG","isoWeekYear"),Ze("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),ct("G",at),ct("g",at),ct("GG",Q,K),ct("gg",Q,K),ct("GGGG",nt,Z),ct("gggg",nt,Z),ct("GGGGG",it,$),ct("ggggg",it,$),mt(["gggg","ggggg","GGGG","GGGGG"],(function(t,e,n,i){e[i.substr(0,2)]=S(t)})),mt(["gg","GG"],(function(t,e,n,i){e[i]=r.parseTwoDigitYear(t)})),W("Q",0,"Qo","quarter"),A("quarter","Q"),N("quarter",7),ct("Q",G),pt("Q",(function(t,e){e[1]=3*(S(t)-1)})),W("D",["DD",2],"Do","date"),A("date","D"),N("date",9),ct("D",Q),ct("DD",Q,K),ct("Do",(function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient})),pt(["D","DD"],2),pt("Do",(function(t,e){e[2]=S(t.match(Q)[0])}));var Xe=kt("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),N("dayOfYear",4),ct("DDD",et),ct("DDDD",J),pt(["DDD","DDDD"],(function(t,e,n){n._dayOfYear=S(t)})),W("m",["mm",2],0,"minute"),A("minute","m"),N("minute",14),ct("m",Q),ct("mm",Q,K),pt(["m","mm"],4);var tn=kt("Minutes",!1);W("s",["ss",2],0,"second"),A("second","s"),N("second",15),ct("s",Q),ct("ss",Q,K),pt(["s","ss"],5);var en,nn=kt("Seconds",!1);for(W("S",0,0,(function(){return~~(this.millisecond()/100)})),W(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),W(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),W(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),W(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),W(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),W(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),A("millisecond","ms"),N("millisecond",16),ct("S",et,G),ct("SS",et,K),ct("SSS",et,J),en="SSSS";en.length<=9;en+="S")ct(en,rt);function rn(t,e){e[6]=S(1e3*("0."+t))}for(en="S";en.length<=9;en+="S")pt(en,rn);var an=kt("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var on=b.prototype;function sn(t){return t}on.add=We,on.calendar=function(t,e){var n=t||Se(),i=Ae(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=e&&(P(e[a])?e[a].call(this,n):e[a]);return this.format(o||this.localeData().calendar(a,this,Se(n)))},on.clone=function(){return new b(this)},on.diff=function(t,e,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Ae(t,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),e=Y(e)){case"year":a=qe(this,i)/12;break;case"month":a=qe(this,i);break;case"quarter":a=qe(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:w(a)},on.endOf=function(t){return void 0===(t=Y(t))||"millisecond"===t?this:("date"===t&&(t="day"),this.startOf(t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms"))},on.format=function(t){t||(t=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var e=U(this,t);return this.localeData().postformat(e)},on.from=function(t,e){return this.isValid()&&(k(t)&&t.isValid()||Se(t).isValid())?He({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},on.fromNow=function(t){return this.from(Se(),t)},on.to=function(t,e){return this.isValid()&&(k(t)&&t.isValid()||Se(t).isValid())?He({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},on.toNow=function(t){return this.to(Se(),t)},on.get=function(t){return P(this[t=Y(t)])?this[t]():this},on.invalidAt=function(){return p(this).overflow},on.isAfter=function(t,e){var n=k(t)?t:Se(t);return!(!this.isValid()||!n.isValid())&&("millisecond"===(e=Y(s(e)?"millisecond":e))?this.valueOf()>n.valueOf():n.valueOf()9999?U(n,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):P(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",U(n,"Z")):U(n,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},on.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="";this.isLocal()||(t=0===this.utcOffset()?"moment.utc":"moment.parseZone",e="Z");var n="["+t+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY";return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+e+'[")]')},on.toJSON=function(){return this.isValid()?this.toISOString():null},on.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},on.unix=function(){return Math.floor(this.valueOf()/1e3)},on.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},on.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},on.year=bt,on.isLeapYear=function(){return _t(this.year())},on.weekYear=function(t){return $e.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},on.isoWeekYear=function(t){return $e.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},on.quarter=on.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},on.month=Pt,on.daysInMonth=function(){return Mt(this.year(),this.month())},on.week=on.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},on.isoWeek=on.isoWeeks=function(t){var e=Nt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},on.weeksInYear=function(){var t=this.localeData()._week;return Ht(this.year(),t.dow,t.doy)},on.isoWeeksInYear=function(){return Ht(this.year(),1,4)},on.date=Xe,on.day=on.days=function(t){if(!this.isValid())return null!=t?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=function(t,e){return"string"!=typeof t?t:isNaN(t)?"number"==typeof(t=e.weekdaysParse(t))?t:null:parseInt(t,10)}(t,this.localeData()),this.add(t-e,"d")):e},on.weekday=function(t){if(!this.isValid())return null!=t?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return null==t?e:this.add(t-e,"d")},on.isoWeekday=function(t){if(!this.isValid())return null!=t?this:NaN;if(null!=t){var e=function(t,e){return"string"==typeof t?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}(t,this.localeData());return this.day(this.day()%7?e:e-7)}return this.day()||7},on.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},on.hour=on.hours=Qt,on.minute=on.minutes=tn,on.second=on.seconds=nn,on.millisecond=on.milliseconds=an,on.utcOffset=function(t,e,n){var i,a=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null!=t){if("string"==typeof t){if(null===(t=Ie(st,t)))return this}else Math.abs(t)<16&&!n&&(t*=60);return!this._isUTC&&e&&(i=Ye(this)),this._offset=t,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==t&&(!e||this._changeInProgress?ze(this,He(t-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Ye(this)},on.utc=function(t){return this.utcOffset(0,t)},on.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Ye(this),"m")),this},on.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var t=Ie(ot,this._i);null!=t?this.utcOffset(t):this.utcOffset(0,!0)}return this},on.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?Se(t).utcOffset():0,(this.utcOffset()-t)%60==0)},on.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},on.isLocal=function(){return!!this.isValid()&&!this._isUTC},on.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},on.isUtc=Fe,on.isUTC=Fe,on.zoneAbbr=function(){return this._isUTC?"UTC":""},on.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},on.dates=x("dates accessor is deprecated. Use date instead.",Xe),on.months=x("months accessor is deprecated. Use month instead",Pt),on.years=x("years accessor is deprecated. Use year instead",bt),on.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),on.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t={};if(_(t,this),(t=ke(t))._a){var e=t._isUTC?f(t._a):Se(t._a);this._isDSTShifted=this.isValid()&&M(t._a,e.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var ln=E.prototype;function un(t,e,n,i){var r=oe(),a=f().set(i,e);return r[n](a,t)}function cn(t,e,n){if(l(t)&&(e=t,t=void 0),t=t||"",null!=e)return un(t,e,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=un(t,i,n,"month");return r}function dn(t,e,n,i){"boolean"==typeof t?(l(e)&&(n=e,e=void 0),e=e||""):(n=e=t,t=!1,l(e)&&(n=e,e=void 0),e=e||"");var r,a=oe(),o=t?a._week.dow:0;if(null!=n)return un(e,(n+o)%7,i,"day");var s=[];for(r=0;r<7;r++)s[r]=un(e,(r+o)%7,i,"day");return s}ln.calendar=function(t,e,n){var i=this._calendar[t]||this._calendar.sameElse;return P(i)?i.call(e,n):i},ln.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,(function(t){return t.slice(1)})),this._longDateFormat[t])},ln.invalidDate=function(){return this._invalidDate},ln.ordinal=function(t){return this._ordinal.replace("%d",t)},ln.preparse=sn,ln.postformat=sn,ln.relativeTime=function(t,e,n,i){var r=this._relativeTime[n];return P(r)?r(t,e,n,i):r.replace(/%d/i,t)},ln.pastFuture=function(t,e){var n=this._relativeTime[t>0?"future":"past"];return P(n)?n(e):n.replace(/%s/i,e)},ln.set=function(t){var e,n;for(n in t)P(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},ln.months=function(t,e){return t?a(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ct).test(e)?"format":"standalone"][t.month()]:a(this._months)?this._months:this._months.standalone},ln.monthsShort=function(t,e){return t?a(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ct.test(e)?"format":"standalone"][t.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},ln.monthsParse=function(t,e,n){var i,r,a;if(this._monthsParseExact)return Lt.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},ln.monthsRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||It.call(this),t?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=Et),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},ln.monthsShortRegex=function(t){return this._monthsParseExact?(d(this,"_monthsRegex")||It.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=Ot),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},ln.week=function(t){return Nt(t,this._week.dow,this._week.doy).week},ln.firstDayOfYear=function(){return this._week.doy},ln.firstDayOfWeek=function(){return this._week.dow},ln.weekdays=function(t,e){return t?a(this._weekdays)?this._weekdays[t.day()]:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"][t.day()]:a(this._weekdays)?this._weekdays:this._weekdays.standalone},ln.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},ln.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},ln.weekdaysParse=function(t,e,n){var i,r,a;if(this._weekdaysParseExact)return zt.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},ln.weekdaysRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Wt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},ln.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},ln.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Gt.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=qt),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},ln.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},ln.meridiem=function(t,e,n){return t>11?n?"pm":"PM":n?"am":"AM"},re("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===S(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th")}}),r.lang=x("moment.lang is deprecated. Use moment.locale instead.",re),r.langData=x("moment.langData is deprecated. Use moment.localeData instead.",oe);var hn=Math.abs;function fn(t,e,n,i){var r=He(e,n);return t._milliseconds+=i*r._milliseconds,t._days+=i*r._days,t._months+=i*r._months,t._bubble()}function pn(t){return t<0?Math.floor(t):Math.ceil(t)}function mn(t){return 4800*t/146097}function gn(t){return 146097*t/4800}function vn(t){return function(){return this.as(t)}}var _n=vn("ms"),yn=vn("s"),bn=vn("m"),kn=vn("h"),wn=vn("d"),Sn=vn("w"),Mn=vn("M"),Cn=vn("y");function xn(t){return function(){return this.isValid()?this._data[t]:NaN}}var Dn=xn("milliseconds"),Ln=xn("seconds"),Tn=xn("minutes"),Pn=xn("hours"),On=xn("days"),En=xn("months"),In=xn("years"),An=Math.round,Yn={ss:44,s:45,m:45,h:22,d:26,M:11};function Fn(t,e,n,i,r){return r.relativeTime(e||1,!!n,t,i)}var Rn=Math.abs;function Nn(t){return(t>0)-(t<0)||+t}function Hn(){if(!this.isValid())return this.localeData().invalidDate();var t,e,n=Rn(this._milliseconds)/1e3,i=Rn(this._days),r=Rn(this._months);t=w(n/60),e=w(t/60),n%=60,t%=60;var a=w(r/12),o=r%=12,s=i,l=e,u=t,c=n?n.toFixed(3).replace(/\.?0+$/,""):"",d=this.asSeconds();if(!d)return"P0D";var h=d<0?"-":"",f=Nn(this._months)!==Nn(d)?"-":"",p=Nn(this._days)!==Nn(d)?"-":"",m=Nn(this._milliseconds)!==Nn(d)?"-":"";return h+"P"+(a?f+a+"Y":"")+(o?f+o+"M":"")+(s?p+s+"D":"")+(l||u||c?"T":"")+(l?m+l+"H":"")+(u?m+u+"M":"")+(c?m+c+"S":"")}var jn=Le.prototype;return jn.isValid=function(){return this._isValid},jn.abs=function(){var t=this._data;return this._milliseconds=hn(this._milliseconds),this._days=hn(this._days),this._months=hn(this._months),t.milliseconds=hn(t.milliseconds),t.seconds=hn(t.seconds),t.minutes=hn(t.minutes),t.hours=hn(t.hours),t.months=hn(t.months),t.years=hn(t.years),this},jn.add=function(t,e){return fn(this,t,e,1)},jn.subtract=function(t,e){return fn(this,t,e,-1)},jn.as=function(t){if(!this.isValid())return NaN;var e,n,i=this._milliseconds;if("month"===(t=Y(t))||"year"===t)return n=this._months+mn(e=this._days+i/864e5),"month"===t?n:n/12;switch(e=this._days+Math.round(gn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},jn.asMilliseconds=_n,jn.asSeconds=yn,jn.asMinutes=bn,jn.asHours=kn,jn.asDays=wn,jn.asWeeks=Sn,jn.asMonths=Mn,jn.asYears=Cn,jn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12):NaN},jn._bubble=function(){var t,e,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*pn(gn(s)+o),o=0,s=0),l.milliseconds=a%1e3,t=w(a/1e3),l.seconds=t%60,e=w(t/60),l.minutes=e%60,n=w(e/60),l.hours=n%24,o+=w(n/24),s+=r=w(mn(o)),o-=pn(gn(r)),i=w(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},jn.clone=function(){return He(this)},jn.get=function(t){return t=Y(t),this.isValid()?this[t+"s"]():NaN},jn.milliseconds=Dn,jn.seconds=Ln,jn.minutes=Tn,jn.hours=Pn,jn.days=On,jn.weeks=function(){return w(this.days()/7)},jn.months=En,jn.years=In,jn.humanize=function(t){if(!this.isValid())return this.localeData().invalidDate();var e=this.localeData(),n=function(t,e,n){var i=He(t).abs(),r=An(i.as("s")),a=An(i.as("m")),o=An(i.as("h")),s=An(i.as("d")),l=An(i.as("M")),u=An(i.as("y")),c=r<=Yn.ss&&["s",r]||r0,c[4]=n,Fn.apply(null,c)}(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},jn.toISOString=Hn,jn.toString=Hn,jn.toJSON=Hn,jn.locale=Ge,jn.localeData=Je,jn.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Hn),jn.lang=Ke,W("X",0,0,"unix"),W("x",0,0,"valueOf"),ct("x",at),ct("X",/[+-]?\d+(\.\d{1,3})?/),pt("X",(function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))})),pt("x",(function(t,e,n){n._d=new Date(S(t))})),r.version="2.22.2",e=Se,r.fn=on,r.min=function(){var t=[].slice.call(arguments,0);return xe("isBefore",t)},r.max=function(){var t=[].slice.call(arguments,0);return xe("isAfter",t)},r.now=function(){return Date.now?Date.now():+new Date},r.utc=f,r.unix=function(t){return Se(1e3*t)},r.months=function(t,e){return cn(t,e,"months")},r.isDate=u,r.locale=re,r.invalid=g,r.duration=He,r.isMoment=k,r.weekdays=function(t,e,n){return dn(t,e,n,"weekdays")},r.parseZone=function(){return Se.apply(null,arguments).parseZone()},r.localeData=oe,r.isDuration=Te,r.monthsShort=function(t,e){return cn(t,e,"monthsShort")},r.weekdaysMin=function(t,e,n){return dn(t,e,n,"weekdaysMin")},r.defineLocale=ae,r.updateLocale=function(t,e){if(null!=e){var n,i,r=Xt;null!=(i=ie(t))&&(r=i._config),(n=new E(e=O(r,e))).parentLocale=te[t],te[t]=n,re(t)}else null!=te[t]&&(null!=te[t].parentLocale?te[t]=te[t].parentLocale:null!=te[t]&&delete te[t]);return te[t]},r.locales=function(){return D(te)},r.weekdaysShort=function(t,e,n){return dn(t,e,n,"weekdaysShort")},r.normalizeUnits=Y,r.relativeTimeRounding=function(t){return void 0===t?An:"function"==typeof t&&(An=t,!0)},r.relativeTimeThreshold=function(t,e){return void 0!==Yn[t]&&(void 0===e?Yn[t]:(Yn[t]=e,"s"===t&&(Yn.ss=e-1),!0))},r.calendarFormat=function(t,e){var n=t.diff(e,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=on,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"YYYY-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n("YuTi")(t))},x6pH:function(t,e,n){!function(t){"use strict";t.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(t){return 2===t?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":t+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(t){return 2===t?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":t+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(t){return 2===t?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":t+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(t){return 2===t?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":t%10==0&&10!==t?t+" \u05e9\u05e0\u05d4":t+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(t){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(t)},meridiem:function(t,e,n){return t<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":t<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":t<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":t<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},x8uC:function(t,e,n){"use strict";var i=n("CDJp"),r=n("K2E3"),a=n("RDha");i._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:a.noop,title:function(t,e){var n="",i=e.labels,r=i?i.length:0;if(t.length>0){var a=t[0];a.xLabel?n=a.xLabel:r>0&&a.indexi.width&&(r=i.width-e.width),r<0&&(r=0)),"top"===l?a+=u:a-="bottom"===l?e.height+u:e.height/2,"center"===l?"left"===s?r+=u:"right"===s&&(r-=u):"left"===s?r-=c:"right"===s&&(r+=c),{x:r,y:a}}(p,y,v=function(t,e){var n,i,r,a,o,s=t._model,l=t._chart,u=t._chart.chartArea,c="center",d="center";s.yl.height-e.height&&(d="bottom");var h=(u.left+u.right)/2,f=(u.top+u.bottom)/2;"center"===d?(n=function(t){return t<=h},i=function(t){return t>h}):(n=function(t){return t<=e.width/2},i=function(t){return t>=l.width-e.width/2}),r=function(t){return t+e.width+s.caretSize+s.caretPadding>l.width},a=function(t){return t-e.width-s.caretSize-s.caretPadding<0},o=function(t){return t<=f?"top":"bottom"},n(s.x)?(c="left",r(s.x)&&(c="center",d=o(s.y))):i(s.x)&&(c="right",a(s.x)&&(c="center",d=o(s.y)));var p=t._options;return{xAlign:p.xAlign?p.xAlign:c,yAlign:p.yAlign?p.yAlign:d}}(this,y),d._chart)}else p.opacity=0;return p.xAlign=v.xAlign,p.yAlign=v.yAlign,p.x=_.x,p.y=_.y,p.width=y.width,p.height=y.height,p.caretX=b.x,p.caretY=b.y,d._model=p,e&&h.custom&&h.custom.call(d,p),d},drawCaret:function(t,e){var n=this._chart.ctx,i=this.getCaretPosition(t,e,this._view);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(t,e,n){var i,r,a,o,s,l,u=n.caretSize,c=n.cornerRadius,d=n.xAlign,h=n.yAlign,f=t.x,p=t.y,m=e.width,g=e.height;if("center"===h)s=p+g/2,"left"===d?(r=(i=f)-u,a=i,o=s+u,l=s-u):(r=(i=f+m)+u,a=i,o=s-u,l=s+u);else if("left"===d?(i=(r=f+c+u)-u,a=r+u):"right"===d?(i=(r=f+m-c-u)-u,a=r+u):(i=(r=n.caretX)-u,a=r+u),"top"===h)s=(o=p)-u,l=o;else{s=(o=p+g)+u,l=o;var v=a;a=i,i=v}return{x1:i,x2:r,x3:a,y1:o,y2:s,y3:l}},drawTitle:function(t,n,i,r){var o=n.title;if(o.length){i.textAlign=n._titleAlign,i.textBaseline="top";var s,l,u=n.titleFontSize,c=n.titleSpacing;for(i.fillStyle=e(n.titleFontColor,r),i.font=a.fontString(u,n._titleFontStyle,n._titleFontFamily),s=0,l=o.length;s0&&i.stroke()},draw:function(){var t=this._chart.ctx,e=this._view;if(0!==e.opacity){var n={width:e.width,height:e.height},i={x:e.x,y:e.y},r=Math.abs(e.opacity<.001)?0:e.opacity;this._options.enabled&&(e.title.length||e.beforeBody.length||e.body.length||e.afterBody.length||e.footer.length)&&(this.drawBackground(i,e,t,n,r),i.x+=e.xPadding,i.y+=e.yPadding,this.drawTitle(i,e,t,r),this.drawBody(i,e,t,r),this.drawFooter(i,e,t,r))}},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],n._active="mouseout"===t.type?[]:n._chart.getElementsAtEventForMode(t,i.mode,i),(e=!a.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot())),e}}),t.Tooltip.positioners={average:function(t){if(!t.length)return!1;var e,n,i=0,r=0,a=0;for(e=0,n=t.length;e11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:e,ss:e,m:e,mm:e,h:e,hh:e,d:e,dd:e,M:e,MM:e,y:e,yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(t,e,n){!function(t){"use strict";var e="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(t,n,i,r){var a=function(t){var n=Math.floor(t%1e3/100),i=Math.floor(t%100/10),r=t%10,a="";return n>0&&(a+=e[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+e[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+e[r]),""===a?"pagh":a}(t);switch(i){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}t.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"leS":-1!==t.indexOf("jar")?e.slice(0,-3)+"waQ":-1!==t.indexOf("DIS")?e.slice(0,-3)+"nem":e+" pIq"},past:function(t){var e=t;return-1!==t.indexOf("jaj")?e.slice(0,-3)+"Hu\u2019":-1!==t.indexOf("jar")?e.slice(0,-3)+"wen":-1!==t.indexOf("DIS")?e.slice(0,-3)+"ben":e+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},zUnb:function(t,e,n){"use strict";function i(t){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function r(t,e,n){return(r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=i(t)););return t}(t,e);if(r){var a=Object.getOwnPropertyDescriptor(r,e);return a.get?a.get.call(n):a.value}})(t,e,n||t)}function a(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},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 i,r,a=!0,o=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return a=t.done,t},e:function(t){o=!0,r=t},f:function(){try{a||null==i.return||i.return()}finally{if(o)throw r}}}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function p(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function g(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?a(t):e}function v(t){var e=p();return function(){var n,r=i(t);if(e){var a=i(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return g(this,n)}}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n4&&void 0!==arguments[4]?arguments[4]:new G(t,n,i);if(!r.closed)return e instanceof H?e.subscribe(r):X(e)(r)}var et=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"notifyNext",value:function(t,e,n,i,r){this.destination.next(e)}},{key:"notifyError",value:function(t,e){this.destination.error(t)}},{key:"notifyComplete",value:function(t){this.destination.complete()}}]),n}(I);function nt(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new it(t,e))}}var it=function(){function t(e,n){_(this,t),this.project=e,this.thisArg=n}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new rt(t,this.project,this.thisArg))}}]),t}(),rt=function(t){f(n,t);var e=v(n);function n(t,i,r){var o;return _(this,n),(o=e.call(this,t)).project=i,o.count=0,o.thisArg=r||a(o),o}return b(n,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(I);function at(t,e){return new H((function(n){var i=new x,r=0;return i.add(e.schedule((function(){r!==t.length?(n.next(t[r++]),n.closed||i.add(this.schedule())):n.complete()}))),i}))}function ot(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[Y]}(t))return function(t,e){return new H((function(n){var i=new x;return i.add(e.schedule((function(){var r=t[Y]();i.add(r.subscribe({next:function(t){i.add(e.schedule((function(){return n.next(t)})))},error:function(t){i.add(e.schedule((function(){return n.error(t)})))},complete:function(){i.add(e.schedule((function(){return n.complete()})))}}))}))),i}))}(t,e);if(Q(t))return function(t,e){return new H((function(n){var i=new x;return i.add(e.schedule((function(){return t.then((function(t){i.add(e.schedule((function(){n.next(t),i.add(e.schedule((function(){return n.complete()})))})))}),(function(t){i.add(e.schedule((function(){return n.error(t)})))}))}))),i}))}(t,e);if($(t))return at(t,e);if(function(t){return t&&"function"==typeof t[Z]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new H((function(n){var i,r=new x;return r.add((function(){i&&"function"==typeof i.return&&i.return()})),r.add(e.schedule((function(){i=t[Z](),r.add(e.schedule((function(){if(!n.closed){var t,e;try{var r=i.next();t=r.value,e=r.done}catch(a){return void n.error(a)}e?n.complete():(n.next(t),this.schedule())}})))}))),r}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof H?t:new H(X(t))}function st(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(i){return i.pipe(st((function(n,i){return ot(t(n,i)).pipe(nt((function(t,r){return e(n,t,i,r)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new lt(t,n))})}var lt=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_(this,t),this.project=e,this.concurrent=n}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new ut(t,this.project,this.concurrent))}}]),t}(),ut=function(t){f(n,t);var e=v(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _(this,n),(r=e.call(this,t)).project=i,r.concurrent=a,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return b(n,[{key:"_next",value:function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(et);function ct(t){return t}function dt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return st(ct,t)}function ht(t,e){return e?at(t,e):new H(K(t))}function ft(){for(var t=Number.POSITIVE_INFINITY,e=null,n=arguments.length,i=new Array(n),r=0;r1&&"number"==typeof i[i.length-1]&&(t=i.pop())):"number"==typeof a&&(t=i.pop()),null===e&&1===i.length&&i[0]instanceof H?i[0]:dt(t)(ht(i,e))}function pt(){return function(t){return t.lift(new mt(t))}}var mt=function(){function t(e){_(this,t),this.connectable=e}return b(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var i=new gt(t,n),r=e.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),t}(),gt=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).connectable=i,r}return b(n,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,i=t._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(I),vt=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).source=t,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return b(n,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new x).add(this.source.subscribe(new yt(this.getSubject(),this))),t.closed&&(this._connection=null,t=x.EMPTY)),t}},{key:"refCount",value:function(){return pt()(this)}}]),n}(H),_t=function(){var t=vt.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}}(),yt=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).connectable=i,r}return b(n,[{key:"_error",value:function(t){this._unsubscribe(),r(i(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),r(i(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}]),n}(z);function bt(){return new W}function kt(){return function(t){return pt()((e=bt,function(t){var n;n="function"==typeof e?e:function(){return e};var i=Object.create(t,_t);return i.source=t,i.subjectFactory=n,i})(t));var e}}function wt(t){return{toString:t}.toString()}var St="__parameters__";function Mt(t,e,n){return wt((function(){var i=function(t){return function(){if(t){var e=t.apply(void 0,arguments);for(var n in e)this[n]=e[n]}}}(e);function r(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:Tt.Default;if(void 0===he)throw new Error("inject() must be called from an injection context");return null===he?_e(t,void 0,e):he.get(t,e&Tt.Optional?null:void 0,e)}function ge(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tt.Default;return(Kt||me)(qt(t),e)}var ve=ge;function _e(t,e,n){var i=At(t);if(i&&"root"==i.providedIn)return void 0===i.value?i.value=i.factory():i.value;if(n&Tt.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND [".concat(Vt(t),"]"))}function ye(t){for(var e=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:ue;if(e===ue){var n=new Error("NullInjectorError: No provider for ".concat(Vt(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}();function ke(t,e,n,i){var r=t.ngTempTokenPath;throw e.__source&&r.unshift(e.__source),t.message=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var r=Vt(e);if(Array.isArray(e))r=e.map(Vt).join(" -> ");else if("object"==typeof e){var a=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):Vt(s)))}r="{".concat(a.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(t.replace(ce,"\n "))}("\n"+t.message,r,n,i),t.ngTokenPath=r,t.ngTempTokenPath=null,t}var we=function t(){_(this,t)},Se=function t(){_(this,t)};function Me(t,e){t.forEach((function(t){return Array.isArray(t)?Me(t,e):e(t)}))}function Ce(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function xe(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function De(t,e){for(var n=[],i=0;i=0?t[1|i]=n:function(t,e,n,i){var r=t.length;if(r==e)t.push(n,i);else if(1===r)t.push(i,t[0]),t[0]=n;else{for(r--,t.push(t[r-1],t[r]);r>e;)t[r]=t[r-2],r--;t[e]=n,t[e+1]=i}}(t,i=~i,e,n),i}function Te(t,e){var n=Pe(t,e);if(n>=0)return t[1|n]}function Pe(t,e){return function(t,e,n){for(var i=0,r=t.length>>1;r!==i;){var a=i+(r-i>>1),o=t[a<<1];if(e===o)return a<<1;o>e?r=a:i=a+1}return~(r<<1)}(t,e)}var Oe=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}({}),Ee=function(t){return t[t.Emulated=0]="Emulated",t[t.Native=1]="Native",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}({}),Ie={},Ae=[],Ye=0;function Fe(t){return wt((function(){var e={},n={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Oe.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Ae,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Ee.Emulated,id:"c",styles:t.styles||Ae,_:null,setInput:null,schemas:t.schemas||null,tView:null},i=t.directives,r=t.features,a=t.pipes;return n.id+=Ye++,n.inputs=Ve(t.inputs,e),n.outputs=Ve(t.outputs),r&&r.forEach((function(t){return t(n)})),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(Ne)}:null,n.pipeDefs=a?function(){return("function"==typeof a?a():a).map(He)}:null,n}))}function Re(t,e,n){var i=t.\u0275cmp;i.directiveDefs=function(){return e.map(Ne)},i.pipeDefs=function(){return n.map(He)}}function Ne(t){return Ue(t)||function(t){return t[ee]||null}(t)}function He(t){return function(t){return t[ne]||null}(t)}var je={};function Be(t){var e={type:t.type,bootstrap:t.bootstrap||Ae,declarations:t.declarations||Ae,imports:t.imports||Ae,exports:t.exports||Ae,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&wt((function(){je[t.id]=t.type})),e}function Ve(t,e){if(null==t)return Ie;var n={};for(var i in t)if(t.hasOwnProperty(i)){var r=t[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,e&&(e[r]=a)}return n}var ze=Fe;function We(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Ue(t){return t[te]||null}function qe(t,e){return t.hasOwnProperty(ae)?t[ae]:null}function Ge(t,e){var n=t[ie]||null;if(!n&&!0===e)throw new Error("Type ".concat(Vt(t)," does not have '\u0275mod' property."));return n}function Ke(t){return Array.isArray(t)&&"object"==typeof t[1]}function Je(t){return Array.isArray(t)&&!0===t[1]}function Ze(t){return 0!=(8&t.flags)}function $e(t){return 2==(2&t.flags)}function Qe(t){return 1==(1&t.flags)}function Xe(t){return null!==t.template}function tn(t){return 0!=(512&t[2])}var en=function(){function t(e,n,i){_(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=i}return b(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function nn(){return rn}function rn(t){return t.type.prototype.ngOnChanges&&(t.setInput=on),an}function an(){var t=sn(this),e=null==t?void 0:t.current;if(e){var n=t.previous;if(n===Ie)t.previous=e;else for(var i in e)n[i]=e[i];t.current=null,this.ngOnChanges(e)}}function on(t,e,n,i){var r=sn(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Ie,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],l=o[s];a[s]=new en(l&&l.currentValue,e,o===Ie),t[i]=e}function sn(t){return t.__ngSimpleChanges__||null}nn.ngInherit=!0;var ln=void 0;function un(t){return!!t.listen}var cn={createRenderer:function(t,e){return void 0!==ln?ln:"undefined"!=typeof document?document:void 0}};function dn(t){for(;Array.isArray(t);)t=t[0];return t}function hn(t,e){return dn(e[t+20])}function fn(t,e){return dn(e[t.index])}function pn(t,e){return t.data[e+20]}function mn(t,e){return t[e+20]}function gn(t,e){var n=e[t];return Ke(n)?n:n[0]}function vn(t){var e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function _n(t){return 4==(4&t[2])}function yn(t){return 128==(128&t[2])}function bn(t,e){return null===t||null==e?null:t[e]}function kn(t){t[18]=0}function wn(t,e){t[5]+=e;for(var n=t,i=t[3];null!==i&&(1===e&&1===n[5]||-1===e&&0===n[5]);)i[5]+=e,n=i,i=i[3]}var Sn={lFrame:qn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Mn(){return Sn.bindingsEnabled}function Cn(){return Sn.lFrame.lView}function xn(){return Sn.lFrame.tView}function Dn(t){Sn.lFrame.contextLView=t}function Ln(){return Sn.lFrame.previousOrParentTNode}function Tn(t,e){Sn.lFrame.previousOrParentTNode=t,Sn.lFrame.isParent=e}function Pn(){return Sn.lFrame.isParent}function On(){Sn.lFrame.isParent=!1}function En(){return Sn.checkNoChangesMode}function In(t){Sn.checkNoChangesMode=t}function An(){var t=Sn.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function Yn(){return Sn.lFrame.bindingIndex}function Fn(){return Sn.lFrame.bindingIndex++}function Rn(t){var e=Sn.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Nn(t,e){var n=Sn.lFrame;n.bindingIndex=n.bindingRootIndex=t,Hn(e)}function Hn(t){Sn.lFrame.currentDirectiveIndex=t}function jn(t){var e=Sn.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}function Bn(){return Sn.lFrame.currentQueryIndex}function Vn(t){Sn.lFrame.currentQueryIndex=t}function zn(t,e){var n=Un();Sn.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function Wn(t,e){var n=Un(),i=t[1];Sn.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=i,n.contextLView=t,n.bindingIndex=i.bindingStartIndex}function Un(){var t=Sn.lFrame,e=null===t?null:t.child;return null===e?qn(t):e}function qn(t){var e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function Gn(){var t=Sn.lFrame;return Sn.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}var Kn=Gn;function Jn(){var t=Gn();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Zn(t){return(Sn.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,Sn.lFrame.contextLView))[8]}function $n(){return Sn.lFrame.selectedIndex}function Qn(t){Sn.lFrame.selectedIndex=t}function Xn(){var t=Sn.lFrame;return pn(t.tView,t.selectedIndex)}function ti(){Sn.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function ei(){Sn.lFrame.currentNamespace=null}function ni(t,e){for(var n=e.directiveStart,i=e.directiveEnd;n=i)break}else e[o]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===e&&(t[2]+=2048,a.call(o)):a.call(o)}var li=function t(e,n,i){_(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i};function ui(t,e,n){for(var i=un(t),r=0;re){o=a-1;break}}}for(;a>16}function vi(t,e){for(var n=gi(t),i=e;n>0;)i=i[15],n--;return i}function _i(t){return"string"==typeof t?t:null==t?"":""+t}function yi(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():_i(t)}var bi=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Xt)}();function ki(t){return{name:"window",target:t.ownerDocument.defaultView}}function wi(t){return{name:"body",target:t.ownerDocument.body}}function Si(t){return t instanceof Function?t():t}var Mi=!0;function Ci(t){var e=Mi;return Mi=t,e}var xi=0;function Di(t,e){var n=Ti(t,e);if(-1!==n)return n;var i=e[1];i.firstCreatePass&&(t.injectorIndex=e.length,Li(i.data,t),Li(e,null),Li(i.blueprint,null));var r=Pi(t,e),a=t.injectorIndex;if(pi(r))for(var o=mi(r),s=vi(r,e),l=s[1].data,u=0;u<8;u++)e[a+u]=s[o+u]|l[o+u];return e[a+8]=r,a}function Li(t,e){t.push(0,0,0,0,0,0,0,0,e)}function Ti(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function Pi(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[6],i=1;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,i++;return n?n.injectorIndex|i<<16:-1}function Oi(t,e,n){!function(t,e,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(oe)&&(i=n[oe]),null==i&&(i=n[oe]=xi++);var r=255&i,a=1<3&&void 0!==arguments[3]?arguments[3]:Tt.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==t){var a=Ri(n);if("function"==typeof a){zn(e,t);try{var o=a();if(null!=o||i&Tt.Optional)return o;throw new Error("No provider for ".concat(yi(n),"!"))}finally{Kn()}}else if("number"==typeof a){if(-1===a)return new ji(t,e);var s=null,l=Ti(t,e),u=-1,c=i&Tt.Host?e[16][6]:null;for((-1===l||i&Tt.SkipSelf)&&(u=-1===l?Pi(t,e):e[l+8],Hi(i,!1)?(s=e[1],l=mi(u),e=vi(u,e)):l=-1);-1!==l;){u=e[l+8];var d=e[1];if(Ni(a,l,d.data)){var h=Ai(l,e,n,s,i,c);if(h!==Ii)return h}Hi(i,e[1].data[l+8]===c)&&Ni(a,l,e)?(s=d,l=mi(u),e=vi(u,e)):l=-1}}}if(i&Tt.Optional&&void 0===r&&(r=null),0==(i&(Tt.Self|Tt.Host))){var f=e[9],p=pe(void 0);try{return f?f.get(n,r,i&Tt.Optional):_e(n,r,i&Tt.Optional)}finally{pe(p)}}if(i&Tt.Optional)return r;throw new Error("NodeInjector: NOT_FOUND [".concat(yi(n),"]"))}var Ii={};function Ai(t,e,n,i,r,a){var o=e[1],s=o.data[t+8],l=Yi(s,o,n,null==i?$e(s)&&Mi:i!=o&&3===s.type,r&Tt.Host&&a===s);return null!==l?Fi(e,o,l,s):Ii}function Yi(t,e,n,i,r){for(var a=t.providerIndexes,o=e.data,s=1048575&a,l=t.directiveStart,u=a>>20,c=r?s+u:t.directiveEnd,d=i?s:s+u;d=l&&h.type===n)return d}if(r){var f=o[l];if(f&&Xe(f)&&f.type===n)return l}return null}function Fi(t,e,n,i){var r=t[n],a=e.data;if(r instanceof li){var o=r;if(o.resolving)throw new Error("Circular dep for ".concat(yi(a[n])));var s,l=Ci(o.canSeeViewProviders);o.resolving=!0,o.injectImpl&&(s=pe(o.injectImpl)),zn(t,i);try{r=t[n]=o.factory(void 0,a,t,i),e.firstCreatePass&&n>=i.directiveStart&&function(t,e,n){var i=e.type.prototype,r=i.ngOnInit,a=i.ngDoCheck;if(i.ngOnChanges){var o=rn(e);(n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-t,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a))}(n,a[n],e)}finally{o.injectImpl&&pe(s),Ci(l),o.resolving=!1,Kn()}}return r}function Ri(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t.hasOwnProperty(oe)?t[oe]:void 0;return"number"==typeof e&&e>0?255&e:e}function Ni(t,e,n){var i=64&t,r=32&t;return!!((128&t?i?r?n[e+7]:n[e+6]:r?n[e+5]:n[e+4]:i?r?n[e+3]:n[e+2]:r?n[e+1]:n[e])&1<1?e-1:0),i=1;i";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}}}]),t}(),or=function(){function t(e){if(_(this,t),this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return b(t,[{key:"getInertBodyElement",value:function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;var n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(t){for(var e=t.attributes,n=e.length-1;0"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();vr.hasOwnProperty(e)&&!fr.hasOwnProperty(e)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(Cr(t))}},{key:"checkClobberedElement",value:function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(t.outerHTML));return e}}]),t}(),Sr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Mr=/([^\#-~ |!])/g;function Cr(t){return t.replace(/&/g,"&").replace(Sr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(Mr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}function xr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Dr=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}({});function Lr(t){var e,n=(e=Cn())&&e[12];return n?n.sanitize(Dr.URL,t)||"":tr(t,"URL")?Xi(t):ur(_i(t))}function Tr(t,e){t.__ngContext__=e}function Pr(t){throw new Error("Multiple components match node with tagname ".concat(t.tagName))}function Or(){throw new Error("Cannot mix multi providers and regular providers")}function Er(t,e,n){for(var i=t.length;;){var r=t.indexOf(e,n);if(-1===r)return r;if(0===r||t.charCodeAt(r-1)<=32){var a=e.length;if(r+a===i||t.charCodeAt(r+a)<=32)return r}n=r+1}}function Ir(t,e,n){for(var i=0;ia?"":r[c+1].toLowerCase();var h=8&i?d:null;if(h&&-1!==Er(h,u,0)||2&i&&u!==d){if(Rr(i))return!1;o=!0}}}}else{if(!o&&!Rr(i)&&!Rr(l))return!1;if(o&&Rr(l))continue;o=!1,i=l|1&i}}return Rr(i)||o}function Rr(t){return 0==(1&t)}function Nr(t,e,n,i){if(null===e)return-1;var r=0;if(i||!n){for(var a=!1;r-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],i=0;i0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||Rr(o)||(e+=Br(a,r),r=""),i=o,a=a||!Rr(i);n++}return""!==r&&(e+=Br(a,r)),e}var zr={};function Wr(t){var e=t[3];return Je(e)?e[3]:e}function Ur(t){return Gr(t[13])}function qr(t){return Gr(t[4])}function Gr(t){for(;null!==t&&!Je(t);)t=t[4];return t}function Kr(t){Jr(xn(),Cn(),$n()+t,En())}function Jr(t,e,n,i){if(!i)if(3==(3&e[2])){var r=t.preOrderCheckHooks;null!==r&&ii(e,r,n)}else{var a=t.preOrderHooks;null!==a&&ri(e,a,0,n)}Qn(n)}function Zr(t,e){return t<<17|e<<2}function $r(t){return t>>17&32767}function Qr(t){return 2|t}function Xr(t){return(131068&t)>>2}function ta(t,e){return-131069&t|e<<2}function ea(t){return 1|t}function na(t,e){var n=t.contentQueries;if(null!==n)for(var i=0;i20&&Jr(t,e,0,En()),n(i,r)}finally{Qn(a)}}function ca(t,e,n){if(Ze(e))for(var i=e.directiveEnd,r=e.directiveStart;r2&&void 0!==arguments[2]?arguments[2]:fn,i=e.localNames;if(null!==i)for(var r=e.index+1,a=0;a0&&function t(e){for(var n=Ur(e);null!==n;n=qr(n))for(var i=10;i0&&t(r)}var o=e[1].components;if(null!==o)for(var s=0;s0&&t(l)}}(n)}}function Ia(t,e){var n=gn(e,t),i=n[1];!function(t,e){for(var n=e.length;n0&&(t[n-1][4]=i[4]);var a=xe(t,10+e);Ja(i[1],i,!1,null);var o=a[19];null!==o&&o.detachView(a[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}}function Qa(t,e){if(!(256&e[2])){var n=e[11];un(n)&&n.destroyNode&&co(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return to(t[1],t);for(;e;){var n=null;if(Ke(e))n=e[13];else{var i=e[10];i&&(n=i)}if(!n){for(;e&&!e[4]&&e!==t;)Ke(e)&&to(e[1],e),e=Xa(e,t);null===e&&(e=t),Ke(e)&&to(e[1],e),n=e&&e[4]}e=n}}(e)}}function Xa(t,e){var n;return Ke(t)&&(n=t[6])&&2===n.type?Ua(n,t):t[3]===e?null:t[3]}function to(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var i=0;i=0?i[s]():i[-s].unsubscribe(),r+=2}else n[r].call(i[n[r+1]]);e[7]=null}}(t,e);var n=e[6];n&&3===n.type&&un(e[11])&&e[11].destroy();var i=e[17];if(null!==i&&Je(e[3])){i!==e[3]&&Za(i,e);var r=e[19];null!==r&&r.detachView(t)}}}function eo(t,e,n){for(var i=e.parent;null!=i&&(4===i.type||5===i.type);)i=(e=i).parent;if(null==i){var r=n[6];return 2===r.type?qa(r,n):n[0]}if(e&&5===e.type&&4&e.flags)return fn(e,n).parentNode;if(2&i.flags){var a=t.data,o=a[a[i.index].directiveStart].encapsulation;if(o!==Ee.ShadowDom&&o!==Ee.Native)return null}return fn(i,n)}function no(t,e,n,i){un(t)?t.insertBefore(e,n,i):e.insertBefore(n,i,!0)}function io(t,e,n){un(t)?t.appendChild(e,n):e.appendChild(n)}function ro(t,e,n,i){null!==i?no(t,e,n,i):io(t,e,n)}function ao(t,e){return un(t)?t.parentNode(e):e.parentNode}function oo(t,e){if(2===t.type){var n=Ua(t,e);return null===n?null:lo(n.indexOf(e,10)-10,n)}return 4===t.type||5===t.type?fn(t,e):null}function so(t,e,n,i){var r=eo(t,i,e);if(null!=r){var a=e[11],o=oo(i.parent||e[6],e);if(Array.isArray(n))for(var s=0;s-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Qa(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){ma(this._lView[1],this._lView,null,t)}},{key:"markForCheck",value:function(){Ya(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Fa(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){In(!0);try{Fa(t,e,n)}finally{In(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,co(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}},{key:"rootNodes",get:function(){var t=this._lView;return null==t[0]?function t(e,n,i,r){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==i;){var o=n[i.index];if(null!==o&&r.push(dn(o)),Je(o))for(var s=10;s0;)this.remove(this.length-1)}},{key:"get",value:function(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}},{key:"createEmbeddedView",value:function(t,e,n){var i=t.createEmbeddedView(e||{});return this.insert(i,n),i}},{key:"createComponent",value:function(t,e,n,i,r){var a=n||this.parentInjector;if(!r&&null==t.ngModule&&a){var o=a.get(we,null);o&&(r=o)}var s=t.create(a,i,void 0,r);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,e){var n=t._lView,i=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Je(n[3])){var r=this.indexOf(t);if(-1!==r)this.detach(r);else{var a=n[3],o=new _o(a,a[6],a[3]);o.detach(o.indexOf(t))}}var s=this._adjustIndex(e);return function(t,e,n,i){var r=10+i,a=n.length;i>0&&(n[r-1][4]=e),i1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return ko(e,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new ji(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var t=Pi(this._hostTNode,this._hostView),e=vi(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var i=n.parent.injectorIndex,r=n.parent;null!=r.parent&&i==r.parent.injectorIndex;)r=r.parent;return r}for(var a=gi(t),o=e,s=e[6];a>1;)s=(o=o[15])[6],a--;return s}(t,this._hostView,this._hostTNode);return pi(t)&&null!=n?new ji(n,e):new ji(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),i}(t));var a=i[n.index];if(Je(a))r=a;else{var o;if(4===n.type)o=dn(a);else if(o=i[11].createComment(""),tn(i)){var s=i[11],l=fn(n,i);no(s,ao(s,l),o,function(t,e){return un(t)?t.nextSibling(e):e.nextSibling}(s,l))}else so(i[1],i,o,n);i[n.index]=r=Oa(a,i,o,n),Aa(i,r)}return new _o(r,n,i)}function Mo(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Co(Ln(),Cn(),t)}function Co(t,e,n){if(!n&&$e(t)){var i=gn(t.index,e);return new yo(i,i)}return 3===t.type||0===t.type||4===t.type||5===t.type?new yo(e[16],e):null}var xo=function(){var t=function t(){_(this,t)};return t.__NG_ELEMENT_ID__=function(){return Do()},t}(),Do=Mo,Lo=Function,To=new se("Set Injector scope."),Po={},Oo={},Eo=[],Io=void 0;function Ao(){return void 0===Io&&(Io=new be),Io}function Yo(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new Fo(t,n,e||Ao(),i)}var Fo=function(){function t(e,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_(this,t),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&Me(n,(function(t){return r.processProvider(t,e,n)})),Me([e],(function(t){return r.processInjectorType(t,[],o)})),this.records.set(le,Ho(void 0,this));var s=this.records.get(To);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof e?null:Vt(e))}return b(t,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(t){return t.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ue,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Tt.Default;this.assertNotDestroyed();var i=fe(this);try{if(!(n&Tt.SkipSelf)){var r=this.records.get(t);if(void 0===r){var a=Vo(t)&&At(t);r=a&&this.injectableDefInScope(a)?Ho(Ro(t),Po):null,this.records.set(t,r)}if(null!=r)return this.hydrate(t,r)}var o=n&Tt.Self?Ao():this.parent;return o.get(t,e=n&Tt.Optional&&e===ue?null:e)}catch(l){if("NullInjectorError"===l.name){var s=l.ngTempTokenPath=l.ngTempTokenPath||[];if(s.unshift(Vt(t)),i)throw l;return ke(l,t,"R3InjectorError",this.source)}throw l}finally{fe(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach((function(e){return t.get(e)}))}},{key:"toString",value:function(){var t=[];return this.records.forEach((function(e,n){return t.push(Vt(n))})),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var i=this;if(!(t=qt(t)))return!1;var r=Ft(t),a=null==r&&t.ngModule||void 0,o=void 0===a?t:a,s=-1!==n.indexOf(o);if(void 0!==a&&(r=Ft(a)),null==r)return!1;if(null!=r.imports&&!s){var l;n.push(o);try{Me(r.imports,(function(t){i.processInjectorType(t,e,n)&&(void 0===l&&(l=[]),l.push(t))}))}finally{}if(void 0!==l)for(var u=function(t){var e=l[t],n=e.ngModule,r=e.providers;Me(r,(function(t){return i.processProvider(t,n,r||Eo)}))},c=0;c0){var n=De(e,"?");throw new Error("Can't resolve all parameters for ".concat(Vt(t),": (").concat(n.join(", "),")."))}var i=function(t){var e=t&&(t[Rt]||t[jt]||t[Ht]&&t[Ht]());if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(n,'" class.')),e}return null}(t);return null!==i?function(){return i.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function No(t,e,n){var i,r=void 0;if(Bo(t)){var a=qt(t);return qe(a)||Ro(a)}if(jo(t))r=function(){return qt(t.useValue)};else if((i=t)&&i.useFactory)r=function(){return t.useFactory.apply(t,u(ye(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))r=function(){return ge(qt(t.useExisting))};else{var o=qt(t&&(t.useClass||t.provide));if(o||function(t,e,n){var i="";if(t&&e){var r=e.map((function(t){return t==n?"?"+n+"?":"..."}));i=" - only instances of Provider and Type are allowed, got: [".concat(r.join(", "),"]")}throw new Error("Invalid provider for the NgModule '".concat(Vt(t),"'")+i)}(e,n,t),!function(t){return!!t.deps}(t))return qe(o)||Ro(o);r=function(){return k(o,u(ye(t.deps)))}}return r}function Ho(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function jo(t){return null!==t&&"object"==typeof t&&de in t}function Bo(t){return"function"==typeof t}function Vo(t){return"function"==typeof t||"object"==typeof t&&t instanceof se}var zo=function(t,e,n){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=Yo(t,e,n,i);return r._resolveInjectorDefTypes(),r}({name:n},e,t,n)},Wo=function(){var t=function(){function t(){_(this,t)}return b(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?zo(t,e,""):zo(t.providers,t.parent,t.name||"")}}]),t}();return t.THROW_IF_NOT_FOUND=ue,t.NULL=new be,t.\u0275prov=Et({token:t,providedIn:"any",factory:function(){return ge(le)}}),t.__NG_ELEMENT_ID__=-1,t}(),Uo=new se("AnalyzeForEntryComponents");function qo(t,e,n){var i=n?t.styles:null,r=n?t.classes:null,a=0;if(null!==e)for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:Tt.Default,n=Cn();if(null==n)return ge(t,e);var i=Ln();return Ei(i,n,qt(t),e)}function os(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;var n=t.attrs;if(n)for(var i=n.length,r=0;r2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=Cn(),a=xn(),o=Ln();return ks(a,r,r[11],o,t,e,n,i),_s}function ys(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=Ln(),a=Cn(),o=xn(),s=jn(o.data),l=Ba(s,r,a);return ks(o,a,l,r,t,e,n,i),ys}function bs(t,e,n,i){var r=t.cleanup;if(null!=r)for(var a=0;al?s[l]:null}"string"==typeof o&&(a+=2)}return null}function ks(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,l=Qe(i),u=t.firstCreatePass,c=u&&(t.cleanup||(t.cleanup=[])),d=ja(e),h=!0;if(3===i.type){var f=fn(i,e),p=s?s(f):Ie,m=p.target||f,g=d.length,v=s?function(t){return s(dn(t[i.index])).target}:i.index;if(un(n)){var _=null;if(!s&&l&&(_=bs(t,e,r,i.index)),null!==_){var y=_.__ngLastListenerFn__||_;y.__ngNextListenerFn__=a,_.__ngLastListenerFn__=a,h=!1}else{a=Ss(i,e,a,!1);var b=n.listen(p.name||m,r,a);d.push(a,b),c&&c.push(r,v,g,g+1)}}else a=Ss(i,e,a,!0),m.addEventListener(r,a,o),d.push(a),c&&c.push(r,v,g,o)}var k,w=i.outputs;if(h&&null!==w&&(k=w[r])){var S=k.length;if(S)for(var M=0;M0&&void 0!==arguments[0]?arguments[0]:1;return Zn(t)}function Cs(t,e){for(var n=null,i=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=Cn(),r=xn(),a=aa(r,i[6],t,1,null,n||null);null===a.projection&&(a.projection=e),On(),ho(r,i,a)}function Ls(t,e,n){return Ts(t,"",e,"",n),Ls}function Ts(t,e,n,i,r){var a=Cn(),o=ns(a,e,n,i);return o!==zr&&_a(xn(),Xn(),a,t,o,a[11],r,!1),Ts}var Ps=[];function Os(t,e,n,i,r){for(var a=t[n+1],o=null===e,s=i?$r(a):Xr(a),l=!1;0!==s&&(!1===l||o);){var u=t[s+1];Es(t[s],e)&&(l=!0,t[s+1]=i?ea(u):Qr(u)),s=i?$r(u):Xr(u)}l&&(t[n+1]=i?Qr(a):ea(a))}function Es(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&Pe(t,e)>=0}var Is={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function As(t){return t.substring(Is.key,Is.keyEnd)}function Ys(t){return t.substring(Is.value,Is.valueEnd)}function Fs(t,e){var n=Is.textEnd;return n===e?-1:(e=Is.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,Is.key=e,n),Hs(t,e,n))}function Rs(t,e){var n=Is.textEnd,i=Is.key=Hs(t,e,n);return n===i?-1:(i=Is.keyEnd=function(t,e,n){for(var i;e=65&&(-33&i)<=90);)e++;return e}(t,i,n),i=js(t,i,n),i=Is.value=Hs(t,i,n),i=Is.valueEnd=function(t,e,n){for(var i=-1,r=-1,a=-1,o=e,s=o;o32&&(s=o),a=r,r=i,i=-33&l}return s}(t,i,n),js(t,i,n))}function Ns(t){Is.key=0,Is.keyEnd=0,Is.value=0,Is.valueEnd=0,Is.textEnd=t.length}function Hs(t,e,n){for(;e=0;n=Rs(e,n))tl(t,As(e),Ys(e))}function qs(t){Js(Le,Gs,t,!0)}function Gs(t,e){for(var n=function(t){return Ns(t),Fs(t,Hs(t,0,Is.textEnd))}(e);n>=0;n=Fs(e,n))Le(t,As(e),!0)}function Ks(t,e,n,i){var r=Cn(),a=xn(),o=Rn(2);a.firstUpdatePass&&$s(a,t,o,i),e!==zr&&Xo(r,o,e)&&el(a,a.data[$n()+20],r,r[11],t,r[o+1]=function(t,e){return null==t||("string"==typeof e?t+=e:"object"==typeof t&&(t=Vt(Xi(t)))),t}(e,n),i,o)}function Js(t,e,n,i){var r=xn(),a=Rn(2);r.firstUpdatePass&&$s(r,null,a,i);var o=Cn();if(n!==zr&&Xo(o,a,n)){var s=r.data[$n()+20];if(rl(s,i)&&!Zs(r,a)){var l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(n=zt(l,n||"")),ls(r,s,o,n,i)}else!function(t,e,n,i,r,a,o,s){r===zr&&(r=Ps);for(var l=0,u=0,c=0=t.expandoStartIndex}function $s(t,e,n,i){var r=t.data;if(null===r[n+1]){var a=r[$n()+20],o=Zs(t,n);rl(a,i)&&null===e&&!o&&(e=!1),e=function(t,e,n,i){var r=jn(t),a=i?e.residualClasses:e.residualStyles;if(null===r)0===(i?e.classBindings:e.styleBindings)&&(n=Xs(n=Qs(null,t,e,n,i),e.attrs,i),a=null);else{var o=e.directiveStylingLast;if(-1===o||t[o]!==r)if(n=Qs(r,t,e,n,i),null===a){var s=function(t,e,n){var i=n?e.classBindings:e.styleBindings;if(0!==Xr(i))return t[$r(i)]}(t,e,i);void 0!==s&&Array.isArray(s)&&function(t,e,n,i){t[$r(n?e.classBindings:e.styleBindings)]=i}(t,e,i,s=Xs(s=Qs(null,t,e,s[1],i),e.attrs,i))}else a=function(t,e,n){for(var i=void 0,r=e.directiveEnd,a=1+e.directiveStylingLast;a0)&&(c=!0):u=n,r)if(0!==l){var d=$r(t[s+1]);t[i+1]=Zr(d,s),0!==d&&(t[d+1]=ta(t[d+1],i)),t[s+1]=131071&t[s+1]|i<<17}else t[i+1]=Zr(s,0),0!==s&&(t[s+1]=ta(t[s+1],i)),s=i;else t[i+1]=Zr(l,0),0===s?s=i:t[l+1]=ta(t[l+1],i),l=i;c&&(t[i+1]=Qr(t[i+1])),Os(t,u,i,!0),Os(t,u,i,!1),function(t,e,n,i,r){var a=r?t.residualClasses:t.residualStyles;null!=a&&"string"==typeof e&&Pe(a,e)>=0&&(n[i+1]=ea(n[i+1]))}(e,u,t,i,a),o=Zr(s,l),a?e.classBindings=o:e.styleBindings=o}(r,a,e,n,o,i)}}function Qs(t,e,n,i,r){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var l=t[r],u=Array.isArray(l),c=u?l[1]:l,d=null===c,h=n[r+1];h===zr&&(h=d?Ps:void 0);var f=d?Te(h,i):c===i?h:void 0;if(u&&!il(f)&&(f=Te(l,i)),il(f)&&(s=f,o))return s;var p=t[r+1];r=o?$r(p):Xr(p)}if(null!==e){var m=a?e.residualClasses:e.residualStyles;null!=m&&(s=Te(m,i))}return s}function il(t){return void 0!==t}function rl(t,e){return 0!=(t.flags&(e?16:32))}function al(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Cn(),i=xn(),r=t+20,a=i.firstCreatePass?aa(i,n[6],t,3,null,null):i.data[r],o=n[r]=Ka(e,n[11]);so(i,n,o,a),Tn(a,!1)}function ol(t){return sl("",t,""),ol}function sl(t,e,n){var i=Cn(),r=ns(i,t,e,n);return r!==zr&&Wa(i,$n(),r),sl}function ll(t,e,n,i,r){var a=Cn(),o=function(t,e,n,i,r,a){var o=ts(t,Yn(),n,r);return Rn(2),o?e+_i(n)+i+_i(r)+a:zr}(a,t,e,n,i,r);return o!==zr&&Wa(a,$n(),o),ll}function ul(t,e,n,i,r,a,o){var s=Cn(),l=function(t,e,n,i,r,a,o,s){var l=function(t,e,n,i,r){var a=ts(t,e,n,i);return Xo(t,e+2,r)||a}(t,Yn(),n,r,o);return Rn(3),l?e+_i(n)+i+_i(r)+a+_i(o)+s:zr}(s,t,e,n,i,r,a,o);return l!==zr&&Wa(s,$n(),l),ul}function cl(t,e,n,i,r,a,o,s,l){var u=Cn(),c=function(t,e,n,i,r,a,o,s,l,u){var c=function(t,e,n,i,r,a){var o=ts(t,e,n,i);return ts(t,e+2,r,a)||o}(t,Yn(),n,r,o,l);return Rn(4),c?e+_i(n)+i+_i(r)+a+_i(o)+s+_i(l)+u:zr}(u,t,e,n,i,r,a,o,s,l);return c!==zr&&Wa(u,$n(),c),cl}function dl(t,e,n){var i=Cn();return Xo(i,Fn(),e)&&_a(xn(),Xn(),i,t,e,i[11],n,!0),dl}function hl(t,e,n){var i=Cn();if(Xo(i,Fn(),e)){var r=xn(),a=Xn();_a(r,a,i,t,e,Ba(jn(r.data),a,i),n,!0)}return hl}function fl(t,e){var n=vn(t)[1],i=n.data.length-1;ni(n,{directiveStart:i,directiveEnd:i+1})}function pl(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0,i=[t];e;){var r=void 0;if(Xe(t))r=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");r=e.\u0275dir}if(r){if(n){i.push(r);var a=t;a.inputs=ml(t.inputs),a.declaredInputs=ml(t.declaredInputs),a.outputs=ml(t.outputs);var o=r.hostBindings;o&&_l(t,o);var s=r.viewQuery,l=r.contentQueries;if(s&&gl(t,s),l&&vl(t,l),Ot(t.inputs,r.inputs),Ot(t.declaredInputs,r.declaredInputs),Ot(t.outputs,r.outputs),Xe(r)&&r.data.animation){var u=t.data;u.animation=(u.animation||[]).concat(r.data.animation)}}var c=r.features;if(c)for(var d=0;d=0;i--){var r=t[i];r.hostVars=e+=r.hostVars,r.hostAttrs=hi(r.hostAttrs,n=hi(n,r.hostAttrs))}}(i)}function ml(t){return t===Ie?{}:t===Ae?[]:t}function gl(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,i){e(t,i),n(t,i)}:e}function vl(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,i,r){e(t,i,r),n(t,i,r)}:e}function _l(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,i){e(t,i),n(t,i)}:e}function yl(t,e,n){var i=xn();if(i.firstCreatePass){var r=Xe(t);bl(n,i.data,i.blueprint,r,!0),bl(e,i.data,i.blueprint,r,!1)}}function bl(t,e,n,i,r){if(t=qt(t),Array.isArray(t))for(var a=0;a>20;if(Bo(t)||!t.multi){var p=new li(u,r,as),m=Sl(l,e,r?d:d+f,h);-1===m?(Oi(Di(c,s),o,l),kl(o,t,e.length),e.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{var g=Sl(l,e,d+f,h),v=Sl(l,e,d,d+f),_=v>=0&&n[v];if(r&&!_||!r&&!(g>=0&&n[g])){Oi(Di(c,s),o,l);var y=function(t,e,n,i,r){var a=new li(t,n,as);return a.multi=[],a.index=e,a.componentProviders=0,wl(a,r,i&&!n),a}(r?Cl:Ml,n.length,r,i,u);!r&&_&&(n[v].providerFactory=y),kl(o,t,e.length,0),e.push(l),c.directiveStart++,c.directiveEnd++,r&&(c.providerIndexes+=1048576),n.push(y),s.push(y)}else kl(o,t,g>-1?g:v,wl(n[r?v:g],u,!r&&i));!r&&i&&_&&n[v].componentProviders++}}}function kl(t,e,n,i){var r=Bo(e);if(r||e.useClass){var a=(e.useClass||e).prototype.ngOnDestroy;if(a){var o=t.destroyHooks||(t.destroyHooks=[]);if(!r&&e.multi){var s=o.indexOf(n);-1===s?o.push(n,[i,a]):o[s+1].push(i,a)}else o.push(n,a)}}}function wl(t,e,n){return n&&t.componentProviders++,t.multi.push(e)-1}function Sl(t,e,n,i){for(var r=n;r1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return yl(n,i?i(t):t,e)}}}var Ll=function t(){_(this,t)},Tl=function t(){_(this,t)},Pl=function(){function t(){_(this,t)}return b(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(Vt(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),Ol=function(){var t=function t(){_(this,t)};return t.NULL=new Pl,t}(),El=function(){var t=function t(e){_(this,t),this.nativeElement=e};return t.__NG_ELEMENT_ID__=function(){return Il(t)},t}(),Il=function(t){return ko(t,Ln(),Cn())},Al=function t(){_(this,t)},Yl=function(t){return t[t.Important=1]="Important",t[t.DashCase=2]="DashCase",t}({}),Fl=function(){var t=function t(){_(this,t)};return t.__NG_ELEMENT_ID__=function(){return Rl()},t}(),Rl=function(){var t=Cn(),e=gn(Ln().index,t);return function(t){var e=t[11];if(un(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Ke(e)?e:t)},Nl=function(){var t=function t(){_(this,t)};return t.\u0275prov=Et({token:t,providedIn:"root",factory:function(){return null}}),t}(),Hl=function t(e){_(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},jl=new Hl("10.0.7"),Bl=function(){function t(){_(this,t)}return b(t,[{key:"supports",value:function(t){return Zo(t)}},{key:"create",value:function(t){return new zl(t)}}]),t}(),Vl=function(t,e){return e},zl=function(){function t(e){_(this,t),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Vl}return b(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,i=0,r=null;e||n;){var a=!n||e&&e.currentIndex0&&mo(u,d,y.join(" "))}if(a=pn(p,0),void 0!==e)for(var b=a.projection=[],k=0;k ".concat(null," ").concat("!="," ").concat(e," <=Actual]"))}(n,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}var yu=new Map,bu=function(t){f(n,t);var e=v(n);function n(t,i){var r;_(this,n),(r=e.call(this))._parent=i,r._bootstrapComponents=[],r.injector=a(r),r.destroyCbs=[],r.componentFactoryResolver=new su(a(r));var o=Ge(t),s=t[re]||null;return s&&_u(s),r._bootstrapComponents=Si(o.bootstrap),r._r3Injector=Yo(t,i,[{provide:we,useValue:a(r)},{provide:Ol,useValue:r.componentFactoryResolver}],Vt(t)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(t),r}return b(n,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Wo.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Tt.Default;return t===Wo||t===we||t===le?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),n}(we),ku=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this)).moduleType=t,null!==Ge(t)&&function t(e){if(null!==e.\u0275mod.id){var n=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(Vt(e)," vs ").concat(Vt(e.name)))})(n,yu.get(n),e),yu.set(n,e)}var i=e.\u0275mod.imports;i instanceof Function&&(i=i()),i&&i.forEach((function(e){return t(e)}))}(t),i}return b(n,[{key:"create",value:function(t){return new bu(this.moduleType,t)}}]),n}(Se);function wu(t,e,n){var i=An()+t,r=Cn();return r[i]===zr?Qo(r,i,n?e.call(n):e()):function(t,e){return t[e]}(r,i)}function Su(t,e,n,i){return xu(Cn(),An(),t,e,n,i)}function Mu(t,e,n,i,r){return Du(Cn(),An(),t,e,n,i,r)}function Cu(t,e){var n=t[e];return n===zr?void 0:n}function xu(t,e,n,i,r,a){var o=e+n;return Xo(t,o,r)?Qo(t,o+1,a?i.call(a,r):i(r)):Cu(t,o+1)}function Du(t,e,n,i,r,a,o){var s=e+n;return ts(t,s,r,a)?Qo(t,s+2,o?i.call(o,r,a):i(r,a)):Cu(t,s+2)}function Lu(t,e){var n,i=xn(),r=t+20;i.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var i=e[n];if(t===i.name)return i}throw new Error("The pipe '".concat(t,"' could not be found!"))}(e,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var a=n.factory||(n.factory=qe(n.type)),o=pe(as),s=Ci(!1),l=a();return Ci(s),pe(o),function(t,e,n,i){var r=n+20;r>=t.data.length&&(t.data[r]=null,t.blueprint[r]=null),e[r]=i}(i,Cn(),t,l),l}function Tu(t,e,n){var i=Cn(),r=mn(i,t);return Eu(i,Ou(i,t)?xu(i,An(),e,r.transform,n,r):r.transform(n))}function Pu(t,e,n,i){var r=Cn(),a=mn(r,t);return Eu(r,Ou(r,t)?Du(r,An(),e,a.transform,n,i,a):a.transform(n,i))}function Ou(t,e){return t[1].data[e+20].pure}function Eu(t,e){return Jo.isWrapped(e)&&(e=Jo.unwrap(e),t[Yn()]=zr),e}var Iu=function(t){f(n,t);var e=v(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _(this,n),(t=e.call(this)).__isAsync=i,t}return b(n,[{key:"emit",value:function(t){r(i(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,a){var o,s=function(t){return null},l=function(){return null};t&&"object"==typeof t?(o=this.__isAsync?function(e){setTimeout((function(){return t.next(e)}))}:function(e){t.next(e)},t.error&&(s=this.__isAsync?function(e){setTimeout((function(){return t.error(e)}))}:function(e){t.error(e)}),t.complete&&(l=this.__isAsync?function(){setTimeout((function(){return t.complete()}))}:function(){t.complete()})):(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)},e&&(s=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)}),a&&(l=this.__isAsync?function(){setTimeout((function(){return a()}))}:function(){a()}));var u=r(i(n.prototype),"subscribe",this).call(this,o,s,l);return t instanceof x&&t.add(u),u}}]),n}(W);function Au(){return this._results[Ko()]()}var Yu=function(){function t(){_(this,t),this.dirty=!0,this._results=[],this.changes=new Iu,this.length=0;var e=Ko(),n=t.prototype;n[e]||(n[e]=Au)}return b(t,[{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t){this._results=function t(e,n){void 0===n&&(n=e);for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:[];_(this,t),this.queries=e}return b(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var i=null!==e.contentQueries?e.contentQueries[0]:n.length,r=[],a=0;a3&&void 0!==arguments[3]?arguments[3]:null;_(this,t),this.predicate=e,this.descendants=n,this.isStatic=i,this.read=r},Hu=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_(this,t),this.queries=e}return b(t,[{key:"elementStart",value:function(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return b(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,i=0;i0)r.push(s[l/2]);else{for(var c=o[l+1],d=n[-u],h=10;h0&&void 0!==arguments[0]?arguments[0]:Tt.Default,e=Mo(!0);if(null!=e||t&Tt.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}var ic=new se("Application Initializer"),rc=function(){var t=function(){function t(e){var n=this;_(this,t),this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(t,e){n.resolve=t,n.reject=e}))}return b(t,[{key:"runInitializers",value:function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var i=0;i0&&(r=setTimeout((function(){i._callbacks=i._callbacks.filter((function(t){return t.timeoutId!==r})),t(i._didWork,i.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Mc))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Ac=function(){var t=function(){function t(){_(this,t),this._applications=new Map,Yc.addToWindow(this)}return b(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Yc.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Yc=new(function(){function t(){_(this,t)}return b(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}()),Fc=function(t,e,n){var i=new ku(n);return Promise.resolve(i)},Rc=new se("AllowMultipleToken"),Nc=function t(e,n){_(this,t),this.name=e,this.token=n};function Hc(t){if(Oc&&!Oc.destroyed&&!Oc.injector.get(Rc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Oc=t.get(zc);var e=t.get(lc,null);return e&&e.forEach((function(t){return t()})),Oc}function jc(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(e),r=new se(i);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=Vc();if(!a||a.injector.get(Rc,!1))if(t)t(n.concat(e).concat({provide:r,useValue:!0}));else{var o=n.concat(e).concat({provide:r,useValue:!0},{provide:To,useValue:"platform"});Hc(Wo.create({providers:o,name:i}))}return Bc(r)}}function Bc(t){var e=Vc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}function Vc(){return Oc&&!Oc.destroyed?Oc:null}var zc=function(){var t=function(){function t(e){_(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return b(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n,i,r=this,a=(i=e&&e.ngZoneEventCoalescing||!1,"noop"===(n=e?e.ngZone:void 0)?new Ec:("zone.js"===n?void 0:n)||new Mc({enableLongStackTrace:rr(),shouldCoalesceEventChangeDetection:i})),o=[{provide:Mc,useValue:a}];return a.run((function(){var e=Wo.create({providers:o,parent:r.injector,name:t.moduleType.name}),n=t.create(e),i=n.injector.get(qi,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return qc(r._modules,n)})),a.runOutsideAngular((function(){return a.onError.subscribe({next:function(t){i.handleError(t)}})})),function(t,e,i){try{var a=((o=n.injector.get(rc)).runInitializers(),o.donePromise.then((function(){return _u(n.injector.get(hc,"en-US")||"en-US"),r._moduleDoBootstrap(n),n})));return gs(a)?a.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):a}catch(s){throw e.runOutsideAngular((function(){return t.handleError(s)})),s}var o}(i,a)}))}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=Wc({},n);return Fc(0,0,t).then((function(t){return e.bootstrapModuleFactory(t,i)}))}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(Uc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(Vt(t.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. ')+"Please define one of these.");t.instance.ngDoBootstrap(e)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Wo))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}();function Wc(t,e){return Array.isArray(e)?e.reduce(Wc,t):Object.assign(Object.assign({},t),e)}var Uc=function(){var t=function(){function t(e,n,i,r,a,o){var s=this;_(this,t),this._zone=e,this._console=n,this._injector=i,this._exceptionHandler=r,this._componentFactoryResolver=a,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=rr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var l=new H((function(t){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){t.next(s._stable),t.complete()}))})),u=new H((function(t){var e;s._zone.runOutsideAngular((function(){e=s._zone.onStable.subscribe((function(){Mc.assertNotInAngularZone(),Sc((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,t.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){Mc.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=ft(l,u.pipe(kt()))}return b(t,[{key:"bootstrap",value:function(t,e){var n,i=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof Tl?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var r=n.isBoundToModule?void 0:this._injector.get(we),a=n.create(Wo.NULL,[],e||n.selector,r);a.onDestroy((function(){i._unloadComponent(a)}));var o=a.injector.get(Ic,null);return o&&a.injector.get(Ac).registerApplication(a.location.nativeElement,o),this._loadComponent(a),rr()&&this._console.log("Angular is running in development mode. Call enableProdMode() to enable production mode."),a}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=d(this._views);try{for(n.s();!(e=n.n()).done;)e.value.detectChanges()}catch(a){n.e(a)}finally{n.f()}if(this._enforceNoNewChanges){var i,r=d(this._views);try{for(r.s();!(i=r.n()).done;)i.value.checkNoChanges()}catch(a){r.e(a)}finally{r.f()}}}catch(o){this._zone.runOutsideAngular((function(){return t._exceptionHandler.handleError(o)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;qc(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(cc,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))}},{key:"_unloadComponent",value:function(t){this.detachView(t.hostView),qc(this.components,t)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(t){return t.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Mc),ge(dc),ge(Wo),ge(qi),ge(Ol),ge(rc))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}();function qc(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Gc=function t(){_(this,t)},Kc=function t(){_(this,t)},Jc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Zc=function(){var t=function(){function t(e,n){_(this,t),this._compiler=e,this._config=n||Jc}return b(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,i=l(t.split("#"),2),r=i[0],a=i[1];return void 0===a&&(a="default"),n("crnd")(r).then((function(t){return t[a]})).then((function(t){return $c(t,r,a)})).then((function(t){return e._compiler.compileModuleAsync(t)}))}},{key:"loadFactory",value:function(t){var e=l(t.split("#"),2),i=e[0],r=e[1],a="NgFactory";return void 0===r&&(r="default",a=""),n("crnd")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(t){return t[r+a]})).then((function(t){return $c(t,i,r)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(kc),ge(Kc,8))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}();function $c(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var Qc=jc(null,"core",[{provide:uc,useValue:"unknown"},{provide:zc,deps:[Wo]},{provide:Ac,deps:[]},{provide:dc,deps:[]}]),Xc=[{provide:Uc,useClass:Uc,deps:[Mc,dc,Wo,qi,Ol,rc]},{provide:uu,deps:[Mc],useFactory:function(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}},{provide:rc,useClass:rc,deps:[[new xt,ic]]},{provide:kc,useClass:kc,deps:[]},oc,{provide:$l,useFactory:function(){return tu},deps:[]},{provide:Ql,useFactory:function(){return eu},deps:[]},{provide:hc,useFactory:function(t){return _u(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new Ct(hc),new xt,new Lt]]},{provide:fc,useValue:"USD"}],td=function(){var t=function t(e){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)(ge(Uc))},providers:Xc}),t}(),ed=null;function nd(){return ed}var id=function t(){_(this,t)},rd=new se("DocumentToken"),ad=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Et({factory:od,token:t,providedIn:"platform"}),t}();function od(){return ge(ld)}var sd=new se("Location Initialized"),ld=function(){var t=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this))._doc=t,i._init(),i}return b(n,[{key:"_init",value:function(){this.location=nd().getLocation(),this._history=nd().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return nd().getBaseHref(this._doc)}},{key:"onPopState",value:function(t){nd().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}},{key:"onHashChange",value:function(t){nd().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}},{key:"pushState",value:function(t,e,n){ud()?this._history.pushState(t,e,n):this.location.hash=n}},{key:"replaceState",value:function(t,e,n){ud()?this._history.replaceState(t,e,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(t){this.location.pathname=t}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(ad);return t.\u0275fac=function(e){return new(e||t)(ge(rd))},t.\u0275prov=Et({factory:cd,token:t,providedIn:"platform"}),t}();function ud(){return!!window.history.pushState}function cd(){return new ld(ge(rd))}function dd(t,e){if(0==t.length)return e;if(0==e.length)return t;var n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function hd(t){var e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function fd(t){return t&&"?"!==t[0]?"?"+t:t}var pd=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Et({factory:md,token:t,providedIn:"root"}),t}();function md(t){var e=ge(rd).location;return new vd(ge(ad),e&&e.origin||"")}var gd=new se("appBaseHref"),vd=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;if(_(this,n),(r=e.call(this))._platformLocation=t,null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return r._baseHref=i,r}return b(n,[{key:"onPopState",value:function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(t){return dd(this._baseHref,t)}},{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+fd(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+fd(i));this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+fd(i));this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(pd);return t.\u0275fac=function(e){return new(e||t)(ge(ad),ge(gd,8))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),_d=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._platformLocation=t,r._baseHref="",null!=i&&(r._baseHref=i),r}return b(n,[{key:"onPopState",value:function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=dd(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+fd(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(t,e,r)}},{key:"replaceState",value:function(t,e,n,i){var r=this.prepareExternalUrl(n+fd(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(pd);return t.\u0275fac=function(e){return new(e||t)(ge(ad),ge(gd,8))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),yd=function(){var t=function(){function t(e,n){var i=this;_(this,t),this._subject=new Iu,this._urlChangeListeners=[],this._platformStrategy=e;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=hd(kd(r)),this._platformStrategy.onPopState((function(t){i._subject.emit({url:i.path(!0),pop:!0,state:t.state,type:t.type})}))}return b(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+fd(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,kd(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+fd(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+fd(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe((function(t){e._notifyUrlChangeListeners(t.url,t.state)})))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(t,e)}))}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(pd),ge(ad))},t.normalizeQueryParams=fd,t.joinWithSlash=dd,t.stripTrailingSlash=hd,t.\u0275prov=Et({factory:bd,token:t,providedIn:"root"}),t}();function bd(){return new yd(ge(pd),ge(ad))}function kd(t){return t.replace(/\/index.html$/,"")}var wd={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},Sd=function(t){return t[t.Decimal=0]="Decimal",t[t.Percent=1]="Percent",t[t.Currency=2]="Currency",t[t.Scientific=3]="Scientific",t}({}),Md=function(t){return t[t.Zero=0]="Zero",t[t.One=1]="One",t[t.Two=2]="Two",t[t.Few=3]="Few",t[t.Many=4]="Many",t[t.Other=5]="Other",t}({}),Cd=function(t){return t[t.Format=0]="Format",t[t.Standalone=1]="Standalone",t}({}),xd=function(t){return t[t.Narrow=0]="Narrow",t[t.Abbreviated=1]="Abbreviated",t[t.Wide=2]="Wide",t[t.Short=3]="Short",t}({}),Dd=function(t){return t[t.Short=0]="Short",t[t.Medium=1]="Medium",t[t.Long=2]="Long",t[t.Full=3]="Full",t}({}),Ld=function(t){return t[t.Decimal=0]="Decimal",t[t.Group=1]="Group",t[t.List=2]="List",t[t.PercentSign=3]="PercentSign",t[t.PlusSign=4]="PlusSign",t[t.MinusSign=5]="MinusSign",t[t.Exponential=6]="Exponential",t[t.SuperscriptingExponent=7]="SuperscriptingExponent",t[t.PerMille=8]="PerMille",t[t[1/0]=9]="Infinity",t[t.NaN=10]="NaN",t[t.TimeSeparator=11]="TimeSeparator",t[t.CurrencyDecimal=12]="CurrencyDecimal",t[t.CurrencyGroup=13]="CurrencyGroup",t}({});function Td(t,e){return Fd(mu(t)[vu.DateFormat],e)}function Pd(t,e){return Fd(mu(t)[vu.TimeFormat],e)}function Od(t,e){return Fd(mu(t)[vu.DateTimeFormat],e)}function Ed(t,e){var n=mu(t),i=n[vu.NumberSymbols][e];if(void 0===i){if(e===Ld.CurrencyDecimal)return n[vu.NumberSymbols][Ld.Decimal];if(e===Ld.CurrencyGroup)return n[vu.NumberSymbols][Ld.Group]}return i}function Id(t,e){return mu(t)[vu.NumberFormats][e]}function Ad(t){return mu(t)[vu.Currencies]}function Yd(t){if(!t[vu.ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(t[vu.LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function Fd(t,e){for(var n=e;n>-1;n--)if(void 0!==t[n])return t[n];throw new Error("Locale data API: locale data undefined")}function Rd(t){var e=l(t.split(":"),2);return{hours:+e[0],minutes:+e[1]}}function Nd(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",i=Ad(n)[t]||wd[t]||[],r=i[1];return"narrow"===e&&"string"==typeof r?r:i[0]||t}var Hd=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,jd={},Bd=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Vd=function(t){return t[t.Short=0]="Short",t[t.ShortGMT=1]="ShortGMT",t[t.Long=2]="Long",t[t.Extended=3]="Extended",t}({}),zd=function(t){return t[t.FullYear=0]="FullYear",t[t.Month=1]="Month",t[t.Date=2]="Date",t[t.Hours=3]="Hours",t[t.Minutes=4]="Minutes",t[t.Seconds=5]="Seconds",t[t.FractionalSeconds=6]="FractionalSeconds",t[t.Day=7]="Day",t}({}),Wd=function(t){return t[t.DayPeriods=0]="DayPeriods",t[t.Days=1]="Days",t[t.Months=2]="Months",t[t.Eras=3]="Eras",t}({});function Ud(t,e,n,i){var r=function(t){if(ah(t))return t;if("number"==typeof t&&!isNaN(t))return new Date(t);if("string"==typeof t){t=t.trim();var e,n=parseFloat(t);if(!isNaN(t-n))return new Date(n);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(t)){var i=l(t.split("-").map((function(t){return+t})),3);return new Date(i[0],i[1]-1,i[2])}if(e=t.match(Hd))return function(t){var e=new Date(0),n=0,i=0,r=t[8]?e.setUTCFullYear:e.setFullYear,a=t[8]?e.setUTCHours:e.setHours;t[9]&&(n=Number(t[9]+t[10]),i=Number(t[9]+t[11])),r.call(e,Number(t[1]),Number(t[2])-1,Number(t[3]));var o=Number(t[4]||0)-n,s=Number(t[5]||0)-i,l=Number(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return a.call(e,o,s,l,u),e}(e)}var r=new Date(t);if(!ah(r))throw new Error('Unable to convert "'.concat(t,'" into a date'));return r}(t);e=function t(e,n){var i=function(t){return mu(t)[vu.LocaleId]}(e);if(jd[i]=jd[i]||{},jd[i][n])return jd[i][n];var r="";switch(n){case"shortDate":r=Td(e,Dd.Short);break;case"mediumDate":r=Td(e,Dd.Medium);break;case"longDate":r=Td(e,Dd.Long);break;case"fullDate":r=Td(e,Dd.Full);break;case"shortTime":r=Pd(e,Dd.Short);break;case"mediumTime":r=Pd(e,Dd.Medium);break;case"longTime":r=Pd(e,Dd.Long);break;case"fullTime":r=Pd(e,Dd.Full);break;case"short":var a=t(e,"shortTime"),o=t(e,"shortDate");r=qd(Od(e,Dd.Short),[a,o]);break;case"medium":var s=t(e,"mediumTime"),l=t(e,"mediumDate");r=qd(Od(e,Dd.Medium),[s,l]);break;case"long":var u=t(e,"longTime"),c=t(e,"longDate");r=qd(Od(e,Dd.Long),[u,c]);break;case"full":var d=t(e,"fullTime"),h=t(e,"fullDate");r=qd(Od(e,Dd.Full),[d,h])}return r&&(jd[i][n]=r),r}(n,e)||e;for(var a,o=[];e;){if(!(a=Bd.exec(e))){o.push(e);break}var s=(o=o.concat(a.slice(1))).pop();if(!s)break;e=s}var u=r.getTimezoneOffset();i&&(u=rh(i,u),r=function(t,e,n){var i=t.getTimezoneOffset();return function(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}(t,-1*(rh(e,i)-i))}(r,i));var c="";return o.forEach((function(t){var e=function(t){if(ih[t])return ih[t];var e;switch(t){case"G":case"GG":case"GGG":e=$d(Wd.Eras,xd.Abbreviated);break;case"GGGG":e=$d(Wd.Eras,xd.Wide);break;case"GGGGG":e=$d(Wd.Eras,xd.Narrow);break;case"y":e=Jd(zd.FullYear,1,0,!1,!0);break;case"yy":e=Jd(zd.FullYear,2,0,!0,!0);break;case"yyy":e=Jd(zd.FullYear,3,0,!1,!0);break;case"yyyy":e=Jd(zd.FullYear,4,0,!1,!0);break;case"M":case"L":e=Jd(zd.Month,1,1);break;case"MM":case"LL":e=Jd(zd.Month,2,1);break;case"MMM":e=$d(Wd.Months,xd.Abbreviated);break;case"MMMM":e=$d(Wd.Months,xd.Wide);break;case"MMMMM":e=$d(Wd.Months,xd.Narrow);break;case"LLL":e=$d(Wd.Months,xd.Abbreviated,Cd.Standalone);break;case"LLLL":e=$d(Wd.Months,xd.Wide,Cd.Standalone);break;case"LLLLL":e=$d(Wd.Months,xd.Narrow,Cd.Standalone);break;case"w":e=nh(1);break;case"ww":e=nh(2);break;case"W":e=nh(1,!0);break;case"d":e=Jd(zd.Date,1);break;case"dd":e=Jd(zd.Date,2);break;case"E":case"EE":case"EEE":e=$d(Wd.Days,xd.Abbreviated);break;case"EEEE":e=$d(Wd.Days,xd.Wide);break;case"EEEEE":e=$d(Wd.Days,xd.Narrow);break;case"EEEEEE":e=$d(Wd.Days,xd.Short);break;case"a":case"aa":case"aaa":e=$d(Wd.DayPeriods,xd.Abbreviated);break;case"aaaa":e=$d(Wd.DayPeriods,xd.Wide);break;case"aaaaa":e=$d(Wd.DayPeriods,xd.Narrow);break;case"b":case"bb":case"bbb":e=$d(Wd.DayPeriods,xd.Abbreviated,Cd.Standalone,!0);break;case"bbbb":e=$d(Wd.DayPeriods,xd.Wide,Cd.Standalone,!0);break;case"bbbbb":e=$d(Wd.DayPeriods,xd.Narrow,Cd.Standalone,!0);break;case"B":case"BB":case"BBB":e=$d(Wd.DayPeriods,xd.Abbreviated,Cd.Format,!0);break;case"BBBB":e=$d(Wd.DayPeriods,xd.Wide,Cd.Format,!0);break;case"BBBBB":e=$d(Wd.DayPeriods,xd.Narrow,Cd.Format,!0);break;case"h":e=Jd(zd.Hours,1,-12);break;case"hh":e=Jd(zd.Hours,2,-12);break;case"H":e=Jd(zd.Hours,1);break;case"HH":e=Jd(zd.Hours,2);break;case"m":e=Jd(zd.Minutes,1);break;case"mm":e=Jd(zd.Minutes,2);break;case"s":e=Jd(zd.Seconds,1);break;case"ss":e=Jd(zd.Seconds,2);break;case"S":e=Jd(zd.FractionalSeconds,1);break;case"SS":e=Jd(zd.FractionalSeconds,2);break;case"SSS":e=Jd(zd.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":e=Xd(Vd.Short);break;case"ZZZZZ":e=Xd(Vd.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":e=Xd(Vd.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":e=Xd(Vd.Long);break;default:return null}return ih[t]=e,e}(t);c+=e?e(r,n,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),c}function qd(t,e){return e&&(t=t.replace(/\{([^}]+)}/g,(function(t,n){return null!=e&&n in e?e[n]:t}))),t}function Gd(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,a="";(t<0||r&&t<=0)&&(r?t=1-t:(t=-t,a=n));for(var o=String(t);o.length2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(a,o){var s=Zd(t,a);if((n>0||s>-n)&&(s+=n),t===zd.Hours)0===s&&-12===n&&(s=12);else if(t===zd.FractionalSeconds)return Kd(s,e);var l=Ed(o,Ld.MinusSign);return Gd(s,e,l,i,r)}}function Zd(t,e){switch(t){case zd.FullYear:return e.getFullYear();case zd.Month:return e.getMonth();case zd.Date:return e.getDate();case zd.Hours:return e.getHours();case zd.Minutes:return e.getMinutes();case zd.Seconds:return e.getSeconds();case zd.FractionalSeconds:return e.getMilliseconds();case zd.Day:return e.getDay();default:throw new Error('Unknown DateType value "'.concat(t,'".'))}}function $d(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Cd.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(r,a){return Qd(r,a,t,e,n,i)}}function Qd(t,e,n,i,r,a){switch(n){case Wd.Months:return function(t,e,n){var i=mu(t),r=Fd([i[vu.MonthsFormat],i[vu.MonthsStandalone]],e);return Fd(r,n)}(e,r,i)[t.getMonth()];case Wd.Days:return function(t,e,n){var i=mu(t),r=Fd([i[vu.DaysFormat],i[vu.DaysStandalone]],e);return Fd(r,n)}(e,r,i)[t.getDay()];case Wd.DayPeriods:var o=t.getHours(),s=t.getMinutes();if(a){var u=function(t){var e=mu(t);return Yd(e),(e[vu.ExtraData][2]||[]).map((function(t){return"string"==typeof t?Rd(t):[Rd(t[0]),Rd(t[1])]}))}(e),c=function(t,e,n){var i=mu(t);Yd(i);var r=Fd([i[vu.ExtraData][0],i[vu.ExtraData][1]],e)||[];return Fd(r,n)||[]}(e,r,i),d=u.findIndex((function(t){if(Array.isArray(t)){var e=l(t,2),n=e[0],i=e[1],r=o>=n.hours&&s>=n.minutes,a=o0?Math.floor(r/60):Math.ceil(r/60);switch(t){case Vd.Short:return(r>=0?"+":"")+Gd(o,2,a)+Gd(Math.abs(r%60),2,a);case Vd.ShortGMT:return"GMT"+(r>=0?"+":"")+Gd(o,1,a);case Vd.Long:return"GMT"+(r>=0?"+":"")+Gd(o,2,a)+":"+Gd(Math.abs(r%60),2,a);case Vd.Extended:return 0===i?"Z":(r>=0?"+":"")+Gd(o,2,a)+":"+Gd(Math.abs(r%60),2,a);default:throw new Error('Unknown zone width "'.concat(t,'"'))}}}function th(t){var e=new Date(t,0,1).getDay();return new Date(t,0,1+(e<=4?4:11)-e)}function eh(t){return new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))}function nh(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r;if(e){var a=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,o=n.getDate();r=1+Math.floor((o+a)/7)}else{var s=th(n.getFullYear()),l=eh(n).getTime()-s.getTime();r=1+Math.round(l/6048e5)}return Gd(r,t,Ed(i,Ld.MinusSign))}}var ih={};function rh(t,e){t=t.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function ah(t){return t instanceof Date&&!isNaN(t.valueOf())}var oh=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function sh(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",l=!1;if(isFinite(t)){var u=dh(t);o&&(u=ch(u));var c=e.minInt,d=e.minFrac,h=e.maxFrac;if(a){var f=a.match(oh);if(null===f)throw new Error("".concat(a," is not a valid digit info"));var p=f[1],m=f[3],g=f[5];null!=p&&(c=fh(p)),null!=m&&(d=fh(m)),null!=g?h=fh(g):null!=m&&d>h&&(h=d)}hh(u,d,h);var v=u.digits,_=u.integerLen,y=u.exponent,b=[];for(l=v.every((function(t){return!t}));_0?b=v.splice(_,v.length):(b=v,v=[0]);var k=[];for(v.length>=e.lgSize&&k.unshift(v.splice(-e.lgSize,v.length).join(""));v.length>e.gSize;)k.unshift(v.splice(-e.gSize,v.length).join(""));v.length&&k.unshift(v.join("")),s=k.join(Ed(n,i)),b.length&&(s+=Ed(n,r)+b.join("")),y&&(s+=Ed(n,Ld.Exponential)+"+"+y)}else s=Ed(n,Ld.Infinity);return t<0&&!l?e.negPre+s+e.negSuf:e.posPre+s+e.posSuf}function lh(t,e,n,i,r){var a=uh(Id(e,Sd.Currency),Ed(e,Ld.MinusSign));return a.minFrac=function(t){var e,n=wd[t];return n&&(e=n[2]),"number"==typeof e?e:2}(i),a.maxFrac=a.minFrac,sh(t,a,e,Ld.CurrencyGroup,Ld.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}function uh(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=t.split(";"),r=i[0],a=i[1],o=-1!==r.indexOf(".")?r.split("."):[r.substring(0,r.lastIndexOf("0")+1),r.substring(r.lastIndexOf("0")+1)],s=o[0],l=o[1]||"";n.posPre=s.substr(0,s.indexOf("#"));for(var u=0;u-1&&(o=o.replace(".","")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;"0"===o.charAt(i);i++);if(i===(a=o.length))e=[0],n=1;else{for(a--;"0"===o.charAt(a);)a--;for(n-=i,e=[],r=0;i<=a;i++,r++)e[r]=Number(o.charAt(i))}return n>22&&(e=e.splice(0,21),s=n-1,n=1),{digits:e,exponent:s,integerLen:n}}function hh(t,e,n){if(e>n)throw new Error("The minimum number of digits after fraction (".concat(e,") is higher than the maximum (").concat(n,")."));var i=t.digits,r=i.length-t.integerLen,a=Math.min(Math.max(e,r),n),o=a+t.integerLen,s=i[o];if(o>0){i.splice(Math.max(t.integerLen,o));for(var l=o;l=5)if(o-1<0){for(var c=0;c>o;c--)i.unshift(0),t.integerLen++;i.unshift(1),t.integerLen++}else i[o-1]++;for(;r=h?i.pop():d=!1),e>=10?1:0}),0);f&&(i.unshift(f),t.integerLen++)}function fh(t){var e=parseInt(t);if(isNaN(e))throw new Error("Invalid integer literal when parsing "+t);return e}var ph=function t(){_(this,t)};function mh(t,e,n,i){var r="=".concat(t);if(e.indexOf(r)>-1)return r;if(r=n.getPluralCategory(t,i),e.indexOf(r)>-1)return r;if(e.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'.concat(t,'"'))}var gh=function(){var t=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this)).locale=t,i}return b(n,[{key:"getPluralCategory",value:function(t,e){switch(function(t){return mu(t)[vu.PluralCase]}(e||this.locale)(t)){case Md.Zero:return"zero";case Md.One:return"one";case Md.Two:return"two";case Md.Few:return"few";case Md.Many:return"many";default:return"other"}}}]),n}(ph);return t.\u0275fac=function(e){return new(e||t)(ge(hc))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}();function vh(t,e){e=encodeURIComponent(e);var n,i=d(t.split(";"));try{for(i.s();!(n=i.n()).done;){var r=n.value,a=r.indexOf("="),o=l(-1==a?[r,""]:[r.slice(0,a),r.slice(a+1)],2),s=o[1];if(o[0].trim()===e)return decodeURIComponent(s)}}catch(u){i.e(u)}finally{i.f()}return null}var _h=function(){var t=function(){function t(e,n,i,r){_(this,t),this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return b(t,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}},{key:"_applyKeyValueChanges",value:function(t){var e=this;t.forEachAddedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){t.previousValue&&e._toggleClass(t.key,!1)}))}},{key:"_applyIterableChanges",value:function(t){var e=this;t.forEachAddedItem((function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Vt(t.item)));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))}},{key:"_applyClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!0)})):Object.keys(t).forEach((function(n){return e._toggleClass(n,!!t[n])})))}},{key:"_removeClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!1)})):Object.keys(t).forEach((function(t){return e._toggleClass(t,!1)})))}},{key:"_toggleClass",value:function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach((function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)}))}},{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Zo(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as($l),as(Ql),as(El),as(Fl))},t.\u0275dir=ze({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),yh=function(){var t=function(){function t(e){_(this,t),this._viewContainerRef=e,this._componentRef=null,this._moduleRef=null}return b(t,[{key:"ngOnChanges",value:function(t){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var e=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(t.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=e.get(we);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var i=(this._moduleRef?this._moduleRef.componentFactoryResolver:e.get(Ol)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(i,this._viewContainerRef.length,e,this.ngComponentOutletContent)}}},{key:"ngOnDestroy",value:function(){this._moduleRef&&this._moduleRef.destroy()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(ru))},t.\u0275dir=ze({type:t,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[nn]}),t}(),bh=function(){function t(e,n,i,r){_(this,t),this.$implicit=e,this.ngForOf=n,this.index=i,this.count=r}return b(t,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),t}(),kh=function(){var t=function(){function t(e,n,i){_(this,t),this._viewContainer=e,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return b(t,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat((e=t).name||typeof e,"'. NgFor only supports binding to Iterables such as Arrays."))}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(t){var e=this,n=[];t.forEachOperation((function(t,i,r){if(null==t.previousIndex){var a=e._viewContainer.createEmbeddedView(e._template,new bh(null,e._ngForOf,-1,-1),null===r?void 0:r),o=new wh(t,a);n.push(o)}else if(null==r)e._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=e._viewContainer.get(i);e._viewContainer.move(s,r);var l=new wh(t,s);n.push(l)}}));for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(null==e||""===e||e!=e)return null;try{return Ud(e,n,r||this.locale,i)}catch(a){throw Ah(t,a.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(hc))},t.\u0275pipe=We({name:"date",type:t,pure:!0}),t}(),Wh=/#/g,Uh=function(){var t=function(){function t(e){_(this,t),this._localization=e}return b(t,[{key:"transform",value:function(e,n,i){if(null==e)return"";if("object"!=typeof n||null===n)throw Ah(t,n);return n[mh(e,Object.keys(n),this._localization,i)].replace(Wh,e.toString())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(ph))},t.\u0275pipe=We({name:"i18nPlural",type:t,pure:!0}),t}(),qh=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"transform",value:function(e,n){if(null==e)return"";if("object"!=typeof n||"string"!=typeof e)throw Ah(t,n);return n.hasOwnProperty(e)?n[e]:n.hasOwnProperty("other")?n.other:""}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=We({name:"i18nSelect",type:t,pure:!0}),t}(),Gh=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"transform",value:function(t){return JSON.stringify(t,null,2)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=We({name:"json",type:t,pure:!1}),t}();function Kh(t,e){return{key:t,value:e}}var Jh=function(){var t=function(){function t(e){_(this,t),this.differs=e,this.keyValues=[]}return b(t,[{key:"transform",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zh;if(!t||!(t instanceof Map)&&"object"!=typeof t)return null;this.differ||(this.differ=this.differs.find(t).create());var i=this.differ.diff(t);return i&&(this.keyValues=[],i.forEachItem((function(t){e.keyValues.push(Kh(t.key,t.currentValue))})),this.keyValues.sort(n)),this.keyValues}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(Ql))},t.\u0275pipe=We({name:"keyvalue",type:t,pure:!1}),t}();function Zh(t,e){var n=t.key,i=e.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n1&&void 0!==arguments[1]?arguments[1]:"USD";_(this,t),this._locale=e,this._defaultCurrencyCode=n}return b(t,[{key:"transform",value:function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"symbol",r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;if(tf(e))return null;a=a||this._locale,"boolean"==typeof i&&(console&&console.warn&&console.warn('Warning: the currency pipe has been changed in Angular v5. The symbolDisplay option (third parameter) is now a string instead of a boolean. The accepted values are "code", "symbol" or "symbol-narrow".'),i=i?"symbol":"code");var o=n||this._defaultCurrencyCode;"code"!==i&&(o="symbol"===i||"symbol-narrow"===i?Nd(o,"symbol"===i?"wide":"narrow",a):i);try{var s=ef(e);return lh(s,a,o,n,r)}catch(l){throw Ah(t,l.message)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(hc),as(fc))},t.\u0275pipe=We({name:"currency",type:t,pure:!0}),t}();function tf(t){return null==t||""===t||t!=t}function ef(t){if("string"==typeof t&&!isNaN(Number(t)-parseFloat(t)))return Number(t);if("number"!=typeof t)throw new Error("".concat(t," is not a number"));return t}var nf,rf=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"transform",value:function(e,n,i){if(null==e)return e;if(!this.supports(e))throw Ah(t,e);return e.slice(n,i)}},{key:"supports",value:function(t){return"string"==typeof t||Array.isArray(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=We({name:"slice",type:t,pure:!1}),t}(),af=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[{provide:ph,useClass:gh}]}),t}(),of=function(){var t=function t(){_(this,t)};return t.\u0275prov=Et({token:t,providedIn:"root",factory:function(){return new sf(ge(rd),window,ge(qi))}}),t}(),sf=function(){function t(e,n,i){_(this,t),this.document=e,this.window=n,this.errorHandler=i,this.offset=function(){return[0,0]}}return b(t,[{key:"setOffset",value:function(t){this.offset=Array.isArray(t)?function(){return t}:t}},{key:"getScrollPosition",value:function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}},{key:"scrollToAnchor",value:function(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var e=this.document.querySelector("#".concat(t));if(e)return void this.scrollToElement(e);var n=this.document.querySelector("[name='".concat(t,"']"));if(n)return void this.scrollToElement(n)}catch(i){this.errorHandler.handleError(i)}}}},{key:"setHistoryScrollRestoration",value:function(t){if(this.supportScrollRestoration()){var e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}},{key:"scrollToElement",value:function(t){var e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,i=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"supportScrollRestoration",value:function(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}]),t}(),lf=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"getProperty",value:function(t,e){return t[e]}},{key:"log",value:function(t){window.console&&window.console.log&&window.console.log(t)}},{key:"logGroup",value:function(t){window.console&&window.console.group&&window.console.group(t)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){return t.parentNode&&t.parentNode.removeChild(t),t}},{key:"getValue",value:function(t){return t.value}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(t){var e,n=uf||(uf=document.querySelector("base"))?uf.getAttribute("href"):null;return null==n?null:(e=n,nf||(nf=document.createElement("a")),nf.setAttribute("href",e),"/"===nf.pathname.charAt(0)?nf.pathname:"/"+nf.pathname)}},{key:"resetBaseElement",value:function(){uf=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(t){return vh(document.cookie,t)}}],[{key:"makeCurrent",value:function(){var t;t=new n,ed||(ed=t)}}]),n}(function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.call(this)}return b(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(id)),uf=null,cf=new se("TRANSITION_ID"),df=[{provide:ic,useFactory:function(t,e,n){return function(){n.get(rc).donePromise.then((function(){var n=nd();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter((function(e){return e.getAttribute("ng-transition")===t})).forEach((function(t){return n.remove(t)}))}))}},deps:[cf,rd,Wo],multi:!0}],hf=function(){function t(){_(this,t)}return b(t,[{key:"addToWindow",value:function(t){Xt.getAngularTestability=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.findTestabilityInTree(e,n);if(null==i)throw new Error("Could not find testability for element.");return i},Xt.getAllAngularTestabilities=function(){return t.getAllTestabilities()},Xt.getAllAngularRootElements=function(){return t.getAllRootElements()},Xt.frameworkStabilizers||(Xt.frameworkStabilizers=[]),Xt.frameworkStabilizers.push((function(t){var e=Xt.getAllAngularTestabilities(),n=e.length,i=!1,r=function(e){i=i||e,0==--n&&t(i)};e.forEach((function(t){t.whenStable(r)}))}))}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var i=t.getTestability(e);return null!=i?i:n?nd().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){var e;e=new t,Yc=e}}]),t}(),ff=new se("EventManagerPlugins"),pf=function(){var t=function(){function t(e,n){var i=this;_(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach((function(t){return t.manager=i})),this._plugins=e.slice().reverse()}return b(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,i=0;i-1&&(e.splice(n,1),a+=t+".")})),a+=r,0!=e.length||0===r.length)return null;var o={};return o.domEventName=i,o.fullKey=a,o}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&Of.hasOwnProperty(e)&&(e=Of[e]))}return Pf[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Tf.forEach((function(i){i!=n&&(0,Ef[i])(t)&&(e+=i+".")})),e+=n}},{key:"eventCallback",value:function(t,e,i){return function(r){n.getEventFullKey(r)===t&&i.runGuarded((function(){return e(r)}))}}},{key:"_normalizeKey",value:function(t){switch(t){case"esc":return"escape";default:return t}}}]),n}(mf);return t.\u0275fac=function(e){return new(e||t)(ge(rd))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Af=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Et({factory:function(){return ge(Yf)},token:t,providedIn:"root"}),t}(),Yf=function(){var t=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this))._doc=t,i}return b(n,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case Dr.NONE:return e;case Dr.HTML:return tr(e,"HTML")?Xi(e):function(t,e){var n=null;try{hr=hr||function(t){return function(){try{return!!(new window.DOMParser).parseFromString("","text/html")}catch(t){return!1}}()?new ar:new or(t)}(t);var i=e?String(e):"";n=hr.getInertBodyElement(i);var r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=hr.getInertBodyElement(i)}while(i!==a);var o=new wr,s=o.sanitizeChildren(xr(n)||n);return rr()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=xr(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}(this._doc,String(e));case Dr.STYLE:return tr(e,"Style")?Xi(e):e;case Dr.SCRIPT:if(tr(e,"Script"))return Xi(e);throw new Error("unsafe value used in a script context");case Dr.URL:return er(e),tr(e,"URL")?Xi(e):ur(String(e));case Dr.RESOURCE_URL:if(tr(e,"ResourceURL"))return Xi(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return new Ki(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return new Ji(t)}},{key:"bypassSecurityTrustScript",value:function(t){return new Zi(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return new $i(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return new Qi(t)}}]),n}(Af);return t.\u0275fac=function(e){return new(e||t)(ge(rd))},t.\u0275prov=Et({factory:function(){return t=ge(le),new Yf(t.get(rd));var t},token:t,providedIn:"root"}),t}(),Ff=jc(Qc,"browser",[{provide:uc,useValue:"browser"},{provide:lc,useValue:function(){lf.makeCurrent(),hf.init()},multi:!0},{provide:rd,useFactory:function(){return function(t){ln=t}(document),document},deps:[]}]),Rf=[[],{provide:To,useValue:"root"},{provide:qi,useFactory:function(){return new qi},deps:[]},{provide:ff,useClass:Lf,multi:!0,deps:[rd,Mc,uc]},{provide:ff,useClass:If,multi:!0,deps:[rd]},[],{provide:Mf,useClass:Mf,deps:[pf,vf,ac]},{provide:Al,useExisting:Mf},{provide:gf,useExisting:vf},{provide:vf,useClass:vf,deps:[rd]},{provide:Ic,useClass:Ic,deps:[Mc]},{provide:pf,useClass:pf,deps:[ff,Mc]},[]],Nf=function(){var t=function(){function t(e){if(_(this,t),e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return b(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:ac,useValue:e.appId},{provide:cf,useExisting:ac},df]}}}]),t}();return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)(ge(t,12))},providers:Rf,imports:[af,td]}),t}();"undefined"!=typeof window&&window;var Hf=function t(){_(this,t)},jf=function t(){_(this,t)};function Bf(t,e){return{type:7,name:t,definitions:e,options:{}}}function Vf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:e,timings:t}}function zf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:t,options:e}}function Wf(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:t,options:e}}function Uf(t){return{type:6,styles:t,offset:null}}function qf(t,e,n){return{type:0,name:t,styles:e,options:n}}function Gf(t){return{type:5,steps:t}}function Kf(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:t,animation:e,options:n}}function Jf(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:t}}function Zf(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:t,animation:e,options:n}}function $f(t){Promise.resolve(null).then(t)}var Qf=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_(this,t),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+n}return b(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var t=this;$f((function(){return t._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(t){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}}]),t}(),Xf=function(){function t(e){var n=this;_(this,t),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;var i=0,r=0,a=0,o=this.players.length;0==o?$f((function(){return n._onFinish()})):this.players.forEach((function(t){t.onDone((function(){++i==o&&n._onFinish()})),t.onDestroy((function(){++r==o&&n._onDestroy()})),t.onStart((function(){++a==o&&n._onStart()}))})),this.totalTime=this.players.reduce((function(t,e){return Math.max(t,e.totalTime)}),0)}return b(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(t){return t.init()}))}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[])}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(t){return t.play()}))}},{key:"pause",value:function(){this.players.forEach((function(t){return t.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(t){return t.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(t){return t.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(t){return t.destroy()})),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(t){return t.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(t){var e=t*this.totalTime;this.players.forEach((function(t){var n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)}))}},{key:"getPosition",value:function(){var t=0;return this.players.forEach((function(e){var n=e.getPosition();t=Math.min(n,t)})),t}},{key:"beforeDestroy",value:function(){this.players.forEach((function(t){t.beforeDestroy&&t.beforeDestroy()}))}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}}]),t}();function tp(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ep(t){switch(t.length){case 0:return new Qf;case 1:return t[0];default:return new Xf(t)}}function np(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=[],s=[],l=-1,u=null;if(i.forEach((function(t){var n=t.offset,i=n==l,c=i&&u||{};Object.keys(t).forEach((function(n){var i=n,s=t[n];if("offset"!==n)switch(i=e.normalizePropertyName(i,o),s){case"!":s=r[n];break;case"*":s=a[n];break;default:s=e.normalizeStyleValue(n,i,s,o)}c[i]=s})),i||s.push(c),u=c,l=n})),o.length){var c="\n - ";throw new Error("Unable to animate due to the following errors:".concat(c).concat(o.join(c)))}return s}function ip(t,e,n,i){switch(e){case"start":t.onStart((function(){return i(n&&rp(n,"start",t))}));break;case"done":t.onDone((function(){return i(n&&rp(n,"done",t))}));break;case"destroy":t.onDestroy((function(){return i(n&&rp(n,"destroy",t))}))}}function rp(t,e,n){var i=n.totalTime,r=ap(t.element,t.triggerName,t.fromState,t.toState,e||t.phaseName,null==i?t.totalTime:i,!!n.disabled),a=t._data;return null!=a&&(r._data=a),r}function ap(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:t,triggerName:e,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function op(t,e,n){var i;return t instanceof Map?(i=t.get(e))||t.set(e,i=n):(i=t[e])||(i=t[e]=n),i}function sp(t){var e=t.indexOf(":");return[t.substring(1,e),t.substr(e+1)]}var lp=function(t,e){return!1},up=function(t,e){return!1},cp=function(t,e,n){return[]},dp=tp();(dp||"undefined"!=typeof Element)&&(lp=function(t,e){return t.contains(e)},up=function(){if(dp||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:up}(),cp=function(t,e,n){var i=[];if(n)i.push.apply(i,u(t.querySelectorAll(e)));else{var r=t.querySelector(e);r&&i.push(r)}return i});var hp=null,fp=!1;function pp(t){hp||(hp=("undefined"!=typeof document?document.body:null)||{},fp=!!hp.style&&"WebkitAppearance"in hp.style);var e=!0;return hp.style&&!function(t){return"ebkit"==t.substring(1,6)}(t)&&!(e=t in hp.style)&&fp&&(e="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in hp.style),e}var mp=up,gp=lp,vp=cp;function _p(t){var e={};return Object.keys(t).forEach((function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");e[i]=t[n]})),e}var yp=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"validateStyleProperty",value:function(t){return pp(t)}},{key:"matchesElement",value:function(t,e){return mp(t,e)}},{key:"containsElement",value:function(t,e){return gp(t,e)}},{key:"query",value:function(t,e,n){return vp(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return n||""}},{key:"animate",value:function(t,e,n,i,r){return new Qf(n,i)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),bp=function(){var t=function t(){_(this,t)};return t.NOOP=new yp,t}();function kp(t){if("number"==typeof t)return t;var e=t.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:wp(parseFloat(e[1]),e[2])}function wp(t,e){switch(e){case"s":return 1e3*t;default:return t}}function Sp(t,e,n){return t.hasOwnProperty("duration")?t:function(t,e,n){var i,r=0,a="";if("string"==typeof t){var o=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return e.push('The provided timing value "'.concat(t,'" is invalid.')),{duration:0,delay:0,easing:""};i=wp(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(r=wp(parseFloat(s),o[4]));var l=o[5];l&&(a=l)}else i=t;if(!n){var u=!1,c=e.length;i<0&&(e.push("Duration values below 0 are not allowed for this animation step."),u=!0),r<0&&(e.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&e.splice(c,0,'The provided timing value "'.concat(t,'" is invalid.'))}return{duration:i,delay:r,easing:a}}(t,e,n)}function Mp(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).forEach((function(n){e[n]=t[n]})),e}function Cp(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)for(var i in t)n[i]=t[i];else Mp(t,n);return n}function xp(t,e,n){return n?e+":"+n+";":""}function Dp(t){for(var e="",n=0;n *";case":leave":return"* => void";case":increment":return function(t,e){return parseFloat(e)>parseFloat(t)};case":decrement":return function(t,e){return parseFloat(e) *"}}(t,n);if("function"==typeof i)return void e.push(i);t=i}var r=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(t,'" is not supported')),e;var a=r[1],o=r[2],s=r[3];e.push(zp(a,s)),"<"!=o[0]||"*"==a&&"*"==s||e.push(zp(s,a))}(t,r,i)})):r.push(n),r),animation:a,queryCount:e.queryCount,depCount:e.depCount,options:Jp(t.options)}}},{key:"visitSequence",value:function(t,e){var n=this;return{type:2,steps:t.steps.map((function(t){return Hp(n,t,e)})),options:Jp(t.options)}}},{key:"visitGroup",value:function(t,e){var n=this,i=e.currentTime,r=0,a=t.steps.map((function(t){e.currentTime=i;var a=Hp(n,t,e);return r=Math.max(r,e.currentTime),a}));return e.currentTime=r,{type:3,steps:a,options:Jp(t.options)}}},{key:"visitAnimate",value:function(t,e){var n,i=function(t,e){var n=null;if(t.hasOwnProperty("duration"))n=t;else if("number"==typeof t)return Zp(Sp(t,e).duration,0,"");var i=t;if(i.split(/\s+/).some((function(t){return"{"==t.charAt(0)&&"{"==t.charAt(1)}))){var r=Zp(0,0,"");return r.dynamic=!0,r.strValue=i,r}return Zp((n=n||Sp(i,e)).duration,n.delay,n.easing)}(t.timings,e.errors);e.currentAnimateTimings=i;var r=t.styles?t.styles:Uf({});if(5==r.type)n=this.visitKeyframes(r,e);else{var a=t.styles,o=!1;if(!a){o=!0;var s={};i.easing&&(s.easing=i.easing),a=Uf(s)}e.currentTime+=i.duration+i.delay;var l=this.visitStyle(a,e);l.isEmptyStep=o,n=l}return e.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(t,e){var n=this._makeStyleAst(t,e);return this._validateStyleAst(n,e),n}},{key:"_makeStyleAst",value:function(t,e){var n=[];Array.isArray(t.styles)?t.styles.forEach((function(t){"string"==typeof t?"*"==t?n.push(t):e.errors.push("The provided style string value ".concat(t," is not allowed.")):n.push(t)})):n.push(t.styles);var i=!1,r=null;return n.forEach((function(t){if(Kp(t)){var e=t,n=e.easing;if(n&&(r=n,delete e.easing),!i)for(var a in e)if(e[a].toString().indexOf("{{")>=0){i=!0;break}}})),{type:6,styles:n,easing:r,offset:t.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(t,e){var n=this,i=e.currentAnimateTimings,r=e.currentTime,a=e.currentTime;i&&a>0&&(a-=i.duration+i.delay),t.styles.forEach((function(t){"string"!=typeof t&&Object.keys(t).forEach((function(i){if(n._driver.validateStyleProperty(i)){var o,s,l,u=e.collectedStyles[e.currentQuerySelector],c=u[i],d=!0;c&&(a!=r&&a>=c.startTime&&r<=c.endTime&&(e.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(c.startTime,'ms" and "').concat(c.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(a,'ms" and "').concat(r,'ms"')),d=!1),a=c.startTime),d&&(u[i]={startTime:a,endTime:r}),e.options&&(o=e.errors,s=e.options.params||{},(l=Ep(t[i])).length&&l.forEach((function(t){s.hasOwnProperty(t)||o.push("Unable to resolve the local animation param ".concat(t," in the given list of values"))})))}else e.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value:function(t,e){var n=this,i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,a=[],o=!1,s=!1,l=0,u=t.steps.map((function(t){var i=n._makeStyleAst(t,e),u=null!=i.offset?i.offset:function(t){if("string"==typeof t)return null;var e=null;if(Array.isArray(t))t.forEach((function(t){if(Kp(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}}));else if(Kp(t)&&t.hasOwnProperty("offset")){var n=t;e=parseFloat(n.offset),delete n.offset}return e}(i.styles),c=0;return null!=u&&(r++,c=i.offset=u),s=s||c<0||c>1,o=o||c0&&r0?r==h?1:d*r:a[r],s=o*m;e.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(t,e),t.offset=o,i.styles.push(t)})),i}},{key:"visitReference",value:function(t,e){return{type:8,animation:Hp(this,Pp(t.animation),e),options:Jp(t.options)}}},{key:"visitAnimateChild",value:function(t,e){return e.depCount++,{type:9,options:Jp(t.options)}}},{key:"visitAnimateRef",value:function(t,e){return{type:10,animation:this.visitReference(t.animation,e),options:Jp(t.options)}}},{key:"visitQuery",value:function(t,e){var n=e.currentQuerySelector,i=t.options||{};e.queryCount++,e.currentQuery=t;var r=l(function(t){var e=!!t.split(/\s*,\s*/).find((function(t){return":self"==t}));return e&&(t=t.replace(Wp,"")),[t=t.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(t){return".ng-trigger-"+t.substr(1)})).replace(/:animating/g,".ng-animating"),e]}(t.selector),2),a=r[0],o=r[1];e.currentQuerySelector=n.length?n+" "+a:a,op(e.collectedStyles,e.currentQuerySelector,{});var s=Hp(this,Pp(t.animation),e);return e.currentQuery=null,e.currentQuerySelector=n,{type:11,selector:a,limit:i.limit||0,optional:!!i.optional,includeSelf:o,animation:s,originalSelector:t.selector,options:Jp(t.options)}}},{key:"visitStagger",value:function(t,e){e.currentQuery||e.errors.push("stagger() can only be used inside of query()");var n="full"===t.timings?{duration:0,delay:0,easing:"full"}:Sp(t.timings,e.errors,!0);return{type:12,animation:Hp(this,Pp(t.animation),e),timings:n,options:null}}}]),t}(),Gp=function t(e){_(this,t),this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function Kp(t){return!Array.isArray(t)&&"object"==typeof t}function Jp(t){var e;return t?(t=Mp(t)).params&&(t.params=(e=t.params)?Mp(e):null):t={},t}function Zp(t,e,n){return{duration:t,delay:e,easing:n}}function $p(t,e,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:t,keyframes:e,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var Qp=function(){function t(){_(this,t),this._map=new Map}return b(t,[{key:"consume",value:function(t){var e=this._map.get(t);return e?this._map.delete(t):e=[],e}},{key:"append",value:function(t,e){var n,i=this._map.get(t);i||this._map.set(t,i=[]),(n=i).push.apply(n,u(e))}},{key:"has",value:function(t){return this._map.has(t)}},{key:"clear",value:function(){this._map.clear()}}]),t}(),Xp=new RegExp(":enter","g"),tm=new RegExp(":leave","g");function em(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new nm).buildKeyframes(t,e,n,i,r,a,o,s,l,u)}var nm=function(){function t(){_(this,t)}return b(t,[{key:"buildKeyframes",value:function(t,e,n,i,r,a,o,s,l){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new Qp;var c=new rm(t,e,l,i,r,u,[]);c.options=s,c.currentTimeline.setStyles([a],null,c.errors,s),Hp(this,n,c);var d=c.timelines.filter((function(t){return t.containsAnimation()}));if(d.length&&Object.keys(o).length){var h=d[d.length-1];h.allowOnlyTimelineStyles()||h.setStyles([o],null,c.errors,s)}return d.length?d.map((function(t){return t.buildKeyframes()})):[$p(e,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(t,e){}},{key:"visitState",value:function(t,e){}},{key:"visitTransition",value:function(t,e){}},{key:"visitAnimateChild",value:function(t,e){var n=e.subInstructions.consume(e.element);if(n){var i=e.createSubContext(t.options),r=e.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&e.transformIntoNewTimeline(a)}e.previousNode=t}},{key:"visitAnimateRef",value:function(t,e){var n=e.createSubContext(t.options);n.transformIntoNewTimeline(),this.visitReference(t.animation,n),e.transformIntoNewTimeline(n.currentTimeline.currentTime),e.previousNode=t}},{key:"_visitSubInstructions",value:function(t,e,n){var i=e.currentTimeline.currentTime,r=null!=n.duration?kp(n.duration):null,a=null!=n.delay?kp(n.delay):null;return 0!==r&&t.forEach((function(t){var n=e.appendInstructionToTimeline(t,r,a);i=Math.max(i,n.duration+n.delay)})),i}},{key:"visitReference",value:function(t,e){e.updateOptions(t.options,!0),Hp(this,t.animation,e),e.previousNode=t}},{key:"visitSequence",value:function(t,e){var n=this,i=e.subContextCount,r=e,a=t.options;if(a&&(a.params||a.delay)&&((r=e.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=im);var o=kp(a.delay);r.delayNextStep(o)}t.steps.length&&(t.steps.forEach((function(t){return Hp(n,t,r)})),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),e.previousNode=t}},{key:"visitGroup",value:function(t,e){var n=this,i=[],r=e.currentTimeline.currentTime,a=t.options&&t.options.delay?kp(t.options.delay):0;t.steps.forEach((function(o){var s=e.createSubContext(t.options);a&&s.delayNextStep(a),Hp(n,o,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)})),i.forEach((function(t){return e.currentTimeline.mergeTimelineCollectedStyles(t)})),e.transformIntoNewTimeline(r),e.previousNode=t}},{key:"_visitTiming",value:function(t,e){if(t.dynamic){var n=t.strValue;return Sp(e.params?Ip(n,e.params,e.errors):n,e.errors)}return{duration:t.duration,delay:t.delay,easing:t.easing}}},{key:"visitAnimate",value:function(t,e){var n=e.currentAnimateTimings=this._visitTiming(t.timings,e),i=e.currentTimeline;n.delay&&(e.incrementTime(n.delay),i.snapshotCurrentStyles());var r=t.style;5==r.type?this.visitKeyframes(r,e):(e.incrementTime(n.duration),this.visitStyle(r,e),i.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=t}},{key:"visitStyle",value:function(t,e){var n=e.currentTimeline,i=e.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||t.easing;t.isEmptyStep?n.applyEmptyStep(r):n.setStyles(t.styles,r,e.errors,e.options),e.previousNode=t}},{key:"visitKeyframes",value:function(t,e){var n=e.currentAnimateTimings,i=e.currentTimeline.duration,r=n.duration,a=e.createSubContext().currentTimeline;a.easing=n.easing,t.styles.forEach((function(t){a.forwardTime((t.offset||0)*r),a.setStyles(t.styles,t.easing,e.errors,e.options),a.applyStylesToKeyframe()})),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(i+r),e.previousNode=t}},{key:"visitQuery",value:function(t,e){var n=this,i=e.currentTimeline.currentTime,r=t.options||{},a=r.delay?kp(r.delay):0;a&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=im);var o=i,s=e.invokeQuery(t.selector,t.originalSelector,t.limit,t.includeSelf,!!r.optional,e.errors);e.currentQueryTotal=s.length;var l=null;s.forEach((function(i,r){e.currentQueryIndex=r;var s=e.createSubContext(t.options,i);a&&s.delayNextStep(a),i===e.element&&(l=s.currentTimeline),Hp(n,t.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)})),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(o),l&&(e.currentTimeline.mergeTimelineCollectedStyles(l),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=t}},{key:"visitStagger",value:function(t,e){var n=e.parentContext,i=e.currentTimeline,r=t.timings,a=Math.abs(r.duration),o=a*(e.currentQueryTotal-1),s=a*e.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var l=e.currentTimeline;s&&l.delayNextStep(s);var u=l.currentTime;Hp(this,t.animation,e),e.previousNode=t,n.currentStaggerTime=i.currentTime-u+(i.startTime-n.currentTimeline.startTime)}}]),t}(),im={},rm=function(){function t(e,n,i,r,a,o,s,l){_(this,t),this._driver=e,this.element=n,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=a,this.errors=o,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=im,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new am(this._driver,n,0),s.push(this.currentTimeline)}return b(t,[{key:"updateOptions",value:function(t,e){var n=this;if(t){var i=t,r=this.options;null!=i.duration&&(r.duration=kp(i.duration)),null!=i.delay&&(r.delay=kp(i.delay));var a=i.params;if(a){var o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach((function(t){e&&o.hasOwnProperty(t)||(o[t]=Ip(a[t],o,n.errors))}))}}}},{key:"_copyOptions",value:function(){var t={};if(this.options){var e=this.options.params;if(e){var n=t.params={};Object.keys(e).forEach((function(t){n[t]=e[t]}))}}return t}},{key:"createSubContext",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,a=new t(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(e),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}},{key:"transformIntoNewTimeline",value:function(t){return this.previousNode=im,this.currentTimeline=this.currentTimeline.fork(this.element,t),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(t,e,n){var i={duration:null!=e?e:t.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+t.delay,easing:""},r=new om(this._driver,t.element,t.keyframes,t.preStyleProps,t.postStyleProps,i,t.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(t){this.currentTimeline.forwardTime(this.currentTimeline.duration+t)}},{key:"delayNextStep",value:function(t){t>0&&this.currentTimeline.delayNextStep(t)}},{key:"invokeQuery",value:function(t,e,n,i,r,a){var o=[];if(i&&o.push(this.element),t.length>0){t=(t=t.replace(Xp,"."+this._enterClassName)).replace(tm,"."+this._leaveClassName);var s=this._driver.query(this.element,t,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),o.push.apply(o,u(s))}return r||0!=o.length||a.push('`query("'.concat(e,'")` returned zero elements. (Use `query("').concat(e,'", { optional: true })` if you wish to allow this.)')),o}},{key:"params",get:function(){return this.options.params}}]),t}(),am=function(){function t(e,n,i,r){_(this,t),this._driver=e,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return b(t,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value:function(t){var e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+t),e&&this.snapshotCurrentStyles()):this.startTime+=t}},{key:"fork",value:function(e,n){return this.applyStylesToKeyframe(),new t(this._driver,e,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(t){this.applyStylesToKeyframe(),this.duration=t,this._loadKeyframe()}},{key:"_updateStyle",value:function(t,e){this._localTimelineStyles[t]=e,this._globalTimelineStyles[t]=e,this._styleSummary[t]={time:this.currentTime,value:e}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(t){var e=this;t&&(this._previousKeyframe.easing=t),Object.keys(this._globalTimelineStyles).forEach((function(t){e._backFill[t]=e._globalTimelineStyles[t]||"*",e._currentKeyframe[t]="*"})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(t,e,n,i){var r=this;e&&(this._previousKeyframe.easing=e);var a=i&&i.params||{},o=function(t,e){var n,i={};return t.forEach((function(t){"*"===t?(n=n||Object.keys(e)).forEach((function(t){i[t]="*"})):Cp(t,!1,i)})),i}(t,this._globalTimelineStyles);Object.keys(o).forEach((function(t){var e=Ip(o[t],a,n);r._pendingStyles[t]=e,r._localTimelineStyles.hasOwnProperty(t)||(r._backFill[t]=r._globalTimelineStyles.hasOwnProperty(t)?r._globalTimelineStyles[t]:"*"),r._updateStyle(t,e)}))}},{key:"applyStylesToKeyframe",value:function(){var t=this,e=this._pendingStyles,n=Object.keys(e);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){t._currentKeyframe[n]=e[n]})),Object.keys(this._localTimelineStyles).forEach((function(e){t._currentKeyframe.hasOwnProperty(e)||(t._currentKeyframe[e]=t._localTimelineStyles[e])})))}},{key:"snapshotCurrentStyles",value:function(){var t=this;Object.keys(this._localTimelineStyles).forEach((function(e){var n=t._localTimelineStyles[e];t._pendingStyles[e]=n,t._updateStyle(e,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(t){var e=this;Object.keys(t._styleSummary).forEach((function(n){var i=e._styleSummary[n],r=t._styleSummary[n];(!i||r.time>i.time)&&e._updateStyle(n,r.value)}))}},{key:"buildKeyframes",value:function(){var t=this;this.applyStylesToKeyframe();var e=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach((function(a,o){var s=Cp(a,!0);Object.keys(s).forEach((function(t){var i=s[t];"!"==i?e.add(t):"*"==i&&n.add(t)})),i||(s.offset=o/t.duration),r.push(s)}));var a=e.size?Ap(e.values()):[],o=n.size?Ap(n.values()):[];if(i){var s=r[0],l=Mp(s);s.offset=0,l.offset=1,r=[s,l]}return $p(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var t=[];for(var e in this._currentKeyframe)t.push(e);return t}}]),t}(),om=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s){var l,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _(this,n),(l=e.call(this,t,i,s.delay)).element=i,l.keyframes=r,l.preStyleProps=a,l.postStyleProps=o,l._stretchStartingKeyframe=u,l.timings={duration:s.duration,delay:s.delay,easing:s.easing},l}return b(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var t=this.keyframes,e=this.timings,n=e.delay,i=e.duration,r=e.easing;if(this._stretchStartingKeyframe&&n){var a=[],o=i+n,s=n/o,l=Cp(t[0],!1);l.offset=0,a.push(l);var u=Cp(t[0],!1);u.offset=sm(s),a.push(u);for(var c=t.length-1,d=1;d<=c;d++){var h=Cp(t[d],!1);h.offset=sm((n+h.offset*i)/o),a.push(h)}i=o,n=0,r="",t=a}return $p(this.element,t,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(am);function sm(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,e-1);return Math.round(t*n)/n}var lm=function t(){_(this,t)},um=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"normalizePropertyName",value:function(t,e){return Fp(t)}},{key:"normalizeStyleValue",value:function(t,e,n,i){var r="",a=n.toString().trim();if(cm[e]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&i.push("Please provide a CSS unit value for ".concat(t,":").concat(n))}return a+r}}]),n}(lm),cm=function(){return t="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),e={},t.forEach((function(t){return e[t]=!0})),e;var t,e}();function dm(t,e,n,i,r,a,o,s,l,u,c,d,h){return{type:0,element:t,triggerName:e,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:u,postStyleProps:c,totalTime:d,errors:h}}var hm={},fm=function(){function t(e,n,i){_(this,t),this._triggerName=e,this.ast=n,this._stateStyles=i}return b(t,[{key:"match",value:function(t,e,n,i){return function(t,e,n,i,r){return t.some((function(t){return t(e,n,i,r)}))}(this.ast.matchers,t,e,n,i)}},{key:"buildStyles",value:function(t,e,n){var i=this._stateStyles["*"],r=this._stateStyles[t],a=i?i.buildStyles(e,n):{};return r?r.buildStyles(e,n):a}},{key:"build",value:function(t,e,n,i,r,a,o,s,l,u){var c=[],d=this.ast.options&&this.ast.options.params||hm,h=this.buildStyles(n,o&&o.params||hm,c),f=s&&s.params||hm,p=this.buildStyles(i,f,c),m=new Set,g=new Map,v=new Map,_="void"===i,y={params:Object.assign(Object.assign({},d),f)},b=u?[]:em(t,e,this.ast.animation,r,a,h,p,y,l,c),k=0;if(b.forEach((function(t){k=Math.max(t.duration+t.delay,k)})),c.length)return dm(e,this._triggerName,n,i,_,h,p,[],[],g,v,k,c);b.forEach((function(t){var n=t.element,i=op(g,n,{});t.preStyleProps.forEach((function(t){return i[t]=!0}));var r=op(v,n,{});t.postStyleProps.forEach((function(t){return r[t]=!0})),n!==e&&m.add(n)}));var w=Ap(m.values());return dm(e,this._triggerName,n,i,_,h,p,b,w,g,v,k)}}]),t}(),pm=function(){function t(e,n){_(this,t),this.styles=e,this.defaultParams=n}return b(t,[{key:"buildStyles",value:function(t,e){var n={},i=Mp(this.defaultParams);return Object.keys(t).forEach((function(e){var n=t[e];null!=n&&(i[e]=n)})),this.styles.styles.forEach((function(t){if("string"!=typeof t){var r=t;Object.keys(r).forEach((function(t){var a=r[t];a.length>1&&(a=Ip(a,i,e)),n[t]=a}))}})),n}}]),t}(),mm=function(){function t(e,n){var i=this;_(this,t),this.name=e,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(t){i.states[t.name]=new pm(t.style,t.options&&t.options.params||{})})),gm(this.states,"true","1"),gm(this.states,"false","0"),n.transitions.forEach((function(t){i.transitionFactories.push(new fm(e,t,i.states))})),this.fallbackTransition=new fm(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(t,e){return!0}],options:null,queryCount:0,depCount:0},this.states)}return b(t,[{key:"matchTransition",value:function(t,e,n,i){return this.transitionFactories.find((function(r){return r.match(t,e,n,i)}))||null}},{key:"matchStyles",value:function(t,e,n){return this.fallbackTransition.buildStyles(t,e,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),t}();function gm(t,e,n){t.hasOwnProperty(e)?t.hasOwnProperty(n)||(t[n]=t[e]):t.hasOwnProperty(n)&&(t[e]=t[n])}var vm=new Qp,_m=function(){function t(e,n,i){_(this,t),this.bodyNode=e,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return b(t,[{key:"register",value:function(t,e){var n=[],i=Up(this._driver,e,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[t]=i}},{key:"_buildPlayer",value:function(t,e,n){var i=t.element,r=np(this._driver,this._normalizer,i,t.keyframes,e,n);return this._driver.animate(i,r,t.duration,t.delay,t.easing,[],!0)}},{key:"create",value:function(t,e){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],o=this._animations[t],s=new Map;if(o?(n=em(this._driver,e,o,"ng-enter","ng-leave",{},{},r,vm,a)).forEach((function(t){var e=op(s,t.element,{});t.postStyleProps.forEach((function(t){return e[t]=null}))})):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));s.forEach((function(t,e){Object.keys(t).forEach((function(n){t[n]=i._driver.computeStyle(e,n,"*")}))}));var l=n.map((function(t){var e=s.get(t.element);return i._buildPlayer(t,{},e)})),u=ep(l);return this._playersById[t]=u,u.onDestroy((function(){return i.destroy(t)})),this.players.push(u),u}},{key:"destroy",value:function(t){var e=this._getPlayer(t);e.destroy(),delete this._playersById[t];var n=this.players.indexOf(e);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(t){var e=this._playersById[t];if(!e)throw new Error("Unable to find the timeline player referenced by ".concat(t));return e}},{key:"listen",value:function(t,e,n,i){var r=ap(e,"","","");return ip(this._getPlayer(t),n,r,i),function(){}}},{key:"command",value:function(t,e,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(t);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(t)}}else this.create(t,e,i[0]||{});else this.register(t,i[0])}}]),t}(),ym=[],bm={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},km={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},wm=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_(this,t),this.namespaceId=n;var i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=Dm(r),i){var a=Mp(e);delete a.value,this.options=a}else this.options={};this.options.params||(this.options.params={})}return b(t,[{key:"absorbOptions",value:function(t){var e=t.params;if(e){var n=this.options.params;Object.keys(e).forEach((function(t){null==n[t]&&(n[t]=e[t])}))}}},{key:"params",get:function(){return this.options.params}}]),t}(),Sm=new wm("void"),Mm=function(){function t(e,n,i){_(this,t),this.id=e,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Em(n,this._hostClassName)}return b(t,[{key:"listen",value:function(t,e,n,i){var r,a=this;if(!this._triggers.hasOwnProperty(e))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(e,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(e,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(e,'" is not supported!'));var o=op(this._elementListeners,t,[]),s={name:e,phase:n,callback:i};o.push(s);var l=op(this._engine.statesByElement,t,{});return l.hasOwnProperty(e)||(Em(t,"ng-trigger"),Em(t,"ng-trigger-"+e),l[e]=Sm),function(){a._engine.afterFlush((function(){var t=o.indexOf(s);t>=0&&o.splice(t,1),a._triggers[e]||delete l[e]}))}}},{key:"register",value:function(t,e){return!this._triggers[t]&&(this._triggers[t]=e,!0)}},{key:"_getTrigger",value:function(t){var e=this._triggers[t];if(!e)throw new Error('The provided animation trigger "'.concat(t,'" has not been registered!'));return e}},{key:"trigger",value:function(t,e,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this._getTrigger(e),o=new xm(this.id,e,t),s=this._engine.statesByElement.get(t);s||(Em(t,"ng-trigger"),Em(t,"ng-trigger-"+e),this._engine.statesByElement.set(t,s={}));var l=s[e],u=new wm(n,this.id),c=n&&n.hasOwnProperty("value");!c&&l&&u.absorbOptions(l.options),s[e]=u,l||(l=Sm);var d="void"===u.value;if(d||l.value!==u.value){var h=op(this._engine.playersByElement,t,[]);h.forEach((function(t){t.namespaceId==i.id&&t.triggerName==e&&t.queued&&t.destroy()}));var f=a.matchTransition(l.value,u.value,t,u.params),p=!1;if(!f){if(!r)return;f=a.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:t,triggerName:e,transition:f,fromState:l,toState:u,player:o,isFallbackTransition:p}),p||(Em(t,"ng-animate-queued"),o.onStart((function(){Im(t,"ng-animate-queued")}))),o.onDone((function(){var e=i.players.indexOf(o);e>=0&&i.players.splice(e,1);var n=i._engine.playersByElement.get(t);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}})),this.players.push(o),h.push(o),o}if(!Ym(l.params,u.params)){var m=[],g=a.matchStyles(l.value,l.params,m),v=a.matchStyles(u.value,u.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush((function(){Tp(t,g),Lp(t,v)}))}}},{key:"deregister",value:function(t){var e=this;delete this._triggers[t],this._engine.statesByElement.forEach((function(e,n){delete e[t]})),this._elementListeners.forEach((function(n,i){e._elementListeners.set(i,n.filter((function(e){return e.name!=t})))}))}},{key:"clearElementCache",value:function(t){this._engine.statesByElement.delete(t),this._elementListeners.delete(t);var e=this._engine.playersByElement.get(t);e&&(e.forEach((function(t){return t.destroy()})),this._engine.playersByElement.delete(t))}},{key:"_signalRemovalForInnerTriggers",value:function(t,e){var n=this,i=this._engine.driver.query(t,".ng-trigger",!0);i.forEach((function(t){if(!t.__ng_removed){var i=n._engine.fetchNamespacesByElement(t);i.size?i.forEach((function(n){return n.triggerLeaveAnimation(t,e,!1,!0)})):n.clearElementCache(t)}})),this._engine.afterFlushAnimationsDone((function(){return i.forEach((function(t){return n.clearElementCache(t)}))}))}},{key:"triggerLeaveAnimation",value:function(t,e,n,i){var r=this,a=this._engine.statesByElement.get(t);if(a){var o=[];if(Object.keys(a).forEach((function(e){if(r._triggers[e]){var n=r.trigger(t,e,"void",i);n&&o.push(n)}})),o.length)return this._engine.markElementAsRemoved(this.id,t,!0,e),n&&ep(o).onDone((function(){return r._engine.processLeaveNode(t)})),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(t){var e=this,n=this._elementListeners.get(t);if(n){var i=new Set;n.forEach((function(n){var r=n.name;if(!i.has(r)){i.add(r);var a=e._triggers[r].fallbackTransition,o=e._engine.statesByElement.get(t)[r]||Sm,s=new wm("void"),l=new xm(e.id,r,t);e._engine.totalQueuedPlayers++,e._queue.push({element:t,triggerName:r,transition:a,fromState:o,toState:s,player:l,isFallbackTransition:!0})}}))}}},{key:"removeNode",value:function(t,e){var n=this,i=this._engine;if(t.childElementCount&&this._signalRemovalForInnerTriggers(t,e),!this.triggerLeaveAnimation(t,e,!0)){var r=!1;if(i.totalAnimations){var a=i.players.length?i.playersByQueriedElement.get(t):[];if(a&&a.length)r=!0;else for(var o=t;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}if(this.prepareLeaveAnimationListeners(t),r)i.markElementAsRemoved(this.id,t,!1,e);else{var s=t.__ng_removed;s&&s!==bm||(i.afterFlush((function(){return n.clearElementCache(t)})),i.destroyInnerAnimations(t),i._onRemovalComplete(t,e))}}}},{key:"insertNode",value:function(t,e){Em(t,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(t){var e=this,n=[];return this._queue.forEach((function(i){var r=i.player;if(!r.destroyed){var a=i.element,o=e._elementListeners.get(a);o&&o.forEach((function(e){if(e.name==i.triggerName){var n=ap(a,i.triggerName,i.fromState.value,i.toState.value);n._data=t,ip(i.player,e.phase,n,e.callback)}})),r.markedForDestroy?e._engine.afterFlush((function(){r.destroy()})):n.push(i)}})),this._queue=[],n.sort((function(t,n){var i=t.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:e._engine.driver.containsElement(t.element,n.element)?1:-1}))}},{key:"destroy",value:function(t){this.players.forEach((function(t){return t.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,t)}},{key:"elementContainsData",value:function(t){var e=!1;return this._elementListeners.has(t)&&(e=!0),!!this._queue.find((function(e){return e.element===t}))||e}}]),t}(),Cm=function(){function t(e,n,i){_(this,t),this.bodyNode=e,this.driver=n,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(t,e){}}return b(t,[{key:"_onRemovalComplete",value:function(t,e){this.onRemovalComplete(t,e)}},{key:"createNamespace",value:function(t,e){var n=new Mm(t,e,this);return e.parentNode?this._balanceNamespaceList(n,e):(this.newHostElements.set(e,n),this.collectEnterElement(e)),this._namespaceLookup[t]=n}},{key:"_balanceNamespaceList",value:function(t,e){var n=this._namespaceList.length-1;if(n>=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,e)){this._namespaceList.splice(r+1,0,t),i=!0;break}i||this._namespaceList.splice(0,0,t)}else this._namespaceList.push(t);return this.namespacesByHostElement.set(e,t),t}},{key:"register",value:function(t,e){var n=this._namespaceLookup[t];return n||(n=this.createNamespace(t,e)),n}},{key:"registerTrigger",value:function(t,e,n){var i=this._namespaceLookup[t];i&&i.register(e,n)&&this.totalAnimations++}},{key:"destroy",value:function(t,e){var n=this;if(t){var i=this._fetchNamespace(t);this.afterFlush((function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[t];var e=n._namespaceList.indexOf(i);e>=0&&n._namespaceList.splice(e,1)})),this.afterFlushAnimationsDone((function(){return i.destroy(e)}))}}},{key:"_fetchNamespace",value:function(t){return this._namespaceLookup[t]}},{key:"fetchNamespacesByElement",value:function(t){var e=new Set,n=this.statesByElement.get(t);if(n)for(var i=Object.keys(n),r=0;r=0&&this.collectedLeaveElements.splice(a,1)}if(t){var o=this._fetchNamespace(t);o&&o.insertNode(e,n)}i&&this.collectEnterElement(e)}}},{key:"collectEnterElement",value:function(t){this.collectedEnterElements.push(t)}},{key:"markElementAsDisabled",value:function(t,e){e?this.disabledNodes.has(t)||(this.disabledNodes.add(t),Em(t,"ng-animate-disabled")):this.disabledNodes.has(t)&&(this.disabledNodes.delete(t),Im(t,"ng-animate-disabled"))}},{key:"removeNode",value:function(t,e,n,i){if(Lm(e)){var r=t?this._fetchNamespace(t):null;if(r?r.removeNode(e,i):this.markElementAsRemoved(t,e,!1,i),n){var a=this.namespacesByHostElement.get(e);a&&a.id!==t&&a.removeNode(e,i)}}else this._onRemovalComplete(e,i)}},{key:"markElementAsRemoved",value:function(t,e,n,i){this.collectedLeaveElements.push(e),e.__ng_removed={namespaceId:t,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(t,e,n,i,r){return Lm(e)?this._fetchNamespace(t).listen(e,n,i,r):function(){}}},{key:"_buildInstruction",value:function(t,e,n,i,r){return t.transition.build(this.driver,t.element,t.fromState.value,t.toState.value,n,i,t.fromState.options,t.toState.options,e,r)}},{key:"destroyInnerAnimations",value:function(t){var e=this,n=this.driver.query(t,".ng-trigger",!0);n.forEach((function(t){return e.destroyActiveAnimationsForElement(t)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(t,".ng-animating",!0)).forEach((function(t){return e.finishActiveQueriedAnimationOnElement(t)}))}},{key:"destroyActiveAnimationsForElement",value:function(t){var e=this.playersByElement.get(t);e&&e.forEach((function(t){t.queued?t.markedForDestroy=!0:t.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(t){var e=this.playersByQueriedElement.get(t);e&&e.forEach((function(t){return t.finish()}))}},{key:"whenRenderingDone",value:function(){var t=this;return new Promise((function(e){if(t.players.length)return ep(t.players).onDone((function(){return e()}));e()}))}},{key:"processLeaveNode",value:function(t){var e=this,n=t.__ng_removed;if(n&&n.setForRemoval){if(t.__ng_removed=bm,n.namespaceId){this.destroyInnerAnimations(t);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(t)}this._onRemovalComplete(t,n.setForRemoval)}this.driver.matchesElement(t,".ng-animate-disabled")&&this.markElementAsDisabled(t,!1),this.driver.query(t,".ng-animate-disabled",!0).forEach((function(t){e.markElementAsDisabled(t,!1)}))}},{key:"flush",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(e,n){return t._balanceNamespaceList(e,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i=0;D--)this._namespaceList[D].drainQueuedTransitions(e).forEach((function(t){var e=t.player,a=t.element;if(C.push(e),n.collectedEnterElements.length){var u=a.__ng_removed;if(u&&u.setForMove)return void e.destroy()}var d=!h||!n.driver.containsElement(h,a),f=S.get(a),p=m.get(a),g=n._buildInstruction(t,i,p,f,d);if(g.errors&&g.errors.length)x.push(g);else{if(d)return e.onStart((function(){return Tp(a,g.fromStyles)})),e.onDestroy((function(){return Lp(a,g.toStyles)})),void r.push(e);if(t.isFallbackTransition)return e.onStart((function(){return Tp(a,g.fromStyles)})),e.onDestroy((function(){return Lp(a,g.toStyles)})),void r.push(e);g.timelines.forEach((function(t){return t.stretchStartingKeyframe=!0})),i.append(a,g.timelines),o.push({instruction:g,player:e,element:a}),g.queriedElements.forEach((function(t){return op(s,t,[]).push(e)})),g.preStyleProps.forEach((function(t,e){var n=Object.keys(t);if(n.length){var i=l.get(e);i||l.set(e,i=new Set),n.forEach((function(t){return i.add(t)}))}})),g.postStyleProps.forEach((function(t,e){var n=Object.keys(t),i=c.get(e);i||c.set(e,i=new Set),n.forEach((function(t){return i.add(t)}))}))}}));if(x.length){var L=[];x.forEach((function(t){L.push("@".concat(t.triggerName," has failed due to:\n")),t.errors.forEach((function(t){return L.push("- ".concat(t,"\n"))}))})),C.forEach((function(t){return t.destroy()})),this.reportError(L)}var T=new Map,P=new Map;o.forEach((function(t){var e=t.element;i.has(e)&&(P.set(e,e),n._beforeAnimationBuild(t.player.namespaceId,t.instruction,T))})),r.forEach((function(t){var e=t.element;n._getPreviousPlayers(e,!1,t.namespaceId,t.triggerName,null).forEach((function(t){op(T,e,[]).push(t),t.destroy()}))}));var O=v.filter((function(t){return Fm(t,l,c)})),E=new Map;Pm(E,this.driver,y,c,"*").forEach((function(t){Fm(t,l,c)&&O.push(t)}));var I=new Map;p.forEach((function(t,e){Pm(I,n.driver,new Set(t),l,"!")})),O.forEach((function(t){var e=E.get(t),n=I.get(t);E.set(t,Object.assign(Object.assign({},e),n))}));var A=[],Y=[],F={};o.forEach((function(t){var e=t.element,o=t.player,s=t.instruction;if(i.has(e)){if(d.has(e))return o.onDestroy((function(){return Lp(e,s.toStyles)})),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var l=F;if(P.size>1){for(var u=e,c=[];u=u.parentNode;){var h=P.get(u);if(h){l=h;break}c.push(u)}c.forEach((function(t){return P.set(t,l)}))}var f=n._buildAnimation(o.namespaceId,s,T,a,I,E);if(o.setRealPlayer(f),l===F)A.push(o);else{var p=n.playersByElement.get(l);p&&p.length&&(o.parentPlayer=ep(p)),r.push(o)}}else Tp(e,s.fromStyles),o.onDestroy((function(){return Lp(e,s.toStyles)})),Y.push(o),d.has(e)&&r.push(o)})),Y.forEach((function(t){var e=a.get(t.element);if(e&&e.length){var n=ep(e);t.setRealPlayer(n)}})),r.forEach((function(t){t.parentPlayer?t.syncPlayerEvents(t.parentPlayer):t.destroy()}));for(var R=0;R0?this.driver.animate(t.element,e,t.duration,t.delay,t.easing,n):new Qf(t.duration,t.delay)}},{key:"queuedPlayers",get:function(){var t=[];return this._namespaceList.forEach((function(e){e.players.forEach((function(e){e.queued&&t.push(e)}))})),t}}]),t}(),xm=function(){function t(e,n,i){_(this,t),this.namespaceId=e,this.triggerName=n,this.element=i,this._player=new Qf,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return b(t,[{key:"setRealPlayer",value:function(t){var e=this;this._containsRealPlayer||(this._player=t,Object.keys(this._queuedCallbacks).forEach((function(n){e._queuedCallbacks[n].forEach((function(e){return ip(t,n,void 0,e)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(t.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(t){this.totalTime=t}},{key:"syncPlayerEvents",value:function(t){var e=this,n=this._player;n.triggerCallback&&t.onStart((function(){return n.triggerCallback("start")})),t.onDone((function(){return e.finish()})),t.onDestroy((function(){return e.destroy()}))}},{key:"_queueEvent",value:function(t,e){op(this._queuedCallbacks,t,[]).push(e)}},{key:"onDone",value:function(t){this.queued&&this._queueEvent("done",t),this._player.onDone(t)}},{key:"onStart",value:function(t){this.queued&&this._queueEvent("start",t),this._player.onStart(t)}},{key:"onDestroy",value:function(t){this.queued&&this._queueEvent("destroy",t),this._player.onDestroy(t)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(t){this.queued||this._player.setPosition(t)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(t){var e=this._player;e.triggerCallback&&e.triggerCallback(t)}}]),t}();function Dm(t){return null!=t?t:null}function Lm(t){return t&&1===t.nodeType}function Tm(t,e){var n=t.style.display;return t.style.display=null!=e?e:"none",n}function Pm(t,e,n,i,r){var a=[];n.forEach((function(t){return a.push(Tm(t))}));var o=[];i.forEach((function(n,i){var a={};n.forEach((function(t){var n=a[t]=e.computeStyle(i,t,r);n&&0!=n.length||(i.__ng_removed=km,o.push(i))})),t.set(i,a)}));var s=0;return n.forEach((function(t){return Tm(t,a[s++])})),o}function Om(t,e){var n=new Map;if(t.forEach((function(t){return n.set(t,[])})),0==e.length)return n;var i=new Set(e),r=new Map;return e.forEach((function(t){var e=function t(e){if(!e)return 1;var a=r.get(e);if(a)return a;var o=e.parentNode;return a=n.has(o)?o:i.has(o)?1:t(o),r.set(e,a),a}(t);1!==e&&n.get(e).push(t)})),n}function Em(t,e){if(t.classList)t.classList.add(e);else{var n=t.$$classes;n||(n=t.$$classes={}),n[e]=!0}}function Im(t,e){if(t.classList)t.classList.remove(e);else{var n=t.$$classes;n&&delete n[e]}}function Am(t,e,n){ep(n).onDone((function(){return t.processLeaveNode(e)}))}function Ym(t,e){var n=Object.keys(t),i=Object.keys(e);if(n.length!=i.length)return!1;for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(t)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),t}();function Nm(t,e){var n=null,i=null;return Array.isArray(e)&&e.length?(n=jm(e[0]),e.length>1&&(i=jm(e[e.length-1]))):e&&(n=jm(e)),n||i?new Hm(t,n,i):null}var Hm=function(){var t=function(){function t(e,n,i){_(this,t),this._element=e,this._startStyles=n,this._endStyles=i,this._state=0;var r=t.initialStylesByElement.get(e);r||t.initialStylesByElement.set(e,r={}),this._initialStyles=r}return b(t,[{key:"start",value:function(){this._state<1&&(this._startStyles&&Lp(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Lp(this._element,this._initialStyles),this._endStyles&&(Lp(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(Tp(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Tp(this._element,this._endStyles),this._endStyles=null),Lp(this._element,this._initialStyles),this._state=3)}}]),t}();return t.initialStylesByElement=new WeakMap,t}();function jm(t){for(var e=null,n=Object.keys(t),i=0;i=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),qm(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var t,e,n,i;this._destroyed||(this._destroyed=!0,this.finish(),e=this._name,(i=Um(n=Km(t=this._element,"").split(","),e))>=0&&(n.splice(i,1),Gm(t,"",n.join(","))))}}]),t}();function zm(t,e,n){Gm(t,"PlayState",n,Wm(t,e))}function Wm(t,e){var n=Km(t,"");return n.indexOf(",")>0?Um(n.split(","),e):Um([n],e)}function Um(t,e){for(var n=0;n=0)return n;return-1}function qm(t,e,n){n?t.removeEventListener("animationend",e):t.addEventListener("animationend",e)}function Gm(t,e,n,i){var r="animation"+e;if(null!=i){var a=t.style[r];if(a.length){var o=a.split(",");o[i]=n,n=o.join(",")}}t.style[r]=n}function Km(t,e){return t.style["animation"+e]}var Jm=function(){function t(e,n,i,r,a,o,s,l){_(this,t),this.element=e,this.keyframes=n,this.animationName=i,this._duration=r,this._delay=a,this._finalStyles=s,this._specialStyles=l,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=o||"linear",this.totalTime=r+a,this._buildStyler()}return b(t,[{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(t){this._styler.setPosition(t)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var t=this;this._styler=new Vm(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return t.finish()}))}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}},{key:"beforeDestroy",value:function(){var t=this;this.init();var e={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(i){"offset"!=i&&(e[i]=n?t._finalStyles[i]:jp(t.element,i))}))}this.currentSnapshot=e}}]),t}(),Zm=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).element=t,r._startingStyles={},r.__initialized=!1,r._styles=_p(i),r}return b(n,[{key:"init",value:function(){var t=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(e){t._startingStyles[e]=t.element.style[e]})),r(i(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var t=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(e){return t.element.style.setProperty(e,t._styles[e])})),r(i(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var t=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(e){var n=t._startingStyles[e];n?t.element.style.setProperty(e,n):t.element.style.removeProperty(e)})),this._startingStyles=null,r(i(n.prototype),"destroy",this).call(this))}}]),n}(Qf),$m=function(){function t(){_(this,t),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return b(t,[{key:"validateStyleProperty",value:function(t){return pp(t)}},{key:"matchesElement",value:function(t,e){return mp(t,e)}},{key:"containsElement",value:function(t,e){return gp(t,e)}},{key:"query",value:function(t,e,n){return vp(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"buildKeyframeElement",value:function(t,e,n){n=n.map((function(t){return _p(t)}));var i="@keyframes ".concat(e," {\n"),r="";n.forEach((function(t){r=" ";var e=parseFloat(t.offset);i+="".concat(r).concat(100*e,"% {\n"),r+=" ",Object.keys(t).forEach((function(e){var n=t[e];switch(e){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(e,": ").concat(n,";\n"))}})),i+="".concat(r,"}\n")})),i+="}\n";var a=document.createElement("style");return a.innerHTML=i,a}},{key:"animate",value:function(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0;o&&this._notifyFaultyScrubber();var s=a.filter((function(t){return t instanceof Jm})),l={};Rp(n,i)&&s.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return l[t]=e[t]}))}));var u=Qm(e=Np(t,e,l));if(0==n)return new Zm(t,u);var c="".concat("gen_css_kf_").concat(this._count++),d=this.buildKeyframeElement(t,c,e);document.querySelector("head").appendChild(d);var h=Nm(t,e),f=new Jm(t,e,c,n,i,r,u,h);return f.onDestroy((function(){return Xm(d)})),f}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),t}();function Qm(t){var e={};return t&&(Array.isArray(t)?t:[t]).forEach((function(t){Object.keys(t).forEach((function(n){"offset"!=n&&"easing"!=n&&(e[n]=t[n])}))})),e}function Xm(t){t.parentNode.removeChild(t)}var tg=function(){function t(e,n,i,r){_(this,t),this.element=e,this.keyframes=n,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return b(t,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(t){return t()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var t=this;if(!this._initialized){this._initialized=!0;var e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return t._onFinish()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(t,e,n){return t.animate(e,n)}},{key:"onStart",value:function(t){this._onStartFns.push(t)}},{key:"onDone",value:function(t){this._onDoneFns.push(t)}},{key:"onDestroy",value:function(t){this._onDestroyFns.push(t)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(t){return t()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(t){return t()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(t){this.domPlayer.currentTime=t*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var t=this,e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(e[n]=t._finished?t._finalKeyframe[n]:jp(t.element,n))})),this.currentSnapshot=e}},{key:"triggerCallback",value:function(t){var e="start"==t?this._onStartFns:this._onDoneFns;e.forEach((function(t){return t()})),e.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),t}(),eg=function(){function t(){_(this,t),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(ng().toString()),this._cssKeyframesDriver=new $m}return b(t,[{key:"validateStyleProperty",value:function(t){return pp(t)}},{key:"matchesElement",value:function(t,e){return mp(t,e)}},{key:"containsElement",value:function(t,e){return gp(t,e)}},{key:"query",value:function(t,e,n){return vp(t,e,n)}},{key:"computeStyle",value:function(t,e,n){return window.getComputedStyle(t)[e]}},{key:"overrideWebAnimationsSupport",value:function(t){this._isNativeImpl=t}},{key:"animate",value:function(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0,s=!o&&!this._isNativeImpl;if(s)return this._cssKeyframesDriver.animate(t,e,n,i,r,a);var l=0==i?"both":"forwards",u={duration:n,delay:i,fill:l};r&&(u.easing=r);var c={},d=a.filter((function(t){return t instanceof tg}));Rp(n,i)&&d.forEach((function(t){var e=t.currentSnapshot;Object.keys(e).forEach((function(t){return c[t]=e[t]}))}));var h=Nm(t,e=Np(t,e=e.map((function(t){return Cp(t,!1)})),c));return new tg(t,e,u,h)}}]),t}();function ng(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var ig=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._nextAnimationId=0,r._renderer=t.createRenderer(i.body,{id:"0",encapsulation:Ee.None,styles:[],data:{animation:[]}}),r}return b(n,[{key:"build",value:function(t){var e=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(t)?Wf(t):t;return og(this._renderer,null,e,"register",[n]),new rg(e,this._renderer)}}]),n}(Hf);return t.\u0275fac=function(e){return new(e||t)(ge(Al),ge(rd))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),rg=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._id=t,r._renderer=i,r}return b(n,[{key:"create",value:function(t,e){return new ag(this._id,t,e||{},this._renderer)}}]),n}(jf),ag=function(){function t(e,n,i,r){_(this,t),this.id=e,this.element=n,this._renderer=r,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return b(t,[{key:"_listen",value:function(t,e){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(t),e)}},{key:"_command",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i=0&&t0){var i=t.slice(0,e),r=i.toLowerCase(),a=t.slice(e+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(a):n.headers.set(r,[a])}}))}:function(){n.headers=new Map,Object.keys(e).forEach((function(t){var i=e[t],r=t.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(t,r))}))}:this.headers=new Map}return b(t,[{key:"has",value:function(t){return this.init(),this.headers.has(t.toLowerCase())}},{key:"get",value:function(t){this.init();var e=this.headers.get(t.toLowerCase());return e&&e.length>0?e[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(t){return this.init(),this.headers.get(t.toLowerCase())||null}},{key:"append",value:function(t,e){return this.clone({name:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({name:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({name:t,value:e,op:"d"})}},{key:"maybeSetNormalizedName",value:function(t,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,t)}},{key:"init",value:function(){var e=this;this.lazyInit&&(this.lazyInit instanceof t?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(t){return e.applyUpdate(t)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(t){var e=this;t.init(),Array.from(t.headers.keys()).forEach((function(n){e.headers.set(n,t.headers.get(n)),e.normalizedNames.set(n,t.normalizedNames.get(n))}))}},{key:"clone",value:function(e){var n=new t;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof t?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([e]),n}},{key:"applyUpdate",value:function(t){var e=t.name.toLowerCase();switch(t.op){case"a":case"s":var n=t.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(t.name,e);var i=("a"===t.op?this.headers.get(e):void 0)||[];i.push.apply(i,u(n)),this.headers.set(e,i);break;case"d":var r=t.value;if(r){var a=this.headers.get(e);if(!a)return;0===(a=a.filter((function(t){return-1===r.indexOf(t)}))).length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,a)}else this.headers.delete(e),this.normalizedNames.delete(e)}}},{key:"forEach",value:function(t){var e=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return t(e.normalizedNames.get(n),e.headers.get(n))}))}}]),t}(),Sg=function(){function t(){_(this,t)}return b(t,[{key:"encodeKey",value:function(t){return Cg(t)}},{key:"encodeValue",value:function(t){return Cg(t)}},{key:"decodeKey",value:function(t){return decodeURIComponent(t)}},{key:"decodeValue",value:function(t){return decodeURIComponent(t)}}]),t}();function Mg(t,e){var n=new Map;return t.length>0&&t.split("&").forEach((function(t){var i=t.indexOf("="),r=l(-1==i?[e.decodeKey(t),""]:[e.decodeKey(t.slice(0,i)),e.decodeValue(t.slice(i+1))],2),a=r[0],o=r[1],s=n.get(a)||[];s.push(o),n.set(a,s)})),n}function Cg(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var xg=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_(this,t),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Sg,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=Mg(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(t){var i=n.fromObject[t];e.map.set(t,Array.isArray(i)?i:[i])}))):this.map=null}return b(t,[{key:"has",value:function(t){return this.init(),this.map.has(t)}},{key:"get",value:function(t){this.init();var e=this.map.get(t);return e?e[0]:null}},{key:"getAll",value:function(t){return this.init(),this.map.get(t)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(t,e){return this.clone({param:t,value:e,op:"a"})}},{key:"set",value:function(t,e){return this.clone({param:t,value:e,op:"s"})}},{key:"delete",value:function(t,e){return this.clone({param:t,value:e,op:"d"})}},{key:"toString",value:function(){var t=this;return this.init(),this.keys().map((function(e){var n=t.encoder.encodeKey(e);return t.map.get(e).map((function(e){return n+"="+t.encoder.encodeValue(e)})).join("&")})).filter((function(t){return""!==t})).join("&")}},{key:"clone",value:function(e){var n=new t({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([e]),n}},{key:"init",value:function(){var t=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(e){return t.map.set(e,t.cloneFrom.map.get(e))})),this.updates.forEach((function(e){switch(e.op){case"a":case"s":var n=("a"===e.op?t.map.get(e.param):void 0)||[];n.push(e.value),t.map.set(e.param,n);break;case"d":if(void 0===e.value){t.map.delete(e.param);break}var i=t.map.get(e.param)||[],r=i.indexOf(e.value);-1!==r&&i.splice(r,1),i.length>0?t.map.set(e.param,i):t.map.delete(e.param)}})),this.cloneFrom=this.updates=null)}}]),t}();function Dg(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function Lg(t){return"undefined"!=typeof Blob&&t instanceof Blob}function Tg(t){return"undefined"!=typeof FormData&&t instanceof FormData}var Pg=function(){function t(e,n,i,r){var a;if(_(this,t),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new wg),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s0&&void 0!==arguments[0]?arguments[0]:{},n=e.method||this.method,i=e.url||this.url,r=e.responseType||this.responseType,a=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,s=void 0!==e.reportProgress?e.reportProgress:this.reportProgress,l=e.headers||this.headers,u=e.params||this.params;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce((function(t,n){return t.set(n,e.setHeaders[n])}),l)),e.setParams&&(u=Object.keys(e.setParams).reduce((function(t,n){return t.set(n,e.setParams[n])}),u)),new t(n,i,a,{params:u,headers:l,reportProgress:s,responseType:r,withCredentials:o})}}]),t}(),Og=function(t){return t[t.Sent=0]="Sent",t[t.UploadProgress=1]="UploadProgress",t[t.ResponseHeader=2]="ResponseHeader",t[t.DownloadProgress=3]="DownloadProgress",t[t.Response=4]="Response",t[t.User=5]="User",t}({}),Eg=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_(this,t),this.headers=e.headers||new wg,this.status=void 0!==e.status?e.status:n,this.statusText=e.statusText||i,this.url=e.url||null,this.ok=this.status>=200&&this.status<300},Ig=function(t){f(n,t);var e=v(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _(this,n),(t=e.call(this,i)).type=Og.ResponseHeader,t}return b(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(Eg),Ag=function(t){f(n,t);var e=v(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _(this,n),(t=e.call(this,i)).type=Og.Response,t.body=void 0!==i.body?i.body:null,t}return b(n,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==t.body?t.body:this.body,headers:t.headers||this.headers,status:void 0!==t.status?t.status:this.status,statusText:t.statusText||this.statusText,url:t.url||this.url||void 0})}}]),n}(Eg),Yg=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this,t,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(t.url||"(unknown url)"):"Http failure response for ".concat(t.url||"(unknown url)",": ").concat(t.status," ").concat(t.statusText),i.error=t.error||null,i}return n}(Eg);function Fg(t,e){return{body:e,headers:t.headers,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}var Rg=function(){var t=function(){function t(e){_(this,t),this.handler=e}return b(t,[{key:"request",value:function(t,e){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t instanceof Pg)n=t;else{var a=void 0;a=r.headers instanceof wg?r.headers:new wg(r.headers);var o=void 0;r.params&&(o=r.params instanceof xg?r.params:new xg({fromObject:r.params})),n=new Pg(t,e,void 0!==r.body?r.body:null,{headers:a,params:o,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=mg(n).pipe(gg((function(t){return i.handler.handle(t)})));if(t instanceof Pg||"events"===r.observe)return s;var l=s.pipe(vg((function(t){return t instanceof Ag})));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe(nt((function(t){if(null!==t.body&&!(t.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return t.body})));case"blob":return l.pipe(nt((function(t){if(null!==t.body&&!(t.body instanceof Blob))throw new Error("Response is not a Blob.");return t.body})));case"text":return l.pipe(nt((function(t){if(null!==t.body&&"string"!=typeof t.body)throw new Error("Response is not a string.");return t.body})));case"json":default:return l.pipe(nt((function(t){return t.body})))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(r.observe,"}"))}}},{key:"delete",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",t,e)}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",t,e)}},{key:"head",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",t,e)}},{key:"jsonp",value:function(t,e){return this.request("JSONP",t,{params:(new xg).append(e,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",t,e)}},{key:"patch",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",t,Fg(n,e))}},{key:"post",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",t,Fg(n,e))}},{key:"put",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",t,Fg(n,e))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(bg))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Ng=function(){function t(e,n){_(this,t),this.next=e,this.interceptor=n}return b(t,[{key:"handle",value:function(t){return this.interceptor.intercept(t,this.next)}}]),t}(),Hg=new se("HTTP_INTERCEPTORS"),jg=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"intercept",value:function(t,e){return e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Bg=/^\)\]\}',?\n/,Vg=function t(){_(this,t)},zg=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"build",value:function(){return new XMLHttpRequest}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Wg=function(){var t=function(){function t(e){_(this,t),this.xhrFactory=e}return b(t,[{key:"handle",value:function(t){var e=this;if("JSONP"===t.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new H((function(n){var i=e.xhrFactory.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((function(t,e){return i.setRequestHeader(t,e.join(","))})),t.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!t.headers.has("Content-Type")){var r=t.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(t.responseType){var a=t.responseType.toLowerCase();i.responseType="json"!==a?a:"text"}var o=t.serializeBody(),s=null,l=function(){if(null!==s)return s;var e=1223===i.status?204:i.status,n=i.statusText||"OK",r=new wg(i.getAllResponseHeaders()),a=function(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(i)||t.url;return s=new Ig({headers:r,status:e,statusText:n,url:a})},u=function(){var e=l(),r=e.headers,a=e.status,o=e.statusText,s=e.url,u=null;204!==a&&(u=void 0===i.response?i.responseText:i.response),0===a&&(a=u?200:0);var c=a>=200&&a<300;if("json"===t.responseType&&"string"==typeof u){var d=u;u=u.replace(Bg,"");try{u=""!==u?JSON.parse(u):null}catch(h){u=d,c&&(c=!1,u={error:h,text:u})}}c?(n.next(new Ag({body:u,headers:r,status:a,statusText:o,url:s||void 0})),n.complete()):n.error(new Yg({error:u,headers:r,status:a,statusText:o,url:s||void 0}))},c=function(t){var e=l(),r=new Yg({error:t,status:i.status||0,statusText:i.statusText||"Unknown Error",url:e.url||void 0});n.error(r)},d=!1,h=function(e){d||(n.next(l()),d=!0);var r={type:Og.DownloadProgress,loaded:e.loaded};e.lengthComputable&&(r.total=e.total),"text"===t.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},f=function(t){var e={type:Og.UploadProgress,loaded:t.loaded};t.lengthComputable&&(e.total=t.total),n.next(e)};return i.addEventListener("load",u),i.addEventListener("error",c),t.reportProgress&&(i.addEventListener("progress",h),null!==o&&i.upload&&i.upload.addEventListener("progress",f)),i.send(o),n.next({type:Og.Sent}),function(){i.removeEventListener("error",c),i.removeEventListener("load",u),t.reportProgress&&(i.removeEventListener("progress",h),null!==o&&i.upload&&i.upload.removeEventListener("progress",f)),i.readyState!==i.DONE&&i.abort()}}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Vg))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Ug=new se("XSRF_COOKIE_NAME"),qg=new se("XSRF_HEADER_NAME"),Gg=function t(){_(this,t)},Kg=function(){var t=function(){function t(e,n,i){_(this,t),this.doc=e,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return b(t,[{key:"getToken",value:function(){if("server"===this.platform)return null;var t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=vh(t,this.cookieName),this.lastCookieString=t),this.lastToken}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(rd),ge(uc),ge(Ug))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Jg=function(){var t=function(){function t(e,n){_(this,t),this.tokenService=e,this.headerName=n}return b(t,[{key:"intercept",value:function(t,e){var n=t.url.toLowerCase();if("GET"===t.method||"HEAD"===t.method||n.startsWith("http://")||n.startsWith("https://"))return e.handle(t);var i=this.tokenService.getToken();return null===i||t.headers.has(this.headerName)||(t=t.clone({headers:t.headers.set(this.headerName,i)})),e.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Gg),ge(qg))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Zg=function(){var t=function(){function t(e,n){_(this,t),this.backend=e,this.injector=n,this.chain=null}return b(t,[{key:"handle",value:function(t){if(null===this.chain){var e=this.injector.get(Hg,[]);this.chain=e.reduceRight((function(t,e){return new Ng(t,e)}),this.backend)}return this.chain.handle(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(kg),ge(Wo))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),$g=function(){var t=function(){function t(){_(this,t)}return b(t,null,[{key:"disable",value:function(){return{ngModule:t,providers:[{provide:Jg,useClass:jg}]}}},{key:"withOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.cookieName?{provide:Ug,useValue:e.cookieName}:[],e.headerName?{provide:qg,useValue:e.headerName}:[]]}}}]),t}();return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[Jg,{provide:Hg,useExisting:Jg,multi:!0},{provide:Gg,useClass:Kg},{provide:Ug,useValue:"XSRF-TOKEN"},{provide:qg,useValue:"X-XSRF-TOKEN"}]}),t}(),Qg=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[Rg,{provide:bg,useClass:Zg},Wg,{provide:kg,useExisting:Wg},zg,{provide:Vg,useExisting:zg}],imports:[[$g.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t}(),Xg=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this))._value=t,i}return b(n,[{key:"_subscribe",value:function(t){var e=r(i(n.prototype),"_subscribe",this).call(this,t);return e&&!e.closed&&t.next(this._value),e}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new B;return this._value}},{key:"next",value:function(t){r(i(n.prototype),"next",this).call(this,this._value=t)}},{key:"value",get:function(){return this.getValue()}}]),n}(W),tv=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),ev={};function nv(){for(var t=arguments.length,e=new Array(t),n=0;n0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r0&&void 0!==arguments[0]?arguments[0]:gv;return function(e){return e.lift(new pv(t))}}var pv=function(){function t(e){_(this,t),this.errorFactory=e}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new mv(t,this.errorFactory))}}]),t}(),mv=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).errorFactory=i,r.hasValue=!1,r}return b(n,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),n}(I);function gv(){return new tv}function vv(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new _v(t))}}var _v=function(){function t(e){_(this,t),this.defaultValue=e}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new yv(t,this.defaultValue))}}]),t}(),yv=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).defaultValue=i,r.isEmpty=!0,r}return b(n,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(I);function bv(t){return function(e){var n=new kv(t),i=e.lift(n);return n.caught=i}}var kv=function(){function t(e){_(this,t),this.selector=e}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new wv(t,this.selector,this.caught))}}]),t}(),wv=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t)).selector=i,a.caught=r,a}return b(n,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(o){return void r(i(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var a=new G(this,void 0,void 0);this.add(a),tt(this,e,void 0,void 0,a)}}}]),n}(et);function Sv(t){return function(e){return 0===t?ov():e.lift(new Mv(t))}}var Mv=function(){function t(e){if(_(this,t),this.total=e,this.total<0)throw new uv}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Cv(t,this.total))}}]),t}(),Cv=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).total=i,r.count=0,r}return b(n,[{key:"_next",value:function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}]),n}(I);function xv(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?vg((function(e,n){return t(e,n,i)})):ct,Sv(1),n?vv(e):fv((function(){return new tv})))}}function Dv(t,e,n){return function(i){return i.lift(new Lv(t,e,n))}}var Lv=function(){function t(e,n,i){_(this,t),this.nextOrObserver=e,this.error=n,this.complete=i}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Tv(t,this.nextOrObserver,this.error,this.complete))}}]),t}(),Tv=function(t){f(n,t);var e=v(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this,t))._tapNext=F,s._tapError=F,s._tapComplete=F,s._tapError=r||F,s._tapComplete=o||F,M(i)?(s._context=a(s),s._tapNext=i):i&&(s._context=i,s._tapNext=i.next||F,s._tapError=i.error||F,s._tapComplete=i.complete||F),s}return b(n,[{key:"_next",value:function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}},{key:"_error",value:function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}]),n}(I),Pv=function(){function t(e,n,i){_(this,t),this.predicate=e,this.thisArg=n,this.source=i}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Ov(t,this.predicate,this.thisArg,this.source))}}]),t}(),Ov=function(t){f(n,t);var e=v(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this,t)).predicate=i,s.thisArg=r,s.source=o,s.index=0,s.thisArg=r||a(s),s}return b(n,[{key:"notifyComplete",value:function(t){this.destination.next(t),this.destination.complete()}},{key:"_next",value:function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(I);function Ev(t,e){return"function"==typeof e?function(n){return n.pipe(Ev((function(n,i){return ot(t(n,i)).pipe(nt((function(t,r){return e(n,t,i,r)})))})))}:function(e){return e.lift(new Iv(t))}}var Iv=function(){function t(e){_(this,t),this.project=e}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Av(t,this.project))}}]),t}(),Av=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).project=i,r.index=0,r}return b(n,[{key:"_next",value:function(t){var e,n=this.index++;try{e=this.project(t,n)}catch(i){return void this.destination.error(i)}this._innerSub(e,t,n)}},{key:"_innerSub",value:function(t,e,n){var i=this.innerSubscription;i&&i.unsubscribe();var r=new G(this,void 0,void 0);this.destination.add(r),this.innerSubscription=tt(this,t,e,n,r)}},{key:"_complete",value:function(){var t=this.innerSubscription;t&&!t.closed||r(i(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&r(i(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(t,e,n,i,r){this.destination.next(e)}}]),n}(et);function Yv(){return lv()(mg.apply(void 0,arguments))}function Fv(){for(var t=arguments.length,e=new Array(t),n=0;n=2&&(n=!0),function(i){return i.lift(new Nv(t,e,n))}}var Nv=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_(this,t),this.accumulator=e,this.seed=n,this.hasSeed=i}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Hv(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),Hv=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t)).accumulator=i,o._seed=r,o.hasSeed=a,o.index=0,o}return b(n,[{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(i){this.destination.error(i)}this.seed=e,this.destination.next(e)}},{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}}]),n}(I);function jv(t){return function(e){return e.lift(new Bv(t))}}var Bv=function(){function t(e){_(this,t),this.callback=e}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Vv(t,this.callback))}}]),t}(),Vv=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).add(new x(i)),r}return n}(I),zv=function t(e,n){_(this,t),this.id=e,this.url=n},Wv=function(t){f(n,t);var e=v(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _(this,n),(r=e.call(this,t,i)).navigationTrigger=a,r.restoredState=o,r}return b(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(zv),Uv=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t,i)).urlAfterRedirects=r,a}return b(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(zv),qv=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t,i)).reason=r,a}return b(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(zv),Gv=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t,i)).error=r,a}return b(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(zv),Kv=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return b(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(zv),Jv=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return b(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(zv),Zv=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o){var s;return _(this,n),(s=e.call(this,t,i)).urlAfterRedirects=r,s.state=a,s.shouldActivate=o,s}return b(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(zv),$v=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return b(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(zv),Qv=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t,i)).urlAfterRedirects=r,o.state=a,o}return b(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(zv),Xv=function(){function t(e){_(this,t),this.route=e}return b(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),t_=function(){function t(e){_(this,t),this.route=e}return b(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),e_=function(){function t(e){_(this,t),this.snapshot=e}return b(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),n_=function(){function t(e){_(this,t),this.snapshot=e}return b(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),i_=function(){function t(e){_(this,t),this.snapshot=e}return b(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),r_=function(){function t(e){_(this,t),this.snapshot=e}return b(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),a_=function(){function t(e,n,i){_(this,t),this.routerEvent=e,this.position=n,this.anchor=i}return b(t,[{key:"toString",value:function(){var t=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(t,"')")}}]),t}(),o_=function(){function t(e){_(this,t),this.params=e||{}}return b(t,[{key:"has",value:function(t){return Object.prototype.hasOwnProperty.call(this.params,t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function s_(t){return new o_(t)}function l_(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function u_(t,e,n){var i=n.path.split("/");if(i.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||i.length-1})):t===e}function h_(t){return Array.prototype.concat.apply([],t)}function f_(t){return t.length>0?t[t.length-1]:null}function p_(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function m_(t){return vs(t)?t:gs(t)?ot(Promise.resolve(t)):mg(t)}function g_(t,e,n){return n?function(t,e){return c_(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!b_(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var i in n.children){if(!e.children[i])return!1;if(!t(e.children[i],n.children[i]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return d_(t[n],e[n])}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,i,r){if(n.segments.length>r.length)return!!b_(n.segments.slice(0,r.length),r)&&!i.hasChildren();if(n.segments.length===r.length){if(!b_(n.segments,r))return!1;for(var a in i.children){if(!n.children[a])return!1;if(!t(n.children[a],i.children[a]))return!1}return!0}var o=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!b_(n.segments,o)&&!!n.children.primary&&e(n.children.primary,i,s)}(e,n,n.segments)}(t.root,e.root)}var v_=function(){function t(e,n,i){_(this,t),this.root=e,this.queryParams=n,this.fragment=i}return b(t,[{key:"toString",value:function(){return M_.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=s_(this.queryParams)),this._queryParamMap}}]),t}(),__=function(){function t(e,n){var i=this;_(this,t),this.segments=e,this.children=n,this.parent=null,p_(n,(function(t,e){return t.parent=i}))}return b(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return C_(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),t}(),y_=function(){function t(e,n){_(this,t),this.path=e,this.parameters=n}return b(t,[{key:"toString",value:function(){return O_(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=s_(this.parameters)),this._parameterMap}}]),t}();function b_(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function k_(t,e){var n=[];return p_(t.children,(function(t,i){"primary"===i&&(n=n.concat(e(t,i)))})),p_(t.children,(function(t,i){"primary"!==i&&(n=n.concat(e(t,i)))})),n}var w_=function t(){_(this,t)},S_=function(){function t(){_(this,t)}return b(t,[{key:"parse",value:function(t){var e=new F_(t);return new v_(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){var e,n,i="/".concat(function t(e,n){if(!e.hasChildren())return C_(e);if(n){var i=e.children.primary?t(e.children.primary,!1):"",r=[];return p_(e.children,(function(e,n){"primary"!==n&&r.push("".concat(n,":").concat(t(e,!1)))})),r.length>0?"".concat(i,"(").concat(r.join("//"),")"):i}var a=k_(e,(function(n,i){return"primary"===i?[t(e.children.primary,!1)]:["".concat(i,":").concat(t(n,!1))]}));return"".concat(C_(e),"/(").concat(a.join("//"),")")}(t.root,!0)),r=(e=t.queryParams,(n=Object.keys(e).map((function(t){var n=e[t];return Array.isArray(n)?n.map((function(e){return"".concat(D_(t),"=").concat(D_(e))})).join("&"):"".concat(D_(t),"=").concat(D_(n))}))).length?"?".concat(n.join("&")):""),a="string"==typeof t.fragment?"#".concat(encodeURI(t.fragment)):"";return"".concat(i).concat(r).concat(a)}}]),t}(),M_=new S_;function C_(t){return t.segments.map((function(t){return O_(t)})).join("/")}function x_(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function D_(t){return x_(t).replace(/%3B/gi,";")}function L_(t){return x_(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function T_(t){return decodeURIComponent(t)}function P_(t){return T_(t.replace(/\+/g,"%20"))}function O_(t){return"".concat(L_(t.path)).concat((e=t.parameters,Object.keys(e).map((function(t){return";".concat(L_(t),"=").concat(L_(e[t]))})).join("")));var e}var E_=/^[^\/()?;=#]+/;function I_(t){var e=t.match(E_);return e?e[0]:""}var A_=/^[^=?&#]+/,Y_=/^[^?&#]+/,F_=function(){function t(e){_(this,t),this.url=e,this.remaining=e}return b(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new __([],{}):new __([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new __(t,e)),n}},{key:"parseSegment",value:function(){var t=I_(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new y_(T_(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=I_(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var i=I_(this.remaining);i&&this.capture(n=i)}t[T_(e)]=T_(n)}}},{key:"parseQueryParam",value:function(t){var e,n=(e=this.remaining.match(A_))?e[0]:"";if(n){this.capture(n);var i="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(Y_);return e?e[0]:""}(this.remaining);r&&this.capture(i=r)}var a=P_(n),o=P_(i);if(t.hasOwnProperty(a)){var s=t[a];Array.isArray(s)||(t[a]=s=[s]),s.push(o)}else t[a]=o}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=I_(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):t&&(r="primary");var a=this.parseChildren();e[r]=1===Object.keys(a).length?a.primary:new __([],a),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),R_=function(){function t(e){_(this,t),this._root=e}return b(t,[{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=N_(t,this._root);return e?e.children.map((function(t){return t.value})):[]}},{key:"firstChild",value:function(t){var e=N_(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=H_(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))}},{key:"pathFromRoot",value:function(t){return H_(t,this._root).map((function(t){return t.value}))}},{key:"root",get:function(){return this._root.value}}]),t}();function N_(t,e){if(t===e.value)return e;var n,i=d(e.children);try{for(i.s();!(n=i.n()).done;){var r=N_(t,n.value);if(r)return r}}catch(a){i.e(a)}finally{i.f()}return null}function H_(t,e){if(t===e.value)return[e];var n,i=d(e.children);try{for(i.s();!(n=i.n()).done;){var r=H_(t,n.value);if(r.length)return r.unshift(e),r}}catch(a){i.e(a)}finally{i.f()}return[]}var j_=function(){function t(e,n){_(this,t),this.value=e,this.children=n}return b(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function B_(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var V_=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t)).snapshot=i,J_(a(r),t),r}return b(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(R_);function z_(t,e){var n=function(t,e){var n=new G_([],{},{},"",{},"primary",e,null,t.root,-1,{});return new K_("",new j_(n,[]))}(t,e),i=new Xg([new y_("",{})]),r=new Xg({}),a=new Xg({}),o=new Xg({}),s=new Xg(""),l=new W_(i,r,o,s,a,"primary",e,n.root);return l.snapshot=n.root,new V_(new j_(l,[]),n)}var W_=function(){function t(e,n,i,r,a,o,s,l){_(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=l}return b(t,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(nt((function(t){return s_(t)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(nt((function(t){return s_(t)})))),this._queryParamMap}}]),t}();function U_(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,i=0;if("always"!==e)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}return q_(n.slice(i))}function q_(t){return t.reduce((function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}}),{params:{},data:{},resolve:{}})}var G_=function(){function t(e,n,i,r,a,o,s,l,u,c,d){_(this,t),this.url=e,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=d}return b(t,[{key:"toString",value:function(){var t=this.url.map((function(t){return t.toString()})).join("/"),e=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(t,"', path:'").concat(e,"')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=s_(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=s_(this.queryParams)),this._queryParamMap}}]),t}(),K_=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,i)).url=t,J_(a(r),i),r}return b(n,[{key:"toString",value:function(){return Z_(this._root)}}]),n}(R_);function J_(t,e){e.value._routerState=t,e.children.forEach((function(e){return J_(t,e)}))}function Z_(t){var e=t.children.length>0?" { ".concat(t.children.map(Z_).join(", ")," } "):"";return"".concat(t.value).concat(e)}function $_(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,c_(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),c_(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;nr;){if(a-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new iy(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(a,e,t),s=o.processChildren?oy(o.segmentGroup,o.index,a.commands):ay(o.segmentGroup,o.index,a.commands);return ey(o.segmentGroup,s,e,i,r)}function ty(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function ey(t,e,n,i,r){var a={};return i&&p_(i,(function(t,e){a[e]=Array.isArray(t)?t.map((function(t){return"".concat(t)})):"".concat(t)})),new v_(n.root===t?e:function t(e,n,i){var r={};return p_(e.children,(function(e,a){r[a]=e===n?i:t(e,n,i)})),new __(e.segments,r)}(n.root,t,e),a,r)}var ny=function(){function t(e,n,i){if(_(this,t),this.isAbsolute=e,this.numberOfDoubleDots=n,this.commands=i,e&&i.length>0&&ty(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(r&&r!==f_(i))throw new Error("{outlets:{}} has to be the last command")}return b(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),iy=function t(e,n,i){_(this,t),this.segmentGroup=e,this.processChildren=n,this.index=i};function ry(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:"".concat(t)}function ay(t,e,n){if(t||(t=new __([],{})),0===t.segments.length&&t.hasChildren())return oy(t,e,n);var i=function(t,e,n){for(var i=0,r=e,a={match:!1,pathIndex:0,commandIndex:0};r=n.length)return a;var o=t.segments[r],s=ry(n[i]),l=i0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!cy(s,l,o))return a;i+=2}else{if(!cy(s,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(t,e,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex0?new __([],c({},"primary",t)):t;return new v_(i,e,n)}},{key:"expandSegmentGroup",value:function(t,e,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(nt((function(t){return new __([],t)}))):this.expandSegment(t,n,e,n.segments,i,!0)}},{key:"expandChildren",value:function(t,e,n){var i=this;return function(n,r){if(0===Object.keys(n).length)return mg({});var a=[],o=[],s={};return p_(n,(function(n,r){var l,u,c=(l=r,u=n,i.expandSegmentGroup(t,e,u,l)).pipe(nt((function(t){return s[r]=t})));"primary"===r?a.push(c):o.push(c)})),mg.apply(null,a.concat(o)).pipe(lv(),function(t,e){var n=arguments.length>=2;return function(i){return i.pipe(t?vg((function(e,n){return t(e,n,i)})):ct,cv(1),n?vv(e):fv((function(){return new tv})))}}(),nt((function(){return s})))}(n.children)}},{key:"expandSegment",value:function(t,e,n,i,r,a){var o=this;return mg.apply(void 0,u(n)).pipe(nt((function(s){return o.expandSegmentAgainstRoute(t,e,n,s,i,r,a).pipe(bv((function(t){if(t instanceof gy)return mg(null);throw t})))})),lv(),xv((function(t){return!!t})),bv((function(t,n){if(t instanceof tv||"EmptyError"===t.name){if(o.noLeftoversInUrl(e,i,r))return mg(new __([],{}));throw new gy(e)}throw t})))}},{key:"noLeftoversInUrl",value:function(t,e,n){return 0===e.length&&!t.children[n]}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,i,r,a,o){return Cy(i)!==a?_y(e):void 0===i.redirectTo?this.matchSegmentAgainstRoute(t,e,i,r):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a):_y(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,i,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,i){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?yy(a):this.lineralizeSegments(n,a).pipe(st((function(n){var a=new __(n,{});return r.expandSegment(t,a,e,n,i,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,i,r,a){var o=this,s=wy(e,i,r),l=s.consumedSegments,u=s.lastChild,c=s.positionalParamSegments;if(!s.matched)return _y(e);var d=this.applyRedirectCommands(l,i.redirectTo,c);return i.redirectTo.startsWith("/")?yy(d):this.lineralizeSegments(i,d).pipe(st((function(i){return o.expandSegment(t,e,n,i.concat(r.slice(u)),a,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,i){var r=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(nt((function(t){return n._loadedConfig=t,new __(i,{})}))):mg(new __(i,{}));var a=wy(e,n,i),o=a.consumedSegments,s=a.lastChild;if(!a.matched)return _y(e);var l=i.slice(s);return this.getChildConfig(t,n,i).pipe(st((function(t){var n=t.module,i=t.routes,a=function(t,e,n,i){return n.length>0&&function(t,e,n){return n.some((function(n){return My(t,e,n)&&"primary"!==Cy(n)}))}(t,n,i)?{segmentGroup:Sy(new __(e,function(t,e){var n={};n.primary=e;var i,r=d(t);try{for(r.s();!(i=r.n()).done;){var a=i.value;""===a.path&&"primary"!==Cy(a)&&(n[Cy(a)]=new __([],{}))}}catch(o){r.e(o)}finally{r.f()}return n}(i,new __(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return My(t,e,n)}))}(t,n,i)?{segmentGroup:Sy(new __(t.segments,function(t,e,n,i){var r,a={},o=d(n);try{for(o.s();!(r=o.n()).done;){var s=r.value;My(t,e,s)&&!i[Cy(s)]&&(a[Cy(s)]=new __([],{}))}}catch(l){o.e(l)}finally{o.f()}return Object.assign(Object.assign({},i),a)}(t,n,i,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,o,l,i),s=a.segmentGroup,u=a.slicedSegments;return 0===u.length&&s.hasChildren()?r.expandChildren(n,i,s).pipe(nt((function(t){return new __(o,t)}))):0===i.length&&0===u.length?mg(new __(o,{})):r.expandSegment(n,s,i,u,"primary",!0).pipe(nt((function(t){return new __(o.concat(t.segments),t.children)})))})))}},{key:"getChildConfig",value:function(t,e,n){var i=this;return e.children?mg(new fy(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?mg(e._loadedConfig):this.runCanLoadGuards(t.injector,e,n).pipe(st((function(n){return n?i.configLoader.load(t.injector,e).pipe(nt((function(t){return e._loadedConfig=t,t}))):function(t){return new H((function(e){return e.error(l_("Cannot load children because the guard of the route \"path: '".concat(t.path,"'\" returned false")))}))}(e)}))):mg(new fy([],t))}},{key:"runCanLoadGuards",value:function(t,e,n){var i,r=this,a=e.canLoad;return a&&0!==a.length?ot(a).pipe(nt((function(i){var r,a=t.get(i);if(function(t){return t&&py(t.canLoad)}(a))r=a.canLoad(e,n);else{if(!py(a))throw new Error("Invalid CanLoad guard");r=a(e,n)}return m_(r)}))).pipe(lv(),Dv((function(t){if(my(t)){var e=l_('Redirecting to "'.concat(r.urlSerializer.serialize(t),'"'));throw e.url=t,e}})),(i=function(t){return!0===t},function(t){return t.lift(new Pv(i,void 0,t))})):mg(!0)}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],i=e.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return mg(n);if(i.numberOfChildren>1||!i.children.primary)return by(t.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,i){var r=this.createSegmentGroup(t,e.root,n,i);return new v_(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return p_(t,(function(t,i){if("string"==typeof t&&t.startsWith(":")){var r=t.substring(1);n[i]=e[r]}else n[i]=t})),n}},{key:"createSegmentGroup",value:function(t,e,n,i){var r=this,a=this.createSegments(t,e.segments,n,i),o={};return p_(e.children,(function(e,a){o[a]=r.createSegmentGroup(t,e,n,i)})),new __(a,o)}},{key:"createSegments",value:function(t,e,n,i){var r=this;return e.map((function(e){return e.path.startsWith(":")?r.findPosParam(t,e,i):r.findOrReturn(e,n)}))}},{key:"findPosParam",value:function(t,e,n){var i=n[e.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return i}},{key:"findOrReturn",value:function(t,e){var n,i=0,r=d(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a.path===t.path)return e.splice(i),a;i++}}catch(o){r.e(o)}finally{r.f()}return t}}]),t}();function wy(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var i=(e.matcher||u_)(n,t,e);return i?{matched:!0,consumedSegments:i.consumed,lastChild:i.consumed.length,positionalParamSegments:i.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Sy(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new __(t.segments.concat(e.segments),e.children)}return t}function My(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Cy(t){return t.outlet||"primary"}var xy=function t(e){_(this,t),this.path=e,this.route=this.path[this.path.length-1]},Dy=function t(e,n){_(this,t),this.component=e,this.route=n};function Ly(t,e,n){var i=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(i?i.module.injector:n).get(t)}function Ty(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=B_(e);return t.children.forEach((function(t){Py(t,a[t.value.outlet],n,i.concat([t.value]),r),delete a[t.value.outlet]})),p_(a,(function(t,e){return Ey(t,n.getContext(e),r)})),r}function Py(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=t.value,o=e?e.value:null,s=n?n.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){var l=Oy(o,a,a.routeConfig.runGuardsAndResolvers);if(l?r.canActivateChecks.push(new xy(i)):(a.data=o.data,a._resolvedData=o._resolvedData),Ty(t,e,a.component?s?s.children:null:n,i,r),l){var u=s&&s.outlet&&s.outlet.component||null;r.canDeactivateChecks.push(new Dy(u,o))}}else o&&Ey(e,s,r),r.canActivateChecks.push(new xy(i)),Ty(t,null,a.component?s?s.children:null:n,i,r);return r}function Oy(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!b_(t.url,e.url);case"pathParamsOrQueryParamsChange":return!b_(t.url,e.url)||!c_(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Q_(t,e)||!c_(t.queryParams,e.queryParams);case"paramsChange":default:return!Q_(t,e)}}function Ey(t,e,n){var i=B_(t),r=t.value;p_(i,(function(t,i){Ey(t,r.component?e?e.children.getContext(i):null:e,n)})),n.canDeactivateChecks.push(new Dy(r.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,r))}var Iy=Symbol("INITIAL_VALUE");function Ay(){return Ev((function(t){return nv.apply(void 0,u(t.map((function(t){return t.pipe(Sv(1),Fv(Iy))})))).pipe(Rv((function(t,e){var n=!1;return e.reduce((function(t,i,r){if(t!==Iy)return t;if(i===Iy&&(n=!0),!n){if(!1===i)return i;if(r===e.length-1||my(i))return i}return t}),t)}),Iy),vg((function(t){return t!==Iy})),nt((function(t){return my(t)?t:!0===t})),Sv(1))}))}function Yy(t,e){return null!==t&&e&&e(new i_(t)),mg(!0)}function Fy(t,e){return null!==t&&e&&e(new e_(t)),mg(!0)}function Ry(t,e,n){var i=e.routeConfig?e.routeConfig.canActivate:null;return i&&0!==i.length?mg(i.map((function(i){return sv((function(){var r,a=Ly(i,e,n);if(function(t){return t&&py(t.canActivate)}(a))r=m_(a.canActivate(e,t));else{if(!py(a))throw new Error("Invalid CanActivate guard");r=m_(a(e,t))}return r.pipe(xv())}))}))).pipe(Ay()):mg(!0)}function Ny(t,e,n){var i=e[e.length-1],r=e.slice(0,e.length-1).reverse().map((function(t){return function(t){var e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)})).filter((function(t){return null!==t})).map((function(e){return sv((function(){return mg(e.guards.map((function(r){var a,o=Ly(r,e.node,n);if(function(t){return t&&py(t.canActivateChild)}(o))a=m_(o.canActivateChild(i,t));else{if(!py(o))throw new Error("Invalid CanActivateChild guard");a=m_(o(i,t))}return a.pipe(xv())}))).pipe(Ay())}))}));return mg(r).pipe(Ay())}var Hy=function t(){_(this,t)},jy=function(){function t(e,n,i,r,a,o){_(this,t),this.rootComponentType=e,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return b(t,[{key:"recognize",value:function(){try{var t=zy(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new G_([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),i=new j_(n,e),r=new K_(this.url,i);return this.inheritParamsAndData(r._root),mg(r)}catch(a){return new H((function(t){return t.error(a)}))}}},{key:"inheritParamsAndData",value:function(t){var e=this,n=t.value,i=U_(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),t.children.forEach((function(t){return e.inheritParamsAndData(t)}))}},{key:"processSegmentGroup",value:function(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}},{key:"processChildren",value:function(t,e){var n,i=this,r=k_(e,(function(e,n){return i.processSegmentGroup(t,e,n)}));return n={},r.forEach((function(t){var e=n[t.value.outlet];if(e){var i=e.url.map((function(t){return t.toString()})).join("/"),r=t.value.url.map((function(t){return t.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(i,"' and '").concat(r,"'."))}n[t.value.outlet]=t.value})),function(t){t.sort((function(t,e){return"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)}))}(r),r}},{key:"processSegment",value:function(t,e,n,i){var r,a=d(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;try{return this.processSegmentAgainstRoute(o,e,n,i)}catch(s){if(!(s instanceof Hy))throw s}}}catch(l){a.e(l)}finally{a.f()}if(this.noLeftoversInUrl(e,n,i))return[];throw new Hy}},{key:"noLeftoversInUrl",value:function(t,e,n){return 0===e.length&&!t.children[n]}},{key:"processSegmentAgainstRoute",value:function(t,e,n,i){if(t.redirectTo)throw new Hy;if((t.outlet||"primary")!==i)throw new Hy;var r,a=[],o=[];if("**"===t.path){var s=n.length>0?f_(n).parameters:{};r=new G_(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qy(t),i,t.component,t,By(e),Vy(e)+n.length,Gy(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new Hy;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(e.matcher||u_)(n,t,e);if(!i)throw new Hy;var r={};p_(i.posParams,(function(t,e){r[e]=t.path}));var a=i.consumed.length>0?Object.assign(Object.assign({},r),i.consumed[i.consumed.length-1].parameters):r;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:a}}(e,t,n);a=l.consumedSegments,o=n.slice(l.lastChild),r=new G_(a,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qy(t),i,t.component,t,By(e),Vy(e)+a.length,Gy(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=zy(e,a,o,u,this.relativeLinkResolution),d=c.segmentGroup,h=c.slicedSegments;if(0===h.length&&d.hasChildren()){var f=this.processChildren(u,d);return[new j_(r,f)]}if(0===u.length&&0===h.length)return[new j_(r,[])];var p=this.processSegment(u,d,h,"primary");return[new j_(r,p)]}}]),t}();function By(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function Vy(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function zy(t,e,n,i,r){if(n.length>0&&function(t,e,n){return n.some((function(n){return Wy(t,e,n)&&"primary"!==Uy(n)}))}(t,n,i)){var a=new __(e,function(t,e,n,i){var r={};r.primary=i,i._sourceSegment=t,i._segmentIndexShift=e.length;var a,o=d(n);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(""===s.path&&"primary"!==Uy(s)){var l=new __([],{});l._sourceSegment=t,l._segmentIndexShift=e.length,r[Uy(s)]=l}}}catch(u){o.e(u)}finally{o.f()}return r}(t,e,i,new __(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return Wy(t,e,n)}))}(t,n,i)){var o=new __(t.segments,function(t,e,n,i,r,a){var o,s={},l=d(i);try{for(l.s();!(o=l.n()).done;){var u=o.value;if(Wy(t,n,u)&&!r[Uy(u)]){var c=new __([],{});c._sourceSegment=t,c._segmentIndexShift="legacy"===a?t.segments.length:e.length,s[Uy(u)]=c}}}catch(h){l.e(h)}finally{l.f()}return Object.assign(Object.assign({},r),s)}(t,e,n,i,t.children,r));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}var s=new __(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function Wy(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Uy(t){return t.outlet||"primary"}function qy(t){return t.data||{}}function Gy(t){return t.resolve||{}}function Ky(t){return function(e){return e.pipe(Ev((function(e){var n=t(e);return n?ot(n).pipe(nt((function(){return e}))):ot([e])})))}}var Jy=function t(){_(this,t)},Zy=function(){function t(){_(this,t)}return b(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}(),$y=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&ds(0,"router-outlet")},directives:function(){return[gb]},encapsulation:2}),t}();function Qy(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new jy(t,e,n,i,r,a).recognize()}(t,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,e.serializeUrl(o)),r,a).pipe(nt((function(t){return Object.assign(Object.assign({},i),{targetSnapshot:t})})));var o})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Dv((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Dv((function(t){var i=new Kv(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(i)})));if(s&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var l=t.extractedUrl,u=t.source,c=t.restoredState,d=t.extras,h=new Wv(t.id,e.serializeUrl(l),u,c);n.next(h);var f=z_(l,e.rootComponentType).snapshot;return mg(Object.assign(Object.assign({},t),{targetSnapshot:f,urlAfterRedirects:l,extras:Object.assign(Object.assign({},d),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),av})),Ky((function(t){var n=t.extras;return e.hooks.beforePreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),Dv((function(t){var n=new Jv(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),nt((function(t){return Object.assign(Object.assign({},t),{guards:(n=t.targetSnapshot,i=t.currentSnapshot,r=e.rootContexts,a=n._root,Ty(a,i?i._root:null,r,[a.value]))});var n,i,r,a})),function(t,e){return function(n){return n.pipe(st((function(n){var i=n.targetSnapshot,r=n.currentSnapshot,a=n.guards,o=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===o.length?mg(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,i){return ot(t).pipe(st((function(t){return function(t,e,n,i,r){var a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;return a&&0!==a.length?mg(a.map((function(a){var o,s=Ly(a,e,r);if(function(t){return t&&py(t.canDeactivate)}(s))o=m_(s.canDeactivate(t,e,n,i));else{if(!py(s))throw new Error("Invalid CanDeactivate guard");o=m_(s(t,e,n,i))}return o.pipe(xv())}))).pipe(Ay()):mg(!0)}(t.component,t.route,n,e,i)})),xv((function(t){return!0!==t}),!0))}(s,i,r,t).pipe(st((function(n){return n&&"boolean"==typeof n?function(t,e,n,i){return ot(e).pipe(gg((function(e){return ot([Fy(e.route.parent,i),Yy(e.route,i),Ny(t,e.path,n),Ry(t,e.route,n)]).pipe(lv(),xv((function(t){return!0!==t}),!0))})),xv((function(t){return!0!==t}),!0))}(i,o,t,e):mg(n)})),nt((function(t){return Object.assign(Object.assign({},n),{guardsResult:t})})))})))}}(e.ngModule.injector,(function(t){return e.triggerEvent(t)})),Dv((function(t){if(my(t.guardsResult)){var n=l_('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}})),Dv((function(t){var n=new Zv(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),vg((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var i=new qv(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(i),t.resolve(!1),!1}return!0})),Ky((function(t){if(t.guards.canActivateChecks.length)return mg(t).pipe(Dv((function(t){var n=new $v(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Ev((function(t){var i,r,a=!1;return mg(t).pipe((i=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(st((function(t){var e=t.targetSnapshot,n=t.guards.canActivateChecks;if(!n.length)return mg(t);var a=0;return ot(n).pipe(gg((function(t){return function(t,e,n,i){return function(t,e,n,i){var r=Object.keys(t);if(0===r.length)return mg({});var a={};return ot(r).pipe(st((function(r){return function(t,e,n,i){var r=Ly(t,e,i);return m_(r.resolve?r.resolve(e,n):r(e,n))}(t[r],e,n,i).pipe(Dv((function(t){a[r]=t})))})),cv(1),st((function(){return Object.keys(a).length===r.length?mg(a):av})))}(t._resolve,t,e,i).pipe(nt((function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),U_(t,n).resolve),null})))}(t.route,e,i,r)})),Dv((function(){return a++})),cv(1),st((function(e){return a===n.length?mg(t):av})))})))}),Dv({next:function(){return a=!0},complete:function(){if(!a){var i=new qv(t.id,e.serializeUrl(t.extractedUrl),"At least one route resolver didn't emit any value.");n.next(i),t.resolve(!1)}}}))})),Dv((function(t){var n=new Qv(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})))})),Ky((function(t){var n=t.extras;return e.hooks.afterPreactivation(t.targetSnapshot,{navigationId:t.id,appliedUrlTree:t.extractedUrl,rawUrlTree:t.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})})),nt((function(t){var n,i,r,a=(r=function t(e,n,i){if(i&&e.shouldReuseRoute(n.value,i.value.snapshot)){var r=i.value;r._futureSnapshot=n.value;var a=function(e,n,i){return n.children.map((function(n){var r,a=d(i.children);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(e.shouldReuseRoute(o.value.snapshot,n.value))return t(e,n,o)}}catch(s){a.e(s)}finally{a.f()}return t(e,n)}))}(e,n,i);return new j_(r,a)}var o=e.retrieve(n.value);if(o){var s=o.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:{},n=e.relativeTo,i=e.queryParams,r=e.fragment,a=e.preserveQueryParams,o=e.queryParamsHandling,s=e.preserveFragment;rr()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var l=n||this.routerState.root,u=s?this.currentUrlTree.fragment:r,c=null;if(o)switch(o){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}else c=a?this.currentUrlTree.queryParams:i||null;return null!==c&&(c=this.removeEmptyProps(c)),X_(l,this.currentUrlTree,t,c,u)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};rr()&&this.isNgZoneEnabled&&!Mc.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=my(t)?t:this.parseUrl(t),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return db(t),this.navigateByUrl(this.createUrlTree(t,e),e)}},{key:"serializeUrl",value:function(t){return this.urlSerializer.serialize(t)}},{key:"parseUrl",value:function(t){var e;try{e=this.urlSerializer.parse(t)}catch(n){e=this.malformedUriErrorHandler(n,this.urlSerializer,t)}return e}},{key:"isActive",value:function(t,e){if(my(t))return g_(this.currentUrlTree,t,e);var n=this.parseUrl(t);return g_(this.currentUrlTree,n,e)}},{key:"removeEmptyProps",value:function(t){return Object.keys(t).reduce((function(e,n){var i=t[n];return null!=i&&(e[n]=i),e}),{})}},{key:"processNavigations",value:function(){var t=this;this.navigations.subscribe((function(e){t.navigated=!0,t.lastSuccessfulId=e.id,t.events.next(new Uv(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(t.currentUrlTree))),t.lastSuccessfulNavigation=t.currentNavigation,t.currentNavigation=null,e.resolve(!0)}),(function(e){t.console.warn("Unhandled Navigation Error: ")}))}},{key:"scheduleNavigation",value:function(t,e,n,i,r){var a,o,s,l=this.getTransition();if(l&&"imperative"!==e&&"imperative"===l.source&&l.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(l&&"hashchange"==e&&"popstate"===l.source&&l.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(l&&"popstate"==e&&"hashchange"===l.source&&l.rawUrl.toString()===t.toString())return Promise.resolve(!0);r?(a=r.resolve,o=r.reject,s=r.promise):s=new Promise((function(t,e){a=t,o=e}));var u=++this.navigationId;return this.setTransition({id:u,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:i,resolve:a,reject:o,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch((function(t){return Promise.reject(t)}))}},{key:"setBrowserUrl",value:function(t,e,n,i){var r=this.urlSerializer.serialize(t);i=i||{},this.location.isCurrentPathEqualTo(r)||e?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Lo),ge(w_),ge(ab),ge(yd),ge(Wo),ge(Gc),ge(kc),ge(void 0))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}();function db(t){for(var e=0;e2&&void 0!==arguments[2]?arguments[2]:{};_(this,t),this.router=e,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return b(t,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe((function(e){e instanceof Wv?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Uv&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe((function(e){e instanceof a_&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new a_(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(cb),ge(of),ge(void 0))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Sb=new se("ROUTER_CONFIGURATION"),Mb=new se("ROUTER_FORROOT_GUARD"),Cb=[yd,{provide:w_,useClass:S_},{provide:cb,useFactory:function(t,e,n,i,r,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,u=arguments.length>9?arguments[9]:void 0,c=new cb(null,t,e,n,i,r,a,h_(o));if(l&&(c.urlHandlingStrategy=l),u&&(c.routeReuseStrategy=u),s.errorHandler&&(c.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(c.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var d=nd();c.events.subscribe((function(t){d.logGroup("Router Event: ".concat(t.constructor.name)),d.log(t.toString()),d.log(t),d.logGroupEnd()}))}return s.onSameUrlNavigation&&(c.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(c.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(c.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(c.relativeLinkResolution=s.relativeLinkResolution),c},deps:[w_,ab,yd,Wo,Gc,kc,nb,Sb,[function t(){_(this,t)},new xt],[Jy,new xt]]},ab,{provide:W_,useFactory:function(t){return t.routerState.root},deps:[cb]},{provide:Gc,useClass:Zc},kb,bb,yb,{provide:Sb,useValue:{enableTracing:!1}}];function xb(){return new Nc("Router",cb)}var Db=function(){var t=function(){function t(e,n){_(this,t)}return b(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[Cb,Ob(e),{provide:Mb,useFactory:Pb,deps:[[cb,new xt,new Lt]]},{provide:Sb,useValue:n||{}},{provide:pd,useFactory:Tb,deps:[ad,[new Ct(gd),new xt],Sb]},{provide:wb,useFactory:Lb,deps:[cb,of,Sb]},{provide:_b,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:bb},{provide:Nc,multi:!0,useFactory:xb},[Eb,{provide:ic,multi:!0,useFactory:Ib,deps:[Eb]},{provide:Yb,useFactory:Ab,deps:[Eb]},{provide:cc,multi:!0,useExisting:Yb}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Ob(e)]}}}]),t}();return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)(ge(Mb,8),ge(cb,8))}}),t}();function Lb(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new wb(t,e,n)}function Tb(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new _d(t,e):new vd(t,e)}function Pb(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Ob(t){return[{provide:Uo,multi:!0,useValue:t},{provide:nb,multi:!0,useValue:t}]}var Eb=function(){var t=function(){function t(e){_(this,t),this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new W}return b(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(sd,Promise.resolve(null)).then((function(){var e=null,n=new Promise((function(t){return e=t})),i=t.injector.get(cb),r=t.injector.get(Sb);if(t.isLegacyDisabled(r)||t.isLegacyEnabled(r))e(!0);else if("disabled"===r.initialNavigation)i.setUpLocationChangeListener(),e(!0);else{if("enabled"!==r.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(r.initialNavigation,"'"));i.hooks.afterPreactivation=function(){return t.initNavigation?mg(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},i.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(Sb),n=this.injector.get(kb),i=this.injector.get(wb),r=this.injector.get(cb),a=this.injector.get(Uc);t===a.components[0]&&(this.isLegacyEnabled(e)?r.initialNavigation():this.isLegacyDisabled(e)&&r.setUpLocationChangeListener(),n.setUpPreloading(),i.init(),r.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}},{key:"isLegacyDisabled",value:function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Wo))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}();function Ib(t){return t.appInitializer.bind(t)}function Ab(t){return t.bootstrapListener.bind(t)}var Yb=new se("Router Initializer"),Fb=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r.pending=!1,r}return b(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(i,this.id,e),this}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n=!1,i=void 0;try{this.work(t)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var t=this.id,e=this.scheduler,n=e.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}]),n}(function(t){f(n,t);var e=v(n);function n(t,i){return _(this,n),e.call(this)}return b(n,[{key:"schedule",value:function(t){return this}}]),n}(x)),Rb=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return b(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return e>0?r(i(n.prototype),"schedule",this).call(this,t,e):(this.delay=e,this.state=t,this.scheduler.flush(this),this)}},{key:"execute",value:function(t,e){return e>0||this.closed?r(i(n.prototype),"execute",this).call(this,t,e):this._execute(t,e)}},{key:"requestAsyncId",value:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==a&&a>0||null===a&&this.delay>0?r(i(n.prototype),"requestAsyncId",this).call(this,t,e,a):t.flush(this)}}]),n}(Fb),Nb=function(){var t=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.now;_(this,t),this.SchedulerAction=e,this.now=n}return b(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}();return t.now=function(){return Date.now()},t}(),Hb=function(t){f(n,t);var e=v(n);function n(t){var i,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nb.now;return _(this,n),(i=e.call(this,t,(function(){return n.delegate&&n.delegate!==a(i)?n.delegate.now():r()}))).actions=[],i.active=!1,i.scheduled=void 0,i}return b(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(t,e,a):r(i(n.prototype),"schedule",this).call(this,t,e,a)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}}]),n}(Nb),jb=new(function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(Hb))(Rb);function Bb(t,e){return new H(e?function(n){return e.schedule(Vb,0,{error:t,subscriber:n})}:function(e){return e.error(t)})}function Vb(t){t.subscriber.error(t.error)}var zb=function(){var t=function(){function t(e,n,i){_(this,t),this.kind=e,this.value=n,this.error=i,this.hasValue="N"===e}return b(t,[{key:"observe",value:function(t){switch(this.kind){case"N":return t.next&&t.next(this.value);case"E":return t.error&&t.error(this.error);case"C":return t.complete&&t.complete()}}},{key:"do",value:function(t,e,n){switch(this.kind){case"N":return t&&t(this.value);case"E":return e&&e(this.error);case"C":return n&&n()}}},{key:"accept",value:function(t,e,n){return t&&"function"==typeof t.next?this.observe(t):this.do(t,e,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return mg(this.value);case"E":return Bb(this.error);case"C":return ov()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(e){return void 0!==e?new t("N",e):t.undefinedValueNotification}},{key:"createError",value:function(e){return new t("E",void 0,e)}},{key:"createComplete",value:function(){return t.completeNotification}}]),t}();return t.completeNotification=new t("C"),t.undefinedValueNotification=new t("N",void 0),t}(),Wb=function(t){f(n,t);var e=v(n);function n(t,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _(this,n),(r=e.call(this,t)).scheduler=i,r.delay=a,r}return b(n,[{key:"scheduleMessage",value:function(t){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new Ub(t,this.destination)))}},{key:"_next",value:function(t){this.scheduleMessage(zb.createNext(t))}},{key:"_error",value:function(t){this.scheduleMessage(zb.createError(t)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(zb.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){t.notification.observe(t.destination),this.unsubscribe()}}]),n}(I),Ub=function t(e,n){_(this,t),this.notification=e,this.destination=n},qb=function(t){f(n,t);var e=v(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,a=arguments.length>2?arguments[2]:void 0;return _(this,n),(t=e.call(this)).scheduler=a,t._events=[],t._infiniteTimeWindow=!1,t._bufferSize=i<1?1:i,t._windowTime=r<1?1:r,r===Number.POSITIVE_INFINITY?(t._infiniteTimeWindow=!0,t.next=t.nextInfiniteTimeWindow):t.next=t.nextTimeWindow,t}return b(n,[{key:"nextInfiniteTimeWindow",value:function(t){var e=this._events;e.push(t),e.length>this._bufferSize&&e.shift(),r(i(n.prototype),"next",this).call(this,t)}},{key:"nextTimeWindow",value:function(t){this._events.push(new Gb(this._getNow(),t)),this._trimBufferThenGetEvents(),r(i(n.prototype),"next",this).call(this,t)}},{key:"_subscribe",value:function(t){var e,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,a=i.length;if(this.closed)throw new B;if(this.isStopped||this.hasError?e=x.EMPTY:(this.observers.push(t),e=new V(this,t)),r&&t.add(t=new Wb(t,r)),n)for(var o=0;oe&&(a=Math.max(a,r-e)),a>0&&i.splice(0,a),i}}]),n}(W),Gb=function t(e,n){_(this,t),this.time=e,this.value=n},Kb=function(t){return t.Node="nd",t.Transport="tp",t.DmsgServer="ds",t}({}),Jb=function(){function t(){var t=this;this.currentRefreshTimeSubject=new qb(1),this.savedLocalNodes=new Map,this.savedLabels=new Map,this.savedVisibleLocalNodes=new Set,this.storage=localStorage,this.currentRefreshTime=parseInt(this.storage.getItem("refreshSeconds"),10)||10,this.currentRefreshTimeSubject.next(this.currentRefreshTime),this.getSavedLocalNodes().forEach((function(e){t.savedLocalNodes.set(e.publicKey,e),e.hidden||t.savedVisibleLocalNodes.add(e.publicKey)})),this.getSavedLabels().forEach((function(e){return t.savedLabels.set(e.id,e)})),this.loadLegacyNodeData();var e=[];this.savedLocalNodes.forEach((function(t){return e.push(t)}));var n=[];this.savedLabels.forEach((function(t){return n.push(t)})),this.saveLocalNodes(e),this.saveLabels(n)}return t.prototype.loadLegacyNodeData=function(){var t=this,e=JSON.parse(this.storage.getItem("nodesData"))||[];if(e.length>0){var n=this.getSavedLocalNodes(),i=this.getSavedLabels();e.forEach((function(e){n.push({publicKey:e.publicKey,hidden:e.deleted,ip:null}),t.savedLocalNodes.set(e.publicKey,n[n.length-1]),e.deleted||t.savedVisibleLocalNodes.add(e.publicKey),i.push({id:e.publicKey,identifiedElementType:Kb.Node,label:e.label}),t.savedLabels.set(e.publicKey,i[i.length-1])})),this.saveLocalNodes(n),this.saveLabels(i),this.storage.removeItem("nodesData")}},t.prototype.setRefreshTime=function(t){this.storage.setItem("refreshSeconds",t.toString()),this.currentRefreshTime=t,this.currentRefreshTimeSubject.next(this.currentRefreshTime)},t.prototype.getRefreshTimeObservable=function(){return this.currentRefreshTimeSubject.asObservable()},t.prototype.getRefreshTime=function(){return this.currentRefreshTime},t.prototype.includeVisibleLocalNodes=function(t,e){this.changeLocalNodesHiddenProperty(t,e,!1)},t.prototype.setLocalNodesAsHidden=function(t,e){this.changeLocalNodesHiddenProperty(t,e,!0)},t.prototype.changeLocalNodesHiddenProperty=function(t,e,n){var i=this;if(t.length!==e.length)throw new Error("Invalid params");var r=new Map,a=new Map;t.forEach((function(t,n){r.set(t,e[n]),a.set(t,e[n])}));var o=!1,s=this.getSavedLocalNodes();s.forEach((function(t){r.has(t.publicKey)&&(a.has(t.publicKey)&&a.delete(t.publicKey),t.ip!==r.get(t.publicKey)&&(t.ip=r.get(t.publicKey),o=!0,i.savedLocalNodes.set(t.publicKey,t)),t.hidden!==n&&(t.hidden=n,o=!0,i.savedLocalNodes.set(t.publicKey,t),n?i.savedVisibleLocalNodes.delete(t.publicKey):i.savedVisibleLocalNodes.add(t.publicKey)))})),a.forEach((function(t,e){o=!0;var r={publicKey:e,hidden:n,ip:t};s.push(r),i.savedLocalNodes.set(e,r),n?i.savedVisibleLocalNodes.delete(e):i.savedVisibleLocalNodes.add(e)})),o&&this.saveLocalNodes(s)},t.prototype.getSavedLocalNodes=function(){return JSON.parse(this.storage.getItem("localNodesData"))||[]},t.prototype.getSavedVisibleLocalNodes=function(){return this.savedVisibleLocalNodes},t.prototype.saveLocalNodes=function(t){this.storage.setItem("localNodesData",JSON.stringify(t))},t.prototype.getSavedLabels=function(){return JSON.parse(this.storage.getItem("labelsData"))||[]},t.prototype.saveLabels=function(t){this.storage.setItem("labelsData",JSON.stringify(t))},t.prototype.saveLabel=function(t,e,n){var i=this;if(e){var r=!1;if(s=this.getSavedLabels().map((function(a){return a.id===t&&a.identifiedElementType===n&&(r=!0,a.label=e,i.savedLabels.set(a.id,{label:a.label,id:a.id,identifiedElementType:a.identifiedElementType})),a})),r)this.saveLabels(s);else{var a={label:e,id:t,identifiedElementType:n};s.push(a),this.savedLabels.set(t,a),this.saveLabels(s)}}else{this.savedLabels.has(t)&&this.savedLabels.delete(t);var o=!1,s=this.getSavedLabels().filter((function(e){return e.id!==t||(o=!0,!1)}));o&&this.saveLabels(s)}},t.prototype.getDefaultLabel=function(t){return t?t.ip?t.ip:t.localPk.substr(0,8):""},t.prototype.getLabelInfo=function(t){return this.savedLabels.has(t)?this.savedLabels.get(t):null},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)},providedIn:"root"}),t}();function Zb(t){return null!=t&&"false"!=="".concat(t)}function $b(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Qb(t)?Number(t):e}function Qb(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Xb(t){return Array.isArray(t)?t:[t]}function tk(t){return null==t?"":"string"==typeof t?t:"".concat(t,"px")}function ek(t){return t instanceof El?t.nativeElement:t}function nk(t,e,n,i){return M(n)&&(i=n,n=void 0),i?nk(t,e,n).pipe(nt((function(t){return w(t)?i.apply(void 0,u(t)):i(t)}))):new H((function(i){!function t(e,n,i,r,a){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,i,a),o=function(){return s.removeEventListener(n,i,a)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,i),o=function(){return l.off(n,i)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,i),o=function(){return u.removeListener(n,i)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,d=e.length;c1?Array.prototype.slice.call(arguments):t)}),i,n)}))}var ik=1,rk={},ak=function(t){var e=ik++;return rk[e]=t,Promise.resolve().then((function(){return function(t){var e=rk[t];e&&e()}(e)})),e},ok=function(t){delete rk[t]},sk=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t,i)).scheduler=t,r.work=i,r}return b(n,[{key:"requestAsyncId",value:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==a&&a>0?r(i(n.prototype),"requestAsyncId",this).call(this,t,e,a):(t.actions.push(this),t.scheduled||(t.scheduled=ak(t.flush.bind(t,null))))}},{key:"recycleAsyncId",value:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==a&&a>0||null===a&&this.delay>0)return r(i(n.prototype),"recycleAsyncId",this).call(this,t,e,a);0===t.actions.length&&(ok(e),t.scheduled=void 0)}}]),n}(Fb),lk=new(function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,i=-1,r=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++i=0}function vk(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=-1;return gk(e)?i=Number(e)<1?1:Number(e):q(e)&&(n=e),q(n)||(n=hk),new H((function(e){var r=gk(t)?t:+t-n.now();return n.schedule(_k,r,{index:0,period:i,subscriber:e})}))}function _k(t){var e=t.index,n=t.period,i=t.subscriber;if(i.next(e),!i.closed){if(-1===n)return i.complete();t.index=e+1,this.schedule(t,n)}}function yk(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hk;return fk((function(){return vk(t,e)}))}function bk(t){return function(e){return e.lift(new wk(t))}}var kk,wk=function(){function t(e){_(this,t),this.notifier=e}return b(t,[{key:"call",value:function(t,e){var n=new Sk(t),i=tt(n,this.notifier);return i&&!n.seenValue?(n.add(i),e.subscribe(n)):n}}]),t}(),Sk=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this,t)).seenValue=!1,i}return b(n,[{key:"notifyNext",value:function(t,e,n,i,r){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(et);try{kk="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(yz){kk=!1}var Mk,Ck,xk,Dk,Lk=function(){var t=function t(e){_(this,t),this._platformId=e,this.isBrowser=this._platformId?"browser"===this._platformId:"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!kk)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT};return t.\u0275fac=function(e){return new(e||t)(ge(uc))},t.\u0275prov=Et({factory:function(){return new t(ge(uc))},token:t,providedIn:"root"}),t}(),Tk=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)}}),t}(),Pk=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function Ok(){if(Mk)return Mk;if("object"!=typeof document||!document)return Mk=new Set(Pk);var t=document.createElement("input");return Mk=new Set(Pk.filter((function(e){return t.setAttribute("type",e),t.type===e})))}function Ek(t){return function(){if(null==Ck&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return Ck=!0}}))}finally{Ck=Ck||!1}return Ck}()?t:!!t.capture}function Ik(){if("object"!=typeof document||!document)return 0;if(null==xk){var t=document.createElement("div"),e=t.style;t.dir="rtl",e.width="1px",e.overflow="auto",e.visibility="hidden",e.pointerEvents="none",e.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",t.appendChild(n),document.body.appendChild(t),xk=0,0===t.scrollLeft&&(t.scrollLeft=1,xk=0===t.scrollLeft?1:2),t.parentNode.removeChild(t)}return xk}function Ak(t){if(function(){if(null==Dk){var t="undefined"!=typeof document?document.head:null;Dk=!(!t||!t.createShadowRoot&&!t.attachShadow)}return Dk}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}var Yk=new se("cdk-dir-doc",{providedIn:"root",factory:function(){return ve(rd)}}),Fk=function(){var t=function(){function t(e){if(_(this,t),this.value="ltr",this.change=new Iu,e){var n=(e.body?e.body.dir:null)||(e.documentElement?e.documentElement.dir:null);this.value="ltr"===n||"rtl"===n?n:"ltr"}}return b(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Yk,8))},t.\u0275prov=Et({factory:function(){return new t(ge(Yk,8))},token:t,providedIn:"root"}),t}(),Rk=function(){var t=function(){function t(){_(this,t),this._dir="ltr",this._isInitialized=!1,this.change=new Iu}return b(t,[{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){this.change.complete()}},{key:"dir",get:function(){return this._dir},set:function(t){var e=this._dir,n=t?t.toLowerCase():t;this._rawDir=t,this._dir="ltr"===n||"rtl"===n?n:"ltr",e!==this._dir&&this._isInitialized&&this.change.emit(this._dir)}},{key:"value",get:function(){return this.dir}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["","dir",""]],hostVars:1,hostBindings:function(t,e){2&t&&es("dir",e._rawDir)},inputs:{dir:"dir"},outputs:{change:"dirChange"},exportAs:["dir"],features:[Dl([{provide:Fk,useExisting:t}])]}),t}(),Nk=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)}}),t}(),Hk=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_(this,t),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new W,i&&i.length&&(n?i.forEach((function(t){return e._markSelected(t)})):this._markSelected(i[0]),this._selectedToEmit.length=0)}return b(t,[{key:"select",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;i1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}},{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}}]),t}(),jk=function(){var t=function(){function t(e,n,i){_(this,t),this._ngZone=e,this._platform=n,this._scrolled=new W,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=i}return b(t,[{key:"register",value:function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((function(){return e._scrolled.next(t)})))}},{key:"deregister",value:function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new H((function(n){t._globalSubscription||t._addGlobalListener();var i=e>0?t._scrolled.pipe(yk(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){i.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}})):mg()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,n){return t.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(vg((function(t){return!t||n.indexOf(t)>-1})))}},{key:"getAncestorScrollContainers",value:function(t){var e=this,n=[];return this.scrollContainers.forEach((function(i,r){e._scrollableContainsElement(r,t)&&n.push(r)})),n}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var n=e.nativeElement,i=t.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return nk(t._getWindow().document,"scroll").subscribe((function(){return t._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Mc),ge(Lk),ge(rd,8))},t.\u0275prov=Et({factory:function(){return new t(ge(Mc),ge(Lk),ge(rd,8))},token:t,providedIn:"root"}),t}(),Bk=function(){var t=function(){function t(e,n,i,r){var a=this;_(this,t),this.elementRef=e,this.scrollDispatcher=n,this.ngZone=i,this.dir=r,this._destroyed=new W,this._elementScrolled=new H((function(t){return a.ngZone.runOutsideAngular((function(){return nk(a.elementRef.nativeElement,"scroll").pipe(bk(a._destroyed)).subscribe(t)}))}))}return b(t,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(t){var e=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==t.left&&(t.left=n?t.end:t.start),null==t.right&&(t.right=n?t.start:t.end),null!=t.bottom&&(t.top=e.scrollHeight-e.clientHeight-t.bottom),n&&0!=Ik()?(null!=t.left&&(t.right=e.scrollWidth-e.clientWidth-t.left),2==Ik()?t.left=t.right:1==Ik()&&(t.left=t.right?-t.right:t.right)):null!=t.right&&(t.left=e.scrollWidth-e.clientWidth-t.right),this._applyScrollToOptions(t)}},{key:"_applyScrollToOptions",value:function(t){var e=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?e.scrollTo(t):(null!=t.top&&(e.scrollTop=t.top),null!=t.left&&(e.scrollLeft=t.left))}},{key:"measureScrollOffset",value:function(t){var e=this.elementRef.nativeElement;if("top"==t)return e.scrollTop;if("bottom"==t)return e.scrollHeight-e.clientHeight-e.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==t?t=n?"right":"left":"end"==t&&(t=n?"left":"right"),n&&2==Ik()?"left"==t?e.scrollWidth-e.clientWidth-e.scrollLeft:e.scrollLeft:n&&1==Ik()?"left"==t?e.scrollLeft+e.scrollWidth-e.clientWidth:-e.scrollLeft:"left"==t?e.scrollLeft:e.scrollWidth-e.clientWidth-e.scrollLeft}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(El),as(jk),as(Mc),as(Fk,8))},t.\u0275dir=ze({type:t,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),t}(),Vk=function(){var t=function(){function t(e,n,i){var r=this;_(this,t),this._platform=e,this._change=new W,this._changeListener=function(t){r._change.next(t)},this._document=i,n.runOutsideAngular((function(){if(e.isBrowser){var t=r._getWindow();t.addEventListener("resize",r._changeListener),t.addEventListener("orientationchange",r._changeListener)}r.change().subscribe((function(){return r._updateViewportSize()}))}))}return b(t,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var t=this._getWindow();t.removeEventListener("resize",this._changeListener),t.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,i=e.height;return{top:t.top,left:t.left,bottom:t.top+i,right:t.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._getDocument(),e=this._getWindow(),n=t.documentElement,i=n.getBoundingClientRect();return{top:-i.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-i.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe(yk(t)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Lk),ge(Mc),ge(rd,8))},t.\u0275prov=Et({factory:function(){return new t(ge(Lk),ge(Mc),ge(rd,8))},token:t,providedIn:"root"}),t}(),zk=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)}}),t}(),Wk=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},imports:[[Nk,Tk,zk],Nk,zk]}),t}();function Uk(){throw Error("Host already has a portal attached")}var qk=function(){function t(){_(this,t)}return b(t,[{key:"attach",value:function(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&Uk(),this._attachedHost=t,t.attach(this)}},{key:"detach",value:function(){var t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}},{key:"setAttachedHost",value:function(t){this._attachedHost=t}},{key:"isAttached",get:function(){return null!=this._attachedHost}}]),t}(),Gk=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this)).component=t,o.viewContainerRef=i,o.injector=r,o.componentFactoryResolver=a,o}return n}(qk),Kk=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this)).templateRef=t,a.viewContainerRef=i,a.context=r,a}return b(n,[{key:"attach",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=e,r(i(n.prototype),"attach",this).call(this,t)}},{key:"detach",value:function(){return this.context=void 0,r(i(n.prototype),"detach",this).call(this)}},{key:"origin",get:function(){return this.templateRef.elementRef}}]),n}(qk),Jk=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this)).element=t instanceof El?t.nativeElement:t,i}return n}(qk),Zk=function(){function t(){_(this,t),this._isDisposed=!1,this.attachDomPortal=null}return b(t,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&Uk(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof Gk?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof Kk?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof Jk?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(t){this._disposeFn=t}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),t}(),$k=function(t){f(n,t);var e=v(n);function n(t,o,s,l,u){var c,d;return _(this,n),(d=e.call(this)).outletElement=t,d._componentFactoryResolver=o,d._appRef=s,d._defaultInjector=l,d.attachDomPortal=function(t){if(!d._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");var o=d._document.createComment("dom-portal");e.parentNode.insertBefore(o,e),d.outletElement.appendChild(e),r((c=a(d),i(n.prototype)),"setDisposeFn",c).call(c,(function(){o.parentNode&&o.parentNode.replaceChild(e,o)}))},d._document=u,d}return b(n,[{key:"attachComponentPortal",value:function(t){var e,n=this,i=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);return t.viewContainerRef?(e=t.viewContainerRef.createComponent(i,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn((function(){return e.destroy()}))):(e=i.create(t.injector||this._defaultInjector),this._appRef.attachView(e.hostView),this.setDisposeFn((function(){n._appRef.detachView(e.hostView),e.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(e)),e}},{key:"attachTemplatePortal",value:function(t){var e=this,n=t.viewContainerRef,i=n.createEmbeddedView(t.templateRef,t.context);return i.detectChanges(),i.rootNodes.forEach((function(t){return e.outletElement.appendChild(t)})),this.setDisposeFn((function(){var t=n.indexOf(i);-1!==t&&n.remove(t)})),i}},{key:"dispose",value:function(){r(i(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(t){return t.hostView.rootNodes[0]}}]),n}(Zk),Qk=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){return _(this,n),e.call(this,t,i)}return n}(Kk);return t.\u0275fac=function(e){return new(e||t)(as(nu),as(ru))},t.\u0275dir=ze({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[pl]}),t}(),Xk=function(){var t=function(t){f(n,t);var e=v(n);function n(t,o,s){var l,u;return _(this,n),(u=e.call(this))._componentFactoryResolver=t,u._viewContainerRef=o,u._isInitialized=!1,u.attached=new Iu,u.attachDomPortal=function(t){if(!u._document)throw Error("Cannot attach DOM portal without _document constructor parameter");var e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");var o=u._document.createComment("dom-portal");t.setAttachedHost(a(u)),e.parentNode.insertBefore(o,e),u._getRootNode().appendChild(e),r((l=a(u),i(n.prototype)),"setDisposeFn",l).call(l,(function(){o.parentNode&&o.parentNode.replaceChild(e,o)}))},u._document=s,u}return b(n,[{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){r(i(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(t){t.setAttachedHost(this);var e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,a=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),o=e.createComponent(a,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),r(i(n.prototype),"setDisposeFn",this).call(this,(function(){return o.destroy()})),this._attachedPortal=t,this._attachedRef=o,this.attached.emit(o),o}},{key:"attachTemplatePortal",value:function(t){var e=this;t.setAttachedHost(this);var a=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return r(i(n.prototype),"setDisposeFn",this).call(this,(function(){return e._viewContainerRef.clear()})),this._attachedPortal=t,this._attachedRef=a,this.attached.emit(a),a}},{key:"_getRootNode",value:function(){var t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}},{key:"portal",get:function(){return this._attachedPortal},set:function(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&r(i(n.prototype),"detach",this).call(this),t&&r(i(n.prototype),"attach",this).call(this,t),this._attachedPortal=t)}},{key:"attachedRef",get:function(){return this._attachedRef}}]),n}(Zk);return t.\u0275fac=function(e){return new(e||t)(as(Ol),as(ru),as(rd))},t.\u0275dir=ze({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[pl]}),t}(),tw=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(Xk);return t.\u0275fac=function(e){return ew(e||t)},t.\u0275dir=ze({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[Dl([{provide:Xk,useExisting:t}]),pl]}),t}(),ew=Vi(tw),nw=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)}}),t}(),iw=function(){function t(e,n){_(this,t),this._parentInjector=e,this._customTokens=n}return b(t,[{key:"get",value:function(t,e){var n=this._customTokens.get(t);return void 0!==n?n:this._parentInjector.get(t,e)}}]),t}();function rw(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;ie.height||t.scrollWidth>e.width}}]),t}();function ow(){return Error("Scroll strategy has already been attached.")}var sw=function(){function t(e,n,i,r){var a=this;_(this,t),this._scrollDispatcher=e,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run((function(){return a._overlayRef.detach()}))}}return b(t,[{key:"attach",value:function(t){if(this._overlayRef)throw ow();this._overlayRef=t}},{key:"enable",value:function(){var t=this;if(!this._scrollSubscription){var e=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe((function(){var e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()}))):this._scrollSubscription=e.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),lw=function(){function t(){_(this,t)}return b(t,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),t}();function uw(t,e){return e.some((function(e){return t.bottome.bottom||t.righte.right}))}function cw(t,e){return e.some((function(e){return t.tope.bottom||t.lefte.right}))}var dw=function(){function t(e,n,i,r){_(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return b(t,[{key:"attach",value:function(t){if(this._overlayRef)throw ow();this._overlayRef=t}},{key:"enable",value:function(){var t=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(t._overlayRef.updatePosition(),t._config&&t._config.autoClose){var e=t._overlayRef.overlayElement.getBoundingClientRect(),n=t._viewportRuler.getViewportSize(),i=n.width,r=n.height;uw(e,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(t.disable(),t._ngZone.run((function(){return t._overlayRef.detach()})))}})))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),t}(),hw=function(){var t=function t(e,n,i,r){var a=this;_(this,t),this._scrollDispatcher=e,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new lw},this.close=function(t){return new sw(a._scrollDispatcher,a._ngZone,a._viewportRuler,t)},this.block=function(){return new aw(a._viewportRuler,a._document)},this.reposition=function(t){return new dw(a._scrollDispatcher,a._viewportRuler,a._ngZone,t)},this._document=r};return t.\u0275fac=function(e){return new(e||t)(ge(jk),ge(Vk),ge(Mc),ge(rd))},t.\u0275prov=Et({factory:function(){return new t(ge(jk),ge(Vk),ge(Mc),ge(rd))},token:t,providedIn:"root"}),t}(),fw=function t(e){if(_(this,t),this.scrollStrategy=new lw,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,this.excludeFromOutsideClick=[],e)for(var n=0,i=Object.keys(e);n-1&&this._attachedOverlays.splice(e,1),0===this._attachedOverlays.length&&this.detach()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(rd))},t.\u0275prov=Et({factory:function(){return new t(ge(rd))},token:t,providedIn:"root"}),t}(),yw=function(){var t=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this,t))._keydownListener=function(t){for(var e=i._attachedOverlays,n=e.length-1;n>-1;n--)if(e[n]._keydownEvents.observers.length>0){e[n]._keydownEvents.next(t);break}},i}return b(n,[{key:"add",value:function(t){r(i(n.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(_w);return t.\u0275fac=function(e){return new(e||t)(ge(rd))},t.\u0275prov=Et({factory:function(){return new t(ge(rd))},token:t,providedIn:"root"}),t}(),bw=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this,t))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(t){for(var e=t.composedPath?t.composedPath()[0]:t.target,n=r._attachedOverlays,i=n.length-1;i>-1;i--){var a=n[i];if(!(a._outsidePointerEvents.observers.length<1)){var o=a.getConfig();if([].concat(u(o.excludeFromOutsideClick),[a.overlayElement]).some((function(t){return t.contains(e)})))break;a._outsidePointerEvents.next(t)}}},r}return b(n,[{key:"add",value:function(t){r(i(n.prototype),"add",this).call(this,t),this._isAttached||(this._document.body.addEventListener("click",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=this._document.body.style.cursor,this._document.body.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("click",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}}]),n}(_w);return t.\u0275fac=function(e){return new(e||t)(ge(rd),ge(Lk))},t.\u0275prov=Et({factory:function(){return new t(ge(rd),ge(Lk))},token:t,providedIn:"root"}),t}(),kw=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),ww=function(){var t=function(){function t(e,n){_(this,t),this._platform=n,this._document=e}return b(t,[{key:"ngOnDestroy",value:function(){var t=this._containerElement;t&&t.parentNode&&t.parentNode.removeChild(t)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var t=this._platform?this._platform.isBrowser:"undefined"!=typeof window;if(t||kw)for(var e=this._document.querySelectorAll(".".concat("cdk-overlay-container",'[platform="server"], ')+".".concat("cdk-overlay-container",'[platform="test"]')),n=0;np&&(p=v,f=g)}}catch(_){m.e(_)}finally{m.f()}return this._isPushed=!1,void this._applyPosition(f.position,f.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(t.position,t.originPoint);this._applyPosition(t.position,t.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&xw(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var t=this._lastPosition||this._preferredPositions[0],e=this._getOriginPoint(this._originRect,t);this._applyPosition(t,e)}}},{key:"withScrollableContainers",value:function(t){return this._scrollables=t,this}},{key:"withPositions",value:function(t){return this._preferredPositions=t,-1===t.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(t){return this._viewportMargin=t,this}},{key:"withFlexibleDimensions",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=t,this}},{key:"withGrowAfterOpen",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=t,this}},{key:"withPush",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=t,this}},{key:"withLockedPosition",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=t,this}},{key:"setOrigin",value:function(t){return this._origin=t,this}},{key:"withDefaultOffsetX",value:function(t){return this._offsetX=t,this}},{key:"withDefaultOffsetY",value:function(t){return this._offsetY=t,this}},{key:"withTransformOriginOn",value:function(t){return this._transformOriginSelector=t,this}},{key:"_getOriginPoint",value:function(t,e){var n;if("center"==e.originX)n=t.left+t.width/2;else{var i=this._isRtl()?t.right:t.left,r=this._isRtl()?t.left:t.right;n="start"==e.originX?i:r}return{x:n,y:"center"==e.originY?t.top+t.height/2:"top"==e.originY?t.top:t.bottom}}},{key:"_getOverlayPoint",value:function(t,e,n){var i;return i="center"==n.overlayX?-e.width/2:"start"===n.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,{x:t.x+i,y:t.y+("center"==n.overlayY?-e.height/2:"top"==n.overlayY?0:-e.height)}}},{key:"_getOverlayFit",value:function(t,e,n,i){var r=t.x,a=t.y,o=this._getOffset(i,"x"),s=this._getOffset(i,"y");o&&(r+=o),s&&(a+=s);var l=0-a,u=a+e.height-n.height,c=this._subtractOverflows(e.width,0-r,r+e.width-n.width),d=this._subtractOverflows(e.height,l,u),h=c*d;return{visibleArea:h,isCompletelyWithinViewport:e.width*e.height===h,fitsInViewportVertically:d===e.height,fitsInViewportHorizontally:c==e.width}}},{key:"_canFitWithFlexibleDimensions",value:function(t,e,n){if(this._hasFlexibleDimensions){var i=n.bottom-e.y,r=n.right-e.x,a=Dw(this._overlayRef.getConfig().minHeight),o=Dw(this._overlayRef.getConfig().minWidth);return(t.fitsInViewportVertically||null!=a&&a<=i)&&(t.fitsInViewportHorizontally||null!=o&&o<=r)}return!1}},{key:"_pushOverlayOnScreen",value:function(t,e,n){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};var i,r,a=this._viewportRect,o=Math.max(t.x+e.width-a.right,0),s=Math.max(t.y+e.height-a.bottom,0),l=Math.max(a.top-n.top-t.y,0),u=Math.max(a.left-n.left-t.x,0);return this._previousPushAmount={x:i=e.width<=a.width?u||-o:t.xd&&!this._isInitialRender&&!this._growAfterOpen&&(i=t.y-d/2)}if("end"===e.overlayX&&!u||"start"===e.overlayX&&u)s=l.width-t.x+this._viewportMargin,a=t.x-this._viewportMargin;else if("start"===e.overlayX&&!u||"end"===e.overlayX&&u)o=t.x,a=l.right-t.x;else{var h=Math.min(l.right-t.x+l.left,t.x),f=this._lastBoundingBoxSize.width;o=t.x-h,(a=2*h)>f&&!this._isInitialRender&&!this._growAfterOpen&&(o=t.x-f/2)}return{top:i,left:o,bottom:r,right:s,width:a,height:n}}},{key:"_setBoundingBoxStyles",value:function(t,e){var n=this._calculateBoundingBoxRect(t,e);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=tk(n.height),i.top=tk(n.top),i.bottom=tk(n.bottom),i.width=tk(n.width),i.left=tk(n.left),i.right=tk(n.right),i.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",i.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=tk(r)),a&&(i.maxWidth=tk(a))}this._lastBoundingBoxSize=n,xw(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){xw(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){xw(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(t,e){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){var o=this._viewportRuler.getViewportScrollPosition();xw(n,this._getExactOverlayY(e,t,o)),xw(n,this._getExactOverlayX(e,t,o))}else n.position="static";var s="",l=this._getOffset(e,"x"),u=this._getOffset(e,"y");l&&(s+="translateX(".concat(l,"px) ")),u&&(s+="translateY(".concat(u,"px)")),n.transform=s.trim(),a.maxHeight&&(i?n.maxHeight=tk(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=tk(a.maxWidth):r&&(n.maxWidth="")),xw(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(t,e,n){var i={top:"",bottom:""},r=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===t.overlayY?i.bottom="".concat(this._document.documentElement.clientHeight-(r.y+this._overlayRect.height),"px"):i.top=tk(r.y),i}},{key:"_getExactOverlayX",value:function(t,e,n){var i={left:"",right:""},r=this._getOverlayPoint(e,this._overlayRect,t);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(this._isRtl()?"end"===t.overlayX?"left":"right":"end"===t.overlayX?"right":"left")?i.right="".concat(this._document.documentElement.clientWidth-(r.x+this._overlayRect.width),"px"):i.left=tk(r.x),i}},{key:"_getScrollVisibility",value:function(){var t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),n=this._scrollables.map((function(t){return t.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:cw(t,n),isOriginOutsideView:uw(t,n),isOverlayClipped:cw(e,n),isOverlayOutsideView:uw(e,n)}}},{key:"_subtractOverflows",value:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}},{key:"left",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=t,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}},{key:"right",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=t,this._justifyContent="flex-end",this}},{key:"width",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}},{key:"height",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}},{key:"centerHorizontally",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(t),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(t),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,a=n.maxWidth,o=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),l=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);t.position=this._cssPosition,t.marginLeft=s?"0":this._leftOffset,t.marginTop=l?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=this._rightOffset,s?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=l?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,n=e.style;e.classList.remove("cdk-global-overlay-wrapper"),n.justifyContent=n.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}}}]),t}(),Pw=function(){var t=function(){function t(e,n,i,r){_(this,t),this._viewportRuler=e,this._document=n,this._platform=i,this._overlayContainer=r}return b(t,[{key:"global",value:function(){return new Tw}},{key:"connectedTo",value:function(t,e,n){return new Lw(e,n,t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(t){return new Cw(t,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Vk),ge(rd),ge(Lk),ge(ww))},t.\u0275prov=Et({factory:function(){return new t(ge(Vk),ge(rd),ge(Lk),ge(ww))},token:t,providedIn:"root"}),t}(),Ow=0,Ew=function(){var t=function(){function t(e,n,i,r,a,o,s,l,u,c,d){_(this,t),this.scrollStrategies=e,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=o,this._ngZone=s,this._document=l,this._directionality=u,this._location=c,this._outsideClickDispatcher=d}return b(t,[{key:"create",value:function(t){var e=this._createHostElement(),n=this._createPaneElement(e),i=this._createPortalOutlet(n),r=new fw(t);return r.direction=r.direction||this._directionality.value,new Sw(i,e,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(t){var e=this._document.createElement("div");return e.id="cdk-overlay-".concat(Ow++),e.classList.add("cdk-overlay-pane"),t.appendChild(e),e}},{key:"_createHostElement",value:function(){var t=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(t),t}},{key:"_createPortalOutlet",value:function(t){return this._appRef||(this._appRef=this._injector.get(Uc)),new $k(t,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(hw),ge(ww),ge(Ol),ge(Pw),ge(yw),ge(Wo),ge(Mc),ge(rd),ge(Fk),ge(yd,8),ge(bw,8))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Iw=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Aw=new se("cdk-connected-overlay-scroll-strategy"),Yw=function(){var t=function t(e){_(this,t),this.elementRef=e};return t.\u0275fac=function(e){return new(e||t)(as(El))},t.\u0275dir=ze({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t}(),Fw=function(){var t=function(){function t(e,n,i,r,a){_(this,t),this._overlay=e,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=x.EMPTY,this._attachSubscription=x.EMPTY,this._detachSubscription=x.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new Iu,this.positionChange=new Iu,this.attach=new Iu,this.detach=new Iu,this.overlayKeydown=new Iu,this.overlayOutsideClick=new Iu,this._templatePortal=new Kk(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return b(t,[{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(t){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),t.origin&&this.open&&this._position.apply()),t.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var t=this;this.positions&&this.positions.length||(this.positions=Iw);var e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe((function(){return t.attach.emit()})),this._detachSubscription=e.detachments().subscribe((function(){return t.detach.emit()})),e.keydownEvents().subscribe((function(e){t.overlayKeydown.next(e),27!==e.keyCode||rw(e)||(e.preventDefault(),t._detachOverlay())})),this._overlayRef.outsidePointerEvents().subscribe((function(e){t.overlayOutsideClick.next(e)}))}},{key:"_buildConfig",value:function(){var t=this._position=this.positionStrategy||this._createPositionStrategy(),e=new fw({direction:this._dir,positionStrategy:t,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(e.width=this.width),(this.height||0===this.height)&&(e.height=this.height),(this.minWidth||0===this.minWidth)&&(e.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(e.minHeight=this.minHeight),this.backdropClass&&(e.backdropClass=this.backdropClass),this.panelClass&&(e.panelClass=this.panelClass),e}},{key:"_updatePositionStrategy",value:function(t){var e=this,n=this.positions.map((function(t){return{originX:t.originX,originY:t.originY,overlayX:t.overlayX,overlayY:t.overlayY,offsetX:t.offsetX||e.offsetX,offsetY:t.offsetY||e.offsetY,panelClass:t.panelClass||void 0}}));return t.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var t=this,e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e.positionChanges.subscribe((function(e){return t.positionChange.emit(e)})),e}},{key:"_attachOverlay",value:function(){var t=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(e){t.backdropClick.emit(e)})):this._backdropSubscription.unsubscribe()}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe()}},{key:"offsetX",get:function(){return this._offsetX},set:function(t){this._offsetX=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(t){this._offsetY=t,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Zb(t)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(t){this._lockPosition=Zb(t)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(t){this._flexibleDimensions=Zb(t)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(t){this._growAfterOpen=Zb(t)}},{key:"push",get:function(){return this._push},set:function(t){this._push=Zb(t)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(Ew),as(nu),as(ru),as(Aw),as(Fk,8))},t.\u0275dir=ze({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[nn]}),t}(),Rw={provide:Aw,deps:[Ew],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},Nw=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[Ew,Rw],imports:[[Nk,nw,Wk],Wk]}),t}();function Hw(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hk;return function(n){return n.lift(new jw(t,e))}}var jw=function(){function t(e,n){_(this,t),this.dueTime=e,this.scheduler=n}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new Bw(t,this.dueTime,this.scheduler))}}]),t}(),Bw=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t)).dueTime=i,a.scheduler=r,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return b(n,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Vw,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),n}(I);function Vw(t){t.debouncedNext()}var zw=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Et({factory:function(){return new t},token:t,providedIn:"root"}),t}(),Ww=function(){var t=function(){function t(e){_(this,t),this._mutationObserverFactory=e,this._observedElements=new Map}return b(t,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach((function(e,n){return t._cleanupObserver(n)}))}},{key:"observe",value:function(t){var e=this,n=ek(t);return new H((function(t){var i=e._observeElement(n).subscribe(t);return function(){i.unsubscribe(),e._unobserveElement(n)}}))}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new W,n=this._mutationObserverFactory.create((function(t){return e.next(t)}));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,i=e.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(t)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(zw))},t.\u0275prov=Et({factory:function(){return new t(ge(zw))},token:t,providedIn:"root"}),t}(),Uw=function(){var t=function(){function t(e,n,i){_(this,t),this._contentObserver=e,this._elementRef=n,this._ngZone=i,this.event=new Iu,this._disabled=!1,this._currentSubscription=null}return b(t,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){t._currentSubscription=(t.debounce?e.pipe(Hw(t.debounce)):e).subscribe(t.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Zb(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=$b(t),this._subscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(Ww),as(El),as(Mc))},t.\u0275dir=ze({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t}(),qw=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[zw]}),t}();function Gw(t,e){return(t.getAttribute(e)||"").match(/\S+/g)||[]}var Kw=0,Jw=new Map,Zw=null,$w=function(){var t=function(){function t(e,n){_(this,t),this._platform=n,this._document=e}return b(t,[{key:"describe",value:function(t,e){this._canBeDescribed(t,e)&&("string"!=typeof e?(this._setMessageId(e),Jw.set(e,{messageElement:e,referenceCount:0})):Jw.has(e)||this._createMessageElement(e),this._isElementDescribedByMessage(t,e)||this._addMessageReference(t,e))}},{key:"removeDescription",value:function(t,e){if(this._isElementNode(t)){if(this._isElementDescribedByMessage(t,e)&&this._removeMessageReference(t,e),"string"==typeof e){var n=Jw.get(e);n&&0===n.referenceCount&&this._deleteMessageElement(e)}Zw&&0===Zw.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var t=this._document.querySelectorAll("[".concat("cdk-describedby-host","]")),e=0;e-1&&e!==n._activeItemIndex&&(n._activeItemIndex=e)}}))}return b(t,[{key:"skipPredicate",value:function(t){return this._skipPredicateFn=t,this}},{key:"withWrap",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=t,this}},{key:"withVerticalOrientation",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=t,this}},{key:"withHorizontalOrientation",value:function(t){return this._horizontal=t,this}},{key:"withAllowedModifierKeys",value:function(t){return this._allowedModifierKeys=t,this}},{key:"withTypeAhead",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;if(this._items.length&&this._items.some((function(t){return"function"!=typeof t.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Dv((function(e){return t._pressedLetters.push(e)})),Hw(e),vg((function(){return t._pressedLetters.length>0})),nt((function(){return t._pressedLetters.join("")}))).subscribe((function(e){for(var n=t._getItemsArray(),i=1;i-1}));switch(n){case 9:return void this.tabOut.next();case 40:if(this._vertical&&i){this.setNextItemActive();break}return;case 38:if(this._vertical&&i){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||rw(t,"shiftKey"))&&(t.key&&1===t.key.length?this._letterKeyStream.next(t.key.toLocaleUpperCase()):(n>=65&&n<=90||n>=48&&n<=57)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],t.preventDefault()}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(t){var e=this._getItemsArray(),n="number"==typeof t?t:e.indexOf(t),i=e[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(t){this._wrap?this._setActiveInWrapMode(t):this._setActiveInDefaultMode(t)}},{key:"_setActiveInWrapMode",value:function(t){for(var e=this._getItemsArray(),n=1;n<=e.length;n++){var i=(this._activeItemIndex+t*n+e.length)%e.length;if(!this._skipPredicateFn(e[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(t){this._setActiveItemByIndex(this._activeItemIndex+t,t)}},{key:"_setActiveItemByIndex",value:function(t,e){var n=this._getItemsArray();if(n[t]){for(;this._skipPredicateFn(n[t]);)if(!n[t+=e])return;this.setActiveItem(t)}}},{key:"_getItemsArray",value:function(){return this._items instanceof Yu?this._items.toArray():this._items}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}}]),t}(),Xw=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"setActiveItem",value:function(t){this.activeItem&&this.activeItem.setInactiveStyles(),r(i(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(Qw),tS=function(t){f(n,t);var e=v(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._origin="program",t}return b(n,[{key:"setFocusOrigin",value:function(t){return this._origin=t,this}},{key:"setActiveItem",value:function(t){r(i(n.prototype),"setActiveItem",this).call(this,t),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(Qw),eS=function(){var t=function(){function t(e){_(this,t),this._platform=e}return b(t,[{key:"isDisabled",value:function(t){return t.hasAttribute("disabled")}},{key:"isVisible",value:function(t){return function(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(t)&&"visible"===getComputedStyle(t).visibility}},{key:"isTabbable",value:function(t){if(!this._platform.isBrowser)return!1;var e,n=function(t){try{return t.frameElement}catch(yz){return null}}((e=t).ownerDocument&&e.ownerDocument.defaultView||window);if(n){if(-1===iS(n))return!1;if(!this.isVisible(n))return!1}var i=t.nodeName.toLowerCase(),r=iS(t);return t.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(t){var e=t.nodeName.toLowerCase(),n="input"===e&&t.type;return"text"===n||"password"===n||"select"===e||"textarea"===e}(t))&&("audio"===i?!!t.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||t.hasAttribute("controls")):t.tabIndex>=0)}},{key:"isFocusable",value:function(t,e){return function(t){return!function(t){return function(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function(t){var e=t.nodeName.toLowerCase();return"input"===e||"select"===e||"button"===e||"textarea"===e}(t)||function(t){return function(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||nS(t))}(t)&&!this.isDisabled(t)&&((null==e?void 0:e.ignoreVisibility)||this.isVisible(t))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Lk))},t.\u0275prov=Et({factory:function(){return new t(ge(Lk))},token:t,providedIn:"root"}),t}();function nS(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;var e=t.getAttribute("tabindex");return"-32768"!=e&&!(!e||isNaN(parseInt(e,10)))}function iS(t){if(!nS(t))return null;var e=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(e)?-1:e}var rS=function(){function t(e,n,i,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_(this,t),this._element=e,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return b(t,[{key:"destroy",value:function(){var t=this._startAnchor,e=this._endAnchor;t&&(t.removeEventListener("focus",this.startAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),e&&(e.removeEventListener("focus",this.endAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var t=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){t._startAnchor||(t._startAnchor=t._createAnchor(),t._startAnchor.addEventListener("focus",t.startAnchorListener)),t._endAnchor||(t._endAnchor=t._createAnchor(),t._endAnchor.addEventListener("focus",t.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var t=this;return new Promise((function(e){t._executeOnStable((function(){return e(t.focusLastTabbableElement())}))}))}},{key:"_getRegionBoundary",value:function(t){for(var e=this._element.querySelectorAll("[cdk-focus-region-".concat(t,"], ")+"[cdkFocusRegion".concat(t,"], ")+"[cdk-focus-".concat(t,"]")),n=0;n=0;n--){var i=e[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var t=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,t),t.classList.add("cdk-visually-hidden"),t.classList.add("cdk-focus-trap-anchor"),t.setAttribute("aria-hidden","true"),t}},{key:"_toggleAnchorTabIndex",value:function(t,e){t?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(t){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}},{key:"_executeOnStable",value:function(t){this._ngZone.isStable?t():this._ngZone.onStable.asObservable().pipe(Sv(1)).subscribe(t)}},{key:"enabled",get:function(){return this._enabled},set:function(t){this._enabled=t,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(t,this._startAnchor),this._toggleAnchorTabIndex(t,this._endAnchor))}}]),t}(),aS=function(){var t=function(){function t(e,n,i){_(this,t),this._checker=e,this._ngZone=n,this._document=i}return b(t,[{key:"create",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new rS(t,this._checker,this._ngZone,this._document,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(eS),ge(Mc),ge(rd))},t.\u0275prov=Et({factory:function(){return new t(ge(eS),ge(Mc),ge(rd))},token:t,providedIn:"root"}),t}();"undefined"!=typeof Element&∈var oS=new se("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),sS=new se("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),lS=function(){var t=function(){function t(e,n,i,r){_(this,t),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=e||this._createLiveElement()}return b(t,[{key:"announce",value:function(t){for(var e,n,i=this,r=this._defaultOptions,a=arguments.length,o=new Array(a>1?a-1:0),s=1;s1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return mg(null);var n=ek(t),i=Ak(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return e&&(r.checkChildren=!0),r.subject.asObservable();var a={checkChildren:e,subject:new W,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject.asObservable()}},{key:"stopMonitoring",value:function(t){var e=ek(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(t,e,n){var i=ek(t);this._setOriginForCurrentEventQueue(e),"function"==typeof i.focus&&i.focus(n)}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach((function(e,n){return t.stopMonitoring(n)}))}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(t,e,n){n?t.classList.add(e):t.classList.remove(e)}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}},{key:"_setClasses",value:function(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}},{key:"_setOriginForCurrentEventQueue",value:function(t){var e=this;this._ngZone.runOutsideAngular((function(){e._origin=t,0===e._detectionMode&&(e._originTimeoutId=setTimeout((function(){return e._origin=null}),1))}))}},{key:"_wasCausedByTouch",value:function(t){var e=fS(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(t,e){var n=this._elementInfo.get(e);if(n&&(n.checkChildren||e===fS(t))){var i=this._getFocusOrigin(t);this._setClasses(e,i),this._emitOrigin(n.subject,i),this._lastFocusOrigin=i}}},{key:"_onBlur",value:function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(t,e){this._ngZone.run((function(){return t.next(e)}))}},{key:"_registerGlobalListeners",value:function(t){var e=this;if(this._platform.isBrowser){var n=t.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",e._rootNodeFocusAndBlurListener,dS),n.addEventListener("blur",e._rootNodeFocusAndBlurListener,dS)})),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var t=e._getDocument(),n=e._getWindow();t.addEventListener("keydown",e._documentKeydownListener,dS),t.addEventListener("mousedown",e._documentMousedownListener,dS),t.addEventListener("touchstart",e._documentTouchstartListener,dS),n.addEventListener("focus",e._windowFocusListener)}))}}},{key:"_removeGlobalListeners",value:function(t){var e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){var n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,dS),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,dS),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,dS),i.removeEventListener("mousedown",this._documentMousedownListener,dS),i.removeEventListener("touchstart",this._documentTouchstartListener,dS),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Mc),ge(Lk),ge(rd,8),ge(cS,8))},t.\u0275prov=Et({factory:function(){return new t(ge(Mc),ge(Lk),ge(rd,8),ge(cS,8))},token:t,providedIn:"root"}),t}();function fS(t){return t.composedPath?t.composedPath()[0]:t.target}var pS=function(){var t=function(){function t(e,n){_(this,t),this._elementRef=e,this._focusMonitor=n,this.cdkFocusChange=new Iu}return b(t,[{key:"ngAfterViewInit",value:function(){var t=this;this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(e){return t.cdkFocusChange.emit(e)}))}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(El),as(hS))},t.\u0275dir=ze({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t}(),mS=function(){var t=function(){function t(e,n){_(this,t),this._platform=e,this._document=n}return b(t,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");var e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Lk),ge(rd))},t.\u0275prov=Et({factory:function(){return new t(ge(Lk),ge(rd))},token:t,providedIn:"root"}),t}(),gS=function(){var t=function t(e){_(this,t),e._applyBodyHighContrastModeCssClasses()};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)(ge(mS))},imports:[[Tk,qw]]}),t}(),vS=new Hl("10.1.1"),_S=["*",[["mat-option"],["ng-container"]]],yS=["*","mat-option, ng-container"];function bS(t,e){if(1&t&&ds(0,"mat-pseudo-checkbox",3),2&t){var n=Ms();ss("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}var kS=["*"],wS=new Hl("10.1.1"),SS=new se("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),MS=function(){var t=function(){function t(e,n,i){_(this,t),this._hasDoneGlobalChecks=!1,this._document=i,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return b(t,[{key:"_getDocument",value:function(){var t=this._document||document;return"object"==typeof t&&t?t:null}},{key:"_getWindow",value:function(){var t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return rr()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var t=this._getWindow();return t&&(t.__karma__||t.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){var t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(!t&&e&&e.body&&"function"==typeof getComputedStyle){var n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);var i=getComputedStyle(n);i&&"none"!==i.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&wS.full!==vS.full&&console.warn("The Angular Material version ("+wS.full+") does not match the Angular CDK version ("+vS.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}();return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)(ge(mS),ge(SS,8),ge(rd,8))},imports:[[Nk],Nk]}),t}();function CS(t){return function(t){f(n,t);var e=v(n);function n(){var t;_(this,n);for(var i=arguments.length,r=new Array(i),a=0;a1&&void 0!==arguments[1]?arguments[1]:0;return function(t){f(i,t);var n=v(i);function i(){var t;_(this,i);for(var r=arguments.length,a=new Array(r),o=0;o2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},IS),i.animation);i.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);var o=i.radius||HS(t,e,r),s=t-r.left,l=e-r.top,u=a.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left="".concat(s-o,"px"),c.style.top="".concat(l-o,"px"),c.style.height="".concat(2*o,"px"),c.style.width="".concat(2*o,"px"),null!=i.color&&(c.style.backgroundColor=i.color),c.style.transitionDuration="".concat(u,"ms"),this._containerElement.appendChild(c),NS(c),c.style.transform="scale(1)";var d=new ES(this,c,i);return d.state=0,this._activeRipples.add(d),i.persistent||(this._mostRecentTransientRipple=d),this._runTimeoutOutsideZone((function(){var t=d===n._mostRecentTransientRipple;d.state=1,i.persistent||t&&n._isPointerDown||d.fadeOut()}),u),d}},{key:"fadeOutRipple",value:function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,i=Object.assign(Object.assign({},IS),t.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone((function(){t.state=3,n.parentNode.removeChild(n)}),i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach((function(t){return t.fadeOut()}))}},{key:"setupTriggerEvents",value:function(t){var e=ek(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(YS))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(FS),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=uS(t),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular((function(){return setTimeout(t,e)}))}},{key:"_registerEvents",value:function(t){var e=this;this._ngZone.runOutsideAngular((function(){t.forEach((function(t){e._triggerElement.addEventListener(t,e,AS)}))}))}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(YS.forEach((function(e){t._triggerElement.removeEventListener(e,t,AS)})),this._pointerUpEventsRegistered&&FS.forEach((function(e){t._triggerElement.removeEventListener(e,t,AS)})))}}]),t}();function NS(t){window.getComputedStyle(t).getPropertyValue("opacity")}function HS(t,e,n){var i=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),r=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(i*i+r*r)}var jS=new se("mat-ripple-global-options"),BS=function(){var t=function(){function t(e,n,i,r,a){_(this,t),this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new RS(this,n,e,i)}return b(t,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(El),as(Mc),as(Lk),as(jS,8),as(dg,8))},t.\u0275dir=ze({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&zs("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t}(),VS=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},imports:[[MS,Tk],MS]}),t}(),zS=function(){var t=function t(e){_(this,t),this._animationMode=e,this.state="unchecked",this.disabled=!1};return t.\u0275fac=function(e){return new(e||t)(as(dg,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(t,e){2&t&&zs("mat-pseudo-checkbox-indeterminate","indeterminate"===e.state)("mat-pseudo-checkbox-checked","checked"===e.state)("mat-pseudo-checkbox-disabled",e.disabled)("_mat-animation-noopable","NoopAnimations"===e._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(t,e){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t}(),WS=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)}}),t}(),US=CS((function t(){_(this,t)})),qS=0,GS=new se("MatOptgroup"),KS=function(){var t=function(t){f(n,t);var e=v(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._labelId="mat-optgroup-label-".concat(qS++),t}return n}(US);return t.\u0275fac=function(e){return JS(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["mat-optgroup"]],hostAttrs:["role","group",1,"mat-optgroup"],hostVars:4,hostBindings:function(t,e){2&t&&(es("aria-disabled",e.disabled.toString())("aria-labelledby",e._labelId),zs("mat-optgroup-disabled",e.disabled))},inputs:{disabled:"disabled",label:"label"},exportAs:["matOptgroup"],features:[Dl([{provide:GS,useExisting:t}]),pl],ngContentSelectors:yS,decls:4,vars:2,consts:[[1,"mat-optgroup-label",3,"id"]],template:function(t,e){1&t&&(xs(_S),us(0,"label",0),al(1),Ds(2),cs(),Ds(3,1)),2&t&&(ss("id",e._labelId),Kr(1),sl("",e.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t}(),JS=Vi(KS),ZS=0,$S=function t(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];_(this,t),this.source=e,this.isUserInput=n},QS=new se("MAT_OPTION_PARENT_COMPONENT"),XS=function(){var t=function(){function t(e,n,i,r){_(this,t),this._element=e,this._changeDetectorRef=n,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(ZS++),this.onSelectionChange=new Iu,this._stateChanges=new W}return b(t,[{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(t,e){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(e)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(t){13!==t.keyCode&&32!==t.keyCode||rw(t)||(this._selectViaInteraction(),t.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var t=this.viewValue;t!==this._mostRecentViewValue&&(this._mostRecentViewValue=t,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new $S(this,t))}},{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(t){this._disabled=Zb(t)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(El),as(xo),as(QS,8),as(GS,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(t,e){1&t&&_s("click",(function(){return e._selectViaInteraction()}))("keydown",(function(t){return e._handleKeydown(t)})),2&t&&(dl("id",e.id),es("tabindex",e._getTabIndex())("aria-selected",e._getAriaSelected())("aria-disabled",e.disabled.toString()),zs("mat-selected",e.selected)("mat-option-multiple",e.multiple)("mat-active",e.active)("mat-option-disabled",e.disabled))},inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"},exportAs:["matOption"],ngContentSelectors:kS,decls:4,vars:3,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"]],template:function(t,e){1&t&&(xs(),is(0,bS,1,2,"mat-pseudo-checkbox",0),us(1,"span",1),Ds(2),cs(),ds(3,"div",2)),2&t&&(ss("ngIf",e.multiple),Kr(3),ss("matRippleTrigger",e._getHostElement())("matRippleDisabled",e.disabled||e.disableRipple))},directives:[Sh,BS,zS],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.cdk-high-contrast-active .mat-option .mat-option-ripple{opacity:.5}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t}();function tM(t,e,n){if(n.length){for(var i=e.toArray(),r=n.toArray(),a=0,o=0;o*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}\n",sM=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],lM=xS(CS(DS((function t(e){_(this,t),this._elementRef=e})))),uM=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;_(this,n),(a=e.call(this,t))._focusMonitor=i,a._animationMode=r,a.isRoundButton=a._hasHostAttributes("mat-fab","mat-mini-fab"),a.isIconButton=a._hasHostAttributes("mat-icon-button");var o,s=d(sM);try{for(s.s();!(o=s.n()).done;){var l=o.value;a._hasHostAttributes(l)&&a._getHostElement().classList.add(l)}}catch(u){s.e(u)}finally{s.f()}return t.nativeElement.classList.add("mat-button-base"),a.isRoundButton&&(a.color="accent"),a}return b(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._getHostElement(),t,e)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var t=this,e=arguments.length,n=new Array(e),i=0;ithis.total&&this.destination.next(t)}}]),n}(I),pM=new Set,mM=function(){var t=function(){function t(e){_(this,t),this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):gM}return b(t,[{key:"matchMedia",value:function(t){return this._platform.WEBKIT&&function(t){if(!pM.has(t))try{eM||((eM=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(eM)),eM.sheet&&(eM.sheet.insertRule("@media ".concat(t," {.fx-query-test{ }}"),0),pM.add(t))}catch(e){console.error(e)}}(t),this._matchMedia(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Lk))},t.\u0275prov=Et({factory:function(){return new t(ge(Lk))},token:t,providedIn:"root"}),t}();function gM(t){return{matches:"all"===t||""===t,media:t,addListener:function(){},removeListener:function(){}}}var vM=function(){var t=function(){function t(e,n){_(this,t),this._mediaMatcher=e,this._zone=n,this._queries=new Map,this._destroySubject=new W}return b(t,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(t){var e=this;return _M(Xb(t)).some((function(t){return e._registerQuery(t).mql.matches}))}},{key:"observe",value:function(t){var e=this,n=nv(_M(Xb(t)).map((function(t){return e._registerQuery(t).observable})));return(n=Yv(n.pipe(Sv(1)),n.pipe((function(t){return t.lift(new hM(1))}),Hw(0)))).pipe(nt((function(t){var e={matches:!1,breakpoints:{}};return t.forEach((function(t){e.matches=e.matches||t.matches,e.breakpoints[t.query]=t.matches})),e})))}},{key:"_registerQuery",value:function(t){var e=this;if(this._queries.has(t))return this._queries.get(t);var n=this._mediaMatcher.matchMedia(t),i={observable:new H((function(t){var i=function(n){return e._zone.run((function(){return t.next(n)}))};return n.addListener(i),function(){n.removeListener(i)}})).pipe(Fv(n),nt((function(e){return{query:t,matches:e.matches}})),bk(this._destroySubject)),mql:n};return this._queries.set(t,i),i}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(mM),ge(Mc))},t.\u0275prov=Et({factory:function(){return new t(ge(mM),ge(Mc))},token:t,providedIn:"root"}),t}();function _M(t){return t.map((function(t){return t.split(",")})).reduce((function(t,e){return t.concat(e)})).map((function(t){return t.trim()}))}function yM(t,e){if(1&t){var n=ms();us(0,"div",1),us(1,"button",2),_s("click",(function(){return Dn(n),Ms().action()})),al(2),cs(),cs()}if(2&t){var i=Ms();Kr(2),ol(i.data.action)}}function bM(t,e){}var kM=new se("MatSnackBarData"),wM=function t(){_(this,t),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"},SM=Math.pow(2,31)-1,MM=function(){function t(e,n){var i=this;_(this,t),this._overlayRef=n,this._afterDismissed=new W,this._afterOpened=new W,this._onAction=new W,this._dismissedByAction=!1,this.containerInstance=e,this.onAction().subscribe((function(){return i.dismiss()})),e._onExit.subscribe((function(){return i._finishDismiss()}))}return b(t,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(t){var e=this;this._durationTimeoutId=setTimeout((function(){return e.dismiss()}),Math.min(t,SM))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed.asObservable()}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction.asObservable()}}]),t}(),CM=function(){var t=function(){function t(e,n){_(this,t),this.snackBarRef=e,this.data=n}return b(t,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(MM),as(kM))},t.\u0275cmp=Fe({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(t,e){1&t&&(us(0,"span"),al(1),cs(),is(2,yM,3,1,"div",0)),2&t&&(Kr(1),ol(e.data.message),Kr(1),ss("ngIf",e.hasAction))},directives:[Sh,uM],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),t}(),xM={snackBarState:Bf("state",[qf("void, hidden",Uf({transform:"scale(0.8)",opacity:0})),qf("visible",Uf({transform:"scale(1)",opacity:1})),Kf("* => visible",Vf("150ms cubic-bezier(0, 0, 0.2, 1)")),Kf("* => void, * => hidden",Vf("75ms cubic-bezier(0.4, 0.0, 1, 1)",Uf({opacity:0})))])},DM=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this))._ngZone=t,o._elementRef=i,o._changeDetectorRef=r,o.snackBarConfig=a,o._destroyed=!1,o._onExit=new W,o._onEnter=new W,o._animationState="void",o.attachDomPortal=function(t){return o._assertNotAttached(),o._applySnackBarClasses(),o._portalOutlet.attachDomPortal(t)},o._role="assertive"!==a.politeness||a.announcementMessage?"off"===a.politeness?null:"status":"alert",o}return b(n,[{key:"attachComponentPortal",value:function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(t)}},{key:"onAnimationEnd",value:function(t){var e=t.toState;if(("void"===e&&"void"!==t.fromState||"hidden"===e)&&this._completeExit(),"visible"===e){var n=this._onEnter;this._ngZone.run((function(){n.next(),n.complete()}))}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var t=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(Sv(1)).subscribe((function(){t._onExit.next(),t._onExit.complete()}))}},{key:"_applySnackBarClasses",value:function(){var t=this._elementRef.nativeElement,e=this.snackBarConfig.panelClass;e&&(Array.isArray(e)?e.forEach((function(e){return t.classList.add(e)})):t.classList.add(e)),"center"===this.snackBarConfig.horizontalPosition&&t.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&t.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")}}]),n}(Zk);return t.\u0275fac=function(e){return new(e||t)(as(Mc),as(El),as(xo),as(wM))},t.\u0275cmp=Fe({type:t,selectors:[["snack-bar-container"]],viewQuery:function(t,e){var n;1&t&&Uu(Xk,!0),2&t&&Wu(n=$u())&&(e._portalOutlet=n.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:2,hostBindings:function(t,e){1&t&&ys("@state.done",(function(t){return e.onAnimationEnd(t)})),2&t&&(es("role",e._role),hl("@state",e._animationState))},features:[pl],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&is(0,bM,0,0,"ng-template",0)},directives:[Xk],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[xM.snackBarState]}}),t}(),LM=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},imports:[[Nw,nw,af,dM,MS],MS]}),t}(),TM=new se("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new wM}}),PM=function(){var t=function(){function t(e,n,i,r,a,o){_(this,t),this._overlay=e,this._live=n,this._injector=i,this._breakpointObserver=r,this._parentSnackBar=a,this._defaultConfig=o,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=CM,this.snackBarContainerComponent=DM,this.handsetCssClass="mat-snack-bar-handset"}return b(t,[{key:"openFromComponent",value:function(t,e){return this._attach(t,e)}},{key:"openFromTemplate",value:function(t,e){return this._attach(t,e)}},{key:"open",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:t,action:e},i.announcementMessage===t&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(t,e){var n=new iw(e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,new WeakMap([[wM,e]])),i=new Gk(this.snackBarContainerComponent,e.viewContainerRef,n),r=t.attach(i);return r.instance.snackBarConfig=e,r.instance}},{key:"_attach",value:function(t,e){var n=this,i=Object.assign(Object.assign(Object.assign({},new wM),this._defaultConfig),e),r=this._createOverlay(i),a=this._attachSnackBarContainer(r,i),o=new MM(a,r);if(t instanceof nu){var s=new Kk(t,null,{$implicit:i.data,snackBarRef:o});o.instance=a.attachTemplatePortal(s)}else{var l=this._createInjector(i,o),u=new Gk(t,void 0,l),c=a.attachComponentPortal(u);o.instance=c.instance}return this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait)").pipe(bk(r.detachments())).subscribe((function(t){var e=r.overlayElement.classList;t.matches?e.add(n.handsetCssClass):e.remove(n.handsetCssClass)})),this._animateSnackBar(o,i),this._openedSnackBarRef=o,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(t,e){var n=this;t.afterDismissed().subscribe((function(){n._openedSnackBarRef==t&&(n._openedSnackBarRef=null),e.announcementMessage&&n._live.clear()})),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe((function(){t.containerInstance.enter()})),this._openedSnackBarRef.dismiss()):t.containerInstance.enter(),e.duration&&e.duration>0&&t.afterOpened().subscribe((function(){return t._dismissAfter(e.duration)})),e.announcementMessage&&this._live.announce(e.announcementMessage,e.politeness)}},{key:"_createOverlay",value:function(t){var e=new fw;e.direction=t.direction;var n=this._overlay.position().global(),i="rtl"===t.direction,r="left"===t.horizontalPosition||"start"===t.horizontalPosition&&!i||"end"===t.horizontalPosition&&i,a=!r&&"center"!==t.horizontalPosition;return r?n.left("0"):a?n.right("0"):n.centerHorizontally(),"top"===t.verticalPosition?n.top("0"):n.bottom("0"),e.positionStrategy=n,this._overlay.create(e)}},{key:"_createInjector",value:function(t,e){return new iw(t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,new WeakMap([[MM,e],[kM,t.data]]))}},{key:"_openedSnackBarRef",get:function(){var t=this._parentSnackBar;return t?t._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(t){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=t:this._snackBarRefAtThisLevel=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Ew),ge(lS),ge(Wo),ge(vM),ge(t,12),ge(TM))},t.\u0275prov=Et({factory:function(){return new t(ge(Ew),ge(lS),ge(le),ge(vM),ge(t,12),ge(TM))},token:t,providedIn:LM}),t}();function OM(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:t;return this._fontCssClassesByAlias.set(t,e),this}},{key:"classNameForFontAlias",value:function(t){return this._fontCssClassesByAlias.get(t)||t}},{key:"setDefaultFontSetClass",value:function(t){return this._defaultFontSetClass=t,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(t){var e=this,n=this._sanitizer.sanitize(Dr.RESOURCE_URL,t);if(!n)throw YM(t);var i=this._cachedIconsByUrl.get(n);return i?mg(HM(i)):this._loadSvgIconFromConfig(new RM(t)).pipe(Dv((function(t){return e._cachedIconsByUrl.set(n,t)})),nt((function(t){return HM(t)})))}},{key:"getNamedSvgIcon",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=jM(e,t),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(e);return r?this._getSvgFromIconSetConfigs(t,r):Bb(AM(n))}},{key:"ngOnDestroy",value:function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(t){return t.svgElement?mg(HM(t.svgElement)):this._loadSvgIconFromConfig(t).pipe(Dv((function(e){return t.svgElement=e})),nt((function(t){return HM(t)})))}},{key:"_getSvgFromIconSetConfigs",value:function(t,e){var n=this,i=this._extractIconWithNameFromAnySet(t,e);return i?mg(i):OM(e.filter((function(t){return!t.svgElement})).map((function(t){return n._loadSvgIconSetFromConfig(t).pipe(bv((function(e){var i=n._sanitizer.sanitize(Dr.RESOURCE_URL,t.url),r="Loading icon set URL: ".concat(i," failed: ").concat(e.message);return n._errorHandler.handleError(new Error(r)),mg(null)})))}))).pipe(nt((function(){var i=n._extractIconWithNameFromAnySet(t,e);if(!i)throw AM(t);return i})))}},{key:"_extractIconWithNameFromAnySet",value:function(t,e){for(var n=e.length-1;n>=0;n--){var i=e[n];if(i.svgElement){var r=this._extractSvgIconFromSet(i.svgElement,t,i.options);if(r)return r}}return null}},{key:"_loadSvgIconFromConfig",value:function(t){var e=this;return this._fetchIcon(t).pipe(nt((function(n){return e._createSvgElementForSingleIcon(n,t.options)})))}},{key:"_loadSvgIconSetFromConfig",value:function(t){var e=this;return t.svgElement?mg(t.svgElement):this._fetchIcon(t).pipe(nt((function(n){return t.svgElement||(t.svgElement=e._svgElementFromString(n)),t.svgElement})))}},{key:"_createSvgElementForSingleIcon",value:function(t,e){var n=this._svgElementFromString(t);return this._setSvgAttributes(n,e),n}},{key:"_extractSvgIconFromSet",value:function(t,e,n){var i=t.querySelector('[id="'.concat(e,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var a=this._svgElementFromString("");return a.appendChild(r),this._setSvgAttributes(a,n)}},{key:"_svgElementFromString",value:function(t){var e=this._document.createElement("DIV");e.innerHTML=t;var n=e.querySelector("svg");if(!n)throw Error(" tag not found");return n}},{key:"_toSvgElement",value:function(t){for(var e=this._svgElementFromString(""),n=t.attributes,i=0;i5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6];_(this,t),this.store=e,this.currentLoader=n,this.compiler=i,this.parser=r,this.missingTranslationHandler=a,this.useDefaultLang=o,this.isolate=s,this.pending=!1,this._onTranslationChange=new Iu,this._onLangChange=new Iu,this._onDefaultLangChange=new Iu,this._langs=[],this._translations={},this._translationRequests={}}return b(t,[{key:"setDefaultLang",value:function(t){var e=this;if(t!==this.defaultLang){var n=this.retrieveTranslations(t);void 0!==n?(this.defaultLang||(this.defaultLang=t),n.pipe(Sv(1)).subscribe((function(n){e.changeDefaultLang(t)}))):this.changeDefaultLang(t)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(t){var e=this;if(t===this.currentLang)return mg(this.translations[t]);var n=this.retrieveTranslations(t);return void 0!==n?(this.currentLang||(this.currentLang=t),n.pipe(Sv(1)).subscribe((function(n){e.changeLang(t)})),n):(this.changeLang(t),mg(this.translations[t]))}},{key:"retrieveTranslations",value:function(t){var e;return void 0===this.translations[t]&&(this._translationRequests[t]=this._translationRequests[t]||this.getTranslation(t),e=this._translationRequests[t]),e}},{key:"getTranslation",value:function(t){var e=this;return this.pending=!0,this.loadingTranslations=this.currentLoader.getTranslation(t).pipe(kt()),this.loadingTranslations.pipe(Sv(1)).subscribe((function(n){e.translations[t]=e.compiler.compileTranslations(n,t),e.updateLangs(),e.pending=!1}),(function(t){e.pending=!1})),this.loadingTranslations}},{key:"setTranslation",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e=this.compiler.compileTranslations(e,t),this.translations[t]=n&&this.translations[t]?oC(this.translations[t],e):e,this.updateLangs(),this.onTranslationChange.emit({lang:t,translations:this.translations[t]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(t){var e=this;t.forEach((function(t){-1===e.langs.indexOf(t)&&e.langs.push(t)}))}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(t,e,n){var i;if(e instanceof Array){var r,a={},o=!1,s=d(e);try{for(s.s();!(r=s.n()).done;){var l=r.value;a[l]=this.getParsedResult(t,l,n),"function"==typeof a[l].subscribe&&(o=!0)}}catch(g){s.e(g)}finally{s.f()}if(o){var u,c,h=d(e);try{for(h.s();!(c=h.n()).done;){var f=c.value,p="function"==typeof a[f].subscribe?a[f]:mg(a[f]);u=void 0===u?p:ft(u,p)}}catch(g){h.e(g)}finally{h.f()}return u.pipe(function(t,e){return arguments.length>=2?function(n){return R(Rv(t,e),cv(1),vv(e))(n)}:function(e){return R(Rv((function(e,n,i){return t(e,n,i+1)})),cv(1))(e)}}(KM,[]),nt((function(t){var n={};return t.forEach((function(t,i){n[e[i]]=t})),n})))}return a}if(t&&(i=this.parser.interpolate(this.parser.getValue(t,e),n)),void 0===i&&this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(i=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],e),n)),void 0===i){var m={key:e,translateService:this};void 0!==n&&(m.interpolateParams=n),i=this.missingTranslationHandler.handle(m)}return void 0!==i?i:e}},{key:"get",value:function(t,e){var n=this;if(!rC(t)||!t.length)throw new Error('Parameter "key" required');if(this.pending)return H.create((function(i){var r=function(t){i.next(t),i.complete()},a=function(t){i.error(t)};n.loadingTranslations.subscribe((function(i){"function"==typeof(i=n.getParsedResult(n.compiler.compileTranslations(i,n.currentLang),t,e)).subscribe?i.subscribe(r,a):r(i)}),a)}));var i=this.getParsedResult(this.translations[this.currentLang],t,e);return"function"==typeof i.subscribe?i:mg(i)}},{key:"stream",value:function(t,e){var n=this;if(!rC(t)||!t.length)throw new Error('Parameter "key" required');return Yv(this.get(t,e),this.onLangChange.pipe(Ev((function(i){var r=n.getParsedResult(i.translations,t,e);return"function"==typeof r.subscribe?r:mg(r)}))))}},{key:"instant",value:function(t,e){if(!rC(t)||!t.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],t,e);if(void 0!==n.subscribe){if(t instanceof Array){var i={};return t.forEach((function(e,n){i[t[n]]=t[n]})),i}return t}return n}},{key:"set",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][t]=this.compiler.compile(e,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(t){this.currentLang=t,this.onLangChange.emit({lang:t,translations:this.translations[t]}),this.defaultLang||this.changeDefaultLang(t)}},{key:"changeDefaultLang",value:function(t){this.defaultLang=t,this.onDefaultLangChange.emit({lang:t,translations:this.translations[t]})}},{key:"reloadLang",value:function(t){return this.resetLang(t),this.getTranslation(t)}},{key:"resetLang",value:function(t){this._translationRequests[t]=void 0,this.translations[t]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var t=window.navigator.languages?window.navigator.languages[0]:null;return-1!==(t=t||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage).indexOf("-")&&(t=t.split("-")[0]),-1!==t.indexOf("_")&&(t=t.split("_")[0]),t}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator)return(window.navigator.languages?window.navigator.languages[0]:null)||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}},{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(t){this.isolate?this._defaultLang=t:this.store.defaultLang=t}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(t){this.isolate?this._currentLang=t:this.store.currentLang=t}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(t){this.isolate?this._langs=t:this.store.langs=t}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(t){this.isolate?this._translations=t:this.store.translations=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(cC),ge(JM),ge(tC),ge(sC),ge(QM),ge(hC),ge(dC))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),pC=function(){var t=function(){function t(e,n,i){var r=this;_(this,t),this.translateService=e,this.element=n,this._ref=i,this.onTranslationChangeSub||(this.onTranslationChangeSub=this.translateService.onTranslationChange.subscribe((function(t){t.lang===r.translateService.currentLang&&r.checkNodes(!0,t.translations)}))),this.onLangChangeSub||(this.onLangChangeSub=this.translateService.onLangChange.subscribe((function(t){r.checkNodes(!0,t.translations)}))),this.onDefaultLangChangeSub||(this.onDefaultLangChangeSub=this.translateService.onDefaultLangChange.subscribe((function(t){r.checkNodes(!0)})))}return b(t,[{key:"ngAfterViewChecked",value:function(){this.checkNodes()}},{key:"checkNodes",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=arguments.length>1?arguments[1]:void 0,n=this.element.nativeElement.childNodes;n.length||(this.setContent(this.element.nativeElement,this.key),n=this.element.nativeElement.childNodes);for(var i=0;i1?i-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.loader||{provide:JM,useClass:ZM},e.compiler||{provide:tC,useClass:eC},e.parser||{provide:sC,useClass:lC},e.missingTranslationHandler||{provide:QM,useClass:XM},cC,{provide:dC,useValue:e.isolate},{provide:hC,useValue:e.useDefaultLang},fC]}}},{key:"forChild",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:t,providers:[e.loader||{provide:JM,useClass:ZM},e.compiler||{provide:tC,useClass:eC},e.parser||{provide:sC,useClass:lC},e.missingTranslationHandler||{provide:QM,useClass:XM},{provide:dC,useValue:e.isolate},{provide:hC,useValue:e.useDefaultLang},fC]}}}]),t}();return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)}}),t}();function vC(t,e){if(1&t&&(us(0,"div",5),us(1,"mat-icon",6),al(2),cs(),cs()),2&t){var n=Ms();Kr(1),ss("inline",!0),Kr(1),ol(n.config.icon)}}function _C(t,e){if(1&t&&(us(0,"div",7),al(1),Lu(2,"translate"),Lu(3,"translate"),cs()),2&t){var n=Ms();Kr(1),ll(" ",Tu(2,2,"common.error")," ",Pu(3,4,n.config.smallText,n.config.smallTextTranslationParams)," ")}}var yC=function(t){return t.Error="error",t.Done="done",t.Warning="warning",t}({}),bC=function(t){return t.Red="red-background",t.Green="green-background",t.Yellow="yellow-background",t}({}),kC=function(){function t(t,e){this.snackbarRef=e,this.config=t}return t.prototype.close=function(){this.snackbarRef.dismiss()},t.\u0275fac=function(e){return new(e||t)(as(kM),as(MM))},t.\u0275cmp=Fe({type:t,selectors:[["app-snack-bar"]],decls:9,vars:8,consts:[["class","icon-container",4,"ngIf"],[1,"text-container"],["class","second-line",4,"ngIf"],[1,"close-button-separator"],[1,"close-button",3,"click"],[1,"icon-container"],[3,"inline"],[1,"second-line"]],template:function(t,e){1&t&&(us(0,"div"),is(1,vC,3,2,"div",0),us(2,"div",1),al(3),Lu(4,"translate"),is(5,_C,4,7,"div",2),cs(),ds(6,"div",3),us(7,"mat-icon",4),_s("click",(function(){return e.close()})),al(8,"close"),cs(),cs()),2&t&&(qs("main-container "+e.config.color),Kr(1),ss("ngIf",e.config.icon),Kr(2),sl(" ",Pu(4,5,e.config.text,e.config.textTranslationParams)," "),Kr(2),ss("ngIf",e.config.smallText))},directives:[Sh,qM],pipes:[mC],styles:['.close-button[_ngcontent-%COMP%], .cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:auto!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.main-container[_ngcontent-%COMP%]{width:100%;display:flex;color:#fff;padding:15px;border-radius:5px}.red-background[_ngcontent-%COMP%]{background-color:#ea0606}.green-background[_ngcontent-%COMP%]{background-color:#1fb11f}.yellow-background[_ngcontent-%COMP%]{background-color:#f90}.icon-container[_ngcontent-%COMP%]{margin-right:10px;position:relative;top:1px}.text-container[_ngcontent-%COMP%]{flex-grow:1;margin-right:10px;font-size:1rem;word-break:break-word}.text-container[_ngcontent-%COMP%] .second-line[_ngcontent-%COMP%]{font-size:.8rem;opacity:.9}.close-button-separator[_ngcontent-%COMP%]{width:1px;margin-right:10px;background-color:rgba(0,0,0,.3)}.close-button[_ngcontent-%COMP%]{opacity:.7}.close-button[_ngcontent-%COMP%]:hover{opacity:1}mat-icon[_ngcontent-%COMP%]{position:relative;top:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}']}),t}(),wC=function(t){return t.NoConnection="NoConnection",t.Unknown="Unknown",t}({}),SC=function(){return function(){}}();function MC(t){if(t&&t.type&&!t.srcElement)return t;var e=new SC;return e.originalError=t,t&&"string"!=typeof t?(e.originalServerErrorMsg=function(t){if(t){if("string"==typeof t._body)return t._body;if(t.originalServerErrorMsg&&"string"==typeof t.originalServerErrorMsg)return t.originalServerErrorMsg;if(t.error&&"string"==typeof t.error)return t.error;if(t.error&&t.error.error&&t.error.error.message)return t.error.error.message;if(t.error&&t.error.error&&"string"==typeof t.error.error)return t.error.error;if(t.message)return t.message;if(t._body&&t._body.error)return t._body.error;try{return JSON.parse(t._body).error}catch(e){}}return null}(t),null!=t.status&&(0!==t.status&&504!==t.status||(e.type=wC.NoConnection,e.translatableErrorMsg="common.no-connection-error")),e.type||(e.type=wC.Unknown,e.translatableErrorMsg=e.originalServerErrorMsg?function(t){if(!t||0===t.length)return t;if(-1!==t.indexOf('"error":'))try{t=JSON.parse(t).error}catch(i){}if(t.startsWith("400")||t.startsWith("403")){var e=t.split(" - ",2);t=2===e.length?e[1]:t}var n=(t=t.trim()).substr(0,1);return n.toUpperCase()!==n&&(t=n.toUpperCase()+t.substr(1,t.length-1)),t.endsWith(".")||t.endsWith(",")||t.endsWith(":")||t.endsWith(";")||t.endsWith("?")||t.endsWith("!")||(t+="."),t}(e.originalServerErrorMsg):"common.operation-error"),e):(e.originalServerErrorMsg=t||"",e.translatableErrorMsg=t||"common.operation-error",e.type=wC.Unknown,e)}var CC=function(){function t(t){this.snackBar=t,this.lastWasTemporaryError=!1}return t.prototype.showError=function(t,e,n,i,r){void 0===e&&(e=null),void 0===n&&(n=!1),void 0===i&&(i=null),void 0===r&&(r=null),t=MC(t),i=i?MC(i):null,this.lastWasTemporaryError=n,this.show(t.translatableErrorMsg,e,i?i.translatableErrorMsg:null,r,yC.Error,bC.Red,15e3)},t.prototype.showWarning=function(t,e){void 0===e&&(e=null),this.lastWasTemporaryError=!1,this.show(t,e,null,null,yC.Warning,bC.Yellow,15e3)},t.prototype.showDone=function(t,e){void 0===e&&(e=null),this.lastWasTemporaryError=!1,this.show(t,e,null,null,yC.Done,bC.Green,5e3)},t.prototype.closeCurrent=function(){this.snackBar.dismiss()},t.prototype.closeCurrentIfTemporaryError=function(){this.lastWasTemporaryError&&this.snackBar.dismiss()},t.prototype.show=function(t,e,n,i,r,a,o){this.snackBar.openFromComponent(kC,{duration:o,panelClass:"snackbar-container",data:{text:t,textTranslationParams:e,smallText:n,smallTextTranslationParams:i,icon:r,color:a}})},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(PM))},providedIn:"root"}),t}(),xC={maxShortListElements:5,maxFullListElements:40,connectionRetryDelay:5e3,languages:[{code:"en",name:"English",iconName:"en.png"},{code:"es",name:"Espa\xf1ol",iconName:"es.png"},{code:"de",name:"Deutsch",iconName:"de.png"}],defaultLanguage:"en",smallModalWidth:"480px",mediumModalWidth:"640px",largeModalWidth:"900px",vpn:{hardcodedIpWhileDeveloping:!0}},DC=function(){return function(t){Object.assign(this,t)}}(),LC=function(){function t(t){this.translate=t,this.currentLanguage=new qb(1),this.languages=new qb(1),this.storageKey="lang",this.languagesInternal=[],this.settingsLoaded=!1}return t.prototype.loadLanguageSettings=function(){var t=this;if(!this.settingsLoaded){this.settingsLoaded=!0;var e=[];xC.languages.forEach((function(n){var i=new DC(n);t.languagesInternal.push(i),e.push(i.code)})),this.languages.next(this.languagesInternal),this.translate.addLangs(e),this.translate.setDefaultLang(xC.defaultLanguage),this.translate.onLangChange.subscribe((function(e){return t.onLanguageChanged(e)})),this.loadCurrentLanguage()}},t.prototype.changeLanguage=function(t){this.translate.use(t)},t.prototype.onLanguageChanged=function(t){this.currentLanguage.next(this.languagesInternal.find((function(e){return e.code===t.lang}))),localStorage.setItem(this.storageKey,t.lang)},t.prototype.loadCurrentLanguage=function(){var t=this,e=localStorage.getItem(this.storageKey);e=e||xC.defaultLanguage,setTimeout((function(){t.translate.use(e)}),16)},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(fC))},providedIn:"root"}),t}();function TC(t,e){}var PC=function t(){_(this,t),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0},OC={dialogContainer:Bf("dialogContainer",[qf("void, exit",Uf({opacity:0,transform:"scale(0.7)"})),qf("enter",Uf({transform:"none"})),Kf("* => enter",Vf("150ms cubic-bezier(0, 0, 0.2, 1)",Uf({transform:"none",opacity:1}))),Kf("* => void, * => exit",Vf("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Uf({opacity:0})))])};function EC(){throw Error("Attempting to attach dialog content after content is already attached")}var IC=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s){var l;return _(this,n),(l=e.call(this))._elementRef=t,l._focusTrapFactory=i,l._changeDetectorRef=r,l._config=o,l._focusMonitor=s,l._elementFocusedBeforeDialogWasOpened=null,l._closeInteractionType=null,l._state="enter",l._animationStateChanged=new Iu,l.attachDomPortal=function(t){return l._portalOutlet.hasAttached()&&EC(),l._setupFocusTrap(),l._portalOutlet.attachDomPortal(t)},l._ariaLabelledBy=o.ariaLabelledBy||null,l._document=a,l}return b(n,[{key:"attachComponentPortal",value:function(t){return this._portalOutlet.hasAttached()&&EC(),this._setupFocusTrap(),this._portalOutlet.attachComponentPortal(t)}},{key:"attachTemplatePortal",value:function(t){return this._portalOutlet.hasAttached()&&EC(),this._setupFocusTrap(),this._portalOutlet.attachTemplatePortal(t)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var t=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&t&&"function"==typeof t.focus){var e=this._document.activeElement,n=this._elementRef.nativeElement;e&&e!==this._document.body&&e!==n&&!n.contains(e)||(this._focusMonitor?(this._focusMonitor.focusVia(t,this._closeInteractionType),this._closeInteractionType=null):t.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){var t=this;this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)),this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return t._elementRef.nativeElement.focus()})))}},{key:"_containsFocus",value:function(){var t=this._elementRef.nativeElement,e=this._document.activeElement;return t===e||t.contains(e)}},{key:"_onAnimationDone",value:function(t){"enter"===t.toState?this._trapFocus():"exit"===t.toState&&this._restoreFocus(),this._animationStateChanged.emit(t)}},{key:"_onAnimationStart",value:function(t){this._animationStateChanged.emit(t)}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(Zk);return t.\u0275fac=function(e){return new(e||t)(as(El),as(aS),as(xo),as(rd,8),as(PC),as(hS))},t.\u0275cmp=Fe({type:t,selectors:[["mat-dialog-container"]],viewQuery:function(t,e){var n;1&t&&Uu(Xk,!0),2&t&&Wu(n=$u())&&(e._portalOutlet=n.first)},hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(t,e){1&t&&ys("@dialogContainer.start",(function(t){return e._onAnimationStart(t)}))("@dialogContainer.done",(function(t){return e._onAnimationDone(t)})),2&t&&(es("id",e._id)("role",e._config.role)("aria-labelledby",e._config.ariaLabel?null:e._ariaLabelledBy)("aria-label",e._config.ariaLabel)("aria-describedby",e._config.ariaDescribedBy||null),hl("@dialogContainer",e._state))},features:[pl],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(t,e){1&t&&is(0,TC,0,0,"ng-template",0)},directives:[Xk],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[OC.dialogContainer]}}),t}(),AC=0,YC=function(){function t(e,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(AC++);_(this,t),this._overlayRef=e,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new W,this._afterClosed=new W,this._beforeClosed=new W,this._state=0,n._id=r,n._animationStateChanged.pipe(vg((function(t){return"done"===t.phaseName&&"enter"===t.toState})),Sv(1)).subscribe((function(){i._afterOpened.next(),i._afterOpened.complete()})),n._animationStateChanged.pipe(vg((function(t){return"done"===t.phaseName&&"exit"===t.toState})),Sv(1)).subscribe((function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()})),e.detachments().subscribe((function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()})),e.keydownEvents().pipe(vg((function(t){return 27===t.keyCode&&!i.disableClose&&!rw(t)}))).subscribe((function(t){t.preventDefault(),FC(i,"keyboard")})),e.backdropClick().subscribe((function(){i.disableClose?i._containerInstance._recaptureFocus():FC(i,"mouse")}))}return b(t,[{key:"close",value:function(t){var e=this;this._result=t,this._containerInstance._animationStateChanged.pipe(vg((function(t){return"start"===t.phaseName})),Sv(1)).subscribe((function(n){e._beforeClosed.next(t),e._beforeClosed.complete(),e._overlayRef.detachBackdrop(),e._closeFallbackTimeout=setTimeout((function(){return e._finishDialogClose()}),n.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1}},{key:"afterOpened",value:function(){return this._afterOpened.asObservable()}},{key:"afterClosed",value:function(){return this._afterClosed.asObservable()}},{key:"beforeClosed",value:function(){return this._beforeClosed.asObservable()}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(t){var e=this._getPositionStrategy();return t&&(t.left||t.right)?t.left?e.left(t.left):e.right(t.right):e.centerHorizontally(),t&&(t.top||t.bottom)?t.top?e.top(t.top):e.bottom(t.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._getPositionStrategy().width(t).height(e),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(t){return this._overlayRef.addPanelClass(t),this}},{key:"removePanelClass",value:function(t){return this._overlayRef.removePanelClass(t),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),t}();function FC(t,e,n){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=e),t.close(n)}var RC=new se("MatDialogData"),NC=new se("mat-dialog-default-options"),HC=new se("mat-dialog-scroll-strategy"),jC={provide:HC,deps:[Ew],useFactory:function(t){return function(){return t.scrollStrategies.block()}}},BC=function(){var t=function(){function t(e,n,i,r,a,o,s){var l=this;_(this,t),this._overlay=e,this._injector=n,this._defaultOptions=r,this._parentDialog=o,this._overlayContainer=s,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new W,this._afterOpenedAtThisLevel=new W,this._ariaHiddenElements=new Map,this.afterAllClosed=sv((function(){return l.openDialogs.length?l._afterAllClosed:l._afterAllClosed.pipe(Fv(void 0))})),this._scrollStrategy=a}return b(t,[{key:"open",value:function(t,e){var n=this;if((e=function(t,e){return Object.assign(Object.assign({},e),t)}(e,this._defaultOptions||new PC)).id&&this.getDialogById(e.id))throw Error('Dialog with id "'.concat(e.id,'" exists already. The dialog id must be unique.'));var i=this._createOverlay(e),r=this._attachDialogContainer(i,e),a=this._attachDialogContent(t,r,i,e);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe((function(){return n._removeOpenDialog(a)})),this.afterOpened.next(a),a}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(t){return this.openDialogs.find((function(e){return e.id===t}))}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(t){var e=this._getOverlayConfig(t);return this._overlay.create(e)}},{key:"_getOverlayConfig",value:function(t){var e=new fw({positionStrategy:this._overlay.position().global(),scrollStrategy:t.scrollStrategy||this._scrollStrategy(),panelClass:t.panelClass,hasBackdrop:t.hasBackdrop,direction:t.direction,minWidth:t.minWidth,minHeight:t.minHeight,maxWidth:t.maxWidth,maxHeight:t.maxHeight,disposeOnNavigation:t.closeOnNavigation});return t.backdropClass&&(e.backdropClass=t.backdropClass),e}},{key:"_attachDialogContainer",value:function(t,e){var n=Wo.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:PC,useValue:e}]}),i=new Gk(IC,e.viewContainerRef,n,e.componentFactoryResolver);return t.attach(i).instance}},{key:"_attachDialogContent",value:function(t,e,n,i){var r=new YC(n,e,i.id);if(t instanceof nu)e.attachTemplatePortal(new Kk(t,null,{$implicit:i.data,dialogRef:r}));else{var a=this._createInjector(i,r,e),o=e.attachComponentPortal(new Gk(t,i.viewContainerRef,a));r.componentInstance=o.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}},{key:"_createInjector",value:function(t,e,n){var i=t&&t.viewContainerRef&&t.viewContainerRef.injector,r=[{provide:IC,useValue:n},{provide:RC,useValue:t.data},{provide:YC,useValue:e}];return!t.direction||i&&i.get(Fk,null)||r.push({provide:Fk,useValue:{value:t.direction,change:mg()}}),Wo.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(t){var e=this.openDialogs.indexOf(t);e>-1&&(this.openDialogs.splice(e,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(t,e){t?e.setAttribute("aria-hidden",t):e.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var t=this._overlayContainer.getContainerElement();if(t.parentElement)for(var e=t.parentElement.children,n=e.length-1;n>-1;n--){var i=e[n];i===t||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(t){for(var e=t.length;e--;)t[e].close()}},{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_afterAllClosed",get:function(){var t=this._parentDialog;return t?t._afterAllClosed:this._afterAllClosedAtThisLevel}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ge(Ew),ge(Wo),ge(yd,8),ge(NC,8),ge(HC),ge(t,12),ge(ww))},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),VC=0,zC=function(){var t=function(){function t(e,n,i){_(this,t),this.dialogRef=e,this._elementRef=n,this._dialog=i,this.type="button"}return b(t,[{key:"ngOnInit",value:function(){this.dialogRef||(this.dialogRef=GC(this._elementRef,this._dialog.openDialogs))}},{key:"ngOnChanges",value:function(t){var e=t._matDialogClose||t._matDialogCloseResult;e&&(this.dialogResult=e.currentValue)}},{key:"_onButtonClick",value:function(t){FC(this.dialogRef,0===t.screenX&&0===t.screenY?"keyboard":"mouse",this.dialogResult)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(YC,8),as(El),as(BC))},t.\u0275dir=ze({type:t,selectors:[["","mat-dialog-close",""],["","matDialogClose",""]],hostVars:2,hostBindings:function(t,e){1&t&&_s("click",(function(t){return e._onButtonClick(t)})),2&t&&es("aria-label",e.ariaLabel||null)("type",e.type)},inputs:{type:"type",dialogResult:["mat-dialog-close","dialogResult"],ariaLabel:["aria-label","ariaLabel"],_matDialogClose:["matDialogClose","_matDialogClose"]},exportAs:["matDialogClose"],features:[nn]}),t}(),WC=function(){var t=function(){function t(e,n,i){_(this,t),this._dialogRef=e,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-".concat(VC++)}return b(t,[{key:"ngOnInit",value:function(){var t=this;this._dialogRef||(this._dialogRef=GC(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var e=t._dialogRef._containerInstance;e&&!e._ariaLabelledBy&&(e._ariaLabelledBy=t.id)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(YC,8),as(El),as(BC))},t.\u0275dir=ze({type:t,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(t,e){2&t&&dl("id",e.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),t}(),UC=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),t}(),qC=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),t}();function GC(t,e){for(var n=t.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?e.find((function(t){return t.id===n.id})):null}var KC=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[BC,jC],imports:[[Nw,nw,MS],MS]}),t}();function JC(t,e){1&t&&(us(0,"div",3),us(1,"div"),ds(2,"img",4),us(3,"div"),al(4),Lu(5,"translate"),cs(),cs(),cs()),2&t&&(Kr(4),ol(Tu(5,1,"common.window-size-error")))}var ZC=function(t){return{background:t}},$C=function(){function t(t,e,n,i,r,a){var o=this;this.inVpnClient=!1,r.afterOpened.subscribe((function(){return i.closeCurrent()})),n.events.subscribe((function(t){t instanceof Uv&&(i.closeCurrent(),r.closeAll(),window.scrollTo(0,0))})),r.afterAllClosed.subscribe((function(){return i.closeCurrentIfTemporaryError()})),a.loadLanguageSettings(),n.events.subscribe((function(){o.inVpnClient=n.url.includes("/vpn/"),n.url.length>2&&(document.title=o.inVpnClient?"Skywire VPN":"Skywire Manager")}))}return t.\u0275fac=function(e){return new(e||t)(as(Jb),as(yd),as(cb),as(CC),as(BC),as(LC))},t.\u0275cmp=Fe({type:t,selectors:[["app-root"]],decls:4,vars:4,consts:[["class","size-alert d-md-none",4,"ngIf"],[1,"flex-1","content","container-fluid"],[3,"ngClass"],[1,"size-alert","d-md-none"],["src","assets/img/size-alert.png"]],template:function(t,e){1&t&&(is(0,JC,6,3,"div",0),us(1,"div",1),ds(2,"div",2),ds(3,"router-outlet"),cs()),2&t&&(ss("ngIf",e.inVpnClient),Kr(2),ss("ngClass",Su(2,ZC,e.inVpnClient)))},directives:[Sh,_h,gb],pipes:[mC],styles:[".size-alert[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.85);position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;display:inline-flex;align-items:center;justify-content:center;text-align:center;color:#fff}.size-alert[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin:0 40px;max-width:400px}[_nghost-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;min-height:100%;height:100%}.content[_ngcontent-%COMP%]{padding:20px!important}.background[_ngcontent-%COMP%]{background-image:url(/assets/img/map.png);background-size:cover;background-position:50%;opacity:.1;width:100%;height:100%;top:0;left:0;position:fixed}"]}),t}(),QC={url:"",deserializer:function(t){return JSON.parse(t.data)},serializer:function(t){return JSON.stringify(t)}},XC=function(t){f(n,t);var e=v(n);function n(t,i){var r;if(_(this,n),r=e.call(this),t instanceof H)r.destination=i,r.source=t;else{var a=r._config=Object.assign({},QC);if(r._output=new W,"string"==typeof t)a.url=t;else for(var o in t)t.hasOwnProperty(o)&&(a[o]=t[o]);if(!a.WebSocketCtor&&WebSocket)a.WebSocketCtor=WebSocket;else if(!a.WebSocketCtor)throw new Error("no WebSocket constructor can be found");r.destination=new qb}return r}return b(n,[{key:"lift",value:function(t){var e=new n(this._config,this.destination);return e.operator=t,e.source=this,e}},{key:"_resetState",value:function(){this._socket=null,this.source||(this.destination=new qb),this._output=new W}},{key:"multiplex",value:function(t,e,n){var i=this;return new H((function(r){try{i.next(t())}catch(o){r.error(o)}var a=i.subscribe((function(t){try{n(t)&&r.next(t)}catch(o){r.error(o)}}),(function(t){return r.error(t)}),(function(){return r.complete()}));return function(){try{i.next(e())}catch(o){r.error(o)}a.unsubscribe()}}))}},{key:"_connectSocket",value:function(){var t=this,e=this._config,n=e.WebSocketCtor,i=e.protocol,r=e.url,a=e.binaryType,o=this._output,s=null;try{s=i?new n(r,i):new n(r),this._socket=s,a&&(this._socket.binaryType=a)}catch(u){return void o.error(u)}var l=new x((function(){t._socket=null,s&&1===s.readyState&&s.close()}));s.onopen=function(e){if(!t._socket)return s.close(),void t._resetState();var n=t._config.openObserver;n&&n.next(e);var i=t.destination;t.destination=I.create((function(n){if(1===s.readyState)try{s.send((0,t._config.serializer)(n))}catch(e){t.destination.error(e)}}),(function(e){var n=t._config.closingObserver;n&&n.next(void 0),e&&e.code?s.close(e.code,e.reason):o.error(new TypeError("WebSocketSubject.error must be called with an object with an error code, and an optional reason: { code: number, reason: string }")),t._resetState()}),(function(){var e=t._config.closingObserver;e&&e.next(void 0),s.close(),t._resetState()})),i&&i instanceof qb&&l.add(i.subscribe(t.destination))},s.onerror=function(e){t._resetState(),o.error(e)},s.onclose=function(e){t._resetState();var n=t._config.closeObserver;n&&n.next(e),e.wasClean?o.complete():o.error(e)},s.onmessage=function(e){try{o.next((0,t._config.deserializer)(e))}catch(n){o.error(n)}}}},{key:"_subscribe",value:function(t){var e=this,n=this.source;return n?n.subscribe(t):(this._socket||this._connectSocket(),this._output.subscribe(t),t.add((function(){var t=e._socket;0===e._output.observers.length&&(t&&1===t.readyState&&t.close(),e._resetState())})),t)}},{key:"unsubscribe",value:function(){var t=this._socket;t&&1===t.readyState&&t.close(),this._resetState(),r(i(n.prototype),"unsubscribe",this).call(this)}}]),n}(U),tx=function(){return(tx=Object.assign||function(t){for(var e,n=1,i=arguments.length;n mat-spinner[_ngcontent-%COMP%]{opacity:.5}"]}),t}(),bx=function(){function t(t,e){this.authService=t,this.router=e}return t.prototype.ngOnInit=function(){var t=this;this.verificationSubscription=this.authService.checkLogin().subscribe((function(e){t.router.navigate(e!==ox.NotLogged?["nodes"]:["login"],{replaceUrl:!0})}),(function(){t.router.navigate(["nodes"],{replaceUrl:!0})}))},t.prototype.ngOnDestroy=function(){this.verificationSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)(as(sx),as(cb))},t.\u0275cmp=Fe({type:t,selectors:[["app-start"]],decls:2,vars:0,consts:[[1,"h-100","w-100"]],template:function(t,e){1&t&&(us(0,"div",0),ds(1,"app-loading-indicator"),cs())},directives:[yx],styles:[""]}),t}(),kx=new se("NgValueAccessor"),wx={provide:kx,useExisting:Ut((function(){return Sx})),multi:!0},Sx=function(){var t=function(){function t(e,n){_(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return b(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(Fl),as(El))},t.\u0275dir=ze({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&_s("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[Dl([wx])]}),t}(),Mx={provide:kx,useExisting:Ut((function(){return xx})),multi:!0},Cx=new se("CompositionEventMode"),xx=function(){var t=function(){function t(e,n,i){var r;_(this,t),this._renderer=e,this._elementRef=n,this._compositionMode=i,this.onChange=function(t){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=nd()?nd().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return b(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_handleInput",value:function(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(Fl),as(El),as(Cx,8))},t.\u0275dir=ze({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&_s("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[Dl([Mx])]}),t}(),Dx=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(t)}},{key:"hasError",value:function(t,e){return!!this.control&&this.control.hasError(t,e)}},{key:"getError",value:function(t,e){return this.control?this.control.getError(t,e):null}},{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t}),t}(),Lx=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(Dx);return t.\u0275fac=function(e){return Tx(e||t)},t.\u0275dir=ze({type:t,features:[pl]}),t}(),Tx=Vi(Lx);function Px(){throw new Error("unimplemented")}var Ox=function(t){f(n,t);var e=v(n);function n(){var t;return _(this,n),(t=e.apply(this,arguments))._parent=null,t.name=null,t.valueAccessor=null,t._rawValidators=[],t._rawAsyncValidators=[],t}return b(n,[{key:"validator",get:function(){return Px()}},{key:"asyncValidator",get:function(){return Px()}}]),n}(Dx),Ex=function(){function t(e){_(this,t),this._cd=e}return b(t,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),t}(),Ix=function(){var t=function(t){f(n,t);var e=v(n);function n(t){return _(this,n),e.call(this,t)}return n}(Ex);return t.\u0275fac=function(e){return new(e||t)(as(Ox,2))},t.\u0275dir=ze({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&zs("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[pl]}),t}(),Ax=function(){var t=function(t){f(n,t);var e=v(n);function n(t){return _(this,n),e.call(this,t)}return n}(Ex);return t.\u0275fac=function(e){return new(e||t)(as(Lx,2))},t.\u0275dir=ze({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&zs("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[pl]}),t}();function Yx(t){return null==t||0===t.length}function Fx(t){return null!=t&&"number"==typeof t.length}var Rx=new se("NgValidators"),Nx=new se("NgAsyncValidators"),Hx=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,jx=function(){function t(){_(this,t)}return b(t,null,[{key:"min",value:function(t){return function(e){if(Yx(e.value)||Yx(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&nt?{max:{max:t,actual:e.value}}:null}}},{key:"required",value:function(t){return Yx(t.value)?{required:!0}:null}},{key:"requiredTrue",value:function(t){return!0===t.value?null:{required:!0}}},{key:"email",value:function(t){return Yx(t.value)||Hx.test(t.value)?null:{email:!0}}},{key:"minLength",value:function(t){return function(e){return Yx(e.value)||!Fx(e.value)?null:e.value.lengtht?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}}},{key:"pattern",value:function(e){return e?("string"==typeof e?(i="","^"!==e.charAt(0)&&(i+="^"),i+=e,"$"!==e.charAt(e.length-1)&&(i+="$"),n=new RegExp(i)):(i=e.toString(),n=e),function(t){if(Yx(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:i,actualValue:e}}}):t.nullValidator;var n,i}},{key:"nullValidator",value:function(t){return null}},{key:"compose",value:function(t){if(!t)return null;var e=t.filter(Bx);return 0==e.length?null:function(t){return zx(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}}},{key:"composeAsync",value:function(t){if(!t)return null;var e=t.filter(Bx);return 0==e.length?null:function(t){return OM(function(t,e){return e.map((function(e){return e(t)}))}(t,e).map(Vx)).pipe(nt(zx))}}}]),t}();function Bx(t){return null!=t}function Vx(t){var e=gs(t)?ot(t):t;if(!vs(e))throw new Error("Expected validator to return Promise or Observable.");return e}function zx(t){var e={};return t.forEach((function(t){e=null!=t?Object.assign(Object.assign({},e),t):e})),0===Object.keys(e).length?null:e}function Wx(t){return t.validate?function(e){return t.validate(e)}:t}function Ux(t){return t.validate?function(e){return t.validate(e)}:t}var qx={provide:kx,useExisting:Ut((function(){return Gx})),multi:!0},Gx=function(){var t=function(){function t(e,n){_(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return b(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(Fl),as(El))},t.\u0275dir=ze({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&_s("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[Dl([qx])]}),t}(),Kx={provide:kx,useExisting:Ut((function(){return Zx})),multi:!0},Jx=function(){var t=function(){function t(){_(this,t),this._accessors=[]}return b(t,[{key:"add",value:function(t,e){this._accessors.push([t,e])}},{key:"remove",value:function(t){for(var e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}},{key:"select",value:function(t){var e=this;this._accessors.forEach((function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)}))}},{key:"_isSameGroup",value:function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),Zx=function(){var t=function(){function t(e,n,i,r){_(this,t),this._renderer=e,this._elementRef=n,this._registry=i,this._injector=r,this.onChange=function(){},this.onTouched=function(){}}return b(t,[{key:"ngOnInit",value:function(){this._control=this._injector.get(Ox),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}}},{key:"fireUncheck",value:function(t){this.writeValue(t)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex:
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',tD='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',eD='\n
\n
\n \n
\n
',nD=function(){function t(){_(this,t)}return b(t,null,[{key:"controlParentException",value:function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ".concat(Xx))}},{key:"ngModelGroupException",value:function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '.concat(tD,"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n ").concat(eD))}},{key:"missingFormException",value:function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n ".concat(Xx))}},{key:"groupParentException",value:function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ".concat(tD))}},{key:"arrayParentException",value:function(){throw new Error("formArrayName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n ".concat('\n
\n
\n
\n \n
\n
\n
\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });'))}},{key:"disabledAttrWarning",value:function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n\n Example:\n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}},{key:"ngModelWarning",value:function(t){console.warn("\n It looks like you're using ngModel on the same form field as ".concat(t,".\n Support for using the ngModel input property and ngModelChange event with\n reactive form directives has been deprecated in Angular v6 and will be removed\n in a future version of Angular.\n\n For more information on this, see our API docs here:\n https://angular.io/api/forms/").concat("formControl"===t?"FormControlDirective":"FormControlName","#use-with-ngmodel\n "))}}]),t}(),iD={provide:kx,useExisting:Ut((function(){return aD})),multi:!0};function rD(t,e){return null==t?"".concat(e):(e&&"object"==typeof e&&(e="Object"),"".concat(t,": ").concat(e).slice(0,50))}var aD=function(){var t=function(){function t(e,n){_(this,t),this._renderer=e,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=Object.is}return b(t,[{key:"writeValue",value:function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=rD(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){var i=[];if(void 0!==n.selectedOptions)for(var r=n.selectedOptions,a=0;a1?"path: '".concat(t.path.join(" -> "),"'"):t.path[0]?"name: '".concat(t.path,"'"):"unspecified name attribute",new Error("".concat(e," ").concat(n))}function vD(t){return null!=t?jx.compose(t.map(Wx)):null}function _D(t){return null!=t?jx.composeAsync(t.map(Ux)):null}function yD(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object.is(e,n.currentValue)}var bD=[Sx,Qx,Gx,aD,uD,Zx];function kD(t,e){t._syncPendingControls(),e.forEach((function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}))}function wD(t,e){if(!e)return null;Array.isArray(e)||gD(t,"Value accessor was not provided as an array for form control with");var n=void 0,i=void 0,r=void 0;return e.forEach((function(e){var a;e.constructor===xx?n=e:(a=e,bD.some((function(t){return a.constructor===t}))?(i&&gD(t,"More than one built-in value accessor matches form control with"),i=e):(r&&gD(t,"More than one custom value accessor matches form control with"),r=e))})),r||i||n||(gD(t,"No valid value accessor for form control with"),null)}function SD(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}function MD(t,e,n,i){rr()&&"never"!==i&&((null!==i&&"once"!==i||e._ngModelWarningSentOnce)&&("always"!==i||n._ngModelWarningSent)||(nD.ngModelWarning(t),e._ngModelWarningSentOnce=!0,n._ngModelWarningSent=!0))}function CD(t){var e=DD(t)?t.validators:t;return Array.isArray(e)?vD(e):e||null}function xD(t,e){var n=DD(e)?e.asyncValidators:t;return Array.isArray(n)?_D(n):n||null}function DD(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var LD=function(){function t(e,n){_(this,t),this.validator=e,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return b(t,[{key:"setValidators",value:function(t){this.validator=CD(t)}},{key:"setAsyncValidators",value:function(t){this.asyncValidator=xD(t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=Vx(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;var i=t;return e.forEach((function(t){i=i instanceof PD?i.controls.hasOwnProperty(t)?i.controls[t]:null:i instanceof OD&&i.at(t)||null})),i}(this,t)}},{key:"getError",value:function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new Iu,this.statusChanges=new Iu}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls((function(e){return e.status===t}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(t){return t.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(t){return t.touched}))}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){DD(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}}]),t}(),TD=function(t){f(n,t);var e=v(n);function n(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return _(this,n),(t=e.call(this,CD(r),xD(a,r)))._onChange=[],t._applyFormState(i),t._setUpdateStrategy(r),t.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),t._initObservables(),t}return b(n,[{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(t){return t(e.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_forEachChild",value:function(t){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}]),n}(LD),PD=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,CD(i),xD(r,i))).controls=t,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return b(n,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach((function(i){e._throwIfControlMissing(i),e.controls[i].setValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(t).forEach((function(i){e.controls[i]&&e.controls[i].patchValue(t[i],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof TD?e.value:e.getRawValue(),t}))}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){for(var e=0,n=Object.keys(this.controls);e0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(LD),OD=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,CD(i),xD(r,i))).controls=t,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return b(n,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}},{key:"removeAt",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()}},{key:"setControl",value:function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach((function(t,i){e._throwIfControlMissing(i),e.at(i).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.forEach((function(t,i){e.at(i)&&e.at(i).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,i){n.reset(t[i],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map((function(t){return t instanceof TD?t.value:t.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index ".concat(t))}},{key:"_forEachChild",value:function(t){this.controls.forEach((function(e,n){t(e,n)}))}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))}},{key:"_anyControls",value:function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var t,e=d(this.controls);try{for(e.s();!(t=e.n()).done;)if(t.value.enabled)return!1}catch(n){e.e(n)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),n}(LD),ED={provide:Lx,useExisting:Ut((function(){return AD}))},ID=function(){return Promise.resolve(null)}(),AD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new Iu,r.form=new PD({},vD(t),_D(i)),r}return b(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(t){var e=this;ID.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),hD(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){var e=this;ID.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name),SD(e._directives,t)}))}},{key:"addFormGroup",value:function(t){var e=this;ID.then((function(){var n=e._findContainer(t.path),i=new PD({});pD(i,t),n.registerControl(t.name,i),i.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(t){var e=this;ID.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){var n=this;ID.then((function(){n.form.get(t.path).setValue(e)}))}},{key:"setValue",value:function(t){this.control.setValue(t)}},{key:"onSubmit",value:function(t){return this.submitted=!0,kD(this.form,this._directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(t),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(t){return t.pop(),t.length?this.form.get(t):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),n}(Lx);return t.\u0275fac=function(e){return new(e||t)(as(Rx,10),as(Nx,10))},t.\u0275dir=ze({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&_s("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Dl([ED]),pl]}),t}(),YD=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return dD(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return vD(this._validators)}},{key:"asyncValidator",get:function(){return _D(this._asyncValidators)}}]),n}(Lx);return t.\u0275fac=function(e){return FD(e||t)},t.\u0275dir=ze({type:t,features:[pl]}),t}(),FD=Vi(YD),RD=function(){function t(){_(this,t)}return b(t,null,[{key:"modelParentException",value:function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '.concat(Xx,"\n\n Or, if you'd like to avoid registering this form control, indicate that it's standalone in ngModelOptions:\n\n Example:\n\n ").concat('\n
\n \n \n
\n '))}},{key:"formGroupNameException",value:function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ".concat(tD,"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ").concat(eD))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}},{key:"modelGroupParentException",value:function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ".concat(tD,"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ").concat(eD))}}]),t}(),ND={provide:Lx,useExisting:Ut((function(){return HD}))},HD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this))._parent=t,a._validators=i,a._asyncValidators=r,a}return b(n,[{key:"_checkParentType",value:function(){this._parent instanceof n||this._parent instanceof AD||RD.modelGroupParentException()}}]),n}(YD);return t.\u0275fac=function(e){return new(e||t)(as(Lx,5),as(Rx,10),as(Nx,10))},t.\u0275dir=ze({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[Dl([ND]),pl]}),t}(),jD={provide:Ox,useExisting:Ut((function(){return VD}))},BD=function(){return Promise.resolve(null)}(),VD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this)).control=new TD,s._registered=!1,s.update=new Iu,s._parent=t,s._rawValidators=i||[],s._rawAsyncValidators=r||[],s.valueAccessor=wD(a(s),o),s}return b(n,[{key:"ngOnChanges",value:function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),yD(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){hD(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof HD)&&this._parent instanceof YD?RD.formGroupNameException():this._parent instanceof HD||this._parent instanceof AD||RD.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||RD.missingNameException()}},{key:"_updateValue",value:function(t){var e=this;BD.then((function(){e.control.setValue(t,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(t){var e=this,n=t.isDisabled.currentValue,i=""===n||n&&"false"!==n;BD.then((function(){i&&!e.control.disabled?e.control.disable():!i&&e.control.disabled&&e.control.enable()}))}},{key:"path",get:function(){return this._parent?dD(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return vD(this._rawValidators)}},{key:"asyncValidator",get:function(){return _D(this._rawAsyncValidators)}}]),n}(Ox);return t.\u0275fac=function(e){return new(e||t)(as(Lx,9),as(Rx,10),as(Nx,10),as(kx,10))},t.\u0275dir=ze({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Dl([jD]),pl,nn]}),t}(),zD=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t}(),WD=new se("NgModelWithFormControlWarning"),UD={provide:Ox,useExisting:Ut((function(){return qD}))},qD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this))._ngModelWarningConfig=o,s.update=new Iu,s._ngModelWarningSent=!1,s._rawValidators=t||[],s._rawAsyncValidators=i||[],s.valueAccessor=wD(a(s),r),s}return b(n,[{key:"ngOnChanges",value:function(t){this._isControlChanged(t)&&(hD(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),yD(t,this.viewModel)&&(MD("formControl",n,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_isControlChanged",value:function(t){return t.hasOwnProperty("form")}},{key:"isDisabled",set:function(t){nD.disabledAttrWarning()}},{key:"path",get:function(){return[]}},{key:"validator",get:function(){return vD(this._rawValidators)}},{key:"asyncValidator",get:function(){return _D(this._rawAsyncValidators)}},{key:"control",get:function(){return this.form}}]),n}(Ox);return t.\u0275fac=function(e){return new(e||t)(as(Rx,10),as(Nx,10),as(kx,10),as(WD,8))},t.\u0275dir=ze({type:t,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Dl([UD]),pl,nn]}),t._ngModelWarningSentOnce=!1,t}(),GD={provide:Lx,useExisting:Ut((function(){return KD}))},KD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._validators=t,r._asyncValidators=i,r.submitted=!1,r.directives=[],r.form=null,r.ngSubmit=new Iu,r}return b(n,[{key:"ngOnChanges",value:function(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(t){var e=this.form.get(t.path);return hD(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){SD(this.directives,t)}},{key:"addFormGroup",value:function(t){var e=this.form.get(t.path);pD(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(t){}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"addFormArray",value:function(t){var e=this.form.get(t.path);pD(e,t),e.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(t){}},{key:"getFormArray",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){this.form.get(t.path).setValue(e)}},{key:"onSubmit",value:function(t){return this.submitted=!0,kD(this.form,this.directives),this.ngSubmit.emit(t),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(t),this.submitted=!1}},{key:"_updateDomValue",value:function(){var t=this;this.directives.forEach((function(e){var n=t.form.get(e.path);e.control!==n&&(function(t,e){e.valueAccessor.registerOnChange((function(){return mD(e)})),e.valueAccessor.registerOnTouched((function(){return mD(e)})),e._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),e._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange(null)})),t&&t._clearChangeFns()}(e.control,e),n&&hD(n,e),e.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var t=this;this.form._registerOnCollectionChange((function(){return t._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var t=vD(this._validators);this.form.validator=jx.compose([this.form.validator,t]);var e=_D(this._asyncValidators);this.form.asyncValidator=jx.composeAsync([this.form.asyncValidator,e])}},{key:"_checkFormPresent",value:function(){this.form||nD.missingFormException()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),n}(Lx);return t.\u0275fac=function(e){return new(e||t)(as(Rx,10),as(Nx,10))},t.\u0275dir=ze({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&_s("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Dl([GD]),pl,nn]}),t}(),JD={provide:Lx,useExisting:Ut((function(){return ZD}))},ZD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this))._parent=t,a._validators=i,a._asyncValidators=r,a}return b(n,[{key:"_checkParentType",value:function(){XD(this._parent)&&nD.groupParentException()}}]),n}(YD);return t.\u0275fac=function(e){return new(e||t)(as(Lx,13),as(Rx,10),as(Nx,10))},t.\u0275dir=ze({type:t,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[Dl([JD]),pl]}),t}(),$D={provide:Lx,useExisting:Ut((function(){return QD}))},QD=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this))._parent=t,a._validators=i,a._asyncValidators=r,a}return b(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"_checkParentType",value:function(){XD(this._parent)&&nD.arrayParentException()}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return dD(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"validator",get:function(){return vD(this._validators)}},{key:"asyncValidator",get:function(){return _D(this._asyncValidators)}}]),n}(Lx);return t.\u0275fac=function(e){return new(e||t)(as(Lx,13),as(Rx,10),as(Nx,10))},t.\u0275dir=ze({type:t,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[Dl([$D]),pl]}),t}();function XD(t){return!(t instanceof ZD||t instanceof KD||t instanceof QD)}var tL={provide:Ox,useExisting:Ut((function(){return eL}))},eL=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o,s){var l;return _(this,n),(l=e.call(this))._ngModelWarningConfig=s,l._added=!1,l.update=new Iu,l._ngModelWarningSent=!1,l._parent=t,l._rawValidators=i||[],l._rawAsyncValidators=r||[],l.valueAccessor=wD(a(l),o),l}return b(n,[{key:"ngOnChanges",value:function(t){this._added||this._setUpControl(),yD(t,this.viewModel)&&(MD("formControlName",n,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_checkParentType",value:function(){!(this._parent instanceof ZD)&&this._parent instanceof YD?nD.ngModelGroupException():this._parent instanceof ZD||this._parent instanceof KD||this._parent instanceof QD||nD.controlParentException()}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}},{key:"isDisabled",set:function(t){nD.disabledAttrWarning()}},{key:"path",get:function(){return dD(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return vD(this._rawValidators)}},{key:"asyncValidator",get:function(){return _D(this._rawAsyncValidators)}}]),n}(Ox);return t.\u0275fac=function(e){return new(e||t)(as(Lx,13),as(Rx,10),as(Nx,10),as(kx,10),as(WD,8))},t.\u0275dir=ze({type:t,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[Dl([tL]),pl,nn]}),t._ngModelWarningSentOnce=!1,t}(),nL={provide:Rx,useExisting:Ut((function(){return rL})),multi:!0},iL={provide:Rx,useExisting:Ut((function(){return aL})),multi:!0},rL=function(){var t=function(){function t(){_(this,t),this._required=!1}return b(t,[{key:"validate",value:function(t){return this.required?jx.required(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"required",get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&"false"!=="".concat(t),this._onChange&&this._onChange()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&es("required",e.required?"":null)},inputs:{required:"required"},features:[Dl([nL])]}),t}(),aL=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"validate",value:function(t){return this.required?jx.requiredTrue(t):null}}]),n}(rL);return t.\u0275fac=function(e){return oL(e||t)},t.\u0275dir=ze({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&es("required",e.required?"":null)},features:[Dl([iL]),pl]}),t}(),oL=Vi(aL),sL={provide:Rx,useExisting:Ut((function(){return lL})),multi:!0},lL=function(){var t=function(){function t(){_(this,t),this._enabled=!1}return b(t,[{key:"validate",value:function(t){return this._enabled?jx.email(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"email",set:function(t){this._enabled=""===t||!0===t||"true"===t,this._onChange&&this._onChange()}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[Dl([sL])]}),t}(),uL={provide:Rx,useExisting:Ut((function(){return cL})),multi:!0},cL=function(){var t=function(){function t(){_(this,t),this._validator=jx.nullValidator}return b(t,[{key:"ngOnChanges",value:function(t){"minlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return null==this.minlength?null:this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=jx.minLength("number"==typeof this.minlength?this.minlength:parseInt(this.minlength,10))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&es("minlength",e.minlength?e.minlength:null)},inputs:{minlength:"minlength"},features:[Dl([uL]),nn]}),t}(),dL={provide:Rx,useExisting:Ut((function(){return hL})),multi:!0},hL=function(){var t=function(){function t(){_(this,t),this._validator=jx.nullValidator}return b(t,[{key:"ngOnChanges",value:function(t){"maxlength"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return null!=this.maxlength?this._validator(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=jx.maxLength("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&es("maxlength",e.maxlength?e.maxlength:null)},inputs:{maxlength:"maxlength"},features:[Dl([dL]),nn]}),t}(),fL={provide:Rx,useExisting:Ut((function(){return pL})),multi:!0},pL=function(){var t=function(){function t(){_(this,t),this._validator=jx.nullValidator}return b(t,[{key:"ngOnChanges",value:function(t){"pattern"in t&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(t){return this._validator(t)}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"_createValidator",value:function(){this._validator=jx.pattern(this.pattern)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&es("pattern",e.pattern?e.pattern:null)},inputs:{pattern:"pattern"},features:[Dl([fL]),nn]}),t}(),mL=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)}}),t}();function gL(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}var vL=function(){var t=function(){function t(){_(this,t)}return b(t,[{key:"group",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(t),i=null,r=null,a=void 0;return null!=e&&(gL(e)?(i=null!=e.validators?e.validators:null,r=null!=e.asyncValidators?e.asyncValidators:null,a=null!=e.updateOn?e.updateOn:void 0):(i=null!=e.validator?e.validator:null,r=null!=e.asyncValidator?e.asyncValidator:null)),new PD(n,{asyncValidators:r,updateOn:a,validators:i})}},{key:"control",value:function(t,e,n){return new TD(t,e,n)}},{key:"array",value:function(t,e,n){var i=this,r=t.map((function(t){return i._createControl(t)}));return new OD(r,e,n)}},{key:"_reduceControls",value:function(t){var e=this,n={};return Object.keys(t).forEach((function(i){n[i]=e._createControl(t[i])})),n}},{key:"_createControl",value:function(t){return t instanceof TD||t instanceof PD||t instanceof OD?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Et({token:t,factory:t.\u0275fac}),t}(),_L=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[Jx],imports:[mL]}),t}(),yL=function(){var t=function(){function t(){_(this,t)}return b(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:[{provide:WD,useValue:e.warnOnNgModelWithFormControl}]}}}]),t}();return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[vL,Jx],imports:[mL]}),t}();function bL(t,e){1&t&&(us(0,"button",5),us(1,"mat-icon"),al(2,"close"),cs(),cs())}function kL(t,e){1&t&&ps(0)}var wL=function(t){return{"content-margin":t}};function SL(t,e){if(1&t&&(us(0,"mat-dialog-content",6),is(1,kL,1,0,"ng-container",7),cs()),2&t){var n=Ms(),i=rs(8);ss("ngClass",Su(2,wL,n.includeVerticalMargins)),Kr(1),ss("ngTemplateOutlet",i)}}function ML(t,e){1&t&&ps(0)}function CL(t,e){if(1&t&&(us(0,"div",6),is(1,ML,1,0,"ng-container",7),cs()),2&t){var n=Ms(),i=rs(8);ss("ngClass",Su(2,wL,n.includeVerticalMargins)),Kr(1),ss("ngTemplateOutlet",i)}}function xL(t,e){1&t&&Ds(0)}var DL=["*"],LL=function(){function t(){this.includeScrollableArea=!0,this.includeVerticalMargins=!0}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-dialog"]],inputs:{headline:"headline",disableDismiss:"disableDismiss",includeScrollableArea:"includeScrollableArea",includeVerticalMargins:"includeVerticalMargins"},ngContentSelectors:DL,decls:9,vars:4,consts:[["mat-dialog-title","",1,"header"],["mat-dialog-close","","mat-icon-button","","class","grey-button-background",4,"ngIf"],[1,"header-separator"],[3,"ngClass",4,"ngIf"],["contentTemplate",""],["mat-dialog-close","","mat-icon-button","",1,"grey-button-background"],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(t,e){1&t&&(xs(),us(0,"div",0),us(1,"span"),al(2),cs(),is(3,bL,3,0,"button",1),cs(),ds(4,"div",2),is(5,SL,2,4,"mat-dialog-content",3),is(6,CL,2,4,"div",3),is(7,xL,1,0,"ng-template",null,4,ec)),2&t&&(Kr(2),ol(e.headline),Kr(1),ss("ngIf",!e.disableDismiss),Kr(2),ss("ngIf",e.includeScrollableArea),Kr(1),ss("ngIf",!e.includeScrollableArea))},directives:[WC,Sh,uM,zC,qM,UC,_h,Ih],styles:['.cursor-pointer[_ngcontent-%COMP%], .header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .reactivate-mouse[_ngcontent-%COMP%]{touch-action:auto!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important}.font-sm[_ngcontent-%COMP%], .font-smaller[_ngcontent-%COMP%]{font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}[_nghost-%COMP%]{color:#202226}.header[_ngcontent-%COMP%]{margin:-24px -24px 0;color:#215f9e;padding:0 14px 0 24px;font-size:1rem;text-transform:uppercase;font-weight:700;display:flex;justify-content:space-between;align-items:center}@media (max-width:767px){.header[_ngcontent-%COMP%]{padding:0 2px 0 24px}}.header[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:1rem;margin:18px 0}.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{color:#a6b2b2;width:32px;height:32px;line-height:20px;margin-left:10px}@media (max-width:767px){.header[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{width:46px;height:46px}}.header-separator[_ngcontent-%COMP%]{height:1px;background-color:rgba(33,95,158,.2);margin-left:-12px;margin-right:-12px}.content-margin[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:24px!important}']}),t}(),TL=["button1"],PL=["button2"];function OL(t,e){1&t&&ds(0,"mat-spinner",4),2&t&&ss("diameter",Ms().loadingSize)}function EL(t,e){1&t&&(us(0,"mat-icon"),al(1,"error_outline"),cs())}var IL=function(t){return{"for-dark-background":t}},AL=["*"],YL=function(t){return t[t.Normal=0]="Normal",t[t.Error=1]="Error",t[t.Loading=2]="Loading",t}({}),FL=function(){function t(){this.forDarkBackground=!1,this.disabled=!1,this.color="",this.loadingSize=24,this.action=new Iu,this.state=YL.Normal,this.buttonStates=YL}return t.prototype.ngOnDestroy=function(){this.action.complete()},t.prototype.click=function(){this.disabled||(this.reset(),this.action.emit())},t.prototype.reset=function(t){void 0===t&&(t=!0),this.state=YL.Normal,t&&(this.disabled=!1)},t.prototype.focus=function(){this.button1&&this.button1.focus(),this.button2&&this.button2.focus()},t.prototype.showEnabled=function(){this.disabled=!1},t.prototype.showDisabled=function(){this.disabled=!0},t.prototype.showLoading=function(t){void 0===t&&(t=!0),this.state=YL.Loading,t&&(this.disabled=!0)},t.prototype.showError=function(t){void 0===t&&(t=!0),this.state=YL.Error,t&&(this.disabled=!1)},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-button"]],viewQuery:function(t,e){var n;1&t&&(qu(TL,!0),qu(PL,!0)),2&t&&(Wu(n=$u())&&(e.button1=n.first),Wu(n=$u())&&(e.button2=n.first))},inputs:{forDarkBackground:"forDarkBackground",disabled:"disabled",color:"color",loadingSize:"loadingSize"},outputs:{action:"action"},ngContentSelectors:AL,decls:5,vars:7,consts:[["mat-raised-button","",3,"disabled","color","ngClass","click"],["button2",""],[3,"diameter",4,"ngIf"],[4,"ngIf"],[3,"diameter"]],template:function(t,e){1&t&&(xs(),us(0,"button",0,1),_s("click",(function(){return e.click()})),is(2,OL,1,1,"mat-spinner",2),is(3,EL,2,0,"mat-icon",3),Ds(4),cs()),2&t&&(ss("disabled",e.disabled)("color",e.color)("ngClass",Su(5,IL,e.forDarkBackground)),Kr(2),ss("ngIf",e.state===e.buttonStates.Loading),Kr(1),ss("ngIf",e.state===e.buttonStates.Error))},directives:[uM,_h,Sh,gx,qM],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important}.font-sm[_ngcontent-%COMP%], .font-smaller[_ngcontent-%COMP%]{font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.single-line[_ngcontent-%COMP%], button[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px}button[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}mat-icon[_ngcontent-%COMP%], mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-right:20px;position:relative;top:-2px}.for-dark-background[_ngcontent-%COMP%]:disabled{background-color:#000!important;color:#fff!important;opacity:.3}"]}),t}(),RL={tooltipState:Bf("state",[qf("initial, void, hidden",Uf({opacity:0,transform:"scale(0)"})),qf("visible",Uf({transform:"scale(1)"})),Kf("* => visible",Vf("200ms cubic-bezier(0, 0, 0.2, 1)",Gf([Uf({opacity:0,transform:"scale(0)",offset:0}),Uf({opacity:.5,transform:"scale(0.99)",offset:.5}),Uf({opacity:1,transform:"scale(1)",offset:1})]))),Kf("* => hidden",Vf("100ms cubic-bezier(0, 0, 0.2, 1)",Uf({opacity:0})))])},NL=Ek({passive:!0});function HL(t){return Error('Tooltip position "'.concat(t,'" is invalid.'))}var jL=new se("mat-tooltip-scroll-strategy"),BL={provide:jL,deps:[Ew],useFactory:function(t){return function(){return t.scrollStrategies.reposition({scrollThrottle:20})}}},VL=new se("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),zL=function(){var t=function(){function t(e,n,i,r,a,o,s,l,u,c,d){var h=this;_(this,t),this._overlay=e,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=r,this._ngZone=a,this._platform=o,this._ariaDescriber=s,this._focusMonitor=l,this._dir=c,this._defaultOptions=d,this._position="below",this._disabled=!1,this._viewInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=new Map,this._destroyed=new W,this._handleKeydown=function(t){h._isTooltipVisible()&&27===t.keyCode&&!rw(t)&&(t.preventDefault(),t.stopPropagation(),h._ngZone.run((function(){return h.hide(0)})))},this._scrollStrategy=u,d&&(d.position&&(this.position=d.position),d.touchGestures&&(this.touchGestures=d.touchGestures)),a.runOutsideAngular((function(){n.nativeElement.addEventListener("keydown",h._handleKeydown)}))}return b(t,[{key:"ngAfterViewInit",value:function(){var t=this;this._viewInitialized=!0,this._setupPointerEvents(),this._focusMonitor.monitor(this._elementRef).pipe(bk(this._destroyed)).subscribe((function(e){e?"keyboard"===e&&t._ngZone.run((function(){return t.show()})):t._ngZone.run((function(){return t.hide(0)}))}))}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),t.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach((function(e,n){t.removeEventListener(n,e,NL)})),this._passiveListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(t,this.message),this._focusMonitor.stopMonitoring(t)}},{key:"show",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new Gk(WL,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(bk(this._destroyed)).subscribe((function(){return t._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(e)}}},{key:"hide",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(t)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var t=this;if(this._overlayRef)return this._overlayRef;var e=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(e);return n.positionChanges.pipe(bk(this._destroyed)).subscribe((function(e){t._tooltipInstance&&e.scrollableViewProperties.isOverlayClipped&&t._tooltipInstance.isVisible()&&t._ngZone.run((function(){return t.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(bk(this._destroyed)).subscribe((function(){return t._detach()})),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var t=this._overlayRef.getConfig().positionStrategy,e=this._getOrigin(),n=this._getOverlayPosition();t.withPositions([Object.assign(Object.assign({},e.main),n.main),Object.assign(Object.assign({},e.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n||"below"==n)t={originX:"center",originY:"above"==n?"top":"bottom"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={originX:"start",originY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw HL(n);t={originX:"end",originY:"center"}}var i=this._invertPosition(t.originX,t.originY);return{main:t,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var t,e=!this._dir||"ltr"==this._dir.value,n=this.position;if("above"==n)t={overlayX:"center",overlayY:"bottom"};else if("below"==n)t={overlayX:"center",overlayY:"top"};else if("before"==n||"left"==n&&e||"right"==n&&!e)t={overlayX:"end",overlayY:"center"};else{if(!("after"==n||"right"==n&&e||"left"==n&&!e))throw HL(n);t={overlayX:"start",overlayY:"center"}}var i=this._invertPosition(t.overlayX,t.overlayY);return{main:t,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var t=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(Sv(1),bk(this._destroyed)).subscribe((function(){t._tooltipInstance&&t._overlayRef.updatePosition()})))}},{key:"_setTooltipClass",value:function(t){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=t,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(t,e){return"above"===this.position||"below"===this.position?"top"===e?e="bottom":"bottom"===e&&(e="top"):"end"===t?t="start":"start"===t&&(t="end"),{x:t,y:e}}},{key:"_setupPointerEvents",value:function(){var t=this;if(!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.size){if(this._platform.IOS||this._platform.ANDROID){if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var e=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};this._passiveListeners.set("touchend",e).set("touchcancel",e).set("touchstart",(function(){clearTimeout(t._touchstartTimeout),t._touchstartTimeout=setTimeout((function(){return t.show()}),500)}))}}else this._passiveListeners.set("mouseenter",(function(){return t.show()})).set("mouseleave",(function(){return t.hide()}));this._passiveListeners.forEach((function(e,n){t._elementRef.nativeElement.addEventListener(n,e,NL)}))}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var t=this._elementRef.nativeElement,e=t.style,n=this.touchGestures;"off"!==n&&(("on"===n||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(e.userSelect=e.msUserSelect=e.webkitUserSelect=e.MozUserSelect="none"),"on"!==n&&t.draggable||(e.webkitUserDrag="none"),e.touchAction="none",e.webkitTapHighlightColor="transparent")}},{key:"position",get:function(){return this._position},set:function(t){t!==this._position&&(this._position=t,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=Zb(t),this._disabled?this.hide(0):this._setupPointerEvents()}},{key:"message",get:function(){return this._message},set:function(t){var e=this;this._message&&this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=t?"".concat(t).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEvents(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){e._ariaDescriber.describe(e._elementRef.nativeElement,e.message)}))})))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(t){this._tooltipClass=t,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(Ew),as(El),as(jk),as(ru),as(Mc),as(Lk),as($w),as(hS),as(jL),as(Fk,8),as(VL,8))},t.\u0275dir=ze({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),t}(),WL=function(){var t=function(){function t(e,n){_(this,t),this._changeDetectorRef=e,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new W,this._isHandset=this._breakpointObserver.observe("(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)")}return b(t,[{key:"show",value:function(t){var e=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){e._visibility="visible",e._showTimeoutId=null,e._markForCheck()}),t)}},{key:"hide",value:function(t){var e=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){e._visibility="hidden",e._hideTimeoutId=null,e._markForCheck()}),t)}},{key:"afterHidden",value:function(){return this._onHide.asObservable()}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(t){var e=t.toState;"hidden"!==e||this.isVisible()||this._onHide.next(),"visible"!==e&&"hidden"!==e||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(xo),as(vM))},t.\u0275cmp=Fe({type:t,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(t,e){1&t&&_s("click",(function(){return e._handleBodyInteraction()}),!1,wi),2&t&&Vs("zoom","visible"===e._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(t,e){var n;1&t&&(us(0,"div",0),_s("@state.start",(function(){return e._animationStart()}))("@state.done",(function(t){return e._animationDone(t)})),Lu(1,"async"),al(2),cs()),2&t&&(zs("mat-tooltip-handset",null==(n=Tu(1,5,e._isHandset))?null:n.matches),ss("ngClass",e.tooltipClass)("@state",e._visibility),Kr(2),ol(e.message))},directives:[_h],pipes:[Nh],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[RL.tooltipState]},changeDetection:0}),t}(),UL=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[BL],imports:[[gS,af,Nw,MS],MS,zk]}),t}(),qL=["underline"],GL=["connectionContainer"],KL=["inputContainer"],JL=["label"];function ZL(t,e){1&t&&(hs(0),us(1,"div",14),ds(2,"div",15),ds(3,"div",16),ds(4,"div",17),cs(),us(5,"div",18),ds(6,"div",15),ds(7,"div",16),ds(8,"div",17),cs(),fs())}function $L(t,e){1&t&&(us(0,"div",19),Ds(1,1),cs())}function QL(t,e){if(1&t&&(hs(0),Ds(1,2),us(2,"span"),al(3),cs(),fs()),2&t){var n=Ms(2);Kr(3),ol(n._control.placeholder)}}function XL(t,e){1&t&&Ds(0,3,["*ngSwitchCase","true"])}function tT(t,e){1&t&&(us(0,"span",23),al(1," *"),cs())}function eT(t,e){if(1&t){var n=ms();us(0,"label",20,21),_s("cdkObserveContent",(function(){return Dn(n),Ms().updateOutlineGap()})),is(2,QL,4,1,"ng-container",12),is(3,XL,1,0,"ng-content",12),is(4,tT,2,0,"span",22),cs()}if(2&t){var i=Ms();zs("mat-empty",i._control.empty&&!i._shouldAlwaysFloat)("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat)("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),ss("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),es("for",i._control.id)("aria-owns",i._control.id),Kr(2),ss("ngSwitchCase",!1),Kr(1),ss("ngSwitchCase",!0),Kr(1),ss("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function nT(t,e){1&t&&(us(0,"div",24),Ds(1,4),cs())}function iT(t,e){if(1&t&&(us(0,"div",25,26),ds(2,"span",27),cs()),2&t){var n=Ms();Kr(2),zs("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function rT(t,e){1&t&&(us(0,"div"),Ds(1,5),cs()),2&t&&ss("@transitionMessages",Ms()._subscriptAnimationState)}function aT(t,e){if(1&t&&(us(0,"div",31),al(1),cs()),2&t){var n=Ms(2);ss("id",n._hintLabelId),Kr(1),ol(n.hintLabel)}}function oT(t,e){if(1&t&&(us(0,"div",28),is(1,aT,2,2,"div",29),Ds(2,6),ds(3,"div",30),Ds(4,7),cs()),2&t){var n=Ms();ss("@transitionMessages",n._subscriptAnimationState),Kr(1),ss("ngIf",n.hintLabel)}}var sT=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],lT=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],uT=0,cT=new se("MatError"),dT=function(){var t=function t(){_(this,t),this.id="mat-error-".concat(uT++)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(t,e){2&t&&es("id",e.id)},inputs:{id:"id"},features:[Dl([{provide:cT,useExisting:t}])]}),t}(),hT={transitionMessages:Bf("transitionMessages",[qf("enter",Uf({opacity:1,transform:"translateY(0%)"})),Kf("void => enter",[Uf({opacity:0,transform:"translateY(-100%)"}),Vf("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},fT=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t}),t}();function pT(t){return Error("A hint was already declared for 'align=\"".concat(t,"\"'."))}var mT=0,gT=new se("MatHint"),vT=function(){var t=function t(){_(this,t),this.align="start",this.id="mat-hint-".concat(mT++)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(t,e){2&t&&(es("id",e.id)("align",null),zs("mat-right","end"==e.align))},inputs:{align:"align",id:"id"},features:[Dl([{provide:gT,useExisting:t}])]}),t}(),_T=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["mat-label"]]}),t}(),yT=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["mat-placeholder"]]}),t}(),bT=new se("MatPrefix"),kT=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["","matPrefix",""]],features:[Dl([{provide:bT,useExisting:t}])]}),t}(),wT=new se("MatSuffix"),ST=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["","matSuffix",""]],features:[Dl([{provide:wT,useExisting:t}])]}),t}(),MT=0,CT=xS((function t(e){_(this,t),this._elementRef=e}),"primary"),xT=new se("MAT_FORM_FIELD_DEFAULT_OPTIONS"),DT=new se("MatFormField"),LT=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l,u){var c;return _(this,n),(c=e.call(this,t))._elementRef=t,c._changeDetectorRef=i,c._dir=a,c._defaults=o,c._platform=s,c._ngZone=l,c._outlineGapCalculationNeededImmediately=!1,c._outlineGapCalculationNeededOnStable=!1,c._destroyed=new W,c._showAlwaysAnimate=!1,c._subscriptAnimationState="",c._hintLabel="",c._hintLabelId="mat-hint-".concat(MT++),c._labelId="mat-form-field-label-".concat(MT++),c._labelOptions=r||{},c.floatLabel=c._getDefaultFloatLabelState(),c._animationsEnabled="NoopAnimations"!==u,c.appearance=o&&o.appearance?o.appearance:"legacy",c._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,c}return b(n,[{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var t=this;this._validateControlChild();var e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(e.controlType)),e.stateChanges.pipe(Fv(null)).subscribe((function(){t._validatePlaceholders(),t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(bk(this._destroyed)).subscribe((function(){return t._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){t._ngZone.onStable.asObservable().pipe(bk(t._destroyed)).subscribe((function(){t._outlineGapCalculationNeededOnStable&&t.updateOutlineGap()}))})),ft(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){t._outlineGapCalculationNeededOnStable=!0,t._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Fv(null)).subscribe((function(){t._processHints(),t._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Fv(null)).subscribe((function(){t._syncDescribedByIds(),t._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(bk(this._destroyed)).subscribe((function(){"function"==typeof requestAnimationFrame?t._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return t.updateOutlineGap()}))})):t.updateOutlineGap()}))}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(t){var e=this._control?this._control.ngControl:null;return e&&e[t]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!!this._labelChild}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat)}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var t=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,nk(this._label.nativeElement,"transitionend").pipe(Sv(1)).subscribe((function(){t._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){var t,e,n=this;this._hintChildren&&this._hintChildren.forEach((function(i){if("start"===i.align){if(t||n.hintLabel)throw pT("start");t=i}else if("end"===i.align){if(e)throw pT("end");e=i}}))}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||this._labelOptions.float||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var t=[];if("hint"===this._getDisplayedMessages()){var e=this._hintChildren?this._hintChildren.find((function(t){return"start"===t.align})):null,n=this._hintChildren?this._hintChildren.find((function(t){return"end"===t.align})):null;e?t.push(e.id):this._hintLabel&&t.push(this._hintLabelId),n&&t.push(n.id)}else this._errorChildren&&(t=this._errorChildren.map((function(t){return t.id})));this._control.setDescribedByIds(t)}}},{key:"_validateControlChild",value:function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")}},{key:"updateOutlineGap",value:function(){var t=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&t&&t.children.length&&t.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var e=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(o),l=t.children,u=this._getStartEnd(l[0].getBoundingClientRect()),c=0,d=0;d0?.75*c+10:0}for(var h=0;h0&&void 0!==arguments[0]&&arguments[0];if(this._enabled&&(this._cacheTextareaLineHeight(),this._cachedLineHeight)){var n=this._elementRef.nativeElement,i=n.value;if(e||this._minRows!==this._previousMinRows||i!==this._previousValue){var r=n.placeholder;n.classList.add(this._measuringClass),n.placeholder="";var a=n.scrollHeight-4;n.style.height="".concat(a,"px"),n.classList.remove(this._measuringClass),n.placeholder=r,this._ngZone.runOutsideAngular((function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame((function(){return t._scrollToCaretPosition(n)})):setTimeout((function(){return t._scrollToCaretPosition(n)}))})),this._previousValue=i,this._previousMinRows=this._minRows}}}},{key:"reset",value:function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}},{key:"_noopInputHandler",value:function(){}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollToCaretPosition",value:function(t){var e=t.selectionStart,n=t.selectionEnd,i=this._getDocument();this._destroyed.isStopped||i.activeElement!==t||t.setSelectionRange(e,n)}},{key:"minRows",get:function(){return this._minRows},set:function(t){this._minRows=$b(t),this._setMinHeight()}},{key:"maxRows",get:function(){return this._maxRows},set:function(t){this._maxRows=$b(t),this._setMaxHeight()}},{key:"enabled",get:function(){return this._enabled},set:function(t){t=Zb(t),this._enabled!==t&&((this._enabled=t)?this.resizeToFitContent(!0):this.reset())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(El),as(Lk),as(Mc),as(rd,8))},t.\u0275dir=ze({type:t,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(t,e){1&t&&_s("input",(function(){return e._noopInputHandler()}))},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),t}(),AT=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},imports:[[Tk]]}),t}(),YT=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return b(n,[{key:"matAutosizeMinRows",get:function(){return this.minRows},set:function(t){this.minRows=t}},{key:"matAutosizeMaxRows",get:function(){return this.maxRows},set:function(t){this.maxRows=t}},{key:"matAutosize",get:function(){return this.enabled},set:function(t){this.enabled=t}},{key:"matTextareaAutosize",get:function(){return this.enabled},set:function(t){this.enabled=t}}]),n}(IT);return t.\u0275fac=function(e){return FT(e||t)},t.\u0275dir=ze({type:t,selectors:[["textarea","mat-autosize",""],["textarea","matTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize","mat-autosize"],inputs:{cdkAutosizeMinRows:"cdkAutosizeMinRows",cdkAutosizeMaxRows:"cdkAutosizeMaxRows",matAutosizeMinRows:"matAutosizeMinRows",matAutosizeMaxRows:"matAutosizeMaxRows",matAutosize:["mat-autosize","matAutosize"],matTextareaAutosize:"matTextareaAutosize"},exportAs:["matTextareaAutosize"],features:[pl]}),t}(),FT=Vi(YT),RT=new se("MAT_INPUT_VALUE_ACCESSOR"),NT=["button","checkbox","file","hidden","image","radio","range","reset","submit"],HT=0,jT=TS((function t(e,n,i,r){_(this,t),this._defaultErrorStateMatcher=e,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r})),BT=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l,u,c,d){var h;_(this,n),(h=e.call(this,s,a,o,r))._elementRef=t,h._platform=i,h.ngControl=r,h._autofillMonitor=u,h._formField=d,h._uid="mat-input-".concat(HT++),h.focused=!1,h.stateChanges=new W,h.controlType="mat-input",h.autofilled=!1,h._disabled=!1,h._required=!1,h._type="text",h._readonly=!1,h._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(t){return Ok().has(t)}));var f=h._elementRef.nativeElement,p=f.nodeName.toLowerCase();return h._inputValueAccessor=l||f,h._previousNativeValue=h.value,h.id=h.id,i.IOS&&c.runOutsideAngular((function(){t.nativeElement.addEventListener("keyup",(function(t){var e=t.target;e.value||e.selectionStart||e.selectionEnd||(e.setSelectionRange(1,1),e.setSelectionRange(0,0))}))})),h._isServer=!h._platform.isBrowser,h._isNativeSelect="select"===p,h._isTextarea="textarea"===p,h._isNativeSelect&&(h.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select"),h}return b(n,[{key:"ngAfterViewInit",value:function(){var t=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(e){t.autofilled=e.isAutofilled,t.stateChanges.next()}))}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_focusChanged",value:function(t){t===this.focused||this.readonly&&t||(this.focused=t,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckPlaceholder",value:function(){var t=this._formField,e=t&&t._hideControlPlaceholder()?null:this.placeholder;if(e!==this._previousPlaceholder){var n=this._elementRef.nativeElement;this._previousPlaceholder=e,e?n.setAttribute("placeholder",e):n.removeAttribute("placeholder")}}},{key:"_dirtyCheckNativeValue",value:function(){var t=this._elementRef.nativeElement.value;this._previousNativeValue!==t&&(this._previousNativeValue=t,this.stateChanges.next())}},{key:"_validateType",value:function(){if(NT.indexOf(this._type)>-1)throw Error('Input type "'.concat(this._type,"\" isn't supported by matInput."))}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var t=this._elementRef.nativeElement.validity;return t&&t.badInput}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}},{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(t){this._disabled=Zb(t),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid}},{key:"required",get:function(){return this._required},set:function(t){this._required=Zb(t)}},{key:"type",get:function(){return this._type},set:function(t){this._type=t||"text",this._validateType(),!this._isTextarea&&Ok().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(t){t!==this.value&&(this._inputValueAccessor.value=t,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(t){this._readonly=Zb(t)}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var t=this._elementRef.nativeElement,e=t.options[0];return this.focused||t.multiple||!this.empty||!!(t.selectedIndex>-1&&e&&e.label)}return this.focused||!this.empty}}]),n}(jT);return t.\u0275fac=function(e){return new(e||t)(as(El),as(Lk),as(Ox,10),as(AD,8),as(KD,8),as(OS),as(RT,10),as(OT),as(Mc),as(LT,8))},t.\u0275dir=ze({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:10,hostBindings:function(t,e){1&t&&_s("focus",(function(){return e._focusChanged(!0)}))("blur",(function(){return e._focusChanged(!1)}))("input",(function(){return e._onInput()})),2&t&&(dl("disabled",e.disabled)("required",e.required),es("id",e.id)("data-placeholder",e.placeholder)("readonly",e.readonly&&!e._isNativeSelect||null)("aria-describedby",e._ariaDescribedby||null)("aria-invalid",e.errorState)("aria-required",e.required.toString()),zs("mat-input-server",e._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher"},exportAs:["matInput"],features:[Dl([{provide:fT,useExisting:t}]),pl,nn]}),t}(),VT=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[OS],imports:[[AT,TT],AT,TT]}),t}(),zT=["button"],WT=["firstInput"];function UT(t,e){1&t&&(us(0,"mat-form-field",10),ds(1,"input",11),Lu(2,"translate"),us(3,"mat-error"),al(4),Lu(5,"translate"),cs(),cs()),2&t&&(Kr(1),ss("placeholder",Tu(2,2,"settings.password.old-password")),Kr(3),sl(" ",Tu(5,4,"settings.password.errors.old-password-required")," "))}var qT=function(t){return{"rounded-elevated-box":t}},GT=function(t){return{"white-form-field":t}},KT=function(t,e){return{"mt-2 app-button":t,"float-right":e}},JT=function(){function t(t,e,n,i){this.authService=t,this.router=e,this.snackbarService=n,this.dialog=i,this.forInitialConfig=!1}return t.prototype.ngOnInit=function(){var t=this;this.form=new PD({oldPassword:new TD("",this.forInitialConfig?null:jx.required),newPassword:new TD("",jx.compose([jx.required,jx.minLength(6),jx.maxLength(64)])),newPasswordConfirmation:new TD("",[jx.required,this.validatePasswords.bind(this)])}),this.formSubscription=this.form.controls.newPassword.valueChanges.subscribe((function(){return t.form.controls.newPasswordConfirmation.updateValueAndValidity()}))},t.prototype.ngAfterViewInit=function(){var t=this;this.forInitialConfig&&setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.formSubscription.unsubscribe()},t.prototype.changePassword=function(){var t=this;this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.subscription=this.forInitialConfig?this.authService.initialConfig(this.form.get("newPassword").value).subscribe((function(){t.dialog.closeAll(),t.snackbarService.showDone("settings.password.initial-config.done")}),(function(e){t.button.showError(),e=MC(e),t.snackbarService.showError(e,null,!0)})):this.authService.changePassword(this.form.get("oldPassword").value,this.form.get("newPassword").value).subscribe((function(){t.router.navigate(["nodes"]),t.snackbarService.showDone("settings.password.password-changed")}),(function(e){t.button.showError(),e=MC(e),t.snackbarService.showError(e)})))},t.prototype.validatePasswords=function(){return this.form&&this.form.get("newPassword").value!==this.form.get("newPasswordConfirmation").value?{invalid:!0}:null},t.\u0275fac=function(e){return new(e||t)(as(sx),as(cb),as(CC),as(BC))},t.\u0275cmp=Fe({type:t,selectors:[["app-password"]],viewQuery:function(t,e){var n;1&t&&(qu(zT,!0),qu(WT,!0)),2&t&&(Wu(n=$u())&&(e.button=n.first),Wu(n=$u())&&(e.firstInput=n.first))},inputs:{forInitialConfig:"forInitialConfig"},decls:25,vars:38,consts:[[3,"ngClass"],[1,"box-internal-container","overflow"],[3,"inline","matTooltip"],[3,"formGroup"],["class","white-form-field",4,"ngIf"],["type","password","formControlName","newPassword","maxlength","64","matInput","",3,"placeholder"],["firstInput",""],["type","password","formControlName","newPasswordConfirmation","maxlength","64","matInput","",3,"placeholder"],["color","primary",3,"ngClass","disabled","forDarkBackground","action"],["button",""],[1,"white-form-field"],["type","password","formControlName","oldPassword","maxlength","64","matInput","",3,"placeholder"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),us(2,"div"),us(3,"mat-icon",2),Lu(4,"translate"),al(5," help "),cs(),cs(),us(6,"form",3),is(7,UT,6,6,"mat-form-field",4),us(8,"mat-form-field",0),ds(9,"input",5,6),Lu(11,"translate"),us(12,"mat-error"),al(13),Lu(14,"translate"),cs(),cs(),us(15,"mat-form-field",0),ds(16,"input",7),Lu(17,"translate"),us(18,"mat-error"),al(19),Lu(20,"translate"),cs(),cs(),us(21,"app-button",8,9),_s("action",(function(){return e.changePassword()})),al(23),Lu(24,"translate"),cs(),cs(),cs(),cs()),2&t&&(ss("ngClass",Su(29,qT,!e.forInitialConfig)),Kr(2),qs((e.forInitialConfig?"":"white-")+"form-help-icon-container"),Kr(1),ss("inline",!0)("matTooltip",Tu(4,17,e.forInitialConfig?"settings.password.initial-config-help":"settings.password.help")),Kr(3),ss("formGroup",e.form),Kr(1),ss("ngIf",!e.forInitialConfig),Kr(1),ss("ngClass",Su(31,GT,!e.forInitialConfig)),Kr(1),ss("placeholder",Tu(11,19,e.forInitialConfig?"settings.password.initial-config.password":"settings.password.new-password")),Kr(4),sl(" ",Tu(14,21,"settings.password.errors.new-password-error")," "),Kr(2),ss("ngClass",Su(33,GT,!e.forInitialConfig)),Kr(1),ss("placeholder",Tu(17,23,e.forInitialConfig?"settings.password.initial-config.repeat-password":"settings.password.repeat-password")),Kr(3),sl(" ",Tu(20,25,"settings.password.errors.passwords-not-match")," "),Kr(2),ss("ngClass",Mu(35,KT,!e.forInitialConfig,e.forInitialConfig))("disabled",!e.form.valid)("forDarkBackground",!e.forInitialConfig),Kr(2),sl(" ",Tu(24,27,e.forInitialConfig?"settings.password.initial-config.set-password":"settings.change-password")," "))},directives:[_h,qM,zL,zD,Ax,KD,Sh,LT,xx,BT,Ix,eL,hL,dT,FL],pipes:[mC],styles:["app-button[_ngcontent-%COMP%], mat-form-field[_ngcontent-%COMP%]{margin-right:32px}app-button[_ngcontent-%COMP%]{float:right}"]}),t}(),ZT=function(){function t(){}return t.openDialog=function(e){var n=new PC;return n.autoFocus=!1,n.width=xC.smallModalWidth,e.open(t,n)},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-initial-setup"]],decls:3,vars:4,consts:[[3,"headline"],[3,"forInitialConfig"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),ds(2,"app-password",1),cs()),2&t&&(ss("headline",Tu(1,2,"settings.password.initial-config.title")),Kr(2),ss("forInitialConfig",!0))},directives:[LL,JT],pipes:[mC],styles:[""]}),t}();function $T(t,e){if(1&t){var n=ms();us(0,"button",3),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms().closePopup(t)})),ds(1,"img",4),us(2,"div",5),al(3),cs(),cs()}if(2&t){var i=e.$implicit;Kr(1),ss("src","assets/img/lang/"+i.iconName,Lr),Kr(2),ol(i.name)}}var QT=function(){function t(t,e){this.dialogRef=t,this.languageService=e,this.languages=[]}return t.openDialog=function(e){var n=new PC;return n.autoFocus=!1,n.width=xC.mediumModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){var t=this;this.subscription=this.languageService.languages.subscribe((function(e){t.languages=e}))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.closePopup=function(t){void 0===t&&(t=null),t&&this.languageService.changeLanguage(t.code),this.dialogRef.close()},t.\u0275fac=function(e){return new(e||t)(as(YC),as(LC))},t.\u0275cmp=Fe({type:t,selectors:[["app-select-language"]],decls:4,vars:4,consts:[[3,"headline"],[1,"options-container"],["mat-button","","color","accent","class","grey-button-background",3,"click",4,"ngFor","ngForOf"],["mat-button","","color","accent",1,"grey-button-background",3,"click"],[3,"src"],[1,"label"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"div",1),is(3,$T,4,2,"button",2),cs(),cs()),2&t&&(ss("headline",Tu(1,2,"language.title")),Kr(3),ss("ngForOf",e.languages))},directives:[LL,kh,uM],pipes:[mC],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important}.font-sm[_ngcontent-%COMP%], .font-smaller[_ngcontent-%COMP%]{font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%], .single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.options-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:118px;margin:20px;font-size:.7rem;line-height:unset;padding:0;color:unset}@media (max-width:767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:90px;font-size:.6rem;margin:6px}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:64px;height:64px;margin:10px 0}@media (max-width:767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:48px;height:48px;margin:7px 0}}.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{background-color:hsla(0,0%,100%,.25);padding:4px 10px}@media (max-width:767px){.options-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{padding:4px 5px}}"]}),t}();function XT(t,e){1&t&&ds(0,"img",2),2&t&&ss("src","assets/img/lang/"+Ms().language.iconName,Lr)}var tP=function(){function t(t,e){this.languageService=t,this.dialog=e}return t.prototype.ngOnInit=function(){var t=this;this.subscription=this.languageService.currentLanguage.subscribe((function(e){t.language=e}))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.openLanguageWindow=function(){QT.openDialog(this.dialog)},t.\u0275fac=function(e){return new(e||t)(as(LC),as(BC))},t.\u0275cmp=Fe({type:t,selectors:[["app-lang-button"]],decls:3,vars:4,consts:[["mat-button","",1,"lang-button","subtle-transparent-button",3,"matTooltip","click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"]],template:function(t,e){1&t&&(us(0,"button",0),_s("click",(function(){return e.openLanguageWindow()})),Lu(1,"translate"),is(2,XT,1,1,"img",1),cs()),2&t&&(ss("matTooltip",Tu(1,2,"language.title")),Kr(2),ss("ngIf",e.language))},directives:[uM,zL,Sh],pipes:[mC],styles:[".lang-button[_ngcontent-%COMP%]{height:40px;border-radius:10px;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal}.lang-button[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{width:20px;height:20px}"]}),t}(),eP=function(){function t(t,e,n,i){this.authService=t,this.router=e,this.snackbarService=n,this.dialog=i,this.loading=!1}return t.prototype.ngOnInit=function(){var t=this;this.verificationSubscription=this.authService.checkLogin().subscribe((function(e){e!==ox.NotLogged&&t.router.navigate(["nodes"],{replaceUrl:!0})})),this.form=new PD({password:new TD("",jx.required)})},t.prototype.ngOnDestroy=function(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.verificationSubscription.unsubscribe()},t.prototype.login=function(){var t=this;this.form.valid&&!this.loading&&(this.loading=!0,this.loginSubscription=this.authService.login(this.form.get("password").value).subscribe((function(){return t.onLoginSuccess()}),(function(e){return t.onLoginError(e)})))},t.prototype.configure=function(){ZT.openDialog(this.dialog)},t.prototype.onLoginSuccess=function(){this.router.navigate(["nodes"],{replaceUrl:!0})},t.prototype.onLoginError=function(t){t=MC(t),this.loading=!1,this.snackbarService.showError(t.originalError&&401===t.originalError.status?"login.incorrect-password":t.translatableErrorMsg)},t.\u0275fac=function(e){return new(e||t)(as(sx),as(cb),as(CC),as(BC))},t.\u0275cmp=Fe({type:t,selectors:[["app-login"]],decls:14,vars:8,consts:[[1,"w-100","h-100","d-flex","justify-content-center"],[1,"row","main-container"],["src","/assets/img/logo-v.png",1,"logo"],[1,"mt-5",3,"formGroup"],[1,"login-input"],["type","password","formControlName","password","autocomplete","off",3,"placeholder","keydown.enter"],[3,"disabled","click"],[1,"config-link",3,"click"]],template:function(t,e){1&t&&(us(0,"div",0),ds(1,"app-lang-button"),us(2,"div",1),ds(3,"img",2),us(4,"form",3),us(5,"div",4),us(6,"input",5),_s("keydown.enter",(function(){return e.login()})),Lu(7,"translate"),cs(),us(8,"button",6),_s("click",(function(){return e.login()})),us(9,"mat-icon"),al(10,"chevron_right"),cs(),cs(),cs(),cs(),us(11,"div",7),_s("click",(function(){return e.configure()})),al(12),Lu(13,"translate"),cs(),cs(),cs()),2&t&&(Kr(4),ss("formGroup",e.form),Kr(2),ss("placeholder",Tu(7,4,"login.password")),Kr(2),ss("disabled",!e.form.valid||e.loading),Kr(4),ol(Tu(13,6,"login.initial-config")))},directives:[tP,zD,Ax,KD,xx,Ix,eL,qM],pipes:[mC],styles:['.config-link[_ngcontent-%COMP%], .cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%]{touch-action:auto!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}app-lang-button[_ngcontent-%COMP%]{position:fixed;right:10px;top:10px}.main-container[_ngcontent-%COMP%]{z-index:1;height:100%;flex-direction:column;align-items:center;justify-content:center}.logo[_ngcontent-%COMP%]{width:170px}.login-input[_ngcontent-%COMP%]{height:35px;width:300px;overflow:hidden;border-radius:10px;box-shadow:0 3px 8px 0 rgba(0,0,0,.1),0 6px 20px 0 rgba(0,0,0,.1);display:flex}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]{background:#fff;width:calc(100% - 35px);height:100%;font-size:.875rem;border:none;padding-left:10px;padding-right:10px}.login-input[_ngcontent-%COMP%] input[type=password][_ngcontent-%COMP%]:focus{outline:none}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#fff;color:#202226;width:35px;height:35px;line-height:35px;border:none;display:flex;cursor:pointer;align-items:center}.login-input[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{color:#777}.config-link[_ngcontent-%COMP%]{color:#f8f9f9;font-size:.7rem;margin-top:20px}']}),t}();function nP(t){return t instanceof Date&&!isNaN(+t)}function iP(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hk,n=nP(t),i=n?+t-e.now():Math.abs(t);return function(t){return t.lift(new rP(i,e))}}var rP=function(){function t(e,n){_(this,t),this.delay=e,this.scheduler=n}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new aP(t,this.delay,this.scheduler))}}]),t}(),aP=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t)).delay=i,a.scheduler=r,a.queue=[],a.active=!1,a.errored=!1,a}return b(n,[{key:"_schedule",value:function(t){this.active=!0,this.destination.add(t.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}},{key:"scheduleNotification",value:function(t){if(!0!==this.errored){var e=this.scheduler,n=new oP(e.now()+this.delay,t);this.queue.push(n),!1===this.active&&this._schedule(e)}}},{key:"_next",value:function(t){this.scheduleNotification(zb.createNext(t))}},{key:"_error",value:function(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(zb.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(t){for(var e=t.source,n=e.queue,i=t.scheduler,r=t.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-i.now());this.schedule(t,a)}else this.unsubscribe(),e.active=!1}}]),n}(I),oP=function t(e,n){_(this,t),this.time=e,this.notification=n},sP=n("kB5k"),lP=n.n(sP),uP=function(){return function(){}}(),cP=function(){return function(){}}(),dP=function(){function t(t){this.apiService=t}return t.prototype.create=function(t,e,n){var i={remote_pk:e,public:!0};return n&&(i.transport_type=n),this.apiService.post("visors/"+t+"/transports",i)},t.prototype.delete=function(t,e){return this.apiService.delete("visors/"+t+"/transports/"+e)},t.prototype.types=function(t){return this.apiService.get("visors/"+t+"/transport-types")},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(rx))},providedIn:"root"}),t}(),hP=function(){function t(t){this.apiService=t}return t.prototype.get=function(t,e){return this.apiService.get("visors/"+t+"/routes/"+e)},t.prototype.delete=function(t,e){return this.apiService.delete("visors/"+t+"/routes/"+e)},t.prototype.setMinHops=function(t,e){return this.apiService.post("visors/"+t+"/min-hops",{min_hops:e})},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(rx))},providedIn:"root"}),t}(),fP=function(){return function(){this.totalSent=0,this.totalReceived=0,this.sentHistory=[],this.receivedHistory=[]}}(),pP=function(){return function(){}}(),mP=function(t){return t.UseCustomSettings="updaterUseCustomSettings",t.Channel="updaterChannel",t.Version="updaterVersion",t.ArchiveURL="updaterArchiveURL",t.ChecksumsURL="updaterChecksumsURL",t}({}),gP=function(){function t(t,e,n,i){var r=this;this.apiService=t,this.storageService=e,this.transportService=n,this.routeService=i,this.maxTrafficHistorySlots=10,this.nodeListSubject=new Xg(null),this.updatingNodeListSubject=new Xg(!1),this.specificNodeSubject=new Xg(null),this.updatingSpecificNodeSubject=new Xg(!1),this.specificNodeTrafficDataSubject=new Xg(null),this.specificNodeKey="",this.lastScheduledHistoryUpdateTime=0,this.storageService.getRefreshTimeObservable().subscribe((function(t){r.dataRefreshDelay=1e3*t,r.nodeListRefreshSubscription&&r.forceNodeListRefresh(),r.specificNodeRefreshSubscription&&r.forceSpecificNodeRefresh()}))}return Object.defineProperty(t.prototype,"nodeList",{get:function(){return this.nodeListSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"updatingNodeList",{get:function(){return this.updatingNodeListSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"specificNode",{get:function(){return this.specificNodeSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"updatingSpecificNode",{get:function(){return this.updatingSpecificNodeSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"specificNodeTrafficData",{get:function(){return this.specificNodeTrafficDataSubject.asObservable()},enumerable:!1,configurable:!0}),t.prototype.startRequestingNodeList=function(){if(this.nodeListStopSubscription&&!this.nodeListStopSubscription.closed)return this.nodeListStopSubscription.unsubscribe(),void(this.nodeListStopSubscription=null);var t=this.calculateRemainingTime(this.nodeListSubject.value?this.nodeListSubject.value.momentOfLastCorrectUpdate:0);this.startDataSubscription(t=t>0?t:0,!0)},t.prototype.startRequestingSpecificNode=function(t){if(this.specificNodeStopSubscription&&!this.specificNodeStopSubscription.closed&&this.specificNodeKey===t)return this.specificNodeStopSubscription.unsubscribe(),void(this.specificNodeStopSubscription=null);var e=this.calculateRemainingTime(this.specificNodeSubject.value?this.specificNodeSubject.value.momentOfLastCorrectUpdate:0);this.lastScheduledHistoryUpdateTime=0,this.specificNodeKey!==t||0===e?(this.specificNodeKey=t,this.specificNodeTrafficDataSubject.next(new fP),this.specificNodeSubject.next(null),this.startDataSubscription(0,!1)):this.startDataSubscription(e,!1)},t.prototype.calculateRemainingTime=function(t){if(t<1)return 0;var e=this.dataRefreshDelay-(Date.now()-t);return e<0&&(e=0),e},t.prototype.stopRequestingNodeList=function(){var t=this;this.nodeListRefreshSubscription&&(this.nodeListStopSubscription=mg(1).pipe(iP(4e3)).subscribe((function(){t.nodeListRefreshSubscription.unsubscribe(),t.nodeListRefreshSubscription=null})))},t.prototype.stopRequestingSpecificNode=function(){var t=this;this.specificNodeRefreshSubscription&&(this.specificNodeStopSubscription=mg(1).pipe(iP(4e3)).subscribe((function(){t.specificNodeRefreshSubscription.unsubscribe(),t.specificNodeRefreshSubscription=null})))},t.prototype.startDataSubscription=function(t,e){var n,i,r,a=this;e?(n=this.updatingNodeListSubject,i=this.nodeListSubject,r=this.getNodes(),this.nodeListRefreshSubscription&&this.nodeListRefreshSubscription.unsubscribe()):(n=this.updatingSpecificNodeSubject,i=this.specificNodeSubject,r=this.getNode(this.specificNodeKey),this.specificNodeStopSubscription&&(this.specificNodeStopSubscription.unsubscribe(),this.specificNodeStopSubscription=null),this.specificNodeRefreshSubscription&&this.specificNodeRefreshSubscription.unsubscribe());var o=mg(1).pipe(iP(t),Dv((function(){return n.next(!0)})),iP(120),st((function(){return r}))).subscribe((function(t){var r;n.next(!1),e?r=a.dataRefreshDelay:(a.updateTrafficData(t.transports),(r=a.calculateRemainingTime(a.lastScheduledHistoryUpdateTime))<1e3&&(a.lastScheduledHistoryUpdateTime=Date.now(),r=a.dataRefreshDelay));var o={data:t,error:null,momentOfLastCorrectUpdate:Date.now()};i.next(o),a.startDataSubscription(r,e)}),(function(t){n.next(!1),t=MC(t);var r={data:i.value&&i.value.data?i.value.data:null,error:t,momentOfLastCorrectUpdate:i.value?i.value.momentOfLastCorrectUpdate:-1};!e&&t.originalError&&400===t.originalError.status||a.startDataSubscription(xC.connectionRetryDelay,e),i.next(r)}));e?this.nodeListRefreshSubscription=o:this.specificNodeRefreshSubscription=o},t.prototype.updateTrafficData=function(t){var e=this.specificNodeTrafficDataSubject.value;if(e.totalSent=0,e.totalReceived=0,t&&t.length>0&&(e.totalSent=t.reduce((function(t,e){return t+e.sent}),0),e.totalReceived=t.reduce((function(t,e){return t+e.recv}),0)),0===e.sentHistory.length)for(var n=0;nthis.maxTrafficHistorySlots&&(r=this.maxTrafficHistorySlots),0===r)e.sentHistory[e.sentHistory.length-1]=e.totalSent,e.receivedHistory[e.receivedHistory.length-1]=e.totalReceived;else for(n=0;nthis.maxTrafficHistorySlots&&(e.sentHistory.splice(0,e.sentHistory.length-this.maxTrafficHistorySlots),e.receivedHistory.splice(0,e.receivedHistory.length-this.maxTrafficHistorySlots))}this.specificNodeTrafficDataSubject.next(e)},t.prototype.forceNodeListRefresh=function(){this.nodeListSubject.value&&(this.nodeListSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!0)},t.prototype.forceSpecificNodeRefresh=function(){this.specificNodeSubject.value&&(this.specificNodeSubject.value.momentOfLastCorrectUpdate=-1),this.startDataSubscription(0,!1)},t.prototype.getNodes=function(){var t=this,e=[];return this.apiService.get("visors-summary").pipe(nt((function(n){n&&n.forEach((function(n){var i=new uP;i.online=n.online,i.localPk=n.overview.local_pk,i.ip=n.overview&&n.overview.local_ip&&n.overview.local_ip.trim()?n.overview.local_ip:null;var r=t.storageService.getLabelInfo(i.localPk);if(i.label=r&&r.label?r.label:t.storageService.getDefaultLabel(i),!i.online)return i.dmsgServerPk="",i.roundTripPing="",void e.push(i);i.health={status:200,addressResolver:n.health.address_resolver,routeFinder:n.health.route_finder,setupNode:n.health.setup_node,transportDiscovery:n.health.transport_discovery,uptimeTracker:n.health.uptime_tracker},i.dmsgServerPk=n.dmsg_stats.server_public_key,i.roundTripPing=t.nsToMs(n.dmsg_stats.round_trip),i.isHypervisor=n.is_hypervisor,e.push(i)}));var i=new Map,r=[],a=[];e.forEach((function(t){i.set(t.localPk,t),t.online&&(r.push(t.localPk),a.push(t.ip))})),t.storageService.includeVisibleLocalNodes(r,a);var o=[];return t.storageService.getSavedLocalNodes().forEach((function(e){if(!i.has(e.publicKey)&&!e.hidden){var n=new uP;n.localPk=e.publicKey;var r=t.storageService.getLabelInfo(e.publicKey);n.label=r&&r.label?r.label:t.storageService.getDefaultLabel(n),n.online=!1,n.dmsgServerPk="",n.roundTripPing="",o.push(n)}i.has(e.publicKey)&&!i.get(e.publicKey).online&&e.hidden&&i.delete(e.publicKey)})),e=[],i.forEach((function(t){return e.push(t)})),e=e.concat(o)})))},t.prototype.nsToMs=function(t){var e=new lP.a(t).dividedBy(1e6);return(e=e.isLessThan(10)?e.decimalPlaces(2):e.decimalPlaces(0)).toString(10)},t.prototype.getNode=function(t){var e=this;return this.apiService.get("visors/"+t+"/summary").pipe(nt((function(t){var n=new uP;n.localPk=t.overview.local_pk,n.version=t.overview.build_info.version,n.secondsOnline=Math.floor(Number.parseFloat(t.uptime)),n.minHops=t.min_hops,n.ip=t.overview.local_ip&&t.overview.local_ip.trim()?t.overview.local_ip:null;var i=e.storageService.getLabelInfo(n.localPk);n.label=i&&i.label?i.label:e.storageService.getDefaultLabel(n),n.health={status:200,addressResolver:t.health.address_resolver,routeFinder:t.health.route_finder,setupNode:t.health.setup_node,transportDiscovery:t.health.transport_discovery,uptimeTracker:t.health.uptime_tracker},n.transports=[],t.overview.transports&&t.overview.transports.forEach((function(t){n.transports.push({isUp:t.is_up,id:t.id,localPk:t.local_pk,remotePk:t.remote_pk,type:t.type,recv:t.log.recv,sent:t.log.sent})})),n.routes=[],t.routes&&t.routes.forEach((function(t){n.routes.push({key:t.key,rule:t.rule}),t.rule_summary&&(n.routes[n.routes.length-1].ruleSummary={keepAlive:t.rule_summary.keep_alive,ruleType:t.rule_summary.rule_type,keyRouteId:t.rule_summary.key_route_id},t.rule_summary.app_fields&&t.rule_summary.app_fields.route_descriptor&&(n.routes[n.routes.length-1].appFields={routeDescriptor:{dstPk:t.rule_summary.app_fields.route_descriptor.dst_pk,dstPort:t.rule_summary.app_fields.route_descriptor.dst_port,srcPk:t.rule_summary.app_fields.route_descriptor.src_pk,srcPort:t.rule_summary.app_fields.route_descriptor.src_port}}),t.rule_summary.forward_fields&&(n.routes[n.routes.length-1].forwardFields={nextRid:t.rule_summary.forward_fields.next_rid,nextTid:t.rule_summary.forward_fields.next_tid},t.rule_summary.forward_fields.route_descriptor&&(n.routes[n.routes.length-1].forwardFields.routeDescriptor={dstPk:t.rule_summary.forward_fields.route_descriptor.dst_pk,dstPort:t.rule_summary.forward_fields.route_descriptor.dst_port,srcPk:t.rule_summary.forward_fields.route_descriptor.src_pk,srcPort:t.rule_summary.forward_fields.route_descriptor.src_port})),t.rule_summary.intermediary_forward_fields&&(n.routes[n.routes.length-1].intermediaryForwardFields={nextRid:t.rule_summary.intermediary_forward_fields.next_rid,nextTid:t.rule_summary.intermediary_forward_fields.next_tid}))})),n.apps=[],t.overview.apps&&t.overview.apps.forEach((function(t){n.apps.push({name:t.name,status:t.status,port:t.port,autostart:t.auto_start,args:t.args})}));var r=!1;return t.dmsg_stats&&(n.dmsgServerPk=t.dmsg_stats.server_public_key,n.roundTripPing=e.nsToMs(t.dmsg_stats.round_trip),r=!0),r||(n.dmsgServerPk="-",n.roundTripPing="-1"),n})))},t.prototype.reboot=function(t){return this.apiService.post("visors/"+t+"/restart")},t.prototype.checkIfUpdating=function(t){return this.apiService.get("visors/"+t+"/update/ws/running")},t.prototype.checkUpdate=function(t){var e="stable",n=localStorage.getItem(mP.Channel);return this.apiService.get("visors/"+t+"/update/available/"+(e=n||e))},t.prototype.update=function(t){var e={channel:"stable"};if(localStorage.getItem(mP.UseCustomSettings)){var n=localStorage.getItem(mP.Channel);n&&(e.channel=n);var i=localStorage.getItem(mP.Version);i&&(e.version=i);var r=localStorage.getItem(mP.ArchiveURL);r&&(e.archive_url=r);var a=localStorage.getItem(mP.ChecksumsURL);a&&(e.checksums_url=a)}return this.apiService.ws("visors/"+t+"/update/ws",e)},t.prototype.getHealthStatus=function(t){var e=new pP;if(e.allServicesOk=!1,e.services=[],t.health){var n={name:"node.details.node-health.status",isOk:t.health.status&&200===t.health.status,originalValue:t.health.status+""};e.services.push(n),e.services.push(n={name:"node.details.node-health.transport-discovery",isOk:t.health.transportDiscovery&&200===t.health.transportDiscovery,originalValue:t.health.transportDiscovery+""}),e.services.push(n={name:"node.details.node-health.route-finder",isOk:t.health.routeFinder&&200===t.health.routeFinder,originalValue:t.health.routeFinder+""}),e.services.push(n={name:"node.details.node-health.setup-node",isOk:t.health.setupNode&&200===t.health.setupNode,originalValue:t.health.setupNode+""}),e.services.push(n={name:"node.details.node-health.uptime-tracker",isOk:t.health.uptimeTracker&&200===t.health.uptimeTracker,originalValue:t.health.uptimeTracker+""}),e.services.push(n={name:"node.details.node-health.address-resolver",isOk:t.health.addressResolver&&200===t.health.addressResolver,originalValue:t.health.addressResolver+""}),e.allServicesOk=!0,e.services.forEach((function(t){t.isOk||(e.allServicesOk=!1)}))}return e},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(rx),ge(Jb),ge(dP),ge(hP))},providedIn:"root"}),t}(),vP=["firstInput"],_P=function(){function t(t,e,n,i,r){this.dialogRef=t,this.data=e,this.formBuilder=n,this.storageService=i,this.snackbarService=r}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.smallModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){this.form=this.formBuilder.group({label:[this.data.label]})},t.prototype.ngAfterViewInit=function(){var t=this;setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.save=function(){var t=this.form.get("label").value.trim();t!==this.data.label?(this.storageService.saveLabel(this.data.id,t,this.data.identifiedElementType),t?this.snackbarService.showDone("edit-label.done"):this.snackbarService.showWarning("edit-label.label-removed-warning"),this.dialogRef.close(!0)):this.dialogRef.close()},t.\u0275fac=function(e){return new(e||t)(as(YC),as(RC),as(vL),as(Jb),as(CC))},t.\u0275cmp=Fe({type:t,selectors:[["app-edit-label"]],viewQuery:function(t,e){var n;1&t&&qu(vP,!0),2&t&&Wu(n=$u())&&(e.firstInput=n.first)},decls:10,vars:10,consts:[[3,"headline"],[3,"formGroup"],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"form",1),us(3,"mat-form-field"),ds(4,"input",2,3),Lu(6,"translate"),cs(),cs(),us(7,"app-button",4),_s("action",(function(){return e.save()})),al(8),Lu(9,"translate"),cs(),cs()),2&t&&(ss("headline",Tu(1,4,"labeled-element.edit-label")),Kr(2),ss("formGroup",e.form),Kr(2),ss("placeholder",Tu(6,6,"edit-label.label")),Kr(4),ol(Tu(9,8,"common.save")))},directives:[LL,zD,Ax,KD,LT,xx,BT,Ix,eL,hL,FL],pipes:[mC],styles:[""]}),t}(),yP=["cancelButton"],bP=["confirmButton"];function kP(t,e){if(1&t&&(us(0,"div"),al(1),Lu(2,"translate"),cs()),2&t){var n=e.$implicit;Kr(1),sl(" - ",Tu(2,1,n)," ")}}function wP(t,e){if(1&t&&(us(0,"div",8),is(1,kP,3,3,"div",9),cs()),2&t){var n=Ms();Kr(1),ss("ngForOf",n.state!==n.confirmationStates.Done?n.data.list:n.doneList)}}function SP(t,e){if(1&t&&(us(0,"div",1),al(1),Lu(2,"translate"),cs()),2&t){var n=Ms();Kr(1),sl(" ",Tu(2,1,n.data.lowerText)," ")}}function MP(t,e){if(1&t){var n=ms();us(0,"app-button",10,11),_s("action",(function(){return Dn(n),Ms().closeModal()})),al(2),Lu(3,"translate"),cs()}if(2&t){var i=Ms();Kr(2),sl(" ",Tu(3,1,i.data.cancelButtonText)," ")}}var CP=function(t){return t.Asking="Asking",t.Processing="Processing",t.Done="Done",t}({}),xP=function(){function t(t,e){this.dialogRef=t,this.data=e,this.disableDismiss=!1,this.state=CP.Asking,this.confirmationStates=CP,this.operationAccepted=new Iu,this.disableDismiss=!!e.disableDismiss,this.dialogRef.disableClose=this.disableDismiss}return t.prototype.ngAfterViewInit=function(){var t=this;this.data.cancelButtonText?setTimeout((function(){return t.cancelButton.focus()})):setTimeout((function(){return t.confirmButton.focus()}))},t.prototype.ngOnDestroy=function(){this.operationAccepted.complete()},t.prototype.closeModal=function(){this.dialogRef.close()},t.prototype.sendOperationAcceptedEvent=function(){this.operationAccepted.emit()},t.prototype.showAsking=function(t){t&&(this.data=t),this.state=CP.Asking,this.confirmButton.reset(),this.disableDismiss=!1,this.dialogRef.disableClose=this.disableDismiss,this.cancelButton&&this.cancelButton.showEnabled()},t.prototype.showProcessing=function(){this.state=CP.Processing,this.disableDismiss=!0,this.confirmButton.showLoading(),this.cancelButton&&this.cancelButton.showDisabled()},t.prototype.showDone=function(t,e,n){var i=this;void 0===n&&(n=null),this.doneTitle=t||this.data.headerText,this.doneText=e,this.doneList=n,this.confirmButton.reset(),setTimeout((function(){return i.confirmButton.focus()})),this.state=CP.Done,this.dialogRef.disableClose=!1,this.disableDismiss=!1},t.\u0275fac=function(e){return new(e||t)(as(YC),as(RC))},t.\u0275cmp=Fe({type:t,selectors:[["app-confirmation"]],viewQuery:function(t,e){var n;1&t&&(qu(yP,!0),qu(bP,!0)),2&t&&(Wu(n=$u())&&(e.cancelButton=n.first),Wu(n=$u())&&(e.confirmButton=n.first))},outputs:{operationAccepted:"operationAccepted"},decls:13,vars:13,consts:[[3,"headline","disableDismiss"],[1,"text-container"],["class","list-container",4,"ngIf"],["class","text-container",4,"ngIf"],[1,"buttons"],["color","accent",3,"action",4,"ngIf"],["color","primary",3,"action"],["confirmButton",""],[1,"list-container"],[4,"ngFor","ngForOf"],["color","accent",3,"action"],["cancelButton",""]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"div",1),al(3),Lu(4,"translate"),cs(),is(5,wP,2,1,"div",2),is(6,SP,3,3,"div",3),us(7,"div",4),is(8,MP,4,3,"app-button",5),us(9,"app-button",6,7),_s("action",(function(){return e.state===e.confirmationStates.Asking?e.sendOperationAcceptedEvent():e.closeModal()})),al(11),Lu(12,"translate"),cs(),cs(),cs()),2&t&&(ss("headline",Tu(1,7,e.state!==e.confirmationStates.Done?e.data.headerText:e.doneTitle))("disableDismiss",e.disableDismiss),Kr(3),sl(" ",Tu(4,9,e.state!==e.confirmationStates.Done?e.data.text:e.doneText)," "),Kr(2),ss("ngIf",e.data.list&&e.state!==e.confirmationStates.Done||e.doneList&&e.state===e.confirmationStates.Done),Kr(1),ss("ngIf",e.data.lowerText&&e.state!==e.confirmationStates.Done),Kr(2),ss("ngIf",e.data.cancelButtonText&&e.state!==e.confirmationStates.Done),Kr(3),sl(" ",Tu(12,11,e.state!==e.confirmationStates.Done?e.data.confirmButtonText:"confirmation.close")," "))},directives:[LL,Sh,FL,kh],pipes:[mC],styles:[".list-container[_ngcontent-%COMP%], .text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}"]}),t}(),DP=function(){function t(){}return t.createConfirmationDialog=function(t,e){var n={text:e,headerText:"confirmation.header-text",confirmButtonText:"confirmation.confirm-button",cancelButtonText:"confirmation.cancel-button",disableDismiss:!0},i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.smallModalWidth,t.open(xP,i)},t}();function LP(t,e){if(1&t&&(us(0,"mat-icon",6),al(1),cs()),2&t){var n=Ms().$implicit;ss("inline",!0),Kr(1),ol(n.icon)}}function TP(t,e){if(1&t){var n=ms();us(0,"div",2),us(1,"button",3),_s("click",(function(){Dn(n);var t=e.index;return Ms().closePopup(t+1)})),us(2,"div",4),is(3,LP,2,2,"mat-icon",5),us(4,"span"),al(5),Lu(6,"translate"),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit;Kr(3),ss("ngIf",i.icon),Kr(2),ol(Tu(6,2,i.label))}}var PP=function(){function t(t,e){this.data=t,this.dialogRef=e}return t.openDialog=function(e,n,i){var r=new PC;return r.data={options:n,title:i},r.autoFocus=!1,r.width=xC.smallModalWidth,e.open(t,r)},t.prototype.closePopup=function(t){this.dialogRef.close(t)},t.\u0275fac=function(e){return new(e||t)(as(RC),as(YC))},t.\u0275cmp=Fe({type:t,selectors:[["app-select-option"]],decls:3,vars:5,consts:[[3,"headline","includeVerticalMargins"],["class","options-list-button-container",4,"ngFor","ngForOf"],[1,"options-list-button-container"],["mat-button","",1,"grey-button-background",3,"click"],[1,"internal-container"],["class","icon",3,"inline",4,"ngIf"],[1,"icon",3,"inline"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),is(2,TP,7,4,"div",1),cs()),2&t&&(ss("headline",Tu(1,3,e.data.title))("includeVerticalMargins",!1),Kr(2),ss("ngForOf",e.data.options))},directives:[LL,kh,uM,Sh,qM],pipes:[mC],styles:[".icon[_ngcontent-%COMP%]{font-size:14px;width:14px}"]}),t}(),OP=function(){function t(t){this.dom=t}return t.prototype.copy=function(t){var e=null,n=!1;try{(e=this.dom.createElement("textarea")).style.height="0px",e.style.left="-100px",e.style.opacity="0",e.style.position="fixed",e.style.top="-100px",e.style.width="0px",this.dom.body.appendChild(e),e.value=t,e.select(),this.dom.execCommand("copy"),n=!0}finally{e&&e.parentNode&&e.parentNode.removeChild(e)}return n},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(rd))}}),t}(),EP=function(t){return t.TextInput="TextInput",t.Select="Select",t}({});function IP(t,e){if(1&t&&(hs(0),us(1,"span",2),al(2),cs(),fs()),2&t){var n=Ms();Kr(2),ol(n.shortText)}}function AP(t,e){if(1&t&&(hs(0),us(1,"span"),al(2),cs(),fs()),2&t){var n=Ms();Kr(2),ol(n.text)}}var YP=function(){return{"tooltip-word-break":!0}},FP=function(){function t(){this.short=!1,this.showTooltip=!0,this.shortTextLength=5}return Object.defineProperty(t.prototype,"shortText",{get:function(){if(this.text.length>2*this.shortTextLength){var t=this.text.length;return this.text.slice(0,this.shortTextLength)+"..."+this.text.slice(t-this.shortTextLength,t)}return this.text},enumerable:!1,configurable:!0}),t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-truncated-text"]],inputs:{short:"short",showTooltip:"showTooltip",text:"text",shortTextLength:"shortTextLength"},decls:3,vars:5,consts:[[1,"wrapper",3,"matTooltip","matTooltipClass"],[4,"ngIf"],[1,"nowrap"]],template:function(t,e){1&t&&(us(0,"div",0),is(1,IP,3,1,"ng-container",1),is(2,AP,3,1,"ng-container",1),cs()),2&t&&(ss("matTooltip",e.short&&e.showTooltip?e.text:"")("matTooltipClass",wu(4,YP)),Kr(1),ss("ngIf",e.short),Kr(1),ss("ngIf",!e.short))},directives:[zL,Sh],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:auto!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.nowrap[_ngcontent-%COMP%]{white-space:nowrap}.wrapper[_ngcontent-%COMP%]{display:inline}']}),t}();function RP(t,e){if(1&t&&(us(0,"span"),al(1),Lu(2,"translate"),cs()),2&t){var n=Ms();Kr(1),sl(" ",Tu(2,1,n.labelComponents.prefix)," ")}}function NP(t,e){if(1&t&&(us(0,"span"),al(1),cs()),2&t){var n=Ms();Kr(1),sl(" ",n.labelComponents.prefixSeparator," ")}}function HP(t,e){if(1&t&&(us(0,"span"),al(1),cs()),2&t){var n=Ms();Kr(1),sl(" ",n.labelComponents.label," ")}}function jP(t,e){if(1&t&&(us(0,"span"),al(1),Lu(2,"translate"),cs()),2&t){var n=Ms();Kr(1),sl(" ",Tu(2,1,n.labelComponents.translatableLabel)," ")}}var BP=function(t){return{text:t}},VP=function(){return{"tooltip-word-break":!0}},zP=function(){return function(){this.prefix="",this.prefixSeparator="",this.label="",this.translatableLabel=""}}(),WP=function(){function t(t,e,n,i){this.dialog=t,this.storageService=e,this.clipboardService=n,this.snackbarService=i,this.short=!1,this.shortTextLength=5,this.elementType=Kb.Node,this.labelEdited=new Iu}return Object.defineProperty(t.prototype,"id",{get:function(){return this.idInternal?this.idInternal:""},set:function(e){this.idInternal=e,this.labelComponents=t.getLabelComponents(this.storageService,this.id)},enumerable:!1,configurable:!0}),t.getLabelComponents=function(t,e){var n;n=!!t.getSavedVisibleLocalNodes().has(e);var i=new zP;return i.labelInfo=t.getLabelInfo(e),i.labelInfo&&i.labelInfo.label?(n&&(i.prefix="labeled-element.local-element",i.prefixSeparator=" - "),i.label=i.labelInfo.label):t.getSavedVisibleLocalNodes().has(e)?i.prefix="labeled-element.unnamed-local-visor":i.translatableLabel="labeled-element.unnamed-element",i},t.getCompleteLabel=function(e,n,i){var r=t.getLabelComponents(e,i);return(r.prefix?n.instant(r.prefix):"")+r.prefixSeparator+r.label+(r.translatableLabel?n.instant(r.translatableLabel):"")},t.prototype.ngOnDestroy=function(){this.labelEdited.complete()},t.prototype.processClick=function(){var t=this,e=[{icon:"filter_none",label:"labeled-element.copy"},{icon:"edit",label:"labeled-element.edit-label"}];this.labelComponents.labelInfo&&e.push({icon:"close",label:"labeled-element.remove-label"}),PP.openDialog(this.dialog,e,"common.options").afterClosed().subscribe((function(e){if(1===e)t.clipboardService.copy(t.id)&&t.snackbarService.showDone("copy.copied");else if(3===e){var n=DP.createConfirmationDialog(t.dialog,"labeled-element.remove-label-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.closeModal(),t.storageService.saveLabel(t.id,null,t.elementType),t.snackbarService.showDone("edit-label.label-removed-warning"),t.labelEdited.emit()}))}else if(2===e){var i=t.labelComponents.labelInfo;i||(i={id:t.id,label:"",identifiedElementType:t.elementType}),_P.openDialog(t.dialog,i).afterClosed().subscribe((function(e){e&&t.labelEdited.emit()}))}}))},t.\u0275fac=function(e){return new(e||t)(as(BC),as(Jb),as(OP),as(CC))},t.\u0275cmp=Fe({type:t,selectors:[["app-labeled-element-text"]],inputs:{id:"id",short:"short",shortTextLength:"shortTextLength",elementType:"elementType"},outputs:{labelEdited:"labelEdited"},decls:12,vars:17,consts:[[1,"wrapper","highlight-internal-icon",3,"matTooltip","matTooltipClass","click"],[1,"label"],[4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"]],template:function(t,e){1&t&&(us(0,"div",0),_s("click",(function(t){return t.stopPropagation(),e.processClick()})),Lu(1,"translate"),us(2,"span",1),is(3,RP,3,3,"span",2),is(4,NP,2,1,"span",2),is(5,HP,2,1,"span",2),is(6,jP,3,3,"span",2),cs(),ds(7,"br"),ds(8,"app-truncated-text",3),al(9," \xa0"),us(10,"mat-icon",4),al(11,"settings"),cs(),cs()),2&t&&(ss("matTooltip",Pu(1,11,e.short?"labeled-element.tooltip-with-text":"labeled-element.tooltip",Su(14,BP,e.id)))("matTooltipClass",wu(16,VP)),Kr(3),ss("ngIf",e.labelComponents&&e.labelComponents.prefix),Kr(1),ss("ngIf",e.labelComponents&&e.labelComponents.prefixSeparator),Kr(1),ss("ngIf",e.labelComponents&&e.labelComponents.label),Kr(1),ss("ngIf",e.labelComponents&&e.labelComponents.translatableLabel),Kr(2),ss("short",e.short)("showTooltip",!1)("shortTextLength",e.shortTextLength)("text",e.id),Kr(2),ss("inline",!0))},directives:[zL,Sh,FP,qM],pipes:[mC],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:auto!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.8rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.label[_ngcontent-%COMP%]{opacity:.7;font-size:.8rem}']}),t}(),UP=function(){function t(t,e,n,i){this.properties=t,this.label=e,this.sortingMode=n,this.labelProperties=i}return Object.defineProperty(t.prototype,"id",{get:function(){return this.properties.join("")},enumerable:!1,configurable:!0}),t}(),qP=function(t){return t.Text="Text",t.Number="Number",t.NumberReversed="NumberReversed",t.Boolean="Boolean",t}({}),GP=function(){function t(t,e,n,i,r){this.dialog=t,this.translateService=e,this.sortReverse=!1,this.sortByLabel=!1,this.tieBreakerColumnIndex=null,this.columnStorageKeyPrefix="col_",this.orderStorageKeyPrefix="order_",this.labelStorageKeyPrefix="label_",this.dataUpdatedSubject=new W,this.sortableColumns=n,this.id=r,this.defaultColumnIndex=i,this.sortBy=n[i];var a=localStorage.getItem(this.columnStorageKeyPrefix+r);if(a){var o=n.find((function(t){return t.id===a}));o&&(this.sortBy=o)}this.sortReverse="true"===localStorage.getItem(this.orderStorageKeyPrefix+r),this.sortByLabel="true"===localStorage.getItem(this.labelStorageKeyPrefix+r)}return Object.defineProperty(t.prototype,"sortingArrow",{get:function(){return this.sortReverse?"keyboard_arrow_up":"keyboard_arrow_down"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentSortingColumn",{get:function(){return this.sortBy},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"sortingInReverseOrder",{get:function(){return this.sortReverse},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataSorted",{get:function(){return this.dataUpdatedSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentlySortingByLabel",{get:function(){return this.sortByLabel},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this.dataUpdatedSubject.complete()},t.prototype.setTieBreakerColumnIndex=function(t){this.tieBreakerColumnIndex=t},t.prototype.setData=function(t){this.data=t,this.sortData()},t.prototype.changeSortingOrder=function(t){var e=this;if(this.sortBy===t||t.labelProperties)if(t.labelProperties){var n=[{label:this.translateService.instant("tables.sort-by-value")},{label:this.translateService.instant("tables.sort-by-value")+" "+this.translateService.instant("tables.inverted-order")},{label:this.translateService.instant("tables.sort-by-label")},{label:this.translateService.instant("tables.sort-by-label")+" "+this.translateService.instant("tables.inverted-order")}];PP.openDialog(this.dialog,n,"tables.title").afterClosed().subscribe((function(n){n&&e.changeSortingParams(t,n>2,n%2==0)}))}else this.sortReverse=!this.sortReverse,localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),this.sortData();else this.changeSortingParams(t,!1,!1)},t.prototype.changeSortingParams=function(t,e,n){this.sortBy=t,this.sortByLabel=e,this.sortReverse=n,localStorage.setItem(this.columnStorageKeyPrefix+this.id,t.id),localStorage.setItem(this.orderStorageKeyPrefix+this.id,String(this.sortReverse)),localStorage.setItem(this.labelStorageKeyPrefix+this.id,String(this.sortByLabel)),this.sortData()},t.prototype.openSortingOrderModal=function(){var t=this,e=[],n=[];this.sortableColumns.forEach((function(i){var r=t.translateService.instant(i.label);e.push({label:r}),n.push({sortBy:i,sortReverse:!1,sortByLabel:!1}),e.push({label:r+" "+t.translateService.instant("tables.inverted-order")}),n.push({sortBy:i,sortReverse:!0,sortByLabel:!1}),i.labelProperties&&(e.push({label:r+" "+t.translateService.instant("tables.label")}),n.push({sortBy:i,sortReverse:!1,sortByLabel:!0}),e.push({label:r+" "+t.translateService.instant("tables.label")+" "+t.translateService.instant("tables.inverted-order")}),n.push({sortBy:i,sortReverse:!0,sortByLabel:!0}))})),PP.openDialog(this.dialog,e,"tables.title").afterClosed().subscribe((function(e){e&&t.changeSortingParams(n[e-1].sortBy,n[e-1].sortByLabel,n[e-1].sortReverse)}))},t.prototype.sortData=function(){var t=this;this.data&&(this.data.sort((function(e,n){var i=t.getSortResponse(t.sortBy,e,n,!0);return 0===i&&null!==t.tieBreakerColumnIndex&&t.sortableColumns[t.tieBreakerColumnIndex]!==t.sortBy&&(i=t.getSortResponse(t.sortableColumns[t.tieBreakerColumnIndex],e,n,!1)),0===i&&t.sortableColumns[t.defaultColumnIndex]!==t.sortBy&&(i=t.getSortResponse(t.sortableColumns[t.defaultColumnIndex],e,n,!1)),i})),this.dataUpdatedSubject.next())},t.prototype.getSortResponse=function(t,e,n,i){var r=e,a=n;(this.sortByLabel&&i&&t.labelProperties?t.labelProperties:t.properties).forEach((function(t){r=r[t],a=a[t]}));var o=this.sortByLabel&&i?qP.Text:t.sortingMode,s=0;return o===qP.Text?s=this.sortReverse?a.localeCompare(r):r.localeCompare(a):o===qP.NumberReversed?s=this.sortReverse?r-a:a-r:o===qP.Number?s=this.sortReverse?a-r:r-a:o===qP.Boolean&&(r&&!a?s=-1:!r&&a&&(s=1),s*=this.sortReverse?-1:1),s},t}(),KP=["trigger"],JP=["panel"];function ZP(t,e){if(1&t&&(us(0,"span",8),al(1),cs()),2&t){var n=Ms();Kr(1),ol(n.placeholder||"\xa0")}}function $P(t,e){if(1&t&&(us(0,"span"),al(1),cs()),2&t){var n=Ms(2);Kr(1),ol(n.triggerValue||"\xa0")}}function QP(t,e){1&t&&Ds(0,0,["*ngSwitchCase","true"])}function XP(t,e){1&t&&(us(0,"span",9),is(1,$P,2,1,"span",10),is(2,QP,1,0,"ng-content",11),cs()),2&t&&(ss("ngSwitch",!!Ms().customTrigger),Kr(2),ss("ngSwitchCase",!0))}function tO(t,e){if(1&t){var n=ms();us(0,"div",12),us(1,"div",13,14),_s("@transformPanel.done",(function(t){return Dn(n),Ms()._panelDoneAnimatingStream.next(t.toState)}))("keydown",(function(t){return Dn(n),Ms()._handleKeydown(t)})),Ds(3,1),cs(),cs()}if(2&t){var i=Ms();ss("@transformPanelWrap",void 0),Kr(1),"mat-select-panel ",r=i._getPanelTheme(),"",Js(Le,Gs,ns(Cn(),"mat-select-panel ",r,""),!0),Vs("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),ss("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),es("id",i.id+"-panel")}var r}var eO=[[["mat-select-trigger"]],"*"],nO=["mat-select-trigger","*"],iO={transformPanelWrap:Bf("transformPanelWrap",[Kf("* => void",Zf("@transformPanel",[Jf()],{optional:!0}))]),transformPanel:Bf("transformPanel",[qf("void",Uf({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),qf("showing",Uf({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),qf("showing-multiple",Uf({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Kf("void => *",Vf("120ms cubic-bezier(0, 0, 0.2, 1)")),Kf("* => void",Vf("100ms 25ms linear",Uf({opacity:0})))])},rO=0,aO=new se("mat-select-scroll-strategy"),oO=new se("MAT_SELECT_CONFIG"),sO={provide:aO,deps:[Ew],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},lO=function t(e,n){_(this,t),this.source=e,this.value=n},uO=DS(LS(CS(TS((function t(e,n,i,r,a){_(this,t),this._elementRef=e,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=a}))))),cO=new se("MatSelectTrigger"),dO=function(){var t=function t(){_(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=ze({type:t,selectors:[["mat-select-trigger"]],features:[Dl([{provide:cO,useExisting:t}])]}),t}(),hO=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o,s,l,c,d,h,f,p,m,g,v){var y;return _(this,n),(y=e.call(this,s,o,c,d,f))._viewportRuler=t,y._changeDetectorRef=i,y._ngZone=r,y._dir=l,y._parentFormField=h,y.ngControl=f,y._liveAnnouncer=g,y._panelOpen=!1,y._required=!1,y._scrollTop=0,y._multiple=!1,y._compareWith=function(t,e){return t===e},y._uid="mat-select-".concat(rO++),y._destroy=new W,y._triggerFontSize=0,y._onChange=function(){},y._onTouched=function(){},y._optionIds="",y._transformOrigin="top",y._panelDoneAnimatingStream=new W,y._offsetY=0,y._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],y._disableOptionCentering=!1,y._focused=!1,y.controlType="mat-select",y.ariaLabel="",y.optionSelectionChanges=sv((function(){var t=y.options;return t?t.changes.pipe(Fv(t),Ev((function(){return ft.apply(void 0,u(t.map((function(t){return t.onSelectionChange}))))}))):y._ngZone.onStable.asObservable().pipe(Sv(1),Ev((function(){return y.optionSelectionChanges})))})),y.openedChange=new Iu,y._openedStream=y.openedChange.pipe(vg((function(t){return t})),nt((function(){}))),y._closedStream=y.openedChange.pipe(vg((function(t){return!t})),nt((function(){}))),y.selectionChange=new Iu,y.valueChange=new Iu,y.ngControl&&(y.ngControl.valueAccessor=a(y)),y._scrollStrategyFactory=m,y._scrollStrategy=y._scrollStrategyFactory(),y.tabIndex=parseInt(p)||0,y.id=y.id,v&&(null!=v.disableOptionCentering&&(y.disableOptionCentering=v.disableOptionCentering),null!=v.typeaheadDebounceInterval&&(y.typeaheadDebounceInterval=v.typeaheadDebounceInterval)),y}return b(n,[{key:"ngOnInit",value:function(){var t=this;this._selectionModel=new Hk(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(uk(),bk(this._destroy)).subscribe((function(){t.panelOpen?(t._scrollTop=0,t.openedChange.emit(!0)):(t.openedChange.emit(!1),t.overlayDir.offsetX=0,t._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(bk(this._destroy)).subscribe((function(){t._panelOpen&&(t._triggerRect=t.trigger.nativeElement.getBoundingClientRect(),t._changeDetectorRef.markForCheck())}))}},{key:"ngAfterContentInit",value:function(){var t=this;this._initKeyManager(),this._selectionModel.changed.pipe(bk(this._destroy)).subscribe((function(t){t.added.forEach((function(t){return t.select()})),t.removed.forEach((function(t){return t.deselect()}))})),this.options.changes.pipe(Fv(null),bk(this._destroy)).subscribe((function(){t._resetOptions(),t._initializeSelection()}))}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(t){t.disabled&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){var t=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(Sv(1)).subscribe((function(){t._triggerFontSize&&t.overlayDir.overlayRef&&t.overlayDir.overlayRef.overlayElement&&(t.overlayDir.overlayRef.overlayElement.style.fontSize="".concat(t._triggerFontSize,"px"))})))}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(t){this.options&&this._setSelectionByValue(t)}},{key:"registerOnChange",value:function(t){this._onChange=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}},{key:"_handleClosedKeydown",value:function(t){var e=t.keyCode,n=40===e||38===e||37===e||39===e,i=13===e||32===e,r=this._keyManager;if(!r.isTyping()&&i&&!rw(t)||(this.multiple||t.altKey)&&n)t.preventDefault(),this.open();else if(!this.multiple){var a=this.selected;36===e||35===e?(36===e?r.setFirstItemActive():r.setLastItemActive(),t.preventDefault()):r.onKeydown(t);var o=this.selected;o&&a!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(t){var e=this._keyManager,n=t.keyCode,i=40===n||38===n,r=e.isTyping();if(36===n||35===n)t.preventDefault(),36===n?e.setFirstItemActive():e.setLastItemActive();else if(i&&t.altKey)t.preventDefault(),this.close();else if(r||13!==n&&32!==n||!e.activeItem||rw(t))if(!r&&this._multiple&&65===n&&t.ctrlKey){t.preventDefault();var a=this.options.some((function(t){return!t.disabled&&!t.selected}));this.options.forEach((function(t){t.disabled||(a?t.select():t.deselect())}))}else{var o=e.activeItemIndex;e.onKeydown(t),this._multiple&&i&&t.shiftKey&&e.activeItem&&e.activeItemIndex!==o&&e.activeItem._selectViaInteraction()}else t.preventDefault(),e.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var t=this;this.overlayDir.positionChange.pipe(Sv(1)).subscribe((function(){t._changeDetectorRef.detectChanges(),t._calculateOverlayOffsetX(),t.panel.nativeElement.scrollTop=t._scrollTop}))}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"_initializeSelection",value:function(){var t=this;Promise.resolve().then((function(){t._setSelectionByValue(t.ngControl?t.ngControl.value:t._value),t.stateChanges.next()}))}},{key:"_setSelectionByValue",value:function(t){var e=this;if(this.multiple&&t){if(!Array.isArray(t))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),t.forEach((function(t){return e._selectValue(t)})),this._sortValues()}else{this._selectionModel.clear();var n=this._selectValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(t){var e=this,n=this.options.find((function(n){try{return null!=n.value&&e._compareWith(n.value,t)}catch(i){return rr()&&console.warn(i),!1}}));return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var t=this;this._keyManager=new Xw(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(bk(this._destroy)).subscribe((function(){t.panelOpen&&(!t.multiple&&t._keyManager.activeItem&&t._keyManager.activeItem._selectViaInteraction(),t.focus(),t.close())})),this._keyManager.change.pipe(bk(this._destroy)).subscribe((function(){t._panelOpen&&t.panel?t._scrollActiveOptionIntoView():t._panelOpen||t.multiple||!t._keyManager.activeItem||t._keyManager.activeItem._selectViaInteraction()}))}},{key:"_resetOptions",value:function(){var t=this,e=ft(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(bk(e)).subscribe((function(e){t._onSelect(e.source,e.isUserInput),e.isUserInput&&!t.multiple&&t._panelOpen&&(t.close(),t.focus())})),ft.apply(void 0,u(this.options.map((function(t){return t._stateChanges})))).pipe(bk(e)).subscribe((function(){t._changeDetectorRef.markForCheck(),t.stateChanges.next()})),this._setOptionIds()}},{key:"_onSelect",value:function(t,e){var n=this._selectionModel.isSelected(t);null!=t.value||this._multiple?(n!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),e&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),e&&this.focus())):(t.deselect(),this._selectionModel.clear(),this._propagateChanges(t.value)),n!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var t=this;if(this.multiple){var e=this.options.toArray();this._selectionModel.sort((function(n,i){return t.sortComparator?t.sortComparator(n,i,e):e.indexOf(n)-e.indexOf(i)})),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(t){var e;e=this.multiple?this.selected.map((function(t){return t.value})):this.selected?this.selected.value:t,this._value=e,this.valueChange.emit(e),this._onChange(e),this.selectionChange.emit(new lO(this,e)),this._changeDetectorRef.markForCheck()}},{key:"_setOptionIds",value:function(){this._optionIds=this.options.map((function(t){return t.id})).join(" ")}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_scrollActiveOptionIntoView",value:function(){var t,e,n,i=this._keyManager.activeItemIndex||0,r=tM(i,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=(n=(i+r)*(t=this._getItemHeight()))<(e=this.panel.nativeElement.scrollTop)?n:n+t>e+256?Math.max(0,n-256+t):e}},{key:"focus",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_getOptionIndex",value:function(t){return this.options.reduce((function(e,n,i){return void 0!==e?e:t===n?i:void 0}),void 0)}},{key:"_calculateOverlayPosition",value:function(){var t=this._getItemHeight(),e=this._getItemCount(),n=Math.min(e*t,256),i=e*t-n,r=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);r+=tM(r,this.options,this.optionGroups);var a=n/2;this._scrollTop=this._calculateOverlayScroll(r,a,i),this._offsetY=this._calculateOverlayOffsetY(r,a,i),this._checkOverlayWithinViewport(i)}},{key:"_calculateOverlayScroll",value:function(t,e,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*t-e+i/2),n)}},{key:"_getAriaLabel",value:function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder}},{key:"_getAriaLabelledby",value:function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_calculateOverlayOffsetX",value:function(){var t,e=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)t=40;else{var a=this._selectionModel.selected[0]||this.options.first;t=a&&a.group?32:16}i||(t*=-1);var o=0-(e.left+t-(i?r:0)),s=e.right+t-n.width+(i?0:r);o>0?t+=o+8:s>0&&(t-=s+8),this.overlayDir.offsetX=Math.round(t),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(t,e,n){var i,r=this._getItemHeight(),a=(r-this._triggerRect.height)/2,o=Math.floor(256/r);return this._disableOptionCentering?0:(i=0===this._scrollTop?t*r:this._scrollTop===n?(t-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-256)%r):e-r/2,Math.round(-1*i-a))}},{key:"_checkOverlayWithinViewport",value:function(t){var e=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*e,256)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>i?this._adjustPanelDown(a,i,t):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(t,e){var n=Math.round(t-e);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(t,e,n){var i=Math.round(t-e);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_getOriginBasedOnOption",value:function(){var t=this._getItemHeight(),e=(t-this._triggerRect.height)/2,n=Math.abs(this._offsetY)-e+t/2;return"50% ".concat(n,"px 0px")}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"setDescribedByIds",value:function(t){this._ariaDescribedby=t.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(t){this._placeholder=t,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(t){this._required=Zb(t),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(t){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Zb(t)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(t){this._disableOptionCentering=Zb(t)}},{key:"compareWith",get:function(){return this._compareWith},set:function(t){if("function"!=typeof t)throw Error("`compareWith` must be a function.");this._compareWith=t,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(t){t!==this._value&&(this.writeValue(t),this._value=t)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(t){this._typeaheadDebounceInterval=$b(t)}},{key:"id",get:function(){return this._id},set:function(t){this._id=t||this._uid,this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var t=this._selectionModel.selected.map((function(t){return t.viewValue}));return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty}}]),n}(uO);return t.\u0275fac=function(e){return new(e||t)(as(Vk),as(xo),as(Mc),as(OS),as(El),as(Fk,8),as(AD,8),as(KD,8),as(DT,8),as(Ox,10),os("tabindex"),as(aO),as(lS),as(oO,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-select"]],contentQueries:function(t,e,n){var i;1&t&&(Ku(n,cO,!0),Ku(n,XS,!0),Ku(n,GS,!0)),2&t&&(Wu(i=$u())&&(e.customTrigger=i.first),Wu(i=$u())&&(e.options=i),Wu(i=$u())&&(e.optionGroups=i))},viewQuery:function(t,e){var n;1&t&&(qu(KP,!0),qu(JP,!0),qu(Fw,!0)),2&t&&(Wu(n=$u())&&(e.trigger=n.first),Wu(n=$u())&&(e.panel=n.first),Wu(n=$u())&&(e.overlayDir=n.first))},hostAttrs:["role","listbox",1,"mat-select"],hostVars:19,hostBindings:function(t,e){1&t&&_s("keydown",(function(t){return e._handleKeydown(t)}))("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()})),2&t&&(es("id",e.id)("tabindex",e.tabIndex)("aria-label",e._getAriaLabel())("aria-labelledby",e._getAriaLabelledby())("aria-required",e.required.toString())("aria-disabled",e.disabled.toString())("aria-invalid",e.errorState)("aria-owns",e.panelOpen?e._optionIds:null)("aria-multiselectable",e.multiple)("aria-describedby",e._ariaDescribedby||null)("aria-activedescendant",e._getAriaActiveDescendant()),zs("mat-select-disabled",e.disabled)("mat-select-invalid",e.errorState)("mat-select-required",e.required)("mat-select-empty",e.empty))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],id:"id",disableOptionCentering:"disableOptionCentering",typeaheadDebounceInterval:"typeaheadDebounceInterval",placeholder:"placeholder",required:"required",multiple:"multiple",compareWith:"compareWith",value:"value",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Dl([{provide:fT,useExisting:t},{provide:QS,useExisting:t}]),pl,nn],ngContentSelectors:nO,decls:9,vars:9,consts:[["cdk-overlay-origin","","aria-hidden","true",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder"],[1,"mat-select-value-text",3,"ngSwitch"],[4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-panel-wrap"],[3,"ngClass","keydown"],["panel",""]],template:function(t,e){if(1&t&&(xs(eO),us(0,"div",0,1),_s("click",(function(){return e.toggle()})),us(3,"div",2),is(4,ZP,2,1,"span",3),is(5,XP,3,2,"span",4),cs(),us(6,"div",5),ds(7,"div",6),cs(),cs(),is(8,tO,4,11,"ng-template",7),_s("backdropClick",(function(){return e.close()}))("attach",(function(){return e._onAttached()}))("detach",(function(){return e.close()}))),2&t){var n=rs(1);Kr(3),ss("ngSwitch",e.empty),Kr(1),ss("ngSwitchCase",!0),Kr(1),ss("ngSwitchCase",!1),Kr(3),ss("cdkConnectedOverlayScrollStrategy",e._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",e.panelOpen)("cdkConnectedOverlayPositions",e._positions)("cdkConnectedOverlayMinWidth",null==e._triggerRect?null:e._triggerRect.width)("cdkConnectedOverlayOffsetY",e._offsetY)}},directives:[Yw,Dh,Lh,Fw,Th,_h],styles:[".mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}\n"],encapsulation:2,data:{animation:[iO.transformPanelWrap,iO.transformPanel]},changeDetection:0}),t}(),fO=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[sO],imports:[[af,Nw,nM,MS],zk,TT,nM,MS]}),t}();function pO(t,e){if(1&t&&(ds(0,"input",7),Lu(1,"translate")),2&t){var n=Ms().$implicit;ss("formControlName",n.keyNameInFiltersObject)("maxlength",n.maxlength)("placeholder",Tu(1,3,n.filterName))}}function mO(t,e){if(1&t&&(us(0,"div",12),ds(1,"div",13),cs()),2&t){var n=Ms().$implicit,i=Ms(2).$implicit;Ws("background-image: url('"+i.printableLabelGeneralSettings.defaultImage+"'); width: "+i.printableLabelGeneralSettings.imageWidth+"px; height: "+i.printableLabelGeneralSettings.imageHeight+"px;"),Kr(1),Ws("background-image: url('"+n.image+"');")}}function gO(t,e){if(1&t&&(us(0,"mat-option",10),is(1,mO,2,4,"div",11),al(2),Lu(3,"translate"),cs()),2&t){var n=e.$implicit,i=Ms(2).$implicit;ss("value",n.value),Kr(1),ss("ngIf",i.printableLabelGeneralSettings&&n.image),Kr(1),sl(" ",Tu(3,3,n.label)," ")}}function vO(t,e){if(1&t&&(us(0,"mat-select",8),Lu(1,"translate"),is(2,gO,4,5,"mat-option",9),cs()),2&t){var n=Ms().$implicit;ss("formControlName",n.keyNameInFiltersObject)("placeholder",Tu(1,3,n.filterName)),Kr(2),ss("ngForOf",n.printableLabelsForValues)}}function _O(t,e){if(1&t&&(hs(0),us(1,"mat-form-field"),is(2,pO,2,5,"input",5),is(3,vO,3,5,"mat-select",6),cs(),fs()),2&t){var n=e.$implicit,i=Ms();Kr(2),ss("ngIf",n.type===i.filterFieldTypes.TextInput),Kr(1),ss("ngIf",n.type===i.filterFieldTypes.Select)}}var yO=function(){function t(t,e,n){this.data=t,this.dialogRef=e,this.formBuilder=n,this.filterFieldTypes=EP}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.smallModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this,e={};this.data.filterPropertiesList.forEach((function(n){e[n.keyNameInFiltersObject]=[t.data.currentFilters[n.keyNameInFiltersObject]]})),this.form=this.formBuilder.group(e)},t.prototype.apply=function(){var t=this,e={};this.data.filterPropertiesList.forEach((function(n){e[n.keyNameInFiltersObject]=t.form.get(n.keyNameInFiltersObject).value.trim()})),this.dialogRef.close(e)},t.\u0275fac=function(e){return new(e||t)(as(RC),as(YC),as(vL))},t.\u0275cmp=Fe({type:t,selectors:[["app-filters-selection"]],decls:8,vars:8,consts:[[3,"headline"],[3,"formGroup"],[4,"ngFor","ngForOf"],["color","primary",1,"float-right",3,"action"],["button",""],["matInput","",3,"formControlName","maxlength","placeholder",4,"ngIf"],[3,"formControlName","placeholder",4,"ngIf"],["matInput","",3,"formControlName","maxlength","placeholder"],[3,"formControlName","placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["class","image-container",3,"style",4,"ngIf"],[1,"image-container"],[1,"image"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"form",1),is(3,_O,4,2,"ng-container",2),cs(),us(4,"app-button",3,4),_s("action",(function(){return e.apply()})),al(6),Lu(7,"translate"),cs(),cs()),2&t&&(ss("headline",Tu(1,4,"filters.filter-action")),Kr(2),ss("formGroup",e.form),Kr(1),ss("ngForOf",e.data.filterPropertiesList),Kr(3),sl(" ",Tu(7,6,"common.ok")," "))},directives:[LL,zD,Ax,KD,kh,FL,LT,Sh,BT,xx,Ix,eL,hL,hO,XS],pipes:[mC],styles:[".image-container[_ngcontent-%COMP%]{display:inline-block;background-size:contain;margin-right:5px}.image-container[_ngcontent-%COMP%] .image[_ngcontent-%COMP%]{background-size:contain;width:100%;height:100%}"]}),t}(),bO=function(){function t(t,e,n,i,r){var a=this;this.dialog=t,this.route=e,this.router=n,this.currentFiltersTextsInternal=[],this.dataUpdatedSubject=new W,this.filterPropertiesList=i,this.currentFilters={},this.filterPropertiesList.forEach((function(t){t.keyNameInFiltersObject=r+"_"+t.keyNameInElementsArray,a.currentFilters[t.keyNameInFiltersObject]=""})),this.navigationsSubscription=this.route.queryParamMap.subscribe((function(t){Object.keys(a.currentFilters).forEach((function(e){t.has(e)&&(a.currentFilters[e]=t.get(e))})),a.currentUrlQueryParamsInternal={},t.keys.forEach((function(e){a.currentUrlQueryParamsInternal[e]=t.get(e)})),a.filter()}))}return Object.defineProperty(t.prototype,"currentFiltersTexts",{get:function(){return this.currentFiltersTextsInternal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentUrlQueryParams",{get:function(){return this.currentUrlQueryParamsInternal},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataFiltered",{get:function(){return this.dataUpdatedSubject.asObservable()},enumerable:!1,configurable:!0}),t.prototype.dispose=function(){this.dataUpdatedSubject.complete(),this.navigationsSubscription.unsubscribe()},t.prototype.setData=function(t){this.data=t,this.filter()},t.prototype.removeFilters=function(){var t=this,e=DP.createConfirmationDialog(this.dialog,"filters.remove-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.closeModal(),t.router.navigate([],{queryParams:{}})}))},t.prototype.changeFilters=function(){var t=this;yO.openDialog(this.dialog,{filterPropertiesList:this.filterPropertiesList,currentFilters:this.currentFilters}).afterClosed().subscribe((function(e){e&&t.router.navigate([],{queryParams:e})}))},t.prototype.filter=function(){var t=this;if(this.data){var e=void 0,n=!1;Object.keys(this.currentFilters).forEach((function(e){t.currentFilters[e]&&(n=!0)})),n?(e=function(t,e,n){if(t){var i=[];return Object.keys(e).forEach((function(t){if(e[t])for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(e,Math.min(n,t))}var LO=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},imports:[[af,MS],MS]}),t}();function TO(t,e){1&t&&(hs(0),ds(1,"mat-spinner",7),al(2),Lu(3,"translate"),fs()),2&t&&(Kr(1),ss("diameter",12),Kr(1),sl(" ",Tu(3,2,"update.processing")," "))}function PO(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms();Kr(1),sl(" ",Tu(2,1,n.errorText)," ")}}function OO(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms();Kr(1),sl(" ",Tu(2,1,1===n.data.length?"update.no-update":"update.no-updates")," ")}}function EO(t,e){if(1&t&&(us(0,"div",8),us(1,"div",9),us(2,"div",10),al(3,"-"),cs(),us(4,"div",11),al(5),Lu(6,"translate"),cs(),cs(),cs()),2&t){var n=Ms();Kr(5),ol(n.currentNodeVersion?n.currentNodeVersion:Tu(6,1,"common.unknown"))}}function IO(t,e){if(1&t&&(us(0,"div",9),us(1,"div",10),al(2,"-"),cs(),us(3,"div",11),al(4),cs(),cs()),2&t){var n=e.$implicit,i=Ms(2);Kr(4),ol(i.nodesToUpdate[n].label)}}function AO(t,e){if(1&t&&(hs(0),us(1,"div",1),al(2),Lu(3,"translate"),cs(),us(4,"div",8),is(5,IO,5,1,"div",12),cs(),fs()),2&t){var n=Ms();Kr(2),sl(" ",Tu(3,2,"update.already-updating")," "),Kr(3),ss("ngForOf",n.indexesAlreadyBeingUpdated)}}function YO(t,e){if(1&t&&(us(0,"span",15),al(1),Lu(2,"translate"),cs()),2&t){var n=Ms(3);Kr(1),ll("",Tu(2,2,"update.selected-channel")," ",n.customChannel,"")}}function FO(t,e){if(1&t&&(us(0,"div",9),us(1,"div",10),al(2,"-"),cs(),us(3,"div",11),al(4),Lu(5,"translate"),us(6,"a",13),al(7),cs(),is(8,YO,3,4,"span",14),cs(),cs()),2&t){var n=e.$implicit,i=Ms(2);Kr(4),sl(" ",Pu(5,4,"update.version-change",n)," "),Kr(2),ss("href",n.updateLink,Lr),Kr(1),ol(n.updateLink),Kr(1),ss("ngIf",i.customChannel)}}var RO=function(t){return{number:t}};function NO(t,e){if(1&t&&(hs(0),us(1,"div",1),al(2),Lu(3,"translate"),cs(),us(4,"div",8),is(5,FO,9,7,"div",12),cs(),us(6,"div",1),al(7),Lu(8,"translate"),cs(),fs()),2&t){var n=Ms();Kr(2),sl(" ",Pu(3,3,n.updateAvailableText,Su(8,RO,n.nodesForUpdatesFound))," "),Kr(3),ss("ngForOf",n.updatesFound),Kr(2),sl(" ",Tu(8,6,"update.update-instructions")," ")}}function HO(t,e){1&t&&ds(0,"mat-spinner",7),2&t&&ss("diameter",12)}function jO(t,e){1&t&&(us(0,"span",21),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),sl("\xa0(",Tu(2,1,"update.finished"),")"))}function BO(t,e){if(1&t&&(us(0,"div",8),us(1,"div",9),us(2,"div",10),al(3,"-"),cs(),us(4,"div",11),is(5,HO,1,1,"mat-spinner",18),al(6),us(7,"span",19),al(8),cs(),is(9,jO,3,3,"span",20),cs(),cs(),cs()),2&t){var n=Ms(2).$implicit;Kr(5),ss("ngIf",!n.updateProgressInfo.closed),Kr(1),sl(" ",n.label," : "),Kr(2),ol(n.updateProgressInfo.rawMsg),Kr(1),ss("ngIf",n.updateProgressInfo.closed)}}function VO(t,e){1&t&&ds(0,"mat-spinner",7),2&t&&ss("diameter",12)}function zO(t,e){1&t&&(hs(0),ds(1,"br"),us(2,"span",21),al(3),Lu(4,"translate"),cs(),fs()),2&t&&(Kr(3),ol(Tu(4,1,"update.finished")))}function WO(t,e){if(1&t&&(us(0,"div",22),us(1,"div",23),is(2,VO,1,1,"mat-spinner",18),al(3),cs(),ds(4,"mat-progress-bar",24),us(5,"div",19),al(6),Lu(7,"translate"),ds(8,"br"),al(9),Lu(10,"translate"),ds(11,"br"),al(12),Lu(13,"translate"),Lu(14,"translate"),is(15,zO,5,3,"ng-container",2),cs(),cs()),2&t){var n=Ms(2).$implicit;Kr(2),ss("ngIf",!n.updateProgressInfo.closed),Kr(1),sl(" ",n.label," "),Kr(1),ss("mode","determinate")("value",n.updateProgressInfo.progress),Kr(2),ul(" ",Tu(7,14,"update.downloaded-file-name-prefix")," ",n.updateProgressInfo.fileName," (",n.updateProgressInfo.progress,"%) "),Kr(3),ll(" ",Tu(10,16,"update.speed-prefix")," ",n.updateProgressInfo.speed," "),Kr(3),cl(" ",Tu(13,18,"update.time-downloading-prefix")," ",n.updateProgressInfo.elapsedTime," / ",Tu(14,20,"update.time-left-prefix")," ",n.updateProgressInfo.remainingTime," "),Kr(3),ss("ngIf",n.updateProgressInfo.closed)}}function UO(t,e){if(1&t&&(us(0,"div",8),us(1,"div",9),us(2,"div",10),al(3,"-"),cs(),us(4,"div",11),al(5),us(6,"span",25),al(7),Lu(8,"translate"),cs(),cs(),cs(),cs()),2&t){var n=Ms(2).$implicit;Kr(5),sl(" ",n.label,": "),Kr(2),ol(Tu(8,2,n.updateProgressInfo.errorMsg))}}function qO(t,e){if(1&t&&(hs(0),is(1,BO,10,4,"div",3),is(2,WO,16,22,"div",17),is(3,UO,9,4,"div",3),fs()),2&t){var n=Ms().$implicit;Kr(1),ss("ngIf",!n.updateProgressInfo.errorMsg&&!n.updateProgressInfo.dataParsed),Kr(1),ss("ngIf",!n.updateProgressInfo.errorMsg&&n.updateProgressInfo.dataParsed),Kr(1),ss("ngIf",n.updateProgressInfo.errorMsg)}}function GO(t,e){if(1&t&&(hs(0),is(1,qO,4,3,"ng-container",2),fs()),2&t){var n=e.$implicit;Kr(1),ss("ngIf",n.update)}}function KO(t,e){if(1&t&&(hs(0),us(1,"div",1),al(2),Lu(3,"translate"),cs(),us(4,"div"),is(5,GO,2,1,"ng-container",16),cs(),fs()),2&t){var n=Ms();Kr(2),sl(" ",Tu(3,2,"update.updating")," "),Kr(3),ss("ngForOf",n.nodesToUpdate)}}function JO(t,e){if(1&t){var n=ms();us(0,"app-button",26,27),_s("action",(function(){return Dn(n),Ms().closeModal()})),al(2),Lu(3,"translate"),cs()}if(2&t){var i=Ms();Kr(2),sl(" ",Tu(3,1,i.cancelButtonText)," ")}}function ZO(t,e){if(1&t){var n=ms();us(0,"app-button",28,29),_s("action",(function(){Dn(n);var t=Ms();return t.state===t.updatingStates.Asking?t.update():t.closeModal()})),al(2),Lu(3,"translate"),cs()}if(2&t){var i=Ms();Kr(2),sl(" ",Tu(3,1,i.confirmButtonText)," ")}}var $O=function(t){return t.InitialProcessing="InitialProcessing",t.NoUpdatesFound="NoUpdatesFound",t.Asking="Asking",t.Updating="Updating",t.Error="Error",t}({}),QO=function(){return function(){this.errorMsg="",this.rawMsg="",this.dataParsed=!1,this.fileName="",this.progress=100,this.speed="",this.elapsedTime="",this.remainingTime="",this.closed=!1}}(),XO=function(){function t(t,e,n,i,r,a){this.dialogRef=t,this.data=e,this.nodeService=n,this.storageService=i,this.translateService=r,this.changeDetectorRef=a,this.state=$O.InitialProcessing,this.cancelButtonText="common.cancel",this.indexesAlreadyBeingUpdated=[],this.customChannel=localStorage.getItem(mP.Channel),this.updatingStates=$O}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.smallModalWidth,e.open(t,i)},t.prototype.ngAfterViewInit=function(){this.startChecking()},t.prototype.startChecking=function(){var t=this;this.nodesToUpdate=[],this.data.forEach((function(e){t.nodesToUpdate.push({key:e.key,label:e.label,update:!1,updateProgressInfo:new QO}),t.nodesToUpdate[t.nodesToUpdate.length-1].updateProgressInfo.rawMsg=t.translateService.instant("update.starting")})),this.subscription=OM(this.data.map((function(e){return t.nodeService.checkIfUpdating(e.key)}))).subscribe((function(e){e.forEach((function(e,n){e.running&&(t.indexesAlreadyBeingUpdated.push(n),t.nodesToUpdate[n].update=!0)})),t.indexesAlreadyBeingUpdated.length===t.data.length?t.update():t.checkUpdates()}),(function(e){t.changeState($O.Error),t.errorText=MC(e).translatableErrorMsg}))},t.prototype.checkUpdates=function(){var t=this;this.nodesForUpdatesFound=0,this.updatesFound=[];var e=[];this.nodesToUpdate.forEach((function(t){t.update||e.push(t)})),this.subscription=OM(e.map((function(e){return t.nodeService.checkUpdate(e.key)}))).subscribe((function(n){var i=new Map;n.forEach((function(n,r){n&&n.available&&(t.nodesForUpdatesFound+=1,e[r].update=!0,i.has(n.current_version+n.available_version)||(t.updatesFound.push({currentVersion:n.current_version?n.current_version:t.translateService.instant("common.unknown"),newVersion:n.available_version,updateLink:n.release_url}),i.set(n.current_version+n.available_version,!0)))})),t.nodesForUpdatesFound>0?t.changeState($O.Asking):0===t.indexesAlreadyBeingUpdated.length?(t.changeState($O.NoUpdatesFound),1===t.data.length&&(t.currentNodeVersion=n[0].current_version)):t.update()}),(function(e){t.changeState($O.Error),t.errorText=MC(e).translatableErrorMsg}))},t.prototype.update=function(){var t=this;this.changeState($O.Updating),this.progressSubscriptions=[],this.nodesToUpdate.forEach((function(e,n){e.update&&t.progressSubscriptions.push(t.nodeService.update(e.key).subscribe((function(n){t.updateProgressInfo(n.status,e.updateProgressInfo)}),(function(t){e.updateProgressInfo.errorMsg=MC(t).translatableErrorMsg}),(function(){e.updateProgressInfo.closed=!0})))}))},Object.defineProperty(t.prototype,"updateAvailableText",{get:function(){if(1===this.data.length)return"update.update-available";var t="update.update-available";return this.indexesAlreadyBeingUpdated.length>0&&(t+="-additional"),t+(1===this.nodesForUpdatesFound?"-singular":"-plural")},enumerable:!1,configurable:!0}),t.prototype.updateProgressInfo=function(t,e){e.rawMsg=t,e.dataParsed=!1;var n=t.indexOf("Downloading"),i=t.lastIndexOf("("),r=t.lastIndexOf(")"),a=t.lastIndexOf("["),o=t.lastIndexOf("]"),s=t.lastIndexOf(":"),l=t.lastIndexOf("%");if(-1!==n&&-1!==i&&-1!==r&&-1!==a&&-1!==o&&-1!==s){var u=!1;i>r&&(u=!0),a>s&&(u=!0),s>o&&(u=!0),(l>i||l0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hk;return(!gk(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=hk),new H((function(n){return n.add(e.schedule(kO,t,{subscriber:n,counter:0,period:t})),n}))}(1e3).subscribe((function(){return e.changeDetectorRef.detectChanges()})))},t.\u0275fac=function(e){return new(e||t)(as(YC),as(RC),as(gP),as(Jb),as(fC),as(xo))},t.\u0275cmp=Fe({type:t,selectors:[["app-update"]],decls:13,vars:12,consts:[[3,"headline"],[1,"text-container"],[4,"ngIf"],["class","list-container",4,"ngIf"],[1,"buttons"],["type","mat-raised-button","color","accent",3,"action",4,"ngIf"],["type","mat-raised-button","color","primary",3,"action",4,"ngIf"],[1,"loading-indicator",3,"diameter"],[1,"list-container"],[1,"list-element"],[1,"left-part"],[1,"right-part"],["class","list-element",4,"ngFor","ngForOf"],["target","_blank","rel","noreferrer nofollow noopener",3,"href"],["class","channel",4,"ngIf"],[1,"channel"],[4,"ngFor","ngForOf"],["class","progress-container",4,"ngIf"],["class","loading-indicator",3,"diameter",4,"ngIf"],[1,"details"],["class","closed-indication",4,"ngIf"],[1,"closed-indication"],[1,"progress-container"],[1,"name"],["color","accent",3,"mode","value"],[1,"red-text"],["type","mat-raised-button","color","accent",3,"action"],["cancelButton",""],["type","mat-raised-button","color","primary",3,"action"],["confirmButton",""]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"div",1),is(3,TO,4,4,"ng-container",2),is(4,PO,3,3,"ng-container",2),is(5,OO,3,3,"ng-container",2),cs(),is(6,EO,7,3,"div",3),is(7,AO,6,4,"ng-container",2),is(8,NO,9,10,"ng-container",2),is(9,KO,6,4,"ng-container",2),us(10,"div",4),is(11,JO,4,3,"app-button",5),is(12,ZO,4,3,"app-button",6),cs(),cs()),2&t&&(ss("headline",Tu(1,10,e.state!==e.updatingStates.Error?"update.title":"update.error-title")),Kr(3),ss("ngIf",e.state===e.updatingStates.InitialProcessing),Kr(1),ss("ngIf",e.state===e.updatingStates.Error),Kr(1),ss("ngIf",e.state===e.updatingStates.NoUpdatesFound),Kr(1),ss("ngIf",e.state===e.updatingStates.NoUpdatesFound&&1===e.data.length),Kr(1),ss("ngIf",e.state===e.updatingStates.Asking&&e.indexesAlreadyBeingUpdated.length>0),Kr(1),ss("ngIf",e.state===e.updatingStates.Asking),Kr(1),ss("ngIf",e.state===e.updatingStates.Updating),Kr(2),ss("ngIf",e.cancelButtonText),Kr(1),ss("ngIf",e.confirmButtonText))},directives:[LL,Sh,gx,kh,xO,FL],pipes:[mC],styles:[".list-container[_ngcontent-%COMP%], .text-container[_ngcontent-%COMP%]{word-break:break-word}.list-container[_ngcontent-%COMP%]{font-size:14px;margin:10px;color:#215f9e}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%]{display:flex}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .left-part[_ngcontent-%COMP%]{width:12px;flex-grow:0;flex-shrink:0}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%]{flex-grow:1}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none;color:#215f9e;font-size:.7rem;line-height:1;display:block}.list-container[_ngcontent-%COMP%] .list-element[_ngcontent-%COMP%] .right-part[_ngcontent-%COMP%] .channel[_ngcontent-%COMP%]{font-size:.7rem;line-height:1}.list-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{color:#777}.buttons[_ngcontent-%COMP%]{margin-top:15px;text-align:right}.buttons[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-left:5px}.progress-container[_ngcontent-%COMP%]{margin:10px 0}.progress-container[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:.7rem;color:#215f9e}.progress-container[_ngcontent-%COMP%] .mat-progress-bar-fill:after{background-color:#215f9e!important}.progress-container[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{font-size:.7rem;text-align:right;color:#777}.closed-indication[_ngcontent-%COMP%]{color:#d48b05}.loading-indicator[_ngcontent-%COMP%]{display:inline-block;position:relative;top:2px}"]}),t}();function tE(t){return function(e){return e.lift(new eE(t,e))}}var eE=function(){function t(e,n){_(this,t),this.notifier=e,this.source=n}return b(t,[{key:"call",value:function(t,e){return e.subscribe(new nE(t,this.notifier,this.source))}}]),t}(),nE=function(t){f(n,t);var e=v(n);function n(t,i,r){var a;return _(this,n),(a=e.call(this,t)).notifier=i,a.source=r,a}return b(n,[{key:"error",value:function(t){if(!this.isStopped){var e=this.errors,a=this.retries,o=this.retriesSubscription;if(a)this.errors=null,this.retriesSubscription=null;else{e=new W;try{a=(0,this.notifier)(e)}catch(s){return r(i(n.prototype),"error",this).call(this,s)}o=tt(this,a)}this._unsubscribeAndRecycle(),this.errors=e,this.retries=a,this.retriesSubscription=o,e.next(t)}}},{key:"_unsubscribe",value:function(){var t=this.errors,e=this.retriesSubscription;t&&(t.unsubscribe(),this.errors=null),e&&(e.unsubscribe(),this.retriesSubscription=null),this.retries=null}},{key:"notifyNext",value:function(t,e,n,i,r){var a=this._unsubscribe;this._unsubscribe=null,this._unsubscribeAndRecycle(),this._unsubscribe=a,this.source.subscribe(this)}}]),n}(et),iE=function(){function t(t){this.apiService=t}return t.prototype.changeAppState=function(t,e,n){return this.apiService.put("visors/"+t+"/apps/"+encodeURIComponent(e),{status:n?1:0})},t.prototype.changeAppAutostart=function(t,e,n){return this.changeAppSettings(t,e,{autostart:n})},t.prototype.changeAppSettings=function(t,e,n){return this.apiService.put("visors/"+t+"/apps/"+encodeURIComponent(e),n)},t.prototype.getLogMessages=function(t,e,n){var i=Ud(-1!==n?Date.now()-864e5*n:0,"yyyy-MM-ddTHH:mm:ssZZZZZ","en-US");return this.apiService.get("visors/"+t+"/apps/"+encodeURIComponent(e)+"/logs?since="+i).pipe(nt((function(t){return t.logs})))},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(rx))},providedIn:"root"}),t}(),rE=function(t){return t.None="None",t.Favorite="Favorite",t.Blocked="Blocked",t}({}),aE=function(t){return t.BitsSpeedAndBytesVolume="BitsSpeedAndBytesVolume",t.OnlyBytes="OnlyBytes",t.OnlyBits="OnlyBits",t}({}),oE=function(){function t(t){this.router=t,this.maxHistoryElements=30,this.savedServersStorageKey="VpnServers",this.checkIpSettingStorageKey="VpnGetIp",this.dataUnitsSettingStorageKey="VpnDataUnits",this.serversMap=new Map,this.savedDataVersion=0,this.currentServerSubject=new qb(1),this.historySubject=new qb(1),this.favoritesSubject=new qb(1),this.blockedSubject=new qb(1)}return t.prototype.initialize=function(){var t=this;this.serversMap=new Map;var e=localStorage.getItem(this.savedServersStorageKey);if(e){var n=JSON.parse(e);n.serverList.forEach((function(e){t.serversMap.set(e.pk,e)})),this.savedDataVersion=n.version,n.selectedServerPk&&this.updateCurrentServerPk(n.selectedServerPk)}this.launchListEvents()},Object.defineProperty(t.prototype,"currentServer",{get:function(){return this.serversMap.get(this.currentServerPk)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"currentServerObservable",{get:function(){return this.currentServerSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"history",{get:function(){return this.historySubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"favorites",{get:function(){return this.favoritesSubject.asObservable()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"blocked",{get:function(){return this.blockedSubject.asObservable()},enumerable:!1,configurable:!0}),t.prototype.getSavedVersion=function(t,e){return e&&this.checkIfDataWasChanged(),this.serversMap.get(t)},t.prototype.getCheckIpSetting=function(){var t=localStorage.getItem(this.checkIpSettingStorageKey);return null==t||"false"!==t},t.prototype.setCheckIpSetting=function(t){localStorage.setItem(this.checkIpSettingStorageKey,t?"true":"false")},t.prototype.getDataUnitsSetting=function(){var t=localStorage.getItem(this.dataUnitsSettingStorageKey);return null==t?aE.BitsSpeedAndBytesVolume:t},t.prototype.setDataUnitsSetting=function(t){localStorage.setItem(this.dataUnitsSettingStorageKey,t)},t.prototype.updateFromDiscovery=function(t){var e=this;this.checkIfDataWasChanged(),t.forEach((function(t){if(e.serversMap.has(t.pk)){var n=e.serversMap.get(t.pk);n.countryCode=t.countryCode,n.name=t.name,n.location=t.location,n.note=t.note}})),this.saveData()},t.prototype.updateServer=function(t){this.serversMap.set(t.pk,t),this.cleanServers(),this.saveData()},t.prototype.processFromDiscovery=function(t){this.checkIfDataWasChanged();var e=this.serversMap.get(t.pk);return e?(e.countryCode=t.countryCode,e.name=t.name,e.location=t.location,e.note=t.note,this.saveData(),e):{countryCode:t.countryCode,name:t.name,customName:null,pk:t.pk,lastUsed:0,inHistory:!1,flag:rE.None,location:t.location,personalNote:null,note:t.note,enteredManually:!1,usedWithPassword:!1}},t.prototype.processFromManual=function(t){this.checkIfDataWasChanged();var e=this.serversMap.get(t.pk);return e?(e.customName=t.name,e.personalNote=t.note,e.enteredManually=!0,this.saveData(),e):{countryCode:"zz",name:"",customName:t.name,pk:t.pk,lastUsed:0,inHistory:!1,flag:rE.None,location:"",personalNote:t.note,note:"",enteredManually:!0,usedWithPassword:!1}},t.prototype.changeFlag=function(t,e){this.checkIfDataWasChanged();var n=this.serversMap.get(t.pk);n&&(t=n),t.flag!==e&&(t.flag=e,this.serversMap.has(t.pk)||this.serversMap.set(t.pk,t),this.cleanServers(),this.saveData())},t.prototype.removeFromHistory=function(t){this.checkIfDataWasChanged();var e=this.serversMap.get(t);e&&e.inHistory&&(e.inHistory=!1,this.cleanServers(),this.saveData())},t.prototype.modifyCurrentServer=function(t){this.checkIfDataWasChanged(),t.pk!==this.currentServerPk&&(this.serversMap.has(t.pk)||this.serversMap.set(t.pk,t),this.updateCurrentServerPk(t.pk),this.cleanServers(),this.saveData())},t.prototype.compareCurrentServer=function(t){if(this.checkIfDataWasChanged(),t&&(!this.currentServerPk||this.currentServerPk!==t)){if(this.currentServerPk=t,!this.serversMap.get(t)){var e=this.processFromManual({pk:t});this.serversMap.set(e.pk,e),this.cleanServers()}this.saveData(),this.currentServerSubject.next(this.currentServer)}},t.prototype.updateHistory=function(){var t=this;this.checkIfDataWasChanged(),this.currentServer.lastUsed=Date.now(),this.currentServer.inHistory=!0;var e=[];this.serversMap.forEach((function(t){t.inHistory&&e.push(t)})),e=e.sort((function(t,e){return e.lastUsed-t.lastUsed}));var n=0;e.forEach((function(e){n=20&&this.lastServiceState<200&&(this.checkBeforeChangingAppState(!1),!0)},t.prototype.getIp=function(){var t=this;return this.http.request("GET","https://api.ipify.org?format=json").pipe(tE((function(e){return Yv(e.pipe(iP(t.standardWaitTime),Sv(4)),Bb(""))})),nt((function(t){return t&&t.ip?t.ip:null})))},t.prototype.getIpCountry=function(t){return this.http.request("GET","https://ip2c.org/"+t,{responseType:"text"}).pipe(tE((function(t){return Yv(t.pipe(iP(2e3),Sv(4)),Bb(""))})),nt((function(t){var e=null;if(t){var n=t.split(";");4===n.length&&(e=n[3])}return e})))},t.prototype.changeServerUsingHistory=function(t,e){return this.requestedServer=t,this.requestedPassword=e,this.updateRequestedServerPasswordSetting(),this.changeServer()},t.prototype.changeServerUsingDiscovery=function(t,e){return this.requestedServer=this.vpnSavedDataService.processFromDiscovery(t),this.requestedPassword=e,this.updateRequestedServerPasswordSetting(),this.changeServer()},t.prototype.changeServerManually=function(t,e){return this.requestedServer=this.vpnSavedDataService.processFromManual(t),this.requestedPassword=e,this.updateRequestedServerPasswordSetting(),this.changeServer()},t.prototype.updateRequestedServerPasswordSetting=function(){this.requestedServer.usedWithPassword=!!this.requestedPassword&&""!==this.requestedPassword;var t=this.vpnSavedDataService.getSavedVersion(this.requestedServer.pk,!0);t&&(t.usedWithPassword=this.requestedServer.usedWithPassword,this.vpnSavedDataService.updateServer(t))},t.prototype.changeServer=function(){return!this.working&&(this.stop()||this.processServerChange(),!0)},t.prototype.checkNewPk=function(t){return this.working?hE.Busy:this.lastServiceState!==dE.Off?t===this.vpnSavedDataService.currentServer.pk?hE.SamePkRunning:hE.MustStop:this.vpnSavedDataService.currentServer&&t===this.vpnSavedDataService.currentServer.pk?hE.SamePkStopped:hE.Ok},t.prototype.processServerChange=function(){var t=this;this.dataSubscription&&this.dataSubscription.unsubscribe();var e={pk:this.requestedServer.pk};e.passcode=this.requestedPassword?this.requestedPassword:"",this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,e).subscribe((function(){t.vpnSavedDataService.modifyCurrentServer(t.requestedServer),t.requestedServer=null,t.requestedPassword=null,t.working=!1,t.start()}),(function(e){e=MC(e),t.snackbarService.showError("vpn.server-change.backend-error",null,!1,e.originalServerErrorMsg),t.working=!1,t.requestedServer=null,t.requestedPassword=null,t.sendUpdate(),t.updateData()}))},t.prototype.checkBeforeChangingAppState=function(t){var e=this;this.working||(this.stopContinuallyUpdatingData(),this.working=!0,this.sendUpdate(),t?(this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.apiService.get("visors/"+this.nodeKey).pipe(st((function(t){var n=!1;return t.transports&&t.transports.length>0&&t.transports.forEach((function(t){t.remote_pk===e.vpnSavedDataService.currentServer.pk&&(n=!0)})),n?mg(null):e.transportService.create(e.nodeKey,e.vpnSavedDataService.currentServer.pk,"dmsg")})),tE((function(t){return Yv(t.pipe(iP(e.standardWaitTime),Sv(3)),t.pipe(st((function(t){return Bb(t)}))))}))).subscribe((function(){e.changeAppState(t)}),(function(t){t=MC(t),e.snackbarService.showError("vpn.status-page.problem-connecting-error",null,!1,t.originalServerErrorMsg),e.working=!1,e.sendUpdate(),e.updateData()}))):this.changeAppState(t))},t.prototype.changeAppState=function(t){var e=this,n={status:1};t?(this.lastServiceState=dE.Starting,this.connectionHistoryPk=null):(this.lastServiceState=dE.Disconnecting,n.status=0),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=this.appsService.changeAppSettings(this.nodeKey,this.vpnClientAppName,n).pipe(bv((function(n){return e.getVpnClientState().pipe(st((function(e){if(e){if(t&&e.running)return mg(!0);if(!t&&!e.running)return mg(!0)}return Bb(n)})))})),tE((function(t){return Yv(t.pipe(iP(e.standardWaitTime),Sv(3)),t.pipe(st((function(t){return Bb(t)}))))}))).subscribe((function(){e.working=!1,t?(e.currentEventData.vpnClientAppData.running=!0,e.lastServiceState=dE.Running,e.vpnSavedDataService.updateHistory()):(e.currentEventData.vpnClientAppData.running=!1,e.lastServiceState=dE.Off),e.sendUpdate(),e.updateData(),!t&&e.requestedServer&&e.processServerChange()}),(function(t){t=MC(t),e.snackbarService.showError(e.lastServiceState===dE.Starting?"vpn.status-page.problem-starting-error":e.lastServiceState===dE.Disconnecting?"vpn.status-page.problem-stopping-error":"vpn.status-page.generic-problem-error",null,!1,t.originalServerErrorMsg),e.working=!1,e.sendUpdate(),e.updateData()}))},t.prototype.continuallyUpdateData=function(t){var e=this;this.working&&this.lastServiceState!==dE.PerformingInitialCheck||(this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe(),this.continuousUpdateSubscription=mg(0).pipe(iP(t),st((function(){return e.getVpnClientState()})),tE((function(t){return Yv(t.pipe(iP(e.standardWaitTime),Sv(e.lastServiceState===dE.PerformingInitialCheck?5:1e9)),Bb(""))}))).subscribe((function(t){t?(e.lastServiceState===dE.PerformingInitialCheck&&(e.working=!1),e.vpnSavedDataService.compareCurrentServer(t.serverPk),e.lastServiceState=t.running?dE.Running:dE.Off,e.currentEventData.vpnClientAppData=t,e.currentEventData.updateDate=Date.now(),e.sendUpdate()):e.lastServiceState===dE.PerformingInitialCheck&&(e.router.navigate(["vpn","unavailable"]),e.nodeKey=null),e.continuallyUpdateData(e.standardWaitTime)}),(function(){e.router.navigate(["vpn","unavailable"]),e.nodeKey=null})))},t.prototype.stopContinuallyUpdatingData=function(){this.continuousUpdateSubscription&&this.continuousUpdateSubscription.unsubscribe()},t.prototype.getVpnClientState=function(){var t,e=this;return this.apiService.get("visors/"+this.nodeKey).pipe(st((function(n){var i;if(n&&n.apps&&n.apps.length>0&&n.apps.forEach((function(t){t.name===e.vpnClientAppName&&(i=t)})),i&&((t=new uE).running=0!==i.status,t.appState=sE.Stopped,i.detailed_status===sE.Connecting?t.appState=sE.Connecting:i.detailed_status===sE.Running?t.appState=sE.Running:i.detailed_status===sE.ShuttingDown?t.appState=sE.ShuttingDown:i.detailed_status===sE.Reconnecting&&(t.appState=sE.Reconnecting),t.killswitch=!1,i.args&&i.args.length>0))for(var r=0;r0){var i=new cE;n.forEach((function(t){i.latency+=t.latency/n.length,i.uploadSpeed+=t.upload_speed/n.length,i.downloadSpeed+=t.download_speed/n.length,i.totalUploaded+=t.bandwidth_sent,i.totalDownloaded+=t.bandwidth_received})),e.connectionHistoryPk&&e.connectionHistoryPk===t.serverPk||(e.connectionHistoryPk=t.serverPk,e.uploadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],e.downloadSpeedHistory=[0,0,0,0,0,0,0,0,0,0],e.latencyHistory=[0,0,0,0,0,0,0,0,0,0]),i.latency=Math.round(i.latency),i.uploadSpeed=Math.round(i.uploadSpeed),i.downloadSpeed=Math.round(i.downloadSpeed),i.totalUploaded=Math.round(i.totalUploaded),i.totalDownloaded=Math.round(i.totalDownloaded),e.uploadSpeedHistory.splice(0,1),e.uploadSpeedHistory.push(i.uploadSpeed),i.uploadSpeedHistory=e.uploadSpeedHistory,e.downloadSpeedHistory.splice(0,1),e.downloadSpeedHistory.push(i.downloadSpeed),i.downloadSpeedHistory=e.downloadSpeedHistory,e.latencyHistory.splice(0,1),e.latencyHistory.push(i.latency),i.latencyHistory=e.latencyHistory,t.connectionData=i}return t})))},t.prototype.sendUpdate=function(){this.currentEventData.serviceState=this.lastServiceState,this.currentEventData.busy=this.working,this.stateSubject.next(this.currentEventData)},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(rx),ge(iE),ge(cb),ge(oE),ge(Rg),ge(CC),ge(dP))},providedIn:"root"}),t}(),pE=["firstInput"],mE=function(){function t(t,e,n,i,r){this.dialogRef=t,this.data=e,this.formBuilder=n,this.snackbarService=i,this.vpnSavedDataService=r}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.mediumModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({value:[(this.data.editName?this.data.server.customName:this.data.server.personalNote)||""]}),setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.process=function(){var t=this.vpnSavedDataService.getSavedVersion(this.data.server.pk,!0);t=t||this.data.server;var e=this.form.get("value").value;e!==(this.data.editName?this.data.server.customName:this.data.server.personalNote)?(this.data.editName?t.customName=e:t.personalNote=e,this.vpnSavedDataService.updateServer(t),this.snackbarService.showDone("vpn.server-options.edit-value.changes-made-confirmation"),this.dialogRef.close(!0)):this.dialogRef.close()},t.\u0275fac=function(e){return new(e||t)(as(YC),as(RC),as(vL),as(CC),as(oE))},t.\u0275cmp=Fe({type:t,selectors:[["app-edit-vpn-server-value"]],viewQuery:function(t,e){var n;1&t&&qu(pE,!0),2&t&&Wu(n=$u())&&(e.firstInput=n.first)},decls:10,vars:10,consts:[[3,"headline"],[3,"formGroup"],["formControlName","value","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"action"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"form",1),us(3,"mat-form-field"),ds(4,"input",2,3),Lu(6,"translate"),cs(),cs(),us(7,"app-button",4),_s("action",(function(){return e.process()})),al(8),Lu(9,"translate"),cs(),cs()),2&t&&(ss("headline",Tu(1,4,"vpn.server-options.edit-value."+(e.data.editName?"name":"note")+"-title")),Kr(2),ss("formGroup",e.form),Kr(2),ss("placeholder",Tu(6,6,"vpn.server-options.edit-value."+(e.data.editName?"name":"note")+"-label")),Kr(4),sl(" ",Tu(9,8,"vpn.server-options.edit-value.apply-button")," "))},directives:[LL,zD,Ax,KD,LT,xx,BT,Ix,eL,hL,FL],pipes:[mC],styles:[""]}),t}(),gE=["firstInput"],vE=function(){function t(t,e,n){this.dialogRef=t,this.data=e,this.formBuilder=n}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.mediumModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({password:["",this.data?void 0:jx.required]}),setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.process=function(){this.dialogRef.close("-"+this.form.get("password").value)},t.\u0275fac=function(e){return new(e||t)(as(YC),as(RC),as(vL))},t.\u0275cmp=Fe({type:t,selectors:[["app-enter-vpn-server-password"]],viewQuery:function(t,e){var n;1&t&&qu(gE,!0),2&t&&Wu(n=$u())&&(e.firstInput=n.first)},decls:10,vars:11,consts:[[3,"headline"],[3,"formGroup"],["formControlName","password","type","password","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"form",1),us(3,"mat-form-field"),ds(4,"input",2,3),Lu(6,"translate"),cs(),cs(),us(7,"app-button",4),_s("action",(function(){return e.process()})),al(8),Lu(9,"translate"),cs(),cs()),2&t&&(ss("headline",Tu(1,5,"vpn.server-list.password-dialog.title")),Kr(2),ss("formGroup",e.form),Kr(2),ss("placeholder",Tu(6,7,"vpn.server-list.password-dialog.password"+(e.data?"-if-any":"")+"-label")),Kr(3),ss("disabled",!e.form.valid),Kr(1),sl(" ",Tu(9,9,"vpn.server-list.password-dialog.continue-button")," "))},directives:[LL,zD,Ax,KD,LT,xx,BT,Ix,eL,FL],pipes:[mC],styles:[""]}),t}(),_E=function(){function t(){}return t.changeCurrentPk=function(t){this.currentPk=t},t.setDefaultTabForServerList=function(e){sessionStorage.setItem(t.serverListTabStorageKey,e)},Object.defineProperty(t,"vpnTabsData",{get:function(){var e=sessionStorage.getItem(t.serverListTabStorageKey);return[{icon:"power_settings_new",label:"vpn.start",linkParts:["/vpn",this.currentPk,"status"]},{icon:"list",label:"vpn.servers",linkParts:e?["/vpn",this.currentPk,"servers",e,"1"]:["/vpn",this.currentPk,"servers"]},{icon:"settings",label:"vpn.settings",linkParts:["/vpn",this.currentPk,"settings"]}]},enumerable:!1,configurable:!0}),t.getLatencyValueString=function(t){return t<1e3?"time-in-ms":"time-in-segs"},t.getPrintableLatency=function(t){return t<1e3?t+"":(t/1e3).toFixed(1)},t.processServerChange=function(e,n,i,r,a,o,s,l,u,c,d){var h;if(l&&(u||c)||u&&(l||c)||c&&(l||u))throw new Error("Invalid call");if(l)h=l.pk;else if(u)h=u.pk;else{if(!c)throw new Error("Invalid call");h=c.pk}var f=i.getSavedVersion(h,!0),p=f&&(d||f.usedWithPassword),m=n.checkNewPk(h);if(m!==hE.Busy)if(m!==hE.SamePkRunning||p)if(m===hE.MustStop||m===hE.SamePkRunning&&p){var g=DP.createConfirmationDialog(a,"vpn.server-change.change-server-while-connected-confirmation");g.componentInstance.operationAccepted.subscribe((function(){g.componentInstance.closeModal(),l?n.changeServerUsingHistory(l,d):u?n.changeServerUsingDiscovery(u,d):c&&n.changeServerManually(c,d),t.redirectAfterServerChange(e,o,s)}))}else if(m!==hE.SamePkStopped||p)l?n.changeServerUsingHistory(l,d):u?n.changeServerUsingDiscovery(u,d):c&&n.changeServerManually(c,d),t.redirectAfterServerChange(e,o,s);else{var v=DP.createConfirmationDialog(a,"vpn.server-change.start-same-server-confirmation");v.componentInstance.operationAccepted.subscribe((function(){v.componentInstance.closeModal(),c&&f&&i.processFromManual(c),n.start(),t.redirectAfterServerChange(e,o,s)}))}else r.showWarning("vpn.server-change.already-selected-warning");else r.showError("vpn.server-change.busy-error")},t.redirectAfterServerChange=function(t,e,n){e&&e.close(),t.navigate(["vpn",n,"status"])},t.openServerOptions=function(e,n,i,r,a,o){var s=[],l=[];return e.usedWithPassword?(s.push({icon:"lock_open",label:"vpn.server-options.connect-without-password"}),l.push(201)):e.enteredManually&&(s.push({icon:"lock_outlined",label:"vpn.server-options.connect-using-password"}),l.push(202)),s.push({icon:"edit",label:"vpn.server-options.edit-name"}),l.push(101),s.push({icon:"subject",label:"vpn.server-options.edit-label"}),l.push(102),e&&e.flag===rE.Favorite||(s.push({icon:"star",label:"vpn.server-options.make-favorite"}),l.push(1)),e&&e.flag===rE.Favorite&&(s.push({icon:"star_outline",label:"vpn.server-options.remove-from-favorites"}),l.push(-1)),e&&e.flag===rE.Blocked||(s.push({icon:"pan_tool",label:"vpn.server-options.block"}),l.push(2)),e&&e.flag===rE.Blocked&&(s.push({icon:"thumb_up",label:"vpn.server-options.unblock"}),l.push(-2)),e&&e.inHistory&&(s.push({icon:"delete",label:"vpn.server-options.remove-from-history"}),l.push(-3)),PP.openDialog(o,s,"common.options").afterClosed().pipe(st((function(s){if(s){var u=i.getSavedVersion(e.pk,!0);if(e=u||e,l[s-=1]>200){if(201===l[s]){var c=!1,d=DP.createConfirmationDialog(o,"vpn.server-options.connect-without-password-confirmation");return d.componentInstance.operationAccepted.subscribe((function(){c=!0,t.processServerChange(n,r,i,a,o,null,t.currentPk,e,null,null,null),d.componentInstance.closeModal()})),d.afterClosed().pipe(nt((function(){return c})))}return vE.openDialog(o,!1).afterClosed().pipe(nt((function(s){return!(!s||"-"===s||(t.processServerChange(n,r,i,a,o,null,t.currentPk,e,null,null,s.substr(1)),0))})))}if(l[s]>100)return mE.openDialog(o,{editName:101===l[s],server:e}).afterClosed();if(1===l[s])return t.makeFavorite(e,i,a,o);if(-1===l[s])return i.changeFlag(e,rE.None),a.showDone("vpn.server-options.remove-from-favorites-done"),mg(!0);if(2===l[s])return t.blockServer(e,i,r,a,o);if(-2===l[s])return i.changeFlag(e,rE.None),a.showDone("vpn.server-options.unblock-done"),mg(!0);if(-3===l[s])return t.removeFromHistory(e,i,a,o)}return mg(!1)})))},t.removeFromHistory=function(t,e,n,i){var r=!1,a=DP.createConfirmationDialog(i,"vpn.server-options.remove-from-history-confirmation");return a.componentInstance.operationAccepted.subscribe((function(){r=!0,e.removeFromHistory(t.pk),n.showDone("vpn.server-options.remove-from-history-done"),a.componentInstance.closeModal()})),a.afterClosed().pipe(nt((function(){return r})))},t.makeFavorite=function(t,e,n,i){if(t.flag!==rE.Blocked)return e.changeFlag(t,rE.Favorite),n.showDone("vpn.server-options.make-favorite-done"),mg(!0);var r=!1,a=DP.createConfirmationDialog(i,"vpn.server-options.make-favorite-confirmation");return a.componentInstance.operationAccepted.subscribe((function(){r=!0,e.changeFlag(t,rE.Favorite),n.showDone("vpn.server-options.make-favorite-done"),a.componentInstance.closeModal()})),a.afterClosed().pipe(nt((function(){return r})))},t.blockServer=function(t,e,n,i,r){if(t.flag!==rE.Favorite&&(!e.currentServer||e.currentServer.pk!==t.pk))return e.changeFlag(t,rE.Blocked),i.showDone("vpn.server-options.block-done"),mg(!0);var a=!1,o=e.currentServer&&e.currentServer.pk===t.pk,s=DP.createConfirmationDialog(r,t.flag!==rE.Favorite?"vpn.server-options.block-selected-confirmation":o?"vpn.server-options.block-selected-favorite-confirmation":"vpn.server-options.block-confirmation");return s.componentInstance.operationAccepted.subscribe((function(){a=!0,e.changeFlag(t,rE.Blocked),i.showDone("vpn.server-options.block-done"),o&&n.stop(),s.componentInstance.closeModal()})),s.afterClosed().pipe(nt((function(){return a})))},t.serverListTabStorageKey="ServerListTab",t.currentPk="",t}(),yE=["mat-menu-item",""],bE=["*"];function kE(t,e){if(1&t){var n=ms();us(0,"div",0),_s("keydown",(function(t){return Dn(n),Ms()._handleKeydown(t)}))("click",(function(){return Dn(n),Ms().closed.emit("click")}))("@transformMenu.start",(function(t){return Dn(n),Ms()._onAnimationStart(t)}))("@transformMenu.done",(function(t){return Dn(n),Ms()._onAnimationDone(t)})),us(1,"div",1),Ds(2),cs(),cs()}if(2&t){var i=Ms();ss("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),es("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var wE={transformMenu:Bf("transformMenu",[qf("void",Uf({opacity:0,transform:"scale(0.8)"})),Kf("void => enter",zf([Zf(".mat-menu-content, .mat-mdc-menu-content",Vf("100ms linear",Uf({opacity:1}))),Vf("120ms cubic-bezier(0, 0, 0.2, 1)",Uf({transform:"scale(1)"}))])),Kf("* => void",Vf("100ms 25ms linear",Uf({opacity:0})))]),fadeInItems:Bf("fadeInItems",[qf("showing",Uf({opacity:1})),Kf("void => *",[Uf({opacity:0}),Vf("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},SE=new se("MatMenuContent"),ME=function(){var t=function(){function t(e,n,i,r,a,o,s){_(this,t),this._template=e,this._componentFactoryResolver=n,this._appRef=i,this._injector=r,this._viewContainerRef=a,this._document=o,this._changeDetectorRef=s,this._attached=new W}return b(t,[{key:"attach",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._portal||(this._portal=new Kk(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new $k(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var e=this._template.elementRef.nativeElement;e.parentNode.insertBefore(this._outlet.outletElement,e),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,t),this._attached.next()}},{key:"detach",value:function(){this._portal.isAttached&&this._portal.detach()}},{key:"ngOnDestroy",value:function(){this._outlet&&this._outlet.dispose()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(nu),as(Ol),as(Uc),as(Wo),as(ru),as(rd),as(xo))},t.\u0275dir=ze({type:t,selectors:[["ng-template","matMenuContent",""]],features:[Dl([{provide:SE,useExisting:t}])]}),t}(),CE=new se("MAT_MENU_PANEL"),xE=DS(CS((function t(){_(this,t)}))),DE=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o){var s;return _(this,n),(s=e.call(this))._elementRef=t,s._focusMonitor=r,s._parentMenu=o,s.role="menuitem",s._hovered=new W,s._focused=new W,s._highlighted=!1,s._triggersSubmenu=!1,o&&o.addItem&&o.addItem(a(s)),s._document=i,s}return b(n,[{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),t,e):this._getHostElement().focus(e),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(t){this.disabled&&(t.preventDefault(),t.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){var t=this._elementRef.nativeElement,e=this._document?this._document.TEXT_NODE:3,n="";if(t.childNodes)for(var i=t.childNodes.length,r=0;r0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.asObservable().pipe(Sv(1)).subscribe((function(){return t._focusFirstItem(e)})):this._focusFirstItem(e)}},{key:"_focusFirstItem",value:function(t){var e=this._keyManager;if(e.setFocusOrigin(t).setFirstItemActive(),!e.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(t){var e=Math.min(4+t,24),n="mat-elevation-z".concat(e),i=Object.keys(this._classList).find((function(t){return t.startsWith("mat-elevation-z")}));i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}},{key:"setPositionClasses",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===t,n["mat-menu-after"]="after"===t,n["mat-menu-above"]="above"===e,n["mat-menu-below"]="below"===e}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(t){this._animationDone.next(t),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(t){this._isAnimating=!0,"enter"===t.toState&&0===this._keyManager.activeItemIndex&&(t.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var t=this;this._allItems.changes.pipe(Fv(this._allItems)).subscribe((function(e){t._directDescendantItems.reset(e.filter((function(e){return e._parentMenu===t}))),t._directDescendantItems.notifyOnChanges()}))}},{key:"xPosition",get:function(){return this._xPosition},set:function(t){rr()&&"before"!==t&&"after"!==t&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: ')}(),this._xPosition=t,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(t){rr()&&"above"!==t&&"below"!==t&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: ')}(),this._yPosition=t,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(t){this._overlapTrigger=Zb(t)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(t){this._hasBackdrop=Zb(t)}},{key:"panelClass",set:function(t){var e=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach((function(t){e._classList[t]=!1})),this._previousPanelClass=t,t&&t.length&&(t.split(" ").forEach((function(t){e._classList[t]=!0})),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(t){this.panelClass=t}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(El),as(Mc),as(LE))},t.\u0275dir=ze({type:t,contentQueries:function(t,e,n){var i;1&t&&(Ku(n,SE,!0),Ku(n,DE,!0),Ku(n,DE,!1)),2&t&&(Wu(i=$u())&&(e.lazyContent=i.first),Wu(i=$u())&&(e._allItems=i),Wu(i=$u())&&(e.items=i))},viewQuery:function(t,e){var n;1&t&&qu(nu,!0),2&t&&Wu(n=$u())&&(e.templateRef=n.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),t}(),OE=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(PE);return t.\u0275fac=function(e){return EE(e||t)},t.\u0275dir=ze({type:t,features:[pl]}),t}(),EE=Vi(OE),IE=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){return _(this,n),e.call(this,t,i,r)}return n}(OE);return t.\u0275fac=function(e){return new(e||t)(as(El),as(Mc),as(LE))},t.\u0275cmp=Fe({type:t,selectors:[["mat-menu"]],exportAs:["matMenu"],features:[Dl([{provide:CE,useExisting:OE},{provide:OE,useExisting:t}]),pl],ngContentSelectors:bE,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(t,e){1&t&&(xs(),is(0,kE,3,6,"ng-template"))},directives:[_h],styles:['.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[wE.transformMenu,wE.fadeInItems]},changeDetection:0}),t}(),AE=new se("mat-menu-scroll-strategy"),YE={provide:AE,deps:[Ew],useFactory:function(t){return function(){return t.scrollStrategies.reposition()}}},FE=Ek({passive:!0}),RE=function(){var t=function(){function t(e,n,i,r,a,o,s,l){var u=this;_(this,t),this._overlay=e,this._element=n,this._viewContainerRef=i,this._parentMenu=a,this._menuItemInstance=o,this._dir=s,this._focusMonitor=l,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=x.EMPTY,this._hoverSubscription=x.EMPTY,this._menuCloseSubscription=x.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new Iu,this.onMenuOpen=this.menuOpened,this.menuClosed=new Iu,this.onMenuClose=this.menuClosed,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,FE),o&&(o._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=r}return b(t,[{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,FE),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var t=this;if(!this._menuOpen){this._checkMenu();var e=this._createOverlay(),n=e.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return t.closeMenu()})),this._initMenu(),this.menu instanceof OE&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor?this._focusMonitor.focusVia(this._element,t,e):this._element.nativeElement.focus(e)}},{key:"_destroyMenu",value:function(){var t=this;if(this._overlayRef&&this.menuOpen){var e=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this._restoreFocus(),e instanceof OE?(e._resetAnimation(),e.lazyContent?e._animationDone.pipe(vg((function(t){return"void"===t.toState})),Sv(1),bk(e.lazyContent._attached)).subscribe({next:function(){return e.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),e.lazyContent&&e.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var t=0,e=this.menu.parentMenu;e;)t++,e=e.parentMenu;this.menu.setElevation(t)}}},{key:"_restoreFocus",value:function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null}},{key:"_setIsMenuOpen",value:function(t){this._menuOpen=t,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=t)}},{key:"_checkMenu",value:function(){rr()&&!this.menu&&function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n \n ')}()}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var t=this._getOverlayConfig();this._subscribeToPositions(t.positionStrategy),this._overlayRef=this._overlay.create(t),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new fw({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(t){var e=this;this.menu.setPositionClasses&&t.positionChanges.subscribe((function(t){e.menu.setPositionClasses("start"===t.connectionPair.overlayX?"after":"before","top"===t.connectionPair.overlayY?"below":"above")}))}},{key:"_setPosition",value:function(t){var e=l("before"===this.menu.xPosition?["end","start"]:["start","end"],2),n=e[0],i=e[1],r=l("above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],2),a=r[0],o=r[1],s=a,u=o,c=n,d=i,h=0;this.triggersSubmenu()?(d=n="before"===this.menu.xPosition?"start":"end",i=c="end"===n?"start":"end",h="bottom"===a?8:-8):this.menu.overlapTrigger||(s="top"===a?"bottom":"top",u="top"===o?"bottom":"top"),t.withPositions([{originX:n,originY:s,overlayX:c,overlayY:a,offsetY:h},{originX:i,originY:s,overlayX:d,overlayY:a,offsetY:h},{originX:n,originY:u,overlayX:c,overlayY:o,offsetY:-h},{originX:i,originY:u,overlayX:d,overlayY:o,offsetY:-h}])}},{key:"_menuClosingActions",value:function(){var t=this,e=this._overlayRef.backdropClick(),n=this._overlayRef.detachments();return ft(e,this._parentMenu?this._parentMenu.closed:mg(),this._parentMenu?this._parentMenu._hovered().pipe(vg((function(e){return e!==t._menuItemInstance})),vg((function(){return t._menuOpen}))):mg(),n)}},{key:"_handleMousedown",value:function(t){uS(t)||(this._openedBy=0===t.button?"mouse":null,this.triggersSubmenu()&&t.preventDefault())}},{key:"_handleKeydown",value:function(t){var e=t.keyCode;this.triggersSubmenu()&&(39===e&&"ltr"===this.dir||37===e&&"rtl"===this.dir)&&this.openMenu()}},{key:"_handleClick",value:function(t){this.triggersSubmenu()?(t.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var t=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(vg((function(e){return e===t._menuItemInstance&&!e.disabled})),iP(0,lk)).subscribe((function(){t._openedBy="mouse",t.menu instanceof OE&&t.menu._isAnimating?t.menu._animationDone.pipe(Sv(1),iP(0,lk),bk(t._parentMenu._hovered())).subscribe((function(){return t.openMenu()})):t.openMenu()})))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new Kk(this.menu.templateRef,this._viewContainerRef)),this._portal}},{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(t){this.menu=t}},{key:"menu",get:function(){return this._menu},set:function(t){var e=this;t!==this._menu&&(this._menu=t,this._menuCloseSubscription.unsubscribe(),t&&(rr()&&t===this._parentMenu&&function(){throw Error("matMenuTriggerFor: menu cannot contain its own trigger. Assign a menu that is not a parent of the trigger or move the trigger outside of the menu.")}(),this._menuCloseSubscription=t.close.asObservable().subscribe((function(t){e._destroyMenu(),"click"!==t&&"tab"!==t||!e._parentMenu||e._parentMenu.closed.emit(t)}))))}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(Ew),as(El),as(ru),as(AE),as(OE,8),as(DE,10),as(Fk,8),as(hS))},t.\u0275dir=ze({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(t,e){1&t&&_s("mousedown",(function(t){return e._handleMousedown(t)}))("keydown",(function(t){return e._handleKeydown(t)}))("click",(function(t){return e._handleClick(t)})),2&t&&es("aria-expanded",e.menuOpen||null)("aria-controls",e.menuOpen?e.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),t}(),NE=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[YE],imports:[MS]}),t}(),HE=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[YE],imports:[[af,MS,VS,Nw,NE],zk,MS,NE]}),t}(),jE=function(t){return t[t.Seconds=0]="Seconds",t[t.Minutes=1]="Minutes",t[t.Hours=2]="Hours",t[t.Days=3]="Days",t[t.Weeks=4]="Weeks",t}({}),BE=function(){return function(){}}(),VE=function(){function t(){}return t.getElapsedTime=function(t){var e=new BE;e.timeRepresentation=jE.Seconds,e.totalMinutes=Math.floor(t/60).toString(),e.translationVarName="second";var n=1;t>=60&&t<3600?(e.timeRepresentation=jE.Minutes,n=60,e.translationVarName="minute"):t>=3600&&t<86400?(e.timeRepresentation=jE.Hours,n=3600,e.translationVarName="hour"):t>=86400&&t<604800?(e.timeRepresentation=jE.Days,n=86400,e.translationVarName="day"):t>=604800&&(e.timeRepresentation=jE.Weeks,n=604800,e.translationVarName="week");var i=Math.floor(t/n);return e.elapsedTime=i.toString(),(e.timeRepresentation===jE.Seconds||i>1)&&(e.translationVarName=e.translationVarName+"s"),e},t}();function zE(t,e){1&t&&ds(0,"mat-spinner",5),2&t&&ss("diameter",14)}function WE(t,e){1&t&&ds(0,"mat-spinner",6),2&t&&ss("diameter",18)}function UE(t,e){1&t&&(us(0,"mat-icon",9),al(1,"refresh"),cs()),2&t&&ss("inline",!0)}function qE(t,e){1&t&&(us(0,"mat-icon",10),al(1,"warning"),cs()),2&t&&ss("inline",!0)}function GE(t,e){if(1&t&&(hs(0),is(1,UE,2,1,"mat-icon",7),is(2,qE,2,1,"mat-icon",8),fs()),2&t){var n=Ms();Kr(1),ss("ngIf",!n.showAlert),Kr(1),ss("ngIf",n.showAlert)}}var KE=function(t){return{time:t}};function JE(t,e){if(1&t&&(us(0,"span",11),al(1),Lu(2,"translate"),cs()),2&t){var n=Ms();Kr(1),ol(Pu(2,1,"refresh-button."+n.elapsedTime.translationVarName,Su(4,KE,n.elapsedTime.elapsedTime)))}}var ZE=function(t){return{"grey-button-background":t}},$E=function(){function t(){this.refeshRate=-1}return Object.defineProperty(t.prototype,"secondsSinceLastUpdate",{set:function(t){this.elapsedTime=VE.getElapsedTime(t)},enumerable:!1,configurable:!0}),t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-refresh-button"]],inputs:{secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate"},decls:6,vars:14,consts:[["mat-button","",1,"time-button","subtle-transparent-button","white-theme",3,"disabled","ngClass","matTooltip"],["class","icon d-none d-md-inline-block",3,"diameter",4,"ngIf"],["class","icon d-md-none",3,"diameter",4,"ngIf"],[4,"ngIf"],["class","d-none d-md-inline",4,"ngIf"],[1,"icon","d-none","d-md-inline-block",3,"diameter"],[1,"icon","d-md-none",3,"diameter"],["class","icon",3,"inline",4,"ngIf"],["class","icon alert",3,"inline",4,"ngIf"],[1,"icon",3,"inline"],[1,"icon","alert",3,"inline"],[1,"d-none","d-md-inline"]],template:function(t,e){1&t&&(us(0,"button",0),Lu(1,"translate"),is(2,zE,1,1,"mat-spinner",1),is(3,WE,1,1,"mat-spinner",2),is(4,GE,3,2,"ng-container",3),is(5,JE,3,6,"span",4),cs()),2&t&&(ss("disabled",e.showLoading)("ngClass",Su(10,ZE,!e.showLoading))("matTooltip",e.showAlert?Pu(1,7,"refresh-button.error-tooltip",Su(12,KE,e.refeshRate)):""),Kr(2),ss("ngIf",e.showLoading),Kr(1),ss("ngIf",e.showLoading),Kr(1),ss("ngIf",!e.showLoading),Kr(1),ss("ngIf",e.elapsedTime))},directives:[uM,_h,zL,Sh,gx,qM],pipes:[mC],styles:[".time-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;height:40px}.time-button[disabled][_ngcontent-%COMP%]{opacity:.7!important;color:#f8f9f9}.time-button[disabled][_ngcontent-%COMP%] span[_ngcontent-%COMP%]{opacity:.7}.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:16px;margin-right:5px;opacity:.5;display:inline-block}@media (max-width:767px){.time-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{font-size:22px;margin-right:0;opacity:.75}}.time-button[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{color:orange;opacity:1}.time-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:.6rem}"]}),t}(),QE=function(){function t(){}return t.prototype.transform=function(e,n){var i,r=!0;n?n.showPerSecond?n.useBits?(i=t.measurementsPerSecInBits,r=!1):i=t.measurementsPerSec:n.useBits?(i=t.accumulatedMeasurementsInBits,r=!1):i=t.accumulatedMeasurements:i=t.accumulatedMeasurements;var a=new sP.BigNumber(e);r||(a=a.multipliedBy(8));for(var o=i[0],s=0;a.dividedBy(1024).isGreaterThan(1);)a=a.dividedBy(1024),o=i[s+=1];var l="";return n&&!n.showValue||(l=n&&n.limitDecimals?new sP.BigNumber(a).decimalPlaces(1).toString():a.toFixed(2)),(!n||n.showValue&&n.showUnit)&&(l+=" "),n&&!n.showUnit||(l+=o),l},t.accumulatedMeasurements=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],t.measurementsPerSec=["B/s","KB/s","MB/s","GB/s","TB/s","PB/s","EB/s","ZB/s","YB/s"],t.accumulatedMeasurementsInBits=["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],t.measurementsPerSecInBits=["b/s","Kb/s","Mb/s","Gb/s","Tb/s","Pb/s","Eb/s","Zb/s","Yb/s"],t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=We({name:"autoScale",type:t,pure:!0}),t}();function XE(t,e){if(1&t){var n=ms();us(0,"button",23),_s("click",(function(){return Dn(n),Ms().requestAction(null)})),us(1,"mat-icon"),al(2,"chevron_left"),cs(),cs()}}function tI(t,e){1&t&&(hs(0),ds(1,"img",24),fs())}function eI(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms();Kr(1),sl(" ",Tu(2,1,n.titleParts[n.titleParts.length-1])," ")}}var nI=function(t){return{transparent:t}};function iI(t,e){if(1&t){var n=ms();hs(0),us(1,"div",26),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).requestAction(t.actionName)})),us(2,"mat-icon",27),al(3),cs(),al(4),Lu(5,"translate"),cs(),fs()}if(2&t){var i=e.$implicit;Kr(1),ss("disabled",i.disabled),Kr(1),ss("ngClass",Su(6,nI,i.disabled)),Kr(1),ol(i.icon),Kr(1),sl(" ",Tu(5,4,i.name)," ")}}function rI(t,e){1&t&&ds(0,"div",28)}function aI(t,e){if(1&t&&(hs(0),is(1,iI,6,8,"ng-container",25),is(2,rI,1,0,"div",9),fs()),2&t){var n=Ms();Kr(1),ss("ngForOf",n.optionsData),Kr(1),ss("ngIf",n.returnText)}}function oI(t,e){1&t&&ds(0,"div",28)}function sI(t,e){1&t&&ds(0,"img",31),2&t&&ss("src","assets/img/lang/"+Ms(2).language.iconName,Lr)}function lI(t,e){if(1&t){var n=ms();us(0,"div",29),_s("click",(function(){return Dn(n),Ms().openLanguageWindow()})),is(1,sI,1,1,"img",30),al(2),Lu(3,"translate"),cs()}if(2&t){var i=Ms();Kr(1),ss("ngIf",i.language),Kr(1),sl(" ",Tu(3,2,i.language?i.language.name:"")," ")}}function uI(t,e){if(1&t){var n=ms();us(0,"div",32),us(1,"a",33),_s("click",(function(){return Dn(n),Ms().requestAction(null)})),Lu(2,"translate"),us(3,"mat-icon",34),al(4,"chevron_left"),cs(),cs(),cs()}if(2&t){var i=Ms();Kr(1),ss("matTooltip",Tu(2,2,i.returnText)),Kr(2),ss("inline",!0)}}function cI(t,e){if(1&t&&(us(0,"span",35),al(1),Lu(2,"translate"),cs()),2&t){var n=Ms();Kr(1),sl(" ",Tu(2,1,n.titleParts[n.titleParts.length-1])," ")}}function dI(t,e){1&t&&ds(0,"img",36)}var hI=function(t,e){return{"d-lg-none":t,"d-none d-md-inline-block":e}},fI=function(t,e){return{"mouse-disabled":t,"grey-button-background":e}};function pI(t,e){if(1&t&&(us(0,"div",27),us(1,"a",37),us(2,"mat-icon",34),al(3),cs(),us(4,"span"),al(5),Lu(6,"translate"),cs(),cs(),cs()),2&t){var n=e.$implicit,i=e.index,r=Ms();ss("ngClass",Mu(9,hI,n.onlyIfLessThanLg,1!==r.tabsData.length)),Kr(1),ss("disabled",i===r.selectedTabIndex)("routerLink",n.linkParts)("ngClass",Mu(12,fI,r.disableMouse,!r.disableMouse&&i!==r.selectedTabIndex)),Kr(1),ss("inline",!0),Kr(1),ol(n.icon),Kr(2),ol(Tu(6,7,n.label))}}var mI=function(t){return{"d-none":t}};function gI(t,e){if(1&t){var n=ms();us(0,"div",38),us(1,"button",39),_s("click",(function(){return Dn(n),Ms().openTabSelector()})),us(2,"mat-icon",34),al(3),cs(),us(4,"span"),al(5),Lu(6,"translate"),cs(),us(7,"mat-icon",34),al(8,"keyboard_arrow_down"),cs(),cs(),cs()}if(2&t){var i=Ms();ss("ngClass",Su(8,mI,1===i.tabsData.length)),Kr(1),ss("ngClass",Mu(10,fI,i.disableMouse,!i.disableMouse)),Kr(1),ss("inline",!0),Kr(1),ol(i.tabsData[i.selectedTabIndex].icon),Kr(2),ol(Tu(6,6,i.tabsData[i.selectedTabIndex].label)),Kr(2),ss("inline",!0)}}function vI(t,e){if(1&t){var n=ms();us(0,"app-refresh-button",43),_s("click",(function(){return Dn(n),Ms(2).sendRefreshEvent()})),cs()}if(2&t){var i=Ms(2);ss("secondsSinceLastUpdate",i.secondsSinceLastUpdate)("showLoading",i.showLoading)("showAlert",i.showAlert)("refeshRate",i.refeshRate)}}function _I(t,e){if(1&t&&(us(0,"div",40),is(1,vI,1,4,"app-refresh-button",41),us(2,"button",42),us(3,"mat-icon",34),al(4,"menu"),cs(),cs(),cs()),2&t){var n=Ms(),i=rs(12);Kr(1),ss("ngIf",n.showUpdateButton),Kr(1),ss("matMenuTriggerFor",i),Kr(1),ss("inline",!0)}}function yI(t,e){if(1&t){var n=ms();us(0,"div",48),us(1,"div",49),_s("click",(function(){return Dn(n),Ms(2).openLanguageWindow()})),ds(2,"img",50),al(3),Lu(4,"translate"),cs(),cs()}if(2&t){var i=Ms(2);Kr(2),ss("src","assets/img/lang/"+i.language.iconName,Lr),Kr(1),sl(" ",Tu(4,2,i.language?i.language.name:"")," ")}}function bI(t,e){1&t&&(us(0,"div",57),us(1,"mat-icon",55),al(2,"brightness_1"),cs(),cs()),2&t&&(Kr(1),ss("inline",!0))}var kI=function(t,e){return{"animation-container":t,"d-none":e}},wI=function(t){return{time:t}},SI=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}};function MI(t,e){if(1&t&&(us(0,"table",51),us(1,"tr"),us(2,"td",52),Lu(3,"translate"),us(4,"div",27),us(5,"div",53),us(6,"div",54),us(7,"mat-icon",55),al(8,"brightness_1"),cs(),al(9),Lu(10,"translate"),cs(),cs(),cs(),is(11,bI,3,1,"div",56),us(12,"mat-icon",55),al(13,"brightness_1"),cs(),al(14),Lu(15,"translate"),cs(),us(16,"td",52),Lu(17,"translate"),us(18,"mat-icon",34),al(19,"swap_horiz"),cs(),al(20),Lu(21,"translate"),cs(),cs(),us(22,"tr"),us(23,"td",52),Lu(24,"translate"),us(25,"mat-icon",34),al(26,"arrow_upward"),cs(),al(27),Lu(28,"autoScale"),cs(),us(29,"td",52),Lu(30,"translate"),us(31,"mat-icon",34),al(32,"arrow_downward"),cs(),al(33),Lu(34,"autoScale"),cs(),cs(),cs()),2&t){var n=Ms(2);Kr(2),qs(n.vpnData.stateClass+" state-td"),ss("matTooltip",Tu(3,18,n.vpnData.state+"-info")),Kr(2),ss("ngClass",Mu(39,kI,n.showVpnStateAnimation,!n.showVpnStateAnimation)),Kr(3),ss("inline",!0),Kr(2),sl(" ",Tu(10,20,n.vpnData.state)," "),Kr(2),ss("ngIf",n.showVpnStateAnimatedDot),Kr(1),ss("inline",!0),Kr(2),sl(" ",Tu(15,22,n.vpnData.state)," "),Kr(2),ss("matTooltip",Tu(17,24,"vpn.connection-info.latency-info")),Kr(2),ss("inline",!0),Kr(2),sl(" ",Pu(21,26,"common."+n.getLatencyValueString(n.vpnData.latency),Su(42,wI,n.getPrintableLatency(n.vpnData.latency)))," "),Kr(3),ss("matTooltip",Tu(24,29,"vpn.connection-info.upload-info")),Kr(2),ss("inline",!0),Kr(2),sl(" ",Pu(28,31,n.vpnData.uploadSpeed,Su(44,SI,n.showVpnDataStatsInBits))," "),Kr(2),ss("matTooltip",Tu(30,34,"vpn.connection-info.download-info")),Kr(2),ss("inline",!0),Kr(2),sl(" ",Pu(34,36,n.vpnData.downloadSpeed,Su(46,SI,n.showVpnDataStatsInBits))," ")}}function CI(t,e){1&t&&ds(0,"mat-spinner",58),2&t&&ss("diameter",20)}function xI(t,e){if(1&t&&(us(0,"div"),is(1,yI,5,4,"div",44),us(2,"div",45),is(3,MI,35,48,"table",46),is(4,CI,1,1,"mat-spinner",47),cs(),cs()),2&t){var n=Ms();Kr(1),ss("ngIf",!n.hideLanguageButton&&n.language),Kr(2),ss("ngIf",n.vpnData),Kr(1),ss("ngIf",!n.vpnData)}}function DI(t,e){1&t&&(us(0,"div",59),us(1,"div",60),us(2,"mat-icon",34),al(3,"error_outline"),cs(),al(4),Lu(5,"translate"),cs(),us(6,"div",61),al(7),Lu(8,"translate"),cs(),cs()),2&t&&(Kr(2),ss("inline",!0),Kr(2),sl(" ",Tu(5,3,"vpn.remote-access-title")," "),Kr(3),sl(" ",Tu(8,5,"vpn.remote-access-text")," "))}var LI=function(t,e){return{"d-lg-none":t,"d-none":e}},TI=function(t){return{"normal-height":t}},PI=function(t,e){return{"d-none d-lg-flex":t,"d-flex":e}},OI=function(){function t(t,e,n,i,r){this.languageService=t,this.dialog=e,this.router=n,this.vpnClientService=i,this.vpnSavedDataService=r,this.disableMouse=!1,this.selectedTabIndex=0,this.refeshRate=-1,this.showUpdateButton=!0,this.localVpnKeyInternal="",this.refreshRequested=new Iu,this.optionSelected=new Iu,this.hideLanguageButton=!0,this.showVpnInfo=!1,this.initialVpnStateObtained=!1,this.lastVpnState="",this.showVpnStateAnimation=!1,this.showVpnStateAnimatedDot=!0,this.showVpnDataStatsInBits=!0,this.remoteAccess=!1,this.langSubscriptionsGroup=[]}return Object.defineProperty(t.prototype,"localVpnKey",{set:function(t){this.localVpnKeyInternal=t,t?this.startGettingVpnInfo():this.stopGettingVpnInfo()},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.langSubscriptionsGroup.push(this.languageService.currentLanguage.subscribe((function(e){t.language=e}))),this.langSubscriptionsGroup.push(this.languageService.languages.subscribe((function(e){t.hideLanguageButton=!(e.length>1)})));var e=window.location.hostname;e.toLowerCase().includes("localhost")||e.toLowerCase().includes("127.0.0.1")||(this.remoteAccess=!0)},t.prototype.ngOnDestroy=function(){this.langSubscriptionsGroup.forEach((function(t){return t.unsubscribe()})),this.refreshRequested.complete(),this.optionSelected.complete(),this.stopGettingVpnInfo()},t.prototype.startGettingVpnInfo=function(){var t=this;this.showVpnInfo=!0,this.vpnClientService.initialize(this.localVpnKeyInternal),this.updateVpnDataStatsUnit(),this.vpnDataSubscription=this.vpnClientService.backendState.subscribe((function(e){e&&(t.vpnData={state:"",stateClass:"",latency:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.latency:0,downloadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.downloadSpeed:0,uploadSpeed:e.vpnClientAppData.connectionData?e.vpnClientAppData.connectionData.uploadSpeed:0},e.vpnClientAppData.appState===sE.Stopped?(t.vpnData.state="vpn.connection-info.state-disconnected",t.vpnData.stateClass="red-clear-text"):e.vpnClientAppData.appState===sE.Connecting?(t.vpnData.state="vpn.connection-info.state-connecting",t.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===sE.Running?(t.vpnData.state="vpn.connection-info.state-connected",t.vpnData.stateClass="green-clear-text"):e.vpnClientAppData.appState===sE.ShuttingDown?(t.vpnData.state="vpn.connection-info.state-disconnecting",t.vpnData.stateClass="yellow-clear-text"):e.vpnClientAppData.appState===sE.Reconnecting&&(t.vpnData.state="vpn.connection-info.state-reconnecting",t.vpnData.stateClass="yellow-clear-text"),t.initialVpnStateObtained?t.lastVpnState!==t.vpnData.state&&(t.lastVpnState=t.vpnData.state,t.showVpnStateAnimation=!1,t.showVpnStateChangeAnimationSubscription&&t.showVpnStateChangeAnimationSubscription.unsubscribe(),t.showVpnStateChangeAnimationSubscription=mg(0).pipe(iP(1)).subscribe((function(){return t.showVpnStateAnimation=!0}))):(t.initialVpnStateObtained=!0,t.lastVpnState=t.vpnData.state),t.showVpnStateAnimatedDot=!1,t.showVpnStateAnimatedDotSubscription&&t.showVpnStateAnimatedDotSubscription.unsubscribe(),t.showVpnStateAnimatedDotSubscription=mg(0).pipe(iP(1)).subscribe((function(){return t.showVpnStateAnimatedDot=!0})))}))},t.prototype.stopGettingVpnInfo=function(){this.showVpnInfo=!1,this.vpnDataSubscription&&this.vpnDataSubscription.unsubscribe()},t.prototype.getLatencyValueString=function(t){return _E.getLatencyValueString(t)},t.prototype.getPrintableLatency=function(t){return _E.getPrintableLatency(t)},t.prototype.requestAction=function(t){this.optionSelected.emit(t)},t.prototype.openLanguageWindow=function(){QT.openDialog(this.dialog)},t.prototype.sendRefreshEvent=function(){this.refreshRequested.emit()},t.prototype.openTabSelector=function(){var t=this,e=[];this.tabsData.forEach((function(t){e.push({label:t.label,icon:t.icon})})),PP.openDialog(this.dialog,e,"tabs-window.title").afterClosed().subscribe((function(e){e&&(e-=1)!==t.selectedTabIndex&&t.router.navigate(t.tabsData[e].linkParts)}))},t.prototype.updateVpnDataStatsUnit=function(){var t=this.vpnSavedDataService.getDataUnitsSetting();this.showVpnDataStatsInBits=t===aE.BitsSpeedAndBytesVolume||t===aE.OnlyBits},t.\u0275fac=function(e){return new(e||t)(as(LC),as(BC),as(cb),as(fE),as(oE))},t.\u0275cmp=Fe({type:t,selectors:[["app-top-bar"]],inputs:{disableMouse:"disableMouse",titleParts:"titleParts",tabsData:"tabsData",selectedTabIndex:"selectedTabIndex",optionsData:"optionsData",returnText:"returnText",secondsSinceLastUpdate:"secondsSinceLastUpdate",showLoading:"showLoading",showAlert:"showAlert",refeshRate:"refeshRate",showUpdateButton:"showUpdateButton",localVpnKey:"localVpnKey"},outputs:{refreshRequested:"refreshRequested",optionSelected:"optionSelected"},decls:29,vars:31,consts:[[1,"top-bar",3,"ngClass"],[1,"button-container"],["mat-icon-button","","class","transparent-button",3,"click",4,"ngIf"],[1,"logo-container"],[4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matMenuTriggerFor"],[1,"top-bar-margin",3,"ngClass"],[3,"overlapTrigger"],["menu","matMenu"],["class","menu-separator",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],[1,"main-container",3,"ngClass"],[1,"main-area"],[1,"title",3,"ngClass"],["class","return-container",4,"ngIf"],["class","title-text",4,"ngIf"],["class","title-image","src","./assets/img/logo-vpn.png",4,"ngIf"],[1,"lower-container"],[3,"ngClass",4,"ngFor","ngForOf"],["class","d-md-none",3,"ngClass",4,"ngIf"],[1,"blank-space"],["class","right-container",4,"ngIf"],["class","remote-vpn-alert-container",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"click"],["src","/assets/img/logo-s.png"],[4,"ngFor","ngForOf"],["mat-menu-item","",3,"disabled","click"],[3,"ngClass"],[1,"menu-separator"],["mat-menu-item","",3,"click"],["class","flag",3,"src",4,"ngIf"],[1,"flag",3,"src"],[1,"return-container"],[1,"return-button","transparent-button",3,"matTooltip","click"],[3,"inline"],[1,"title-text"],["src","./assets/img/logo-vpn.png",1,"title-image"],["mat-button","",1,"tab-button","white-theme",3,"disabled","routerLink","ngClass"],[1,"d-md-none",3,"ngClass"],["mat-button","",1,"tab-button","select-tab-button","white-theme",3,"ngClass","click"],[1,"right-container"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click",4,"ngIf"],["mat-button","",1,"menu-button","subtle-transparent-button","d-none","d-lg-block",3,"matMenuTriggerFor"],[3,"secondsSinceLastUpdate","showLoading","showAlert","refeshRate","click"],["class","languaje-button-vpn",4,"ngIf"],[1,"vpn-info","vpn-dark-box-radius"],["cellspacing","0","cellpadding","0",4,"ngIf"],[3,"diameter",4,"ngIf"],[1,"languaje-button-vpn"],[1,"text-container",3,"click"],[1,"language-flag",3,"src"],["cellspacing","0","cellpadding","0"],[3,"matTooltip"],[1,"internal-animation-container"],[1,"animation-area"],[1,"state-icon",3,"inline"],["class","aminated-state-icon-container",4,"ngIf"],[1,"aminated-state-icon-container"],[3,"diameter"],[1,"remote-vpn-alert-container"],[1,"top-line"],[1,"bottom-line"]],template:function(t,e){if(1&t&&(us(0,"div",0),us(1,"div",1),is(2,XE,3,0,"button",2),cs(),us(3,"div",3),is(4,tI,2,0,"ng-container",4),is(5,eI,3,3,"ng-container",4),cs(),us(6,"div",1),us(7,"button",5),us(8,"mat-icon"),al(9,"menu"),cs(),cs(),cs(),cs(),ds(10,"div",6),us(11,"mat-menu",7,8),is(13,aI,3,2,"ng-container",4),is(14,oI,1,0,"div",9),is(15,lI,4,4,"div",10),cs(),us(16,"div",11),us(17,"div",12),us(18,"div",13),is(19,uI,5,4,"div",14),is(20,cI,3,3,"span",15),is(21,dI,1,0,"img",16),cs(),us(22,"div",17),is(23,pI,7,15,"div",18),is(24,gI,9,13,"div",19),ds(25,"div",20),is(26,_I,5,3,"div",21),cs(),cs(),is(27,xI,5,3,"div",4),cs(),is(28,DI,9,7,"div",22)),2&t){var n=rs(12);ss("ngClass",Mu(20,LI,!e.showVpnInfo,e.showVpnInfo)),Kr(2),ss("ngIf",e.returnText),Kr(2),ss("ngIf",!e.titleParts||e.titleParts.length<2),Kr(1),ss("ngIf",e.titleParts&&e.titleParts.length>=2),Kr(2),ss("matMenuTriggerFor",n),Kr(3),ss("ngClass",Mu(23,LI,!e.showVpnInfo,e.showVpnInfo)),Kr(1),ss("overlapTrigger",!1),Kr(2),ss("ngIf",e.optionsData&&e.optionsData.length>=1),Kr(1),ss("ngIf",!e.hideLanguageButton&&e.optionsData&&e.optionsData.length>=1),Kr(1),ss("ngIf",!e.hideLanguageButton),Kr(1),ss("ngClass",Su(26,TI,!e.showVpnInfo)),Kr(2),ss("ngClass",Mu(28,PI,!e.showVpnInfo,e.showVpnInfo)),Kr(1),ss("ngIf",e.returnText),Kr(1),ss("ngIf",!e.showVpnInfo),Kr(1),ss("ngIf",e.showVpnInfo),Kr(2),ss("ngForOf",e.tabsData),Kr(1),ss("ngIf",e.tabsData&&e.tabsData[e.selectedTabIndex]),Kr(2),ss("ngIf",!e.showVpnInfo),Kr(1),ss("ngIf",e.showVpnInfo),Kr(1),ss("ngIf",e.showVpnInfo&&e.remoteAccess)}},directives:[_h,Sh,uM,RE,qM,IE,kh,DE,zL,cM,fb,$E,gx],pipes:[mC,QE],styles:["@media (max-width:991px){.normal-height[_ngcontent-%COMP%]{height:55px!important}}.main-container[_ngcontent-%COMP%]{border-bottom:1px solid hsla(0,0%,100%,.15);padding-bottom:10px;margin-bottom:-5px;height:100px;display:flex}.main-container[_ngcontent-%COMP%] .main-area[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.875rem;margin-bottom:15px;margin-left:5px;flex-direction:row;align-items:center}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-text[_ngcontent-%COMP%]{z-index:1}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .title-image[_ngcontent-%COMP%]{width:124px;height:21px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%]{width:30px;position:relative;top:2px}.main-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] .return-container[_ngcontent-%COMP%] .return-button[_ngcontent-%COMP%]{line-height:1;font-size:25px;position:relative;top:2px;width:100%;margin-right:4px;cursor:pointer}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%]{display:flex}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .blank-space[_ngcontent-%COMP%]{flex-grow:1}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{color:#f8f9f9;border-radius:10px;opacity:.5;margin-right:2px;text-decoration:none;height:40px;display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]:hover{opacity:.75}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[disabled][_ngcontent-%COMP%]{opacity:1!important;color:#f8f9f9;background:rgba(0,0,0,.7)!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{margin-right:2px;opacity:.75;font-size:18px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:1rem;margin:0 4px;position:relative;top:-1px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]{opacity:.75!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .select-tab-button[_ngcontent-%COMP%]:hover{opacity:1!important}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%]{display:flex;align-items:center}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] app-refresh-button[_ngcontent-%COMP%]{align-self:flex-end}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%]{height:32px;width:32px;min-width:0!important;background-color:#f8f9f9;border-radius:100%;padding:0;line-height:normal;color:#929292;font-size:20px}.main-container[_ngcontent-%COMP%] .lower-container[_ngcontent-%COMP%] .right-container[_ngcontent-%COMP%] .menu-button[_ngcontent-%COMP%] .mat-button-wrapper{display:flex;justify-content:center}.menu-separator[_ngcontent-%COMP%]{width:100%;height:1px;background-color:rgba(0,0,0,.12)}.flag[_ngcontent-%COMP%]{width:24px;margin-right:16px}.transparent[_ngcontent-%COMP%]{opacity:.5}.top-bar[_ngcontent-%COMP%]{position:fixed;z-index:10;width:100%;height:56px;background-color:#f8f9f9;top:0;left:0;right:0;color:#202226;display:flex}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:center;align-items:center}.top-bar[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:28px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{flex-shrink:0;width:56px}.top-bar[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:56px;height:56px}.top-bar-margin[_ngcontent-%COMP%]{margin-top:56px;flex-shrink:0}.vpn-info[_ngcontent-%COMP%]{font-size:.7rem;background:rgba(0,0,0,.7);padding:15px 20px;align-self:center}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] .state-td[_ngcontent-%COMP%]{font-weight:700}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 0;min-width:90px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:3px;font-size:12px;position:relative;top:1px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:auto}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{transform:scale(.75)}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%]{width:0;height:0}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .aminated-state-icon-container[_ngcontent-%COMP%] .state-icon[_ngcontent-%COMP%]{height:auto;-webkit-animation:state-icon-animation 1s linear 1;animation:state-icon-animation 1s linear 1}@-webkit-keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}@keyframes state-icon-animation{0%{transform:perspective(1px) scale(1);opacity:.8}to{transform:scale(2);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%]{width:0;height:0}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%]{width:200px}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%] .animation-container[_ngcontent-%COMP%] .internal-animation-container[_ngcontent-%COMP%] .animation-area[_ngcontent-%COMP%]{display:inline-block;-webkit-animation:state-animation 1s linear 1;animation:state-animation 1s linear 1;opacity:0}@-webkit-keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}@keyframes state-animation{0%{transform:scale(1);opacity:1}to{transform:scale(2.5);opacity:0}}.vpn-info[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-of-type{padding-right:30px}.vpn-info[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.languaje-button-vpn[_ngcontent-%COMP%]{font-size:.6rem;text-align:right;margin:-5px 10px 5px 0}.languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{cursor:pointer;display:inline;opacity:.8}.languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]:hover{opacity:1}.languaje-button-vpn[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .language-flag[_ngcontent-%COMP%]{width:11px;height:11px;margin-right:2px}.remote-vpn-alert-container[_ngcontent-%COMP%]{background-color:#da3439;margin:0 -21px;padding:10px 20px 15px;text-align:center}.remote-vpn-alert-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:14px}.remote-vpn-alert-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:1.25rem}.remote-vpn-alert-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.8rem}"]}),t}(),EI=function(){return["1"]};function II(t,e){if(1&t&&(us(0,"a",10),us(1,"mat-icon",11),al(2,"chevron_left"),cs(),al(3),Lu(4,"translate"),cs()),2&t){var n=Ms();ss("routerLink",n.linkParts.concat(wu(6,EI)))("queryParams",n.queryParams),Kr(1),ss("inline",!0),Kr(2),sl(" ",Tu(4,4,"paginator.first")," ")}}function AI(t,e){if(1&t&&(us(0,"a",12),us(1,"mat-icon",11),al(2,"chevron_left"),cs(),us(3,"span",13),al(4),Lu(5,"translate"),cs(),cs()),2&t){var n=Ms();ss("routerLink",n.linkParts.concat(wu(6,EI)))("queryParams",n.queryParams),Kr(1),ss("inline",!0),Kr(3),ol(Tu(5,4,"paginator.first"))}}var YI=function(t){return[t]};function FI(t,e){if(1&t&&(us(0,"a",10),us(1,"div"),us(2,"mat-icon",11),al(3,"chevron_left"),cs(),cs(),cs()),2&t){var n=Ms();ss("routerLink",n.linkParts.concat(Su(3,YI,(n.currentPage-1).toString())))("queryParams",n.queryParams),Kr(2),ss("inline",!0)}}function RI(t,e){if(1&t&&(us(0,"a",10),al(1),cs()),2&t){var n=Ms();ss("routerLink",n.linkParts.concat(Su(3,YI,(n.currentPage-2).toString())))("queryParams",n.queryParams),Kr(1),ol(n.currentPage-2)}}function NI(t,e){if(1&t&&(us(0,"a",14),al(1),cs()),2&t){var n=Ms();ss("routerLink",n.linkParts.concat(Su(3,YI,(n.currentPage-1).toString())))("queryParams",n.queryParams),Kr(1),ol(n.currentPage-1)}}function HI(t,e){if(1&t&&(us(0,"a",14),al(1),cs()),2&t){var n=Ms();ss("routerLink",n.linkParts.concat(Su(3,YI,(n.currentPage+1).toString())))("queryParams",n.queryParams),Kr(1),ol(n.currentPage+1)}}function jI(t,e){if(1&t&&(us(0,"a",10),al(1),cs()),2&t){var n=Ms();ss("routerLink",n.linkParts.concat(Su(3,YI,(n.currentPage+2).toString())))("queryParams",n.queryParams),Kr(1),ol(n.currentPage+2)}}function BI(t,e){if(1&t&&(us(0,"a",10),us(1,"div"),us(2,"mat-icon",11),al(3,"chevron_right"),cs(),cs(),cs()),2&t){var n=Ms();ss("routerLink",n.linkParts.concat(Su(3,YI,(n.currentPage+1).toString())))("queryParams",n.queryParams),Kr(2),ss("inline",!0)}}function VI(t,e){if(1&t&&(us(0,"a",10),al(1),Lu(2,"translate"),us(3,"mat-icon",11),al(4,"chevron_right"),cs(),cs()),2&t){var n=Ms();ss("routerLink",n.linkParts.concat(Su(6,YI,n.numberOfPages.toString())))("queryParams",n.queryParams),Kr(1),sl(" ",Tu(2,4,"paginator.last")," "),Kr(2),ss("inline",!0)}}function zI(t,e){if(1&t&&(us(0,"a",12),us(1,"mat-icon",11),al(2,"chevron_right"),cs(),us(3,"span",13),al(4),Lu(5,"translate"),cs(),cs()),2&t){var n=Ms();ss("routerLink",n.linkParts.concat(Su(6,YI,n.numberOfPages.toString())))("queryParams",n.queryParams),Kr(1),ss("inline",!0),Kr(3),ol(Tu(5,4,"paginator.last"))}}var WI=function(t){return{number:t}};function UI(t,e){if(1&t&&(us(0,"div",15),al(1),Lu(2,"translate"),cs()),2&t){var n=Ms();Kr(1),ol(Pu(2,1,"paginator.total",Su(4,WI,n.numberOfPages)))}}function qI(t,e){if(1&t&&(us(0,"div",16),al(1),Lu(2,"translate"),cs()),2&t){var n=Ms();Kr(1),ol(Pu(2,1,"paginator.total",Su(4,WI,n.numberOfPages)))}}var GI=function(){function t(t,e){this.dialog=t,this.router=e,this.linkParts=[""],this.queryParams={}}return t.prototype.openSelectionDialog=function(){for(var t=this,e=[],n=1;n<=this.numberOfPages;n++)e.push({label:n.toString()});PP.openDialog(this.dialog,e,"paginator.select-page-title").afterClosed().subscribe((function(e){e&&t.router.navigate(t.linkParts.concat([e.toString()]),{queryParams:t.queryParams})}))},t.\u0275fac=function(e){return new(e||t)(as(BC),as(cb))},t.\u0275cmp=Fe({type:t,selectors:[["app-paginator"]],inputs:{currentPage:"currentPage",numberOfPages:"numberOfPages",linkParts:"linkParts",queryParams:"queryParams"},decls:21,vars:13,consts:[[1,"main-container"],[1,"d-inline-block","small-rounded-elevated-box","mt-3"],[1,"d-flex"],[1,"responsive-height","d-md-none"],["class","d-none d-md-flex",3,"routerLink","queryParams",4,"ngIf"],["class","d-flex d-md-none flex-column",3,"routerLink","queryParams",4,"ngIf"],[3,"routerLink","queryParams",4,"ngIf"],[1,"selected",3,"click"],["class","d-none d-md-block total-pages",4,"ngIf"],["class","d-block d-md-none total-pages",4,"ngIf"],[1,"d-none","d-md-flex",3,"routerLink","queryParams"],[3,"inline"],[1,"d-flex","d-md-none","flex-column",3,"routerLink","queryParams"],[1,"label"],[3,"routerLink","queryParams"],[1,"d-none","d-md-block","total-pages"],[1,"d-block","d-md-none","total-pages"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),us(2,"div",2),us(3,"div",3),al(4,"\xa0"),ds(5,"br"),al(6,"\xa0"),cs(),is(7,II,5,7,"a",4),is(8,AI,6,7,"a",5),is(9,FI,4,5,"a",4),is(10,RI,2,5,"a",4),is(11,NI,2,5,"a",6),us(12,"a",7),_s("click",(function(){return e.openSelectionDialog()})),al(13),cs(),is(14,HI,2,5,"a",6),is(15,jI,2,5,"a",4),is(16,BI,4,5,"a",4),is(17,VI,5,8,"a",4),is(18,zI,6,8,"a",5),cs(),cs(),is(19,UI,3,6,"div",8),is(20,qI,3,6,"div",9),cs()),2&t&&(Kr(7),ss("ngIf",e.currentPage>3),Kr(1),ss("ngIf",e.currentPage>2),Kr(1),ss("ngIf",e.currentPage>1),Kr(1),ss("ngIf",e.currentPage>2),Kr(1),ss("ngIf",e.currentPage>1),Kr(2),ol(e.currentPage),Kr(1),ss("ngIf",e.currentPage3),Kr(1),ss("ngIf",e.numberOfPages>2))},directives:[Sh,fb,qM],pipes:[mC],styles:[".main-container[_ngcontent-%COMP%]{text-align:right}.main-container[_ngcontent-%COMP%] .responsive-height[_ngcontent-%COMP%]{padding:10px 0;width:0}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{padding:10px;border-right:1px solid hsla(0,0%,100%,.15);border-left:1px solid hsla(0,0%,100%,.15);min-width:40px;text-align:center;color:rgba(248,249,249,.5);text-decoration:none;display:flex;align-items:center;justify-content:center}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.7rem}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{color:#f8f9f9;background:rgba(0,0,0,.36);padding:10px 20px;cursor:pointer}.main-container[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.main-container[_ngcontent-%COMP%] .total-pages[_ngcontent-%COMP%]{font-size:.6rem;margin-top:-3px;margin-right:4px}"]}),t}(),KI=function(){return["start.title"]};function JI(t,e){if(1&t&&(us(0,"div",2),us(1,"div"),ds(2,"app-top-bar",3),cs(),ds(3,"app-loading-indicator",4),cs()),2&t){var n=Ms();Kr(2),ss("titleParts",wu(4,KI))("tabsData",n.tabsData)("selectedTabIndex",n.showDmsgInfo?1:0)("showUpdateButton",!1)}}function ZI(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(Tu(2,1,n.translatableValue))}}function $I(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(n.value)}}function QI(t,e){if(1&t&&(us(0,"div",23),us(1,"span"),al(2),Lu(3,"translate"),cs(),is(4,ZI,3,3,"ng-container",24),is(5,$I,2,1,"ng-container",24),cs()),2&t){var n=e.$implicit;Kr(2),sl("",Tu(3,3,n.filterName),": "),Kr(2),ss("ngIf",n.translatableValue),Kr(1),ss("ngIf",n.value)}}function XI(t,e){if(1&t){var n=ms();us(0,"div",20),_s("click",(function(){return Dn(n),Ms(2).dataFilterer.removeFilters()})),is(1,QI,6,5,"div",21),us(2,"div",22),al(3),Lu(4,"translate"),cs(),cs()}if(2&t){var i=Ms(2);Kr(1),ss("ngForOf",i.dataFilterer.currentFiltersTexts),Kr(2),ol(Tu(4,2,"filters.press-to-remove"))}}function tA(t,e){if(1&t){var n=ms();us(0,"mat-icon",25),_s("click",(function(){return Dn(n),Ms(2).dataFilterer.changeFilters()})),Lu(1,"translate"),al(2,"filter_list"),cs()}2&t&&ss("inline",!0)("matTooltip",Tu(1,2,"filters.filter-action"))}function eA(t,e){1&t&&(us(0,"mat-icon",26),al(1,"more_horiz"),cs()),2&t&&(Ms(),ss("matMenuTriggerFor",rs(12)))}var nA=function(){return["/nodes","list"]},iA=function(){return["/nodes","dmsg"]};function rA(t,e){if(1&t&&ds(0,"app-paginator",27),2&t){var n=Ms(2);ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",n.showDmsgInfo?wu(5,iA):wu(4,nA))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function aA(t,e){if(1&t&&(us(0,"mat-icon",42),al(1),cs()),2&t){var n=Ms(4);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function oA(t,e){if(1&t&&(us(0,"mat-icon",42),al(1),cs()),2&t){var n=Ms(4);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function sA(t,e){if(1&t&&(us(0,"mat-icon",42),al(1),cs()),2&t){var n=Ms(4);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function lA(t,e){if(1&t&&(us(0,"mat-icon",42),al(1),cs()),2&t){var n=Ms(4);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function uA(t,e){1&t&&(hs(0),al(1,"*"),fs())}function cA(t,e){if(1&t&&(hs(0),us(1,"mat-icon",42),al(2),cs(),is(3,uA,2,0,"ng-container",24),fs()),2&t){var n=Ms(5);Kr(1),ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow),Kr(1),ss("ngIf",n.dataSorter.currentlySortingByLabel)}}function dA(t,e){if(1&t){var n=ms();us(0,"th",38),_s("click",(function(){Dn(n);var t=Ms(4);return t.dataSorter.changeSortingOrder(t.dmsgServerSortData)})),al(1),Lu(2,"translate"),is(3,cA,4,3,"ng-container",24),cs()}if(2&t){var i=Ms(4);Kr(1),sl(" ",Tu(2,2,"nodes.dmsg-server")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.dmsgServerSortData)}}function hA(t,e){if(1&t&&(us(0,"mat-icon",42),al(1),cs()),2&t){var n=Ms(5);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function fA(t,e){if(1&t){var n=ms();us(0,"th",38),_s("click",(function(){Dn(n);var t=Ms(4);return t.dataSorter.changeSortingOrder(t.pingSortData)})),al(1),Lu(2,"translate"),is(3,hA,2,2,"mat-icon",35),cs()}if(2&t){var i=Ms(4);Kr(1),sl(" ",Tu(2,2,"nodes.ping")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.pingSortData)}}function pA(t,e){1&t&&(us(0,"mat-icon",49),Lu(1,"translate"),al(2,"star"),cs()),2&t&&ss("inline",!0)("matTooltip",Tu(1,2,"nodes.hypervisor-info"))}function mA(t,e){if(1&t){var n=ms();us(0,"app-labeled-element-text",51),_s("labelEdited",(function(){return Dn(n),Ms(6).forceDataRefresh()})),cs()}if(2&t){var i=Ms(2).$implicit,r=Ms(4);Ls("id",i.dmsgServerPk),ss("short",!0)("elementType",r.labeledElementTypes.DmsgServer)}}function gA(t,e){if(1&t&&(us(0,"td"),is(1,mA,1,3,"app-labeled-element-text",50),cs()),2&t){var n=Ms().$implicit;Kr(1),ss("ngIf",n.dmsgServerPk)}}var vA=function(t){return{time:t}};function _A(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms(2).$implicit;Kr(1),sl(" ",Pu(2,1,"common.time-in-ms",Su(4,vA,n.roundTripPing))," ")}}function yA(t,e){if(1&t&&(us(0,"td"),is(1,_A,3,6,"ng-container",24),cs()),2&t){var n=Ms().$implicit;Kr(1),ss("ngIf",n.dmsgServerPk)}}function bA(t,e){if(1&t){var n=ms();us(0,"button",47),_s("click",(function(){Dn(n);var t=Ms().$implicit;return Ms(4).open(t)})),Lu(1,"translate"),us(2,"mat-icon",42),al(3,"chevron_right"),cs(),cs()}2&t&&(ss("matTooltip",Tu(1,2,"nodes.view-node")),Kr(2),ss("inline",!0))}function kA(t,e){if(1&t){var n=ms();us(0,"button",47),_s("click",(function(){Dn(n);var t=Ms().$implicit;return Ms(4).deleteNode(t)})),Lu(1,"translate"),us(2,"mat-icon"),al(3,"close"),cs(),cs()}2&t&&ss("matTooltip",Tu(1,1,"nodes.delete-node"))}function wA(t,e){if(1&t){var n=ms();us(0,"tr",43),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(4).open(t)})),us(1,"td"),is(2,pA,3,4,"mat-icon",44),cs(),us(3,"td"),ds(4,"span",45),Lu(5,"translate"),cs(),us(6,"td"),al(7),cs(),us(8,"td"),al(9),cs(),is(10,gA,2,1,"td",24),is(11,yA,2,1,"td",24),us(12,"td",46),_s("click",(function(t){return Dn(n),t.stopPropagation()})),us(13,"button",47),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(4).copyToClipboard(t)})),Lu(14,"translate"),us(15,"mat-icon",42),al(16,"filter_none"),cs(),cs(),us(17,"button",47),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(4).showEditLabelDialog(t)})),Lu(18,"translate"),us(19,"mat-icon",42),al(20,"short_text"),cs(),cs(),is(21,bA,4,4,"button",48),is(22,kA,4,3,"button",48),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(4);Kr(2),ss("ngIf",i.isHypervisor),Kr(2),qs(r.nodeStatusClass(i,!0)),ss("matTooltip",Tu(5,14,r.nodeStatusText(i,!0))),Kr(3),sl(" ",i.label," "),Kr(2),sl(" ",i.localPk," "),Kr(1),ss("ngIf",r.showDmsgInfo),Kr(1),ss("ngIf",r.showDmsgInfo),Kr(2),ss("matTooltip",Tu(14,16,r.showDmsgInfo?"nodes.copy-data":"nodes.copy-key")),Kr(2),ss("inline",!0),Kr(2),ss("matTooltip",Tu(18,18,"labeled-element.edit-label")),Kr(2),ss("inline",!0),Kr(2),ss("ngIf",i.online),Kr(1),ss("ngIf",!i.online)}}function SA(t,e){if(1&t){var n=ms();us(0,"table",32),us(1,"tr"),us(2,"th",33),_s("click",(function(){Dn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.hypervisorSortData)})),Lu(3,"translate"),us(4,"mat-icon",34),al(5,"star_outline"),cs(),is(6,aA,2,2,"mat-icon",35),cs(),us(7,"th",33),_s("click",(function(){Dn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.stateSortData)})),Lu(8,"translate"),ds(9,"span",36),is(10,oA,2,2,"mat-icon",35),cs(),us(11,"th",37),_s("click",(function(){Dn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.labelSortData)})),al(12),Lu(13,"translate"),is(14,sA,2,2,"mat-icon",35),cs(),us(15,"th",38),_s("click",(function(){Dn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.keySortData)})),al(16),Lu(17,"translate"),is(18,lA,2,2,"mat-icon",35),cs(),is(19,dA,4,4,"th",39),is(20,fA,4,4,"th",39),ds(21,"th",40),cs(),is(22,wA,23,20,"tr",41),cs()}if(2&t){var i=Ms(3);Kr(2),ss("matTooltip",Tu(3,11,"nodes.hypervisor")),Kr(4),ss("ngIf",i.dataSorter.currentSortingColumn===i.hypervisorSortData),Kr(1),ss("matTooltip",Tu(8,13,"nodes.state-tooltip")),Kr(3),ss("ngIf",i.dataSorter.currentSortingColumn===i.stateSortData),Kr(2),sl(" ",Tu(13,15,"nodes.label")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.labelSortData),Kr(2),sl(" ",Tu(17,17,"nodes.key")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.keySortData),Kr(1),ss("ngIf",i.showDmsgInfo),Kr(1),ss("ngIf",i.showDmsgInfo),Kr(2),ss("ngForOf",i.dataSource)}}function MA(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"tables.label")))}function CA(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"tables.inverted-order")))}function xA(t,e){1&t&&(us(0,"div",57),us(1,"mat-icon",62),al(2,"star"),cs(),al(3,"\xa0 "),us(4,"span",63),al(5),Lu(6,"translate"),cs(),cs()),2&t&&(Kr(1),ss("inline",!0),Kr(4),ol(Tu(6,2,"nodes.hypervisor")))}function DA(t,e){if(1&t){var n=ms();us(0,"div",58),us(1,"span",9),al(2),Lu(3,"translate"),cs(),al(4,": "),us(5,"app-labeled-element-text",64),_s("labelEdited",(function(){return Dn(n),Ms(5).forceDataRefresh()})),cs(),cs()}if(2&t){var i=Ms().$implicit,r=Ms(4);Kr(2),ol(Tu(3,3,"nodes.dmsg-server")),Kr(3),Ls("id",i.dmsgServerPk),ss("elementType",r.labeledElementTypes.DmsgServer)}}function LA(t,e){if(1&t&&(us(0,"div",57),us(1,"span",9),al(2),Lu(3,"translate"),cs(),al(4),Lu(5,"translate"),cs()),2&t){var n=Ms().$implicit;Kr(2),ol(Tu(3,2,"nodes.ping")),Kr(2),sl(": ",Pu(5,4,"common.time-in-ms",Su(7,vA,n.roundTripPing))," ")}}function TA(t,e){if(1&t){var n=ms();us(0,"tr",43),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(4).open(t)})),us(1,"td"),us(2,"div",53),us(3,"div",54),is(4,xA,7,4,"div",56),us(5,"div",57),us(6,"span",9),al(7),Lu(8,"translate"),cs(),al(9,": "),us(10,"span"),al(11),Lu(12,"translate"),cs(),cs(),us(13,"div",57),us(14,"span",9),al(15),Lu(16,"translate"),cs(),al(17),cs(),us(18,"div",58),us(19,"span",9),al(20),Lu(21,"translate"),cs(),al(22),cs(),is(23,DA,6,5,"div",59),is(24,LA,6,9,"div",56),cs(),ds(25,"div",60),us(26,"div",55),us(27,"button",61),_s("click",(function(t){Dn(n);var i=e.$implicit,r=Ms(4);return t.stopPropagation(),r.showOptionsDialog(i)})),Lu(28,"translate"),us(29,"mat-icon"),al(30),cs(),cs(),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(4);Kr(4),ss("ngIf",i.isHypervisor),Kr(3),ol(Tu(8,13,"nodes.state")),Kr(3),qs(r.nodeStatusClass(i,!1)+" title"),Kr(1),ol(Tu(12,15,r.nodeStatusText(i,!1))),Kr(4),ol(Tu(16,17,"nodes.label")),Kr(2),sl(": ",i.label," "),Kr(3),ol(Tu(21,19,"nodes.key")),Kr(2),sl(": ",i.localPk," "),Kr(1),ss("ngIf",r.showDmsgInfo),Kr(1),ss("ngIf",r.showDmsgInfo),Kr(3),ss("matTooltip",Tu(28,21,"common.options")),Kr(3),ol("add")}}function PA(t,e){if(1&t){var n=ms();us(0,"table",52),us(1,"tr",43),_s("click",(function(){return Dn(n),Ms(3).dataSorter.openSortingOrderModal()})),us(2,"td"),us(3,"div",53),us(4,"div",54),us(5,"div",9),al(6),Lu(7,"translate"),cs(),us(8,"div"),al(9),Lu(10,"translate"),is(11,MA,3,3,"ng-container",24),is(12,CA,3,3,"ng-container",24),cs(),cs(),us(13,"div",55),us(14,"mat-icon",42),al(15,"keyboard_arrow_down"),cs(),cs(),cs(),cs(),cs(),is(16,TA,31,23,"tr",41),cs()}if(2&t){var i=Ms(3);Kr(6),ol(Tu(7,6,"tables.sorting-title")),Kr(3),sl("",Tu(10,8,i.dataSorter.currentSortingColumn.label)," "),Kr(2),ss("ngIf",i.dataSorter.currentlySortingByLabel),Kr(1),ss("ngIf",i.dataSorter.sortingInReverseOrder),Kr(2),ss("inline",!0),Kr(2),ss("ngForOf",i.dataSource)}}function OA(t,e){if(1&t&&(us(0,"div",28),us(1,"div",29),is(2,SA,23,19,"table",30),is(3,PA,17,10,"table",31),cs(),cs()),2&t){var n=Ms(2);Kr(2),ss("ngIf",n.dataSource.length>0),Kr(1),ss("ngIf",n.dataSource.length>0)}}function EA(t,e){if(1&t&&ds(0,"app-paginator",27),2&t){var n=Ms(2);ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",n.showDmsgInfo?wu(5,iA):wu(4,nA))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function IA(t,e){1&t&&(us(0,"span",68),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"nodes.empty")))}function AA(t,e){1&t&&(us(0,"span",68),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"nodes.empty-with-filter")))}function YA(t,e){if(1&t&&(us(0,"div",28),us(1,"div",65),us(2,"mat-icon",66),al(3,"warning"),cs(),is(4,IA,3,3,"span",67),is(5,AA,3,3,"span",67),cs(),cs()),2&t){var n=Ms(2);Kr(2),ss("inline",!0),Kr(2),ss("ngIf",0===n.allNodes.length),Kr(1),ss("ngIf",0!==n.allNodes.length)}}var FA=function(t){return{"paginator-icons-fixer":t}};function RA(t,e){if(1&t){var n=ms();us(0,"div",5),us(1,"div",6),us(2,"app-top-bar",7),_s("refreshRequested",(function(){return Dn(n),Ms().forceDataRefresh(!0)}))("optionSelected",(function(t){return Dn(n),Ms().performAction(t)})),cs(),cs(),us(3,"div",6),us(4,"div",8),us(5,"div",9),is(6,XI,5,4,"div",10),cs(),us(7,"div",11),us(8,"div",12),is(9,tA,3,4,"mat-icon",13),is(10,eA,2,1,"mat-icon",14),us(11,"mat-menu",15,16),us(13,"div",17),_s("click",(function(){return Dn(n),Ms().removeOffline()})),al(14),Lu(15,"translate"),cs(),cs(),cs(),is(16,rA,1,6,"app-paginator",18),cs(),cs(),is(17,OA,4,2,"div",19),is(18,EA,1,6,"app-paginator",18),is(19,YA,6,3,"div",19),cs(),cs()}if(2&t){var i=Ms();Kr(2),ss("titleParts",wu(21,KI))("tabsData",i.tabsData)("selectedTabIndex",i.showDmsgInfo?1:0)("secondsSinceLastUpdate",i.secondsSinceLastUpdate)("showLoading",i.updating)("showAlert",i.errorsUpdating)("refeshRate",i.storageService.getRefreshTime())("optionsData",i.options),Kr(2),ss("ngClass",Su(22,FA,i.numberOfPages>1)),Kr(2),ss("ngIf",i.dataFilterer.currentFiltersTexts&&i.dataFilterer.currentFiltersTexts.length>0),Kr(3),ss("ngIf",i.allNodes&&i.allNodes.length>0),Kr(1),ss("ngIf",i.dataSource.length>0),Kr(1),ss("overlapTrigger",!1),Kr(2),Ls("disabled",!i.hasOfflineNodes),Kr(1),sl(" ",Tu(15,19,"nodes.delete-all-offline")," "),Kr(2),ss("ngIf",i.numberOfPages>1),Kr(1),ss("ngIf",0!==i.dataSource.length),Kr(1),ss("ngIf",i.numberOfPages>1),Kr(1),ss("ngIf",0===i.dataSource.length)}}var NA=function(){function t(t,e,n,i,r,a,o,s,l,u){var c=this;this.nodeService=t,this.router=e,this.dialog=n,this.authService=i,this.storageService=r,this.ngZone=a,this.snackbarService=o,this.clipboardService=s,this.translateService=l,this.nodesListId="nl",this.dmsgListId="dl",this.hypervisorSortData=new UP(["isHypervisor"],"nodes.hypervisor",qP.Boolean),this.stateSortData=new UP(["online"],"nodes.state",qP.Boolean),this.labelSortData=new UP(["label"],"nodes.label",qP.Text),this.keySortData=new UP(["localPk"],"nodes.key",qP.Text),this.dmsgServerSortData=new UP(["dmsgServerPk"],"nodes.dmsg-server",qP.Text,["dmsgServerPk_label"]),this.pingSortData=new UP(["roundTripPing"],"nodes.ping",qP.Number),this.loading=!0,this.tabsData=[],this.options=[],this.showDmsgInfo=!1,this.hasOfflineNodes=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"nodes.filter-dialog.online",keyNameInElementsArray:"online",type:EP.Select,printableLabelsForValues:[{value:"",label:"nodes.filter-dialog.online-options.any"},{value:"true",label:"nodes.filter-dialog.online-options.online"},{value:"false",label:"nodes.filter-dialog.online-options.offline"}]},{filterName:"nodes.filter-dialog.label",keyNameInElementsArray:"label",type:EP.TextInput,maxlength:100},{filterName:"nodes.filter-dialog.key",keyNameInElementsArray:"localPk",type:EP.TextInput,maxlength:66},{filterName:"nodes.filter-dialog.dmsg",keyNameInElementsArray:"dmsgServerPk",secondaryKeyNameInElementsArray:"dmsgServerPk_label",type:EP.TextInput,maxlength:66}],this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,this.labeledElementTypes=Kb,this.updateOptionsMenu(!0),this.authVerificationSubscription=this.authService.checkLogin().subscribe((function(t){t===ox.AuthDisabled&&c.updateOptionsMenu(!1)})),this.showDmsgInfo=-1!==this.router.url.indexOf("dmsg"),this.showDmsgInfo||this.filterProperties.splice(this.filterProperties.length-1);var d=[this.hypervisorSortData,this.stateSortData,this.labelSortData,this.keySortData];this.showDmsgInfo&&(d.push(this.dmsgServerSortData),d.push(this.pingSortData)),this.dataSorter=new GP(this.dialog,this.translateService,d,3,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){c.recalculateElementsToShow()})),this.dataFilterer=new bO(this.dialog,u,this.router,this.filterProperties,this.showDmsgInfo?this.dmsgListId:this.nodesListId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(t){c.filteredNodes=t,c.hasOfflineNodes=!1,c.filteredNodes.forEach((function(t){t.online||(c.hasOfflineNodes=!0)})),c.dataSorter.setData(c.filteredNodes)})),this.navigationsSubscription=u.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),c.currentPageInUrl=e,c.recalculateElementsToShow()}})),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.languageSubscription=this.translateService.onLangChange.subscribe((function(){c.nodeService.forceNodeListRefresh()}))}return t.prototype.updateOptionsMenu=function(t){this.options=[{name:"nodes.update-all",actionName:"updateAll",icon:"get_app"}],t&&this.options.push({name:"common.logout",actionName:"logout",icon:"power_settings_new"})},t.prototype.ngOnInit=function(){var t=this;this.nodeService.startRequestingNodeList(),this.startGettingData(),this.ngZone.runOutsideAngular((function(){t.updateTimeSubscription=vk(5e3,5e3).subscribe((function(){return t.ngZone.run((function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)}))}))}))},t.prototype.ngOnDestroy=function(){this.nodeService.stopRequestingNodeList(),this.authVerificationSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.languageSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()},t.prototype.performAction=function(t){"logout"===t?this.logout():"updateAll"===t&&this.updateAll()},t.prototype.nodeStatusClass=function(t,e){switch(t.online){case!0:return this.nodesHealthInfo.get(t.localPk).allServicesOk?e?"dot-green":"green-text":e?"dot-yellow blinking":"yellow-text";default:return e?"dot-red":"red-text"}},t.prototype.nodeStatusText=function(t,e){switch(t.online){case!0:return this.nodesHealthInfo.get(t.localPk).allServicesOk?"node.statuses.online"+(e?"-tooltip":""):"node.statuses.partially-online"+(e?"-tooltip":"");default:return"node.statuses.offline"+(e?"-tooltip":"")}},t.prototype.forceDataRefresh=function(t){void 0===t&&(t=!1),t&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceNodeListRefresh()},t.prototype.startGettingData=function(){var t=this;this.dataSubscription=this.nodeService.updatingNodeList.subscribe((function(e){return t.updating=e})),this.ngZone.runOutsideAngular((function(){t.dataSubscription.add(t.nodeService.nodeList.subscribe((function(e){t.ngZone.run((function(){e&&(e.data&&!e.error?(t.allNodes=e.data,t.showDmsgInfo&&t.allNodes.forEach((function(e){e.dmsgServerPk_label=WP.getCompleteLabel(t.storageService,t.translateService,e.dmsgServerPk)})),t.dataFilterer.setData(t.allNodes),t.loading=!1,t.snackbarService.closeCurrentIfTemporaryError(),t.lastUpdate=e.momentOfLastCorrectUpdate,t.secondsSinceLastUpdate=Math.floor((Date.now()-e.momentOfLastCorrectUpdate)/1e3),t.errorsUpdating=!1,t.lastUpdateRequestedManually&&(t.snackbarService.showDone("common.refreshed",null),t.lastUpdateRequestedManually=!1)):e.error&&(t.errorsUpdating||t.snackbarService.showError(t.loading?"common.loading-error":"nodes.error-load",null,!0,e.error),t.errorsUpdating=!0))}))})))}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredNodes){var e=xC.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredNodes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.nodesToShow=this.filteredNodes.slice(n,n+e)}else this.nodesToShow=null;this.nodesToShow&&(this.nodesHealthInfo=new Map,this.nodesToShow.forEach((function(e){t.nodesHealthInfo.set(e.localPk,t.nodeService.getHealthStatus(e))})),this.dataSource=this.nodesToShow)},t.prototype.logout=function(){var t=this,e=DP.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.closeModal(),t.authService.logout().subscribe((function(){return t.router.navigate(["login"])}),(function(){return t.snackbarService.showError("common.logout-error")}))}))},t.prototype.updateAll=function(){if(this.dataSource&&0!==this.dataSource.length){var t=[];this.dataSource.forEach((function(e){e.online&&t.push({key:e.localPk,label:e.label})})),XO.openDialog(this.dialog,t)}else this.snackbarService.showError("nodes.no-visors-to-update")},t.prototype.recursivelyUpdateWallets=function(t,e,n){var i=this;return void 0===n&&(n=0),this.nodeService.update(t[t.length-1]).pipe(bv((function(){return mg(null)})),st((function(r){return r&&r.updated&&!r.error?i.snackbarService.showDone(i.translateService.instant("nodes.update.done",{name:e[e.length-1]})):(i.snackbarService.showError(i.translateService.instant("nodes.update.update-error",{name:e[e.length-1]})),n+=1),t.pop(),e.pop(),t.length>=1?i.recursivelyUpdateWallets(t,e,n):mg(n)})))},t.prototype.showOptionsDialog=function(t){var e=this,n=[{icon:"filter_none",label:"nodes.copy-key"}];this.showDmsgInfo&&n.push({icon:"filter_none",label:"nodes.copy-dmsg"}),n.push({icon:"short_text",label:"labeled-element.edit-label"}),t.online||n.push({icon:"close",label:"nodes.delete-node"}),PP.openDialog(this.dialog,n,"common.options").afterClosed().subscribe((function(n){1===n?e.copySpecificTextToClipboard(t.localPk):e.showDmsgInfo?2===n?e.copySpecificTextToClipboard(t.dmsgServerPk):3===n?e.showEditLabelDialog(t):4===n&&e.deleteNode(t):2===n?e.showEditLabelDialog(t):3===n&&e.deleteNode(t)}))},t.prototype.copyToClipboard=function(t){var e=this;this.showDmsgInfo?PP.openDialog(this.dialog,[{icon:"filter_none",label:"nodes.key"},{icon:"filter_none",label:"nodes.dmsg-server"}],"common.options").afterClosed().subscribe((function(n){1===n?e.copySpecificTextToClipboard(t.localPk):2===n&&e.copySpecificTextToClipboard(t.dmsgServerPk)})):this.copySpecificTextToClipboard(t.localPk)},t.prototype.copySpecificTextToClipboard=function(t){this.clipboardService.copy(t)&&this.snackbarService.showDone("copy.copied")},t.prototype.showEditLabelDialog=function(t){var e=this,n=this.storageService.getLabelInfo(t.localPk);n||(n={id:t.localPk,label:"",identifiedElementType:Kb.Node}),_P.openDialog(this.dialog,n).afterClosed().subscribe((function(t){t&&e.forceDataRefresh()}))},t.prototype.deleteNode=function(t){var e=this,n=DP.createConfirmationDialog(this.dialog,"nodes.delete-node-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.close(),e.storageService.setLocalNodesAsHidden([t.localPk],[t.ip]),e.forceDataRefresh(),e.snackbarService.showDone("nodes.deleted")}))},t.prototype.removeOffline=function(){var t=this,e="nodes.delete-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(e="nodes.delete-all-filtered-offline-confirmation");var n=DP.createConfirmationDialog(this.dialog,e);n.componentInstance.operationAccepted.subscribe((function(){n.close();var e=[],i=[];t.filteredNodes.forEach((function(t){t.online||(e.push(t.localPk),i.push(t.ip))})),e.length>0&&(t.storageService.setLocalNodesAsHidden(e,i),t.forceDataRefresh(),1===e.length?t.snackbarService.showDone("nodes.deleted-singular"):t.snackbarService.showDone("nodes.deleted-plural",{number:e.length}))}))},t.prototype.open=function(t){t.online&&this.router.navigate(["nodes",t.localPk])},t.\u0275fac=function(e){return new(e||t)(as(gP),as(cb),as(BC),as(sx),as(Jb),as(Mc),as(CC),as(OP),as(fC),as(W_))},t.\u0275cmp=Fe({type:t,selectors:[["app-node-list"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton"],[1,"h-100"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","refreshRequested","optionSelected"],[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow","full-node-list-margins"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["class","responsive-table-translucid d-md-none nowrap","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"sortable-column","small-column",3,"matTooltip","click"],[1,"hypervisor-icon","gray-text"],[3,"inline",4,"ngIf"],[1,"dot-outline-gray"],[1,"sortable-column","labels",3,"click"],[1,"sortable-column",3,"click"],["class","sortable-column",3,"click",4,"ngIf"],[1,"actions"],["class","selectable",3,"click",4,"ngFor","ngForOf"],[3,"inline"],[1,"selectable",3,"click"],["class","hypervisor-icon",3,"inline","matTooltip",4,"ngIf"],[3,"matTooltip"],[1,"actions",3,"click"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],[1,"hypervisor-icon",3,"inline","matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited",4,"ngIf"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none","nowrap"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],["class","list-row",4,"ngIf"],[1,"list-row"],[1,"list-row","long-content"],["class","list-row long-content",4,"ngIf"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[1,"hypervisor-icon",3,"inline"],[1,"yellow-clear-text","title"],[3,"id","elementType","labelEdited"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(is(0,JI,4,5,"div",0),is(1,RA,20,24,"div",1)),2&t&&(ss("ngIf",e.loading),Kr(1),ss("ngIf",!e.loading))},directives:[Sh,OI,yx,_h,IE,DE,kh,qM,zL,RE,GI,uM,WP],pipes:[mC],styles:[".labels[_ngcontent-%COMP%]{width:15%}.actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.hypervisor-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;position:relative;top:2px;margin-left:2px;color:#d48b05}.gray-text[_ngcontent-%COMP%]{color:#777!important}.small-column[_ngcontent-%COMP%]{width:1px}"]}),t}(),HA=["terminal"],jA=["dialogContent"],BA=function(){function t(t,e,n,i){this.data=t,this.renderer=e,this.apiService=n,this.translate=i,this.history=[],this.historyIndex=0,this.currentInputText=""}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.largeModalWidth,e.open(t,i)},t.prototype.keyEvent=function(t){this.terminal.hasFocus()&&this.history.length>0&&(38===t.keyCode&&(this.historyIndex===this.history.length&&(this.currentInputText=this.terminal.getInputContent()),this.historyIndex=this.historyIndex>0?this.historyIndex-1:0,this.terminal.changeInputContent(this.history[this.historyIndex])),40===t.keyCode&&(this.historyIndex=this.historyIndex/g,">")).replace(/\n/g,"
")).replace(/\t/g," ")).replace(/ /g," "),this.terminal.print(n),setTimeout((function(){e.dialogContentElement.nativeElement.scrollTop=e.dialogContentElement.nativeElement.scrollHeight}))},t.\u0275fac=function(e){return new(e||t)(as(RC),as(Fl),as(rx),as(fC))},t.\u0275cmp=Fe({type:t,selectors:[["app-basic-terminal"]],viewQuery:function(t,e){var n;1&t&&(qu(HA,!0),qu(jA,!0)),2&t&&(Wu(n=$u())&&(e.terminalElement=n.first),Wu(n=$u())&&(e.dialogContentElement=n.first))},hostBindings:function(t,e){1&t&&_s("keyup",(function(t){return e.keyEvent(t)}),!1,ki)},decls:7,vars:5,consts:[[3,"headline","includeScrollableArea","includeVerticalMargins"],[3,"click"],["dialogContent",""],[1,"wrapper"],["terminal",""]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"mat-dialog-content",1,2),_s("click",(function(){return e.focusTerminal()})),us(4,"div",3),ds(5,"div",null,4),cs(),cs(),cs()),2&t&&ss("headline",Tu(1,3,"actions.terminal.title")+" - "+e.data.label+" ("+e.data.pk+")")("includeScrollableArea",!1)("includeVerticalMargins",!1)},directives:[LL,UC],pipes:[mC],styles:[".mat-dialog-content[_ngcontent-%COMP%]{padding:0;margin-bottom:-24px;background:#000;height:100000px}.wrapper[_ngcontent-%COMP%]{padding:20px}.wrapper[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{word-break:break-all}"]}),t}(),VA=function(){function t(t,e){this.options=[],this.dialog=t.get(BC),this.router=t.get(cb),this.snackbarService=t.get(CC),this.nodeService=t.get(gP),this.translateService=t.get(fC),this.storageService=t.get(Jb),this.options=[{name:"actions.menu.terminal",actionName:"terminal",icon:"laptop"},{name:"actions.menu.reboot",actionName:"reboot",icon:"rotate_right"},{name:"actions.menu.update",actionName:"update",icon:"get_app"},{name:"actions.menu.logs",actionName:"logs",icon:"subject"}],this.showingFullList=e,this.returnButtonText=e?"node.title":"nodes.title"}return t.prototype.setCurrentNode=function(t){this.currentNode=t},t.prototype.setCurrentNodeKey=function(t){this.currentNodeKey=t},t.prototype.performAction=function(t,e){"terminal"===t?this.terminal():"update"===t?this.update():"logs"===t?window.open(window.location.origin+"/api/visors/"+e+"/runtime-logs","_blank"):"reboot"===t?this.reboot():null===t&&this.back()},t.prototype.dispose=function(){this.rebootSubscription&&this.rebootSubscription.unsubscribe(),this.updateSubscription&&this.updateSubscription.unsubscribe()},t.prototype.reboot=function(){var t=this,e=DP.createConfirmationDialog(this.dialog,"actions.reboot.confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.showProcessing(),t.rebootSubscription=t.nodeService.reboot(t.currentNodeKey).subscribe((function(){t.snackbarService.showDone("actions.reboot.done"),e.close()}),(function(t){t=MC(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)}))}))},t.prototype.update=function(){var t=this.storageService.getLabelInfo(this.currentNodeKey);XO.openDialog(this.dialog,[{key:this.currentNodeKey,label:t?t.label:""}])},t.prototype.terminal=function(){var t=this;PP.openDialog(this.dialog,[{icon:"launch",label:"actions.terminal-options.full"},{icon:"open_in_browser",label:"actions.terminal-options.simple"}],"common.options").afterClosed().subscribe((function(e){if(1===e){var n=window.location.protocol,i=window.location.host.replace("localhost:4200","127.0.0.1:8000");window.open(n+"//"+i+"/pty/"+t.currentNodeKey,"_blank","noopener noreferrer")}else 2===e&&BA.openDialog(t.dialog,{pk:t.currentNodeKey,label:t.currentNode?t.currentNode.label:""})}))},t.prototype.back=function(){this.router.navigate(this.showingFullList?["nodes",this.currentNodeKey]:["nodes"])},t}();function zA(t,e){1&t&&ds(0,"app-loading-indicator")}function WA(t,e){1&t&&(us(0,"div",6),us(1,"div"),us(2,"mat-icon",7),al(3,"error"),cs(),al(4),Lu(5,"translate"),cs(),cs()),2&t&&(Kr(2),ss("inline",!0),Kr(2),sl(" ",Tu(5,2,"node.not-found")," "))}function UA(t,e){if(1&t){var n=ms();us(0,"div",2),us(1,"div"),us(2,"app-top-bar",3),_s("optionSelected",(function(t){return Dn(n),Ms().performAction(t)})),cs(),cs(),is(3,zA,1,0,"app-loading-indicator",4),is(4,WA,6,4,"div",5),cs()}if(2&t){var i=Ms();Kr(2),ss("titleParts",i.titleParts)("tabsData",i.tabsData)("selectedTabIndex",i.selectedTabIndex)("showUpdateButton",!1)("optionsData",i.nodeActionsHelper?i.nodeActionsHelper.options:null)("returnText",i.nodeActionsHelper?i.nodeActionsHelper.returnButtonText:""),Kr(1),ss("ngIf",!i.notFound),Kr(1),ss("ngIf",i.notFound)}}function qA(t,e){1&t&&ds(0,"app-node-info-content",15),2&t&&ss("nodeInfo",Ms(2).node)}var GA=function(t,e){return{"main-area":t,"full-size-main-area":e}},KA=function(t){return{"d-none":t}};function JA(t,e){if(1&t){var n=ms();us(0,"div",8),us(1,"div",9),us(2,"app-top-bar",10),_s("optionSelected",(function(t){return Dn(n),Ms().performAction(t)}))("refreshRequested",(function(){return Dn(n),Ms().forceDataRefresh(!0)})),cs(),cs(),us(3,"div",9),us(4,"div",11),us(5,"div",12),ds(6,"router-outlet"),cs(),cs(),us(7,"div",13),is(8,qA,1,1,"app-node-info-content",14),cs(),cs(),cs()}if(2&t){var i=Ms();Kr(2),ss("titleParts",i.titleParts)("tabsData",i.tabsData)("selectedTabIndex",i.selectedTabIndex)("secondsSinceLastUpdate",i.secondsSinceLastUpdate)("showLoading",i.updating)("showAlert",i.errorsUpdating)("refeshRate",i.storageService.getRefreshTime())("optionsData",i.nodeActionsHelper?i.nodeActionsHelper.options:null)("returnText",i.nodeActionsHelper?i.nodeActionsHelper.returnButtonText:""),Kr(2),ss("ngClass",Mu(12,GA,!i.showingInfo&&!i.showingFullList,i.showingInfo||i.showingFullList)),Kr(3),ss("ngClass",Su(15,KA,i.showingInfo||i.showingFullList)),Kr(1),ss("ngIf",!i.showingInfo&&!i.showingFullList)}}var ZA=function(){function t(e,n,i,r,a,o,s){var l=this;this.storageService=e,this.nodeService=n,this.route=i,this.ngZone=r,this.snackbarService=a,this.injector=o,this.notFound=!1,this.titleParts=[],this.tabsData=[],this.selectedTabIndex=-1,this.showingInfo=!1,this.showingFullList=!1,this.secondsSinceLastUpdate=0,this.lastUpdate=Date.now(),this.updating=!1,this.errorsUpdating=!1,this.lastUpdateRequestedManually=!1,t.nodeSubject=new qb(1),t.currentInstanceInternal=this,this.navigationsSubscription=s.events.subscribe((function(e){e.urlAfterRedirects&&(t.currentNodeKey=l.route.snapshot.params.key,l.nodeActionsHelper&&l.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),l.lastUrl=e.urlAfterRedirects,l.updateTabBar(),l.navigationsSubscription.unsubscribe(),l.nodeService.startRequestingSpecificNode(t.currentNodeKey),l.startGettingData())}))}return t.refreshCurrentDisplayedData=function(){t.currentInstanceInternal&&t.currentInstanceInternal.forceDataRefresh(!1)},t.getCurrentNodeKey=function(){return t.currentNodeKey},Object.defineProperty(t,"currentNode",{get:function(){return t.nodeSubject.asObservable()},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.ngZone.runOutsideAngular((function(){t.updateTimeSubscription=vk(5e3,5e3).subscribe((function(){return t.ngZone.run((function(){t.secondsSinceLastUpdate=Math.floor((Date.now()-t.lastUpdate)/1e3)}))}))}))},t.prototype.updateTabBar=function(){if(this.lastUrl&&(this.lastUrl.includes("/info")||this.lastUrl.includes("/routing")||this.lastUrl.includes("/apps")&&!this.lastUrl.includes("/apps-list")))this.titleParts=["nodes.title","node.title"],this.tabsData=[{icon:"info",label:"node.tabs.info",onlyIfLessThanLg:!0,linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"info"]:null},{icon:"shuffle",label:"node.tabs.routing",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"routing"]:null},{icon:"apps",label:"node.tabs.apps",linkParts:t.currentNodeKey?["/nodes",t.currentNodeKey,"apps"]:null}],this.selectedTabIndex=1,this.showingInfo=!1,this.lastUrl.includes("/info")&&(this.selectedTabIndex=0,this.showingInfo=!0),this.lastUrl.includes("/apps")&&(this.selectedTabIndex=2),this.showingFullList=!1,this.nodeActionsHelper=new VA(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);else if(this.lastUrl&&(this.lastUrl.includes("/transports")||this.lastUrl.includes("/routes")||this.lastUrl.includes("/apps-list"))){this.showingFullList=!0,this.showingInfo=!1,this.nodeActionsHelper=new VA(this.injector,this.showingFullList),this.nodeActionsHelper.setCurrentNodeKey(t.currentNodeKey),this.node&&this.nodeActionsHelper.setCurrentNode(this.node);var e="transports";this.lastUrl.includes("/routes")?e="routes":this.lastUrl.includes("/apps-list")&&(e="apps.apps-list"),this.titleParts=["nodes.title","node.title",e+".title"],this.tabsData=[{icon:"view_headline",label:e+".list-title",linkParts:[]}],this.selectedTabIndex=0}else this.titleParts=[],this.tabsData=[]},t.prototype.performAction=function(e){this.nodeActionsHelper.performAction(e,t.currentNodeKey)},t.prototype.forceDataRefresh=function(t){void 0===t&&(t=!1),t&&(this.lastUpdateRequestedManually=!0),this.nodeService.forceSpecificNodeRefresh()},t.prototype.startGettingData=function(){var e=this;this.dataSubscription=this.nodeService.updatingSpecificNode.subscribe((function(t){return e.updating=t})),this.ngZone.runOutsideAngular((function(){e.dataSubscription.add(e.nodeService.specificNode.subscribe((function(n){e.ngZone.run((function(){if(n)if(n.data&&!n.error)e.node=n.data,t.nodeSubject.next(e.node),e.nodeActionsHelper&&e.nodeActionsHelper.setCurrentNode(e.node),e.snackbarService.closeCurrentIfTemporaryError(),e.lastUpdate=n.momentOfLastCorrectUpdate,e.secondsSinceLastUpdate=Math.floor((Date.now()-n.momentOfLastCorrectUpdate)/1e3),e.errorsUpdating=!1,e.lastUpdateRequestedManually&&(e.snackbarService.showDone("common.refreshed",null),e.lastUpdateRequestedManually=!1);else if(n.error){if(n.error.originalError&&400===n.error.originalError.status)return void(e.notFound=!0);e.errorsUpdating||e.snackbarService.showError(e.node?"node.error-load":"common.loading-error",null,!0,n.error),e.errorsUpdating=!0}}))})))}))},t.prototype.ngOnDestroy=function(){this.nodeService.stopRequestingSpecificNode(),this.dataSubscription.unsubscribe(),this.updateTimeSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),t.currentInstanceInternal=void 0,t.currentNodeKey=void 0,t.nodeSubject.complete(),t.nodeSubject=void 0,this.nodeActionsHelper.dispose()},t.\u0275fac=function(e){return new(e||t)(as(Jb),as(gP),as(W_),as(Mc),as(CC),as(Wo),as(cb))},t.\u0275cmp=Fe({type:t,selectors:[["app-node"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","returnText","optionSelected"],[4,"ngIf"],["class","w-100 h-100 d-flex not-found-label",4,"ngIf"],[1,"w-100","h-100","d-flex","not-found-label"],[3,"inline"],[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","secondsSinceLastUpdate","showLoading","showAlert","refeshRate","optionsData","returnText","optionSelected","refreshRequested"],[3,"ngClass"],[1,"d-flex","flex-column","h-100"],[1,"right-bar",3,"ngClass"],[3,"nodeInfo",4,"ngIf"],[3,"nodeInfo"]],template:function(t,e){1&t&&(is(0,UA,5,8,"div",0),is(1,JA,9,17,"div",1)),2&t&&(ss("ngIf",!e.node),Kr(1),ss("ngIf",e.node))},styles:[".not-found-label[_ngcontent-%COMP%]{align-items:center;justify-content:center;font-size:1rem;position:relative}.not-found-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:5px;font-size:22px;opacity:.5;margin-right:3px}.full-size-main-area[_ngcontent-%COMP%], .main-area[_ngcontent-%COMP%]{width:100%}@media (min-width:992px){.main-area[_ngcontent-%COMP%]{width:73%;padding-right:20px;float:left}}.right-bar[_ngcontent-%COMP%]{width:27%;float:right;display:none}@media (min-width:992px){.right-bar[_ngcontent-%COMP%]{display:block;width:27%;float:right}}"]}),t}();function $A(t,e){if(1&t&&(us(0,"mat-option",8),al(1),Lu(2,"translate"),cs()),2&t){var n=e.$implicit;Ls("value",n),Kr(1),ll(" ",n," ",Tu(2,3,"settings.seconds")," ")}}var QA=function(){function t(t,e,n){this.formBuilder=t,this.storageService=e,this.snackbarService=n,this.timesList=["3","5","10","15","30","60","90","150","300"]}return t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({refreshRate:[this.storageService.getRefreshTime().toString()]}),this.subscription=this.form.get("refreshRate").valueChanges.subscribe((function(e){t.storageService.setRefreshTime(e),t.snackbarService.showDone("settings.refresh-rate-confirmation")}))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)(as(vL),as(Jb),as(CC))},t.\u0275cmp=Fe({type:t,selectors:[["app-refresh-rate"]],decls:11,vars:9,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","refreshRate",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),us(2,"div",2),us(3,"mat-icon",3),Lu(4,"translate"),al(5," help "),cs(),cs(),us(6,"form",4),us(7,"mat-form-field",5),us(8,"mat-select",6),Lu(9,"translate"),is(10,$A,3,5,"mat-option",7),cs(),cs(),cs(),cs(),cs()),2&t&&(Kr(3),ss("inline",!0)("matTooltip",Tu(4,5,"settings.refresh-rate-help")),Kr(3),ss("formGroup",e.form),Kr(2),ss("placeholder",Tu(9,7,"settings.refresh-rate")),Kr(2),ss("ngForOf",e.timesList))},directives:[qM,zL,zD,Ax,KD,LT,hO,Ix,eL,kh,XS],pipes:[mC],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}mat-form-field[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0!important}mat-form-field[_ngcontent-%COMP%] .mat-form-field-underline{bottom:0!important}"]}),t}(),XA=["input"],tY=function(){return{enterDuration:150}},eY=["*"],nY=new se("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),iY=new se("mat-checkbox-click-action"),rY=0,aY={provide:kx,useExisting:Ut((function(){return lY})),multi:!0},oY=function t(){_(this,t)},sY=LS(xS(DS(CS((function t(e){_(this,t),this._elementRef=e}))))),lY=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l,u){var c;return _(this,n),(c=e.call(this,t))._changeDetectorRef=i,c._focusMonitor=r,c._ngZone=a,c._clickAction=s,c._animationMode=l,c._options=u,c.ariaLabel="",c.ariaLabelledby=null,c._uniqueId="mat-checkbox-".concat(++rY),c.id=c._uniqueId,c.labelPosition="after",c.name=null,c.change=new Iu,c.indeterminateChange=new Iu,c._onTouched=function(){},c._currentAnimationClass="",c._currentCheckState=0,c._controlValueAccessorChangeFn=function(){},c._checked=!1,c._disabled=!1,c._indeterminate=!1,c._options=c._options||{},c._options.color&&(c.color=c._options.color),c.tabIndex=parseInt(o)||0,c._clickAction=c._clickAction||c._options.clickAction,c}return b(n,[{key:"ngAfterViewInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(e){e||Promise.resolve().then((function(){t._onTouched(),t._changeDetectorRef.markForCheck()}))})),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(t){this.checked=!!t}},{key:"registerOnChange",value:function(t){this._controlValueAccessorChangeFn=t}},{key:"registerOnTouched",value:function(t){this._onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(t){var e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){n.classList.remove(i)}),1e3)}))}}},{key:"_emitChangeEvent",value:function(){var t=new oY;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,t,e)}},{key:"_onInteractionEvent",value:function(t){t.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(n)}},{key:"_syncIndeterminate",value:function(t){var e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(t){this._required=Zb(t)}},{key:"checked",get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(t){var e=Zb(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=Zb(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),n}(sY);return t.\u0275fac=function(e){return new(e||t)(as(El),as(xo),as(hS),as(Mc),os("tabindex"),as(iY,8),as(dg,8),as(nY,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var n;1&t&&(qu(XA,!0),qu(BS,!0)),2&t&&(Wu(n=$u())&&(e._inputElement=n.first),Wu(n=$u())&&(e.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(dl("id",e.id),es("tabindex",null),zs("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[Dl([aY]),pl],ngContentSelectors:eY,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(xs(),us(0,"label",0,1),us(2,"div",2),us(3,"input",3,4),_s("change",(function(t){return e._onInteractionEvent(t)}))("click",(function(t){return e._onInputClick(t)})),cs(),us(5,"div",5),ds(6,"div",6),cs(),ds(7,"div",7),us(8,"div",8),ti(),us(9,"svg",9),ds(10,"path",10),cs(),ei(),ds(11,"div",11),cs(),cs(),us(12,"span",12,13),_s("cdkObserveContent",(function(){return e._onLabelTextChange()})),us(14,"span",14),al(15,"\xa0"),cs(),Ds(16),cs(),cs()),2&t){var n=rs(1),i=rs(13);es("for",e.inputId),Kr(2),zs("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),Kr(1),ss("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),es("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked())("aria-describedby",e.ariaDescribedby),Kr(2),ss("matRippleTrigger",n)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",wu(19,tY))}},directives:[BS,Uw],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t}(),uY={provide:Rx,useExisting:Ut((function(){return cY})),multi:!0},cY=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(aL);return t.\u0275fac=function(e){return dY(e||t)},t.\u0275dir=ze({type:t,selectors:[["mat-checkbox","required","","formControlName",""],["mat-checkbox","required","","formControl",""],["mat-checkbox","required","","ngModel",""]],features:[Dl([uY]),pl]}),t}(),dY=Vi(cY),hY=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)}}),t}(),fY=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},imports:[[VS,MS,qw,hY],MS,hY]}),t}(),pY=function(t){return{number:t}},mY=function(){function t(){this.numberOfElements=0,this.linkParts=[""],this.queryParams={}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-view-all-link"]],inputs:{numberOfElements:"numberOfElements",linkParts:"linkParts",queryParams:"queryParams"},decls:6,vars:9,consts:[[1,"main-container"],[3,"routerLink","queryParams"],[3,"inline"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"a",1),al(2),Lu(3,"translate"),us(4,"mat-icon",2),al(5,"chevron_right"),cs(),cs(),cs()),2&t&&(Kr(1),ss("routerLink",e.linkParts)("queryParams",e.queryParams),Kr(1),sl(" ",Pu(3,4,"view-all-link.label",Su(7,pY,e.numberOfElements))," "),Kr(2),ss("inline",!0))},directives:[fb,qM],pipes:[mC],styles:[".main-container[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:4px;text-align:right;font-size:.875rem}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.main-container[_ngcontent-%COMP%]{margin:0;padding:16px}}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.main-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:3px}"]}),t}();function gY(t,e){1&t&&(us(0,"span",14),al(1),Lu(2,"translate"),us(3,"mat-icon",15),Lu(4,"translate"),al(5,"help"),cs(),cs()),2&t&&(Kr(1),sl(" ",Tu(2,3,"labels.title")," "),Kr(2),ss("inline",!0)("matTooltip",Tu(4,5,"labels.info")))}function vY(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(Tu(2,1,n.translatableValue))}}function _Y(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(n.value)}}function yY(t,e){if(1&t&&(us(0,"div",19),us(1,"span"),al(2),Lu(3,"translate"),cs(),is(4,vY,3,3,"ng-container",20),is(5,_Y,2,1,"ng-container",20),cs()),2&t){var n=e.$implicit;Kr(2),sl("",Tu(3,3,n.filterName),": "),Kr(2),ss("ngIf",n.translatableValue),Kr(1),ss("ngIf",n.value)}}function bY(t,e){if(1&t){var n=ms();us(0,"div",16),_s("click",(function(){return Dn(n),Ms().dataFilterer.removeFilters()})),is(1,yY,6,5,"div",17),us(2,"div",18),al(3),Lu(4,"translate"),cs(),cs()}if(2&t){var i=Ms();Kr(1),ss("ngForOf",i.dataFilterer.currentFiltersTexts),Kr(2),ol(Tu(4,2,"filters.press-to-remove"))}}function kY(t,e){if(1&t){var n=ms();us(0,"mat-icon",21),_s("click",(function(){return Dn(n),Ms().dataFilterer.changeFilters()})),Lu(1,"translate"),al(2,"filter_list"),cs()}2&t&&ss("inline",!0)("matTooltip",Tu(1,2,"filters.filter-action"))}function wY(t,e){if(1&t&&(us(0,"mat-icon",22),al(1,"more_horiz"),cs()),2&t){Ms();var n=rs(9);ss("inline",!0)("matMenuTriggerFor",n)}}var SY=function(){return["/settings","labels"]};function MY(t,e){if(1&t&&ds(0,"app-paginator",23),2&t){var n=Ms();ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",wu(4,SY))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function CY(t,e){if(1&t&&(us(0,"mat-icon",36),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function xY(t,e){if(1&t&&(us(0,"mat-icon",36),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function DY(t,e){if(1&t&&(us(0,"mat-icon",36),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function LY(t,e){if(1&t){var n=ms();us(0,"tr"),us(1,"td",38),us(2,"mat-checkbox",39),_s("change",(function(){Dn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),cs(),cs(),us(3,"td"),al(4),cs(),us(5,"td"),al(6),cs(),us(7,"td"),al(8),Lu(9,"translate"),cs(),us(10,"td",29),us(11,"button",40),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).delete(t.id)})),Lu(12,"translate"),us(13,"mat-icon",36),al(14,"close"),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(2);Kr(2),ss("checked",r.selections.get(i.id)),Kr(2),sl(" ",i.label," "),Kr(2),sl(" ",i.id," "),Kr(2),ll(" ",r.getLabelTypeIdentification(i)[0]," - ",Tu(9,7,r.getLabelTypeIdentification(i)[1])," "),Kr(3),ss("matTooltip",Tu(12,9,"labels.delete")),Kr(2),ss("inline",!0)}}function TY(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"tables.label")))}function PY(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"tables.inverted-order")))}function OY(t,e){if(1&t){var n=ms();us(0,"tr"),us(1,"td"),us(2,"div",33),us(3,"div",41),us(4,"mat-checkbox",39),_s("change",(function(){Dn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),cs(),cs(),us(5,"div",34),us(6,"div",42),us(7,"span",1),al(8),Lu(9,"translate"),cs(),al(10),cs(),us(11,"div",43),us(12,"span",1),al(13),Lu(14,"translate"),cs(),al(15),cs(),us(16,"div",42),us(17,"span",1),al(18),Lu(19,"translate"),cs(),al(20),Lu(21,"translate"),cs(),cs(),ds(22,"div",44),us(23,"div",35),us(24,"button",45),_s("click",(function(t){Dn(n);var i=e.$implicit,r=Ms(2);return t.stopPropagation(),r.showOptionsDialog(i)})),Lu(25,"translate"),us(26,"mat-icon"),al(27),cs(),cs(),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(2);Kr(4),ss("checked",r.selections.get(i.id)),Kr(4),ol(Tu(9,10,"labels.label")),Kr(2),sl(": ",i.label," "),Kr(3),ol(Tu(14,12,"labels.id")),Kr(2),sl(": ",i.id," "),Kr(3),ol(Tu(19,14,"labels.type")),Kr(2),ll(": ",r.getLabelTypeIdentification(i)[0]," - ",Tu(21,16,r.getLabelTypeIdentification(i)[1])," "),Kr(4),ss("matTooltip",Tu(25,18,"common.options")),Kr(3),ol("add")}}function EY(t,e){if(1&t&&ds(0,"app-view-all-link",46),2&t){var n=Ms(2);ss("numberOfElements",n.filteredLabels.length)("linkParts",wu(3,SY))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var IY=function(t,e){return{"small-node-list-margins":t,"full-node-list-margins":e}},AY=function(t){return{"d-lg-none d-xl-table":t}},YY=function(t){return{"d-lg-table d-xl-none":t}};function FY(t,e){if(1&t){var n=ms();us(0,"div",24),us(1,"div",25),us(2,"table",26),us(3,"tr"),ds(4,"th"),us(5,"th",27),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.labelSortData)})),al(6),Lu(7,"translate"),is(8,CY,2,2,"mat-icon",28),cs(),us(9,"th",27),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.idSortData)})),al(10),Lu(11,"translate"),is(12,xY,2,2,"mat-icon",28),cs(),us(13,"th",27),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.typeSortData)})),al(14),Lu(15,"translate"),is(16,DY,2,2,"mat-icon",28),cs(),ds(17,"th",29),cs(),is(18,LY,15,11,"tr",30),cs(),us(19,"table",31),us(20,"tr",32),_s("click",(function(){return Dn(n),Ms().dataSorter.openSortingOrderModal()})),us(21,"td"),us(22,"div",33),us(23,"div",34),us(24,"div",1),al(25),Lu(26,"translate"),cs(),us(27,"div"),al(28),Lu(29,"translate"),is(30,TY,3,3,"ng-container",20),is(31,PY,3,3,"ng-container",20),cs(),cs(),us(32,"div",35),us(33,"mat-icon",36),al(34,"keyboard_arrow_down"),cs(),cs(),cs(),cs(),cs(),is(35,OY,28,20,"tr",30),cs(),is(36,EY,1,4,"app-view-all-link",37),cs(),cs()}if(2&t){var i=Ms();Kr(1),ss("ngClass",Mu(27,IY,i.showShortList_,!i.showShortList_)),Kr(1),ss("ngClass",Su(30,AY,i.showShortList_)),Kr(4),sl(" ",Tu(7,17,"labels.label")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.labelSortData),Kr(2),sl(" ",Tu(11,19,"labels.id")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.idSortData),Kr(2),sl(" ",Tu(15,21,"labels.type")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.typeSortData),Kr(2),ss("ngForOf",i.dataSource),Kr(1),ss("ngClass",Su(32,YY,i.showShortList_)),Kr(6),ol(Tu(26,23,"tables.sorting-title")),Kr(3),sl("",Tu(29,25,i.dataSorter.currentSortingColumn.label)," "),Kr(2),ss("ngIf",i.dataSorter.currentlySortingByLabel),Kr(1),ss("ngIf",i.dataSorter.sortingInReverseOrder),Kr(2),ss("inline",!0),Kr(2),ss("ngForOf",i.dataSource),Kr(1),ss("ngIf",i.showShortList_&&i.numberOfPages>1)}}function RY(t,e){1&t&&(us(0,"span",50),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"labels.empty")))}function NY(t,e){1&t&&(us(0,"span",50),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"labels.empty-with-filter")))}function HY(t,e){if(1&t&&(us(0,"div",24),us(1,"div",47),us(2,"mat-icon",48),al(3,"warning"),cs(),is(4,RY,3,3,"span",49),is(5,NY,3,3,"span",49),cs(),cs()),2&t){var n=Ms();Kr(2),ss("inline",!0),Kr(2),ss("ngIf",0===n.allLabels.length),Kr(1),ss("ngIf",0!==n.allLabels.length)}}function jY(t,e){if(1&t&&ds(0,"app-paginator",23),2&t){var n=Ms();ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",wu(4,SY))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var BY=function(t){return{"paginator-icons-fixer":t}},VY=function(){function t(t,e,n,i,r,a){var o=this;this.dialog=t,this.route=e,this.router=n,this.snackbarService=i,this.translateService=r,this.storageService=a,this.listId="ll",this.labelSortData=new UP(["label"],"labels.label",qP.Text),this.idSortData=new UP(["id"],"labels.id",qP.Text),this.typeSortData=new UP(["identifiedElementType_sort"],"labels.type",qP.Text),this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"labels.filter-dialog.label",keyNameInElementsArray:"label",type:EP.TextInput,maxlength:100},{filterName:"labels.filter-dialog.id",keyNameInElementsArray:"id",type:EP.TextInput,maxlength:66},{filterName:"labels.filter-dialog.type",keyNameInElementsArray:"identifiedElementType",type:EP.Select,printableLabelsForValues:[{value:"",label:"labels.filter-dialog.type-options.any"},{value:Kb.Node,label:"labels.filter-dialog.type-options.visor"},{value:Kb.DmsgServer,label:"labels.filter-dialog.type-options.dmsg-server"},{value:Kb.Transport,label:"labels.filter-dialog.type-options.transport"}]}],this.dataSorter=new GP(this.dialog,this.translateService,[this.labelSortData,this.idSortData,this.typeSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){o.recalculateElementsToShow()})),this.dataFilterer=new bO(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(t){o.filteredLabels=t,o.dataSorter.setData(o.filteredLabels)})),this.loadData(),this.navigationsSubscription=this.route.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),o.currentPageInUrl=e,o.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredLabels)},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()},t.prototype.loadData=function(){var t=this;this.allLabels=this.storageService.getSavedLabels(),this.allLabels.forEach((function(e){e.identifiedElementType_sort=t.getLabelTypeIdentification(e)[0]})),this.dataFilterer.setData(this.allLabels)},t.prototype.getLabelTypeIdentification=function(t){return t.identifiedElementType===Kb.Node?["1","labels.filter-dialog.type-options.visor"]:t.identifiedElementType===Kb.DmsgServer?["2","labels.filter-dialog.type-options.dmsg-server"]:t.identifiedElementType===Kb.Transport?["3","labels.filter-dialog.type-options.transport"]:void 0},t.prototype.changeSelection=function(t){this.selections.get(t.id)?this.selections.set(t.id,!1):this.selections.set(t.id,!0)},t.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach((function(e){e&&(t=!0)})),t},t.prototype.changeAllSelections=function(t){var e=this;this.selections.forEach((function(n,i){e.selections.set(i,t)}))},t.prototype.deleteSelected=function(){var t=this,e=DP.createConfirmationDialog(this.dialog,"labels.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.close(),t.selections.forEach((function(e,n){e&&t.storageService.saveLabel(n,"",null)})),t.snackbarService.showDone("labels.deleted"),t.loadData()}))},t.prototype.showOptionsDialog=function(t){var e=this;PP.openDialog(this.dialog,[{icon:"close",label:"labels.delete"}],"common.options").afterClosed().subscribe((function(n){1===n&&e.delete(t.id)}))},t.prototype.delete=function(t){var e=this,n=DP.createConfirmationDialog(this.dialog,"labels.delete-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.close(),e.storageService.saveLabel(t,"",null),e.snackbarService.showDone("labels.deleted"),e.loadData()}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredLabels){var e=this.showShortList_?xC.maxShortListElements:xC.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredLabels.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.labelsToShow=this.filteredLabels.slice(n,n+e);var i=new Map;this.labelsToShow.forEach((function(e){i.set(e.id,!0),t.selections.has(e.id)||t.selections.set(e.id,!1)}));var r=[];this.selections.forEach((function(t,e){i.has(e)||r.push(e)})),r.forEach((function(e){t.selections.delete(e)}))}else this.labelsToShow=null,this.selections=new Map;this.dataSource=this.labelsToShow},t.\u0275fac=function(e){return new(e||t)(as(BC),as(W_),as(cb),as(CC),as(fC),as(Jb))},t.\u0275cmp=Fe({type:t,selectors:[["app-label-list"]],inputs:{showShortList:"showShortList"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),is(2,gY,6,7,"span",2),is(3,bY,5,4,"div",3),cs(),us(4,"div",4),us(5,"div",5),is(6,kY,3,4,"mat-icon",6),is(7,wY,2,2,"mat-icon",7),us(8,"mat-menu",8,9),us(10,"div",10),_s("click",(function(){return e.changeAllSelections(!0)})),al(11),Lu(12,"translate"),cs(),us(13,"div",10),_s("click",(function(){return e.changeAllSelections(!1)})),al(14),Lu(15,"translate"),cs(),us(16,"div",11),_s("click",(function(){return e.deleteSelected()})),al(17),Lu(18,"translate"),cs(),cs(),cs(),is(19,MY,1,5,"app-paginator",12),cs(),cs(),is(20,FY,37,34,"div",13),is(21,HY,6,3,"div",13),is(22,jY,1,5,"app-paginator",12)),2&t&&(ss("ngClass",Su(20,BY,!e.showShortList_&&e.numberOfPages>1&&e.dataSource)),Kr(2),ss("ngIf",e.showShortList_),Kr(1),ss("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),Kr(3),ss("ngIf",e.allLabels&&e.allLabels.length>0),Kr(1),ss("ngIf",e.dataSource&&e.dataSource.length>0),Kr(1),ss("overlapTrigger",!1),Kr(3),sl(" ",Tu(12,14,"selection.select-all")," "),Kr(3),sl(" ",Tu(15,16,"selection.unselect-all")," "),Kr(2),Ls("disabled",!e.hasSelectedElements()),Kr(1),sl(" ",Tu(18,18,"selection.delete-all")," "),Kr(2),ss("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource),Kr(1),ss("ngIf",e.dataSource&&e.dataSource.length>0),Kr(1),ss("ngIf",!e.dataSource||0===e.dataSource.length),Kr(1),ss("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource))},directives:[_h,Sh,IE,DE,qM,zL,kh,RE,GI,lY,uM,mY],pipes:[mC],styles:[".overflow[_ngcontent-%COMP%]{display:block;overflow-x:auto}.overflow[_ngcontent-%COMP%], .overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t}();function zY(t,e){1&t&&(us(0,"span"),us(1,"mat-icon",15),al(2,"warning"),cs(),al(3),Lu(4,"translate"),cs()),2&t&&(Kr(1),ss("inline",!0),Kr(2),sl(" ",Tu(4,2,"settings.updater-config.not-saved")," "))}var WY=function(){function t(t,e){this.snackbarService=t,this.dialog=e}return t.prototype.ngOnInit=function(){this.initialChannel=localStorage.getItem(mP.Channel),this.initialVersion=localStorage.getItem(mP.Version),this.initialArchiveURL=localStorage.getItem(mP.ArchiveURL),this.initialChecksumsURL=localStorage.getItem(mP.ChecksumsURL),this.initialChannel||(this.initialChannel=""),this.initialVersion||(this.initialVersion=""),this.initialArchiveURL||(this.initialArchiveURL=""),this.initialChecksumsURL||(this.initialChecksumsURL=""),this.hasCustomSettings=!!(this.initialChannel||this.initialVersion||this.initialArchiveURL||this.initialChecksumsURL),this.form=new PD({channel:new TD(this.initialChannel),version:new TD(this.initialVersion),archiveURL:new TD(this.initialArchiveURL),checksumsURL:new TD(this.initialChecksumsURL)})},t.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe()},Object.defineProperty(t.prototype,"dataChanged",{get:function(){return this.initialChannel!==this.form.get("channel").value.trim()||this.initialVersion!==this.form.get("version").value.trim()||this.initialArchiveURL!==this.form.get("archiveURL").value.trim()||this.initialChecksumsURL!==this.form.get("checksumsURL").value.trim()},enumerable:!1,configurable:!0}),t.prototype.saveSettings=function(){var t=this,e=this.form.get("channel").value.trim(),n=this.form.get("version").value.trim(),i=this.form.get("archiveURL").value.trim(),r=this.form.get("checksumsURL").value.trim();if(e||n||i||r){var a=DP.createConfirmationDialog(this.dialog,"settings.updater-config.save-confirmation");a.componentInstance.operationAccepted.subscribe((function(){a.close(),t.initialChannel=e,t.initialVersion=n,t.initialArchiveURL=i,t.initialChecksumsURL=r,t.hasCustomSettings=!0,localStorage.setItem(mP.UseCustomSettings,"true"),localStorage.setItem(mP.Channel,e),localStorage.setItem(mP.Version,n),localStorage.setItem(mP.ArchiveURL,i),localStorage.setItem(mP.ChecksumsURL,r),t.snackbarService.showDone("settings.updater-config.saved")}))}else this.removeSettings()},t.prototype.removeSettings=function(){var t=this,e=DP.createConfirmationDialog(this.dialog,"settings.updater-config.remove-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.close(),t.initialChannel="",t.initialVersion="",t.initialArchiveURL="",t.initialChecksumsURL="",t.form.get("channel").setValue(""),t.form.get("version").setValue(""),t.form.get("archiveURL").setValue(""),t.form.get("checksumsURL").setValue(""),t.hasCustomSettings=!1,localStorage.removeItem(mP.UseCustomSettings),localStorage.removeItem(mP.Channel),localStorage.removeItem(mP.Version),localStorage.removeItem(mP.ArchiveURL),localStorage.removeItem(mP.ChecksumsURL),t.snackbarService.showDone("settings.updater-config.removed")}))},t.\u0275fac=function(e){return new(e||t)(as(CC),as(BC))},t.\u0275cmp=Fe({type:t,selectors:[["app-updater-config"]],decls:28,vars:28,consts:[[1,"rounded-elevated-box"],[1,"box-internal-container","overflow"],[1,"white-form-help-icon-container"],[3,"inline","matTooltip"],[3,"formGroup"],[1,"white-form-field"],["formControlName","channel","maxlength","255","matInput","",3,"placeholder"],["formControlName","version","maxlength","255","matInput","",3,"placeholder"],["formControlName","archiveURL","maxlength","255","matInput","",3,"placeholder"],["formControlName","checksumsURL","maxlength","255","matInput","",3,"placeholder"],[1,"mt-2","buttons-area"],[1,"text-area","red-clear-text"],[4,"ngIf"],["color","primary",1,"app-button","left-button",3,"forDarkBackground","disabled","action"],["color","primary",1,"app-button",3,"forDarkBackground","disabled","action"],[3,"inline"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),us(2,"div",2),us(3,"mat-icon",3),Lu(4,"translate"),al(5," help "),cs(),cs(),us(6,"form",4),us(7,"mat-form-field",5),ds(8,"input",6),Lu(9,"translate"),cs(),us(10,"mat-form-field",5),ds(11,"input",7),Lu(12,"translate"),cs(),us(13,"mat-form-field",5),ds(14,"input",8),Lu(15,"translate"),cs(),us(16,"mat-form-field",5),ds(17,"input",9),Lu(18,"translate"),cs(),us(19,"div",10),us(20,"div",11),is(21,zY,5,4,"span",12),cs(),us(22,"app-button",13),_s("action",(function(){return e.removeSettings()})),al(23),Lu(24,"translate"),cs(),us(25,"app-button",14),_s("action",(function(){return e.saveSettings()})),al(26),Lu(27,"translate"),cs(),cs(),cs(),cs(),cs()),2&t&&(Kr(3),ss("inline",!0)("matTooltip",Tu(4,14,"settings.updater-config.help")),Kr(3),ss("formGroup",e.form),Kr(2),ss("placeholder",Tu(9,16,"settings.updater-config.channel")),Kr(3),ss("placeholder",Tu(12,18,"settings.updater-config.version")),Kr(3),ss("placeholder",Tu(15,20,"settings.updater-config.archive-url")),Kr(3),ss("placeholder",Tu(18,22,"settings.updater-config.checksum-url")),Kr(4),ss("ngIf",e.dataChanged),Kr(1),ss("forDarkBackground",!0)("disabled",!e.hasCustomSettings),Kr(1),sl(" ",Tu(24,24,"settings.updater-config.remove-settings")," "),Kr(2),ss("forDarkBackground",!0)("disabled",!e.dataChanged),Kr(1),sl(" ",Tu(27,26,"settings.updater-config.save")," "))},directives:[qM,zL,zD,Ax,KD,LT,xx,BT,Ix,eL,hL,Sh,FL],pipes:[mC],styles:["mat-form-field[_ngcontent-%COMP%]{margin-right:32px}.buttons-area[_ngcontent-%COMP%]{display:flex}@media (max-width:767px){.buttons-area[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-end}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:auto;flex-grow:1}@media (max-width:767px){.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%]{margin-right:32px!important}}.buttons-area[_ngcontent-%COMP%] .text-area[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:1px}.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{float:right;margin-right:32px;flex-grow:0}@media (max-width:767px){.buttons-area[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%]{margin-top:10px}}.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:5px!important}@media (max-width:767px){.buttons-area[_ngcontent-%COMP%] .left-button[_ngcontent-%COMP%]{margin-right:32px!important}}"]}),t}();function UY(t,e){if(1&t){var n=ms();us(0,"div",8),_s("click",(function(){return Dn(n),Ms().showUpdaterSettings()})),us(1,"span",9),al(2),Lu(3,"translate"),cs(),cs()}2&t&&(Kr(2),ol(Tu(3,1,"settings.updater-config.open-link")))}function qY(t,e){1&t&&ds(0,"app-updater-config",10)}var GY=function(){return["start.title"]},KY=function(){function t(t,e,n,i){this.authService=t,this.router=e,this.snackbarService=n,this.dialog=i,this.tabsData=[],this.options=[],this.mustShowUpdaterSettings=!!localStorage.getItem(mP.UseCustomSettings),this.tabsData=[{icon:"view_headline",label:"nodes.title",linkParts:["/nodes"]},{icon:"language",label:"nodes.dmsg-title",linkParts:["/nodes","dmsg"]},{icon:"settings",label:"settings.title",linkParts:["/settings"]}],this.options=[{name:"common.logout",actionName:"logout",icon:"power_settings_new"}]}return t.prototype.performAction=function(t){"logout"===t&&this.logout()},t.prototype.logout=function(){var t=this,e=DP.createConfirmationDialog(this.dialog,"common.logout-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.closeModal(),t.authService.logout().subscribe((function(){return t.router.navigate(["login"])}),(function(){return t.snackbarService.showError("common.logout-error")}))}))},t.prototype.showUpdaterSettings=function(){var t=this,e=DP.createConfirmationDialog(this.dialog,"settings.updater-config.open-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.close(),t.mustShowUpdaterSettings=!0}))},t.\u0275fac=function(e){return new(e||t)(as(sx),as(cb),as(CC),as(BC))},t.\u0275cmp=Fe({type:t,selectors:[["app-settings"]],decls:9,vars:9,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","optionsData","optionSelected"],[1,"content","col-12","mt-4.5"],[1,"d-block","mb-4"],[3,"showShortList"],["class","d-block mt-4",3,"click",4,"ngIf"],["class","d-block mt-4",4,"ngIf"],[1,"d-block","mt-4",3,"click"],[1,"show-link"],[1,"d-block","mt-4"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),us(2,"app-top-bar",2),_s("optionSelected",(function(t){return e.performAction(t)})),cs(),cs(),us(3,"div",3),ds(4,"app-refresh-rate",4),ds(5,"app-password"),ds(6,"app-label-list",5),is(7,UY,4,3,"div",6),is(8,qY,1,0,"app-updater-config",7),cs(),cs()),2&t&&(Kr(2),ss("titleParts",wu(8,GY))("tabsData",e.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("optionsData",e.options),Kr(4),ss("showShortList",!0),Kr(1),ss("ngIf",!e.mustShowUpdaterSettings),Kr(1),ss("ngIf",e.mustShowUpdaterSettings))},directives:[OI,QA,JT,VY,Sh,WY],pipes:[mC],styles:[".show-link[_ngcontent-%COMP%]{cursor:pointer;font-size:.8rem}"]}),t}(),JY=["button"],ZY=["firstInput"];function $Y(t,e){1&t&&ds(0,"app-loading-indicator",5),2&t&&ss("showWhite",!1)}function QY(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),sl(" ",Tu(2,1,"transports.dialog.errors.remote-key-length-error")," "))}function XY(t,e){1&t&&(al(0),Lu(1,"translate")),2&t&&sl(" ",Tu(1,1,"transports.dialog.errors.remote-key-chars-error")," ")}function tF(t,e){if(1&t&&(us(0,"mat-option",14),al(1),cs()),2&t){var n=e.$implicit;ss("value",n),Kr(1),ol(n)}}function eF(t,e){if(1&t&&(us(0,"form",6),us(1,"mat-form-field"),ds(2,"input",7,8),Lu(4,"translate"),us(5,"mat-error"),is(6,QY,3,3,"ng-container",9),cs(),is(7,XY,2,3,"ng-template",null,10,ec),cs(),us(9,"mat-form-field"),ds(10,"input",11),Lu(11,"translate"),cs(),us(12,"mat-form-field"),us(13,"mat-select",12),Lu(14,"translate"),is(15,tF,2,2,"mat-option",13),cs(),us(16,"mat-error"),al(17),Lu(18,"translate"),cs(),cs(),cs()),2&t){var n=rs(8),i=Ms();ss("formGroup",i.form),Kr(2),ss("placeholder",Tu(4,8,"transports.dialog.remote-key")),Kr(4),ss("ngIf",!i.form.get("remoteKey").hasError("pattern"))("ngIfElse",n),Kr(4),ss("placeholder",Tu(11,10,"transports.dialog.label")),Kr(3),ss("placeholder",Tu(14,12,"transports.dialog.transport-type")),Kr(2),ss("ngForOf",i.types),Kr(2),sl(" ",Tu(18,14,"transports.dialog.errors.transport-type-error")," ")}}var nF=function(){function t(t,e,n,i,r){this.transportService=t,this.formBuilder=e,this.dialogRef=n,this.snackbarService=i,this.storageService=r,this.shouldShowError=!0}return t.openDialog=function(e){var n=new PC;return n.autoFocus=!1,n.width=xC.mediumModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){this.form=this.formBuilder.group({remoteKey:["",jx.compose([jx.required,jx.minLength(66),jx.maxLength(66),jx.pattern("^[0-9a-fA-F]+$")])],label:[""],type:["",jx.required]}),this.loadData(0)},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()},t.prototype.create=function(){this.form.valid&&!this.button.disabled&&(this.button.showLoading(),this.operationSubscription=this.transportService.create(ZA.getCurrentNodeKey(),this.form.get("remoteKey").value,this.form.get("type").value).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))},t.prototype.onSuccess=function(t){var e=this.form.get("label").value,n=!1;e&&(t&&t.id?this.storageService.saveLabel(t.id,e,Kb.Transport):n=!0),ZA.refreshCurrentDisplayedData(),this.dialogRef.close(),n?this.snackbarService.showWarning("transports.dialog.success-without-label"):this.snackbarService.showDone("transports.dialog.success")},t.prototype.onError=function(t){this.button.showError(),t=MC(t),this.snackbarService.showError(t)},t.prototype.loadData=function(t){var e=this;this.dataSubscription&&this.dataSubscription.unsubscribe(),this.dataSubscription=mg(1).pipe(iP(t),st((function(){return e.transportService.types(ZA.getCurrentNodeKey())}))).subscribe((function(t){t.sort((function(t,e){return t.localeCompare(e)}));var n=t.findIndex((function(t){return"dmsg"===t.toLowerCase()}));n=-1!==n?n:0,e.types=t,e.form.get("type").setValue(t[n]),e.snackbarService.closeCurrentIfTemporaryError(),setTimeout((function(){return e.firstInput.nativeElement.focus()}))}),(function(t){t=MC(t),e.shouldShowError&&(e.snackbarService.showError("common.loading-error",null,!0,t),e.shouldShowError=!1),e.loadData(xC.connectionRetryDelay)}))},t.\u0275fac=function(e){return new(e||t)(as(dP),as(vL),as(YC),as(CC),as(Jb))},t.\u0275cmp=Fe({type:t,selectors:[["app-create-transport"]],viewQuery:function(t,e){var n;1&t&&(qu(JY,!0),qu(ZY,!0)),2&t&&(Wu(n=$u())&&(e.button=n.first),Wu(n=$u())&&(e.firstInput=n.first))},decls:8,vars:9,consts:[[3,"headline"],[3,"showWhite",4,"ngIf"],[3,"formGroup",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],[3,"showWhite"],[3,"formGroup"],["formControlName","remoteKey","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","label","maxlength","66","matInput","",3,"placeholder"],["formControlName","type",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),is(2,$Y,1,1,"app-loading-indicator",1),is(3,eF,19,16,"form",2),us(4,"app-button",3,4),_s("action",(function(){return e.create()})),al(6),Lu(7,"translate"),cs(),cs()),2&t&&(ss("headline",Tu(1,5,"transports.create")),Kr(2),ss("ngIf",!e.types),Kr(1),ss("ngIf",e.types),Kr(1),ss("disabled",!e.form.valid),Kr(2),sl(" ",Tu(7,7,"transports.create")," "))},directives:[LL,Sh,FL,yx,zD,Ax,KD,LT,xx,BT,Ix,eL,hL,dT,hO,kh,XS],pipes:[mC],styles:[""]}),t}(),iF=function(){function t(t){this.data=t}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.largeModalWidth,e.open(t,i)},t.\u0275fac=function(e){return new(e||t)(as(RC))},t.\u0275cmp=Fe({type:t,selectors:[["app-transport-details"]],decls:52,vars:47,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[1,"title"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"div"),us(3,"div",1),us(4,"mat-icon",2),al(5,"list"),cs(),al(6),Lu(7,"translate"),cs(),us(8,"div",3),us(9,"span"),al(10),Lu(11,"translate"),cs(),us(12,"div"),al(13),Lu(14,"translate"),cs(),cs(),us(15,"div",3),us(16,"span"),al(17),Lu(18,"translate"),cs(),al(19),cs(),us(20,"div",3),us(21,"span"),al(22),Lu(23,"translate"),cs(),al(24),cs(),us(25,"div",3),us(26,"span"),al(27),Lu(28,"translate"),cs(),al(29),cs(),us(30,"div",3),us(31,"span"),al(32),Lu(33,"translate"),cs(),al(34),cs(),us(35,"div",4),us(36,"mat-icon",2),al(37,"import_export"),cs(),al(38),Lu(39,"translate"),cs(),us(40,"div",3),us(41,"span"),al(42),Lu(43,"translate"),cs(),al(44),Lu(45,"autoScale"),cs(),us(46,"div",3),us(47,"span"),al(48),Lu(49,"translate"),cs(),al(50),Lu(51,"autoScale"),cs(),cs(),cs()),2&t&&(ss("headline",Tu(1,21,"transports.details.title")),Kr(4),ss("inline",!0),Kr(2),sl("",Tu(7,23,"transports.details.basic.title")," "),Kr(4),ol(Tu(11,25,"transports.details.basic.state")),Kr(2),qs("d-inline "+(e.data.isUp?"green-text":"red-text")),Kr(1),sl(" ",Tu(14,27,"transports.statuses."+(e.data.isUp?"online":"offline"))," "),Kr(4),ol(Tu(18,29,"transports.details.basic.id")),Kr(2),sl(" ",e.data.id," "),Kr(3),ol(Tu(23,31,"transports.details.basic.local-pk")),Kr(2),sl(" ",e.data.localPk," "),Kr(3),ol(Tu(28,33,"transports.details.basic.remote-pk")),Kr(2),sl(" ",e.data.remotePk," "),Kr(3),ol(Tu(33,35,"transports.details.basic.type")),Kr(2),sl(" ",e.data.type," "),Kr(2),ss("inline",!0),Kr(2),sl("",Tu(39,37,"transports.details.data.title")," "),Kr(4),ol(Tu(43,39,"transports.details.data.uploaded")),Kr(2),sl(" ",Tu(45,41,e.data.sent)," "),Kr(4),ol(Tu(49,43,"transports.details.data.downloaded")),Kr(2),sl(" ",Tu(51,45,e.data.recv)," "))},directives:[LL,qM],pipes:[mC,QE],styles:[""]}),t}();function rF(t,e){1&t&&(us(0,"span",15),al(1),Lu(2,"translate"),us(3,"mat-icon",16),Lu(4,"translate"),al(5,"help"),cs(),cs()),2&t&&(Kr(1),sl(" ",Tu(2,3,"transports.title")," "),Kr(2),ss("inline",!0)("matTooltip",Tu(4,5,"transports.info")))}function aF(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(Tu(2,1,n.translatableValue))}}function oF(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(n.value)}}function sF(t,e){if(1&t&&(us(0,"div",20),us(1,"span"),al(2),Lu(3,"translate"),cs(),is(4,aF,3,3,"ng-container",21),is(5,oF,2,1,"ng-container",21),cs()),2&t){var n=e.$implicit;Kr(2),sl("",Tu(3,3,n.filterName),": "),Kr(2),ss("ngIf",n.translatableValue),Kr(1),ss("ngIf",n.value)}}function lF(t,e){if(1&t){var n=ms();us(0,"div",17),_s("click",(function(){return Dn(n),Ms().dataFilterer.removeFilters()})),is(1,sF,6,5,"div",18),us(2,"div",19),al(3),Lu(4,"translate"),cs(),cs()}if(2&t){var i=Ms();Kr(1),ss("ngForOf",i.dataFilterer.currentFiltersTexts),Kr(2),ol(Tu(4,2,"filters.press-to-remove"))}}function uF(t,e){if(1&t){var n=ms();us(0,"mat-icon",22),_s("click",(function(){return Dn(n),Ms().dataFilterer.changeFilters()})),al(1,"filter_list"),cs()}2&t&&ss("inline",!0)}function cF(t,e){if(1&t&&(us(0,"mat-icon",23),al(1,"more_horiz"),cs()),2&t){Ms();var n=rs(11);ss("inline",!0)("matMenuTriggerFor",n)}}var dF=function(t){return["/nodes",t,"transports"]};function hF(t,e){if(1&t&&ds(0,"app-paginator",24),2&t){var n=Ms();ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",Su(4,dF,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function fF(t,e){if(1&t&&(us(0,"mat-icon",39),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function pF(t,e){1&t&&(hs(0),al(1,"*"),fs())}function mF(t,e){if(1&t&&(hs(0),us(1,"mat-icon",39),al(2),cs(),is(3,pF,2,0,"ng-container",21),fs()),2&t){var n=Ms(2);Kr(1),ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow),Kr(1),ss("ngIf",n.dataSorter.currentlySortingByLabel)}}function gF(t,e){1&t&&(hs(0),al(1,"*"),fs())}function vF(t,e){if(1&t&&(hs(0),us(1,"mat-icon",39),al(2),cs(),is(3,gF,2,0,"ng-container",21),fs()),2&t){var n=Ms(2);Kr(1),ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow),Kr(1),ss("ngIf",n.dataSorter.currentlySortingByLabel)}}function _F(t,e){if(1&t&&(us(0,"mat-icon",39),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function yF(t,e){if(1&t&&(us(0,"mat-icon",39),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function bF(t,e){if(1&t&&(us(0,"mat-icon",39),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function kF(t,e){if(1&t){var n=ms();us(0,"tr"),us(1,"td",41),us(2,"mat-checkbox",42),_s("change",(function(){Dn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),cs(),cs(),us(3,"td"),ds(4,"span",43),Lu(5,"translate"),cs(),us(6,"td"),us(7,"app-labeled-element-text",44),_s("labelEdited",(function(){return Dn(n),Ms(2).refreshData()})),cs(),cs(),us(8,"td"),us(9,"app-labeled-element-text",45),_s("labelEdited",(function(){return Dn(n),Ms(2).refreshData()})),cs(),cs(),us(10,"td"),al(11),cs(),us(12,"td"),al(13),Lu(14,"autoScale"),cs(),us(15,"td"),al(16),Lu(17,"autoScale"),cs(),us(18,"td",32),us(19,"button",46),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).details(t)})),Lu(20,"translate"),us(21,"mat-icon",39),al(22,"visibility"),cs(),cs(),us(23,"button",46),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).delete(t.id)})),Lu(24,"translate"),us(25,"mat-icon",39),al(26,"close"),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(2);Kr(2),ss("checked",r.selections.get(i.id)),Kr(2),qs(r.transportStatusClass(i,!0)),ss("matTooltip",Tu(5,16,r.transportStatusText(i,!0))),Kr(3),Ls("id",i.id),ss("short",!0)("elementType",r.labeledElementTypes.Transport),Kr(2),Ls("id",i.remotePk),ss("short",!0),Kr(2),sl(" ",i.type," "),Kr(2),sl(" ",Tu(14,18,i.sent)," "),Kr(3),sl(" ",Tu(17,20,i.recv)," "),Kr(3),ss("matTooltip",Tu(20,22,"transports.details.title")),Kr(2),ss("inline",!0),Kr(2),ss("matTooltip",Tu(24,24,"transports.delete")),Kr(2),ss("inline",!0)}}function wF(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"tables.label")))}function SF(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"tables.inverted-order")))}function MF(t,e){if(1&t){var n=ms();us(0,"tr"),us(1,"td"),us(2,"div",36),us(3,"div",47),us(4,"mat-checkbox",42),_s("change",(function(){Dn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),cs(),cs(),us(5,"div",37),us(6,"div",48),us(7,"span",1),al(8),Lu(9,"translate"),cs(),al(10,": "),us(11,"span"),al(12),Lu(13,"translate"),cs(),cs(),us(14,"div",49),us(15,"span",1),al(16),Lu(17,"translate"),cs(),al(18,": "),us(19,"app-labeled-element-text",50),_s("labelEdited",(function(){return Dn(n),Ms(2).refreshData()})),cs(),cs(),us(20,"div",49),us(21,"span",1),al(22),Lu(23,"translate"),cs(),al(24,": "),us(25,"app-labeled-element-text",51),_s("labelEdited",(function(){return Dn(n),Ms(2).refreshData()})),cs(),cs(),us(26,"div",48),us(27,"span",1),al(28),Lu(29,"translate"),cs(),al(30),cs(),us(31,"div",48),us(32,"span",1),al(33),Lu(34,"translate"),cs(),al(35),Lu(36,"autoScale"),cs(),us(37,"div",48),us(38,"span",1),al(39),Lu(40,"translate"),cs(),al(41),Lu(42,"autoScale"),cs(),cs(),ds(43,"div",52),us(44,"div",38),us(45,"button",53),_s("click",(function(t){Dn(n);var i=e.$implicit,r=Ms(2);return t.stopPropagation(),r.showOptionsDialog(i)})),Lu(46,"translate"),us(47,"mat-icon"),al(48),cs(),cs(),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(2);Kr(4),ss("checked",r.selections.get(i.id)),Kr(4),ol(Tu(9,18,"transports.state")),Kr(3),qs(r.transportStatusClass(i,!1)+" title"),Kr(1),ol(Tu(13,20,r.transportStatusText(i,!1))),Kr(4),ol(Tu(17,22,"transports.id")),Kr(3),Ls("id",i.id),ss("elementType",r.labeledElementTypes.Transport),Kr(3),ol(Tu(23,24,"transports.remote-node")),Kr(3),Ls("id",i.remotePk),Kr(3),ol(Tu(29,26,"transports.type")),Kr(2),sl(": ",i.type," "),Kr(3),ol(Tu(34,28,"common.uploaded")),Kr(2),sl(": ",Tu(36,30,i.sent)," "),Kr(4),ol(Tu(40,32,"common.downloaded")),Kr(2),sl(": ",Tu(42,34,i.recv)," "),Kr(4),ss("matTooltip",Tu(46,36,"common.options")),Kr(3),ol("add")}}function CF(t,e){if(1&t&&ds(0,"app-view-all-link",54),2&t){var n=Ms(2);ss("numberOfElements",n.filteredTransports.length)("linkParts",Su(3,dF,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var xF=function(t,e){return{"small-node-list-margins":t,"full-node-list-margins":e}},DF=function(t){return{"d-lg-none d-xl-table":t}},LF=function(t){return{"d-lg-table d-xl-none":t}};function TF(t,e){if(1&t){var n=ms();us(0,"div",25),us(1,"div",26),us(2,"table",27),us(3,"tr"),ds(4,"th"),us(5,"th",28),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.stateSortData)})),Lu(6,"translate"),ds(7,"span",29),is(8,fF,2,2,"mat-icon",30),cs(),us(9,"th",31),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.idSortData)})),al(10),Lu(11,"translate"),is(12,mF,4,3,"ng-container",21),cs(),us(13,"th",31),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.remotePkSortData)})),al(14),Lu(15,"translate"),is(16,vF,4,3,"ng-container",21),cs(),us(17,"th",31),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.typeSortData)})),al(18),Lu(19,"translate"),is(20,_F,2,2,"mat-icon",30),cs(),us(21,"th",31),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.uploadedSortData)})),al(22),Lu(23,"translate"),is(24,yF,2,2,"mat-icon",30),cs(),us(25,"th",31),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.downloadedSortData)})),al(26),Lu(27,"translate"),is(28,bF,2,2,"mat-icon",30),cs(),ds(29,"th",32),cs(),is(30,kF,27,26,"tr",33),cs(),us(31,"table",34),us(32,"tr",35),_s("click",(function(){return Dn(n),Ms().dataSorter.openSortingOrderModal()})),us(33,"td"),us(34,"div",36),us(35,"div",37),us(36,"div",1),al(37),Lu(38,"translate"),cs(),us(39,"div"),al(40),Lu(41,"translate"),is(42,wF,3,3,"ng-container",21),is(43,SF,3,3,"ng-container",21),cs(),cs(),us(44,"div",38),us(45,"mat-icon",39),al(46,"keyboard_arrow_down"),cs(),cs(),cs(),cs(),cs(),is(47,MF,49,38,"tr",33),cs(),is(48,CF,1,5,"app-view-all-link",40),cs(),cs()}if(2&t){var i=Ms();Kr(1),ss("ngClass",Mu(39,xF,i.showShortList_,!i.showShortList_)),Kr(1),ss("ngClass",Su(42,DF,i.showShortList_)),Kr(3),ss("matTooltip",Tu(6,23,"transports.state-tooltip")),Kr(3),ss("ngIf",i.dataSorter.currentSortingColumn===i.stateSortData),Kr(2),sl(" ",Tu(11,25,"transports.id")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.idSortData),Kr(2),sl(" ",Tu(15,27,"transports.remote-node")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.remotePkSortData),Kr(2),sl(" ",Tu(19,29,"transports.type")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.typeSortData),Kr(2),sl(" ",Tu(23,31,"common.uploaded")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.uploadedSortData),Kr(2),sl(" ",Tu(27,33,"common.downloaded")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.downloadedSortData),Kr(2),ss("ngForOf",i.dataSource),Kr(1),ss("ngClass",Su(44,LF,i.showShortList_)),Kr(6),ol(Tu(38,35,"tables.sorting-title")),Kr(3),sl("",Tu(41,37,i.dataSorter.currentSortingColumn.label)," "),Kr(2),ss("ngIf",i.dataSorter.currentlySortingByLabel),Kr(1),ss("ngIf",i.dataSorter.sortingInReverseOrder),Kr(2),ss("inline",!0),Kr(2),ss("ngForOf",i.dataSource),Kr(1),ss("ngIf",i.showShortList_&&i.numberOfPages>1)}}function PF(t,e){1&t&&(us(0,"span",58),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"transports.empty")))}function OF(t,e){1&t&&(us(0,"span",58),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"transports.empty-with-filter")))}function EF(t,e){if(1&t&&(us(0,"div",25),us(1,"div",55),us(2,"mat-icon",56),al(3,"warning"),cs(),is(4,PF,3,3,"span",57),is(5,OF,3,3,"span",57),cs(),cs()),2&t){var n=Ms();Kr(2),ss("inline",!0),Kr(2),ss("ngIf",0===n.allTransports.length),Kr(1),ss("ngIf",0!==n.allTransports.length)}}function IF(t,e){if(1&t&&ds(0,"app-paginator",24),2&t){var n=Ms();ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",Su(4,dF,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var AF=function(t){return{"paginator-icons-fixer":t}},YF=function(){function t(t,e,n,i,r,a,o){var s=this;this.dialog=t,this.transportService=e,this.route=n,this.router=i,this.snackbarService=r,this.translateService=a,this.storageService=o,this.listId="tr",this.stateSortData=new UP(["isUp"],"transports.state",qP.Boolean),this.idSortData=new UP(["id"],"transports.id",qP.Text,["id_label"]),this.remotePkSortData=new UP(["remotePk"],"transports.remote-node",qP.Text,["remote_pk_label"]),this.typeSortData=new UP(["type"],"transports.type",qP.Text),this.uploadedSortData=new UP(["sent"],"common.uploaded",qP.NumberReversed),this.downloadedSortData=new UP(["recv"],"common.downloaded",qP.NumberReversed),this.selections=new Map,this.hasOfflineTransports=!1,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"transports.filter-dialog.online",keyNameInElementsArray:"isUp",type:EP.Select,printableLabelsForValues:[{value:"",label:"transports.filter-dialog.online-options.any"},{value:"true",label:"transports.filter-dialog.online-options.online"},{value:"false",label:"transports.filter-dialog.online-options.offline"}]},{filterName:"transports.filter-dialog.id",keyNameInElementsArray:"id",secondaryKeyNameInElementsArray:"id_label",type:EP.TextInput,maxlength:36},{filterName:"transports.filter-dialog.remote-node",keyNameInElementsArray:"remotePk",secondaryKeyNameInElementsArray:"remote_pk_label",type:EP.TextInput,maxlength:66}],this.labeledElementTypes=Kb,this.operationSubscriptionsGroup=[],this.dataSorter=new GP(this.dialog,this.translateService,[this.stateSortData,this.idSortData,this.remotePkSortData,this.typeSortData,this.uploadedSortData,this.downloadedSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){s.recalculateElementsToShow()})),this.dataFilterer=new bO(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(t){s.filteredTransports=t,s.hasOfflineTransports=!1,s.filteredTransports.forEach((function(t){t.isUp||(s.hasOfflineTransports=!0)})),s.dataSorter.setData(s.filteredTransports)})),this.navigationsSubscription=this.route.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),s.currentPageInUrl=e,s.recalculateElementsToShow()}})),this.languageSubscription=this.translateService.onLangChange.subscribe((function(){s.transports=s.allTransports}))}return Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredTransports)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transports",{set:function(t){var e=this;this.allTransports=t,this.allTransports.forEach((function(t){t.id_label=WP.getCompleteLabel(e.storageService,e.translateService,t.id),t.remote_pk_label=WP.getCompleteLabel(e.storageService,e.translateService,t.remotePk)})),this.dataFilterer.setData(this.allTransports)},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()})),this.languageSubscription.unsubscribe(),this.dataSortedSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFiltererSubscription.unsubscribe(),this.dataFilterer.dispose()},t.prototype.transportStatusClass=function(t,e){switch(t.isUp){case!0:return e?"dot-green":"green-clear-text";default:return e?"dot-red":"red-clear-text"}},t.prototype.transportStatusText=function(t,e){switch(t.isUp){case!0:return"transports.statuses.online"+(e?"-tooltip":"");default:return"transports.statuses.offline"+(e?"-tooltip":"")}},t.prototype.changeSelection=function(t){this.selections.get(t.id)?this.selections.set(t.id,!1):this.selections.set(t.id,!0)},t.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach((function(e){e&&(t=!0)})),t},t.prototype.changeAllSelections=function(t){var e=this;this.selections.forEach((function(n,i){e.selections.set(i,t)}))},t.prototype.deleteSelected=function(){var t=this,e=DP.createConfirmationDialog(this.dialog,"transports.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.showProcessing();var n=[];t.selections.forEach((function(t,e){t&&n.push(e)})),t.deleteRecursively(n,e)}))},t.prototype.removeOffline=function(){var t=this,e="transports.remove-all-offline-confirmation";this.dataFilterer.currentFiltersTexts&&this.dataFilterer.currentFiltersTexts.length>0&&(e="transports.remove-all-filtered-offline-confirmation");var n=DP.createConfirmationDialog(this.dialog,e);n.componentInstance.operationAccepted.subscribe((function(){var e=[];t.filteredTransports.forEach((function(t){t.isUp||e.push(t.id)})),e.length>0?(n.componentInstance.showProcessing(),t.deleteRecursively(e,n)):n.close()}))},t.prototype.create=function(){nF.openDialog(this.dialog)},t.prototype.showOptionsDialog=function(t){var e=this;PP.openDialog(this.dialog,[{icon:"visibility",label:"transports.details.title"},{icon:"close",label:"transports.delete"}],"common.options").afterClosed().subscribe((function(n){1===n?e.details(t):2===n&&e.delete(t.id)}))},t.prototype.details=function(t){iF.openDialog(this.dialog,t)},t.prototype.delete=function(t){var e=this,n=DP.createConfirmationDialog(this.dialog,"transports.delete-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.operationSubscriptionsGroup.push(e.startDeleting(t).subscribe((function(){n.close(),ZA.refreshCurrentDisplayedData(),e.snackbarService.showDone("transports.deleted")}),(function(t){t=MC(t),n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))}))},t.prototype.refreshData=function(){ZA.refreshCurrentDisplayedData()},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredTransports){var e=this.showShortList_?xC.maxShortListElements:xC.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredTransports.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.transportsToShow=this.filteredTransports.slice(n,n+e);var i=new Map;this.transportsToShow.forEach((function(e){i.set(e.id,!0),t.selections.has(e.id)||t.selections.set(e.id,!1)}));var r=[];this.selections.forEach((function(t,e){i.has(e)||r.push(e)})),r.forEach((function(e){t.selections.delete(e)}))}else this.transportsToShow=null,this.selections=new Map;this.dataSource=this.transportsToShow},t.prototype.startDeleting=function(t){return this.transportService.delete(ZA.getCurrentNodeKey(),t)},t.prototype.deleteRecursively=function(t,e){var n=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe((function(){t.pop(),0===t.length?(e.close(),ZA.refreshCurrentDisplayedData(),n.snackbarService.showDone("transports.deleted")):n.deleteRecursively(t,e)}),(function(t){ZA.refreshCurrentDisplayedData(),t=MC(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))},t.\u0275fac=function(e){return new(e||t)(as(BC),as(dP),as(W_),as(cb),as(CC),as(fC),as(Jb))},t.\u0275cmp=Fe({type:t,selectors:[["app-transport-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",transports:"transports"},decls:28,vars:27,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],[3,"inline","click"],["class","small-icon",3,"inline","click",4,"ngIf"],[3,"inline","matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"disabled","click"],["mat-menu-item","",3,"click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","click"],[3,"inline","matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"matTooltip"],["shortTextLength","4",3,"short","id","elementType","labelEdited"],["shortTextLength","4",3,"short","id","labelEdited"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],[1,"check-part"],[1,"list-row"],[1,"list-row","long-content"],[3,"id","elementType","labelEdited"],[3,"id","labelEdited"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),is(2,rF,6,7,"span",2),is(3,lF,5,4,"div",3),cs(),us(4,"div",4),us(5,"div",5),us(6,"mat-icon",6),_s("click",(function(){return e.create()})),al(7,"add"),cs(),is(8,uF,2,1,"mat-icon",7),is(9,cF,2,2,"mat-icon",8),us(10,"mat-menu",9,10),us(12,"div",11),_s("click",(function(){return e.removeOffline()})),al(13),Lu(14,"translate"),cs(),us(15,"div",12),_s("click",(function(){return e.changeAllSelections(!0)})),al(16),Lu(17,"translate"),cs(),us(18,"div",12),_s("click",(function(){return e.changeAllSelections(!1)})),al(19),Lu(20,"translate"),cs(),us(21,"div",11),_s("click",(function(){return e.deleteSelected()})),al(22),Lu(23,"translate"),cs(),cs(),cs(),is(24,hF,1,6,"app-paginator",13),cs(),cs(),is(25,TF,49,46,"div",14),is(26,EF,6,3,"div",14),is(27,IF,1,6,"app-paginator",13)),2&t&&(ss("ngClass",Su(25,AF,!e.showShortList_&&e.numberOfPages>1&&e.dataSource)),Kr(2),ss("ngIf",e.showShortList_),Kr(1),ss("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),Kr(3),ss("inline",!0),Kr(2),ss("ngIf",e.allTransports&&e.allTransports.length>0),Kr(1),ss("ngIf",e.dataSource&&e.dataSource.length>0),Kr(1),ss("overlapTrigger",!1),Kr(2),Ls("disabled",!e.hasOfflineTransports),Kr(1),sl(" ",Tu(14,17,"transports.remove-all-offline")," "),Kr(3),sl(" ",Tu(17,19,"selection.select-all")," "),Kr(3),sl(" ",Tu(20,21,"selection.unselect-all")," "),Kr(2),Ls("disabled",!e.hasSelectedElements()),Kr(1),sl(" ",Tu(23,23,"selection.delete-all")," "),Kr(2),ss("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource),Kr(1),ss("ngIf",e.dataSource&&e.dataSource.length>0),Kr(1),ss("ngIf",!e.dataSource||0===e.dataSource.length),Kr(1),ss("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource))},directives:[_h,Sh,qM,IE,DE,zL,kh,RE,GI,lY,WP,uM,mY],pipes:[mC,QE],styles:[".overflow[_ngcontent-%COMP%]{display:block;overflow-x:auto}.overflow[_ngcontent-%COMP%], .overflow[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t}();function FF(t,e){1&t&&(us(0,"div",5),us(1,"mat-icon",2),al(2,"settings"),cs(),al(3),Lu(4,"translate"),cs()),2&t&&(Kr(1),ss("inline",!0),Kr(2),sl("",Tu(4,2,"routes.details.specific-fields-titles.app")," "))}function RF(t,e){1&t&&(us(0,"div",5),us(1,"mat-icon",2),al(2,"swap_horiz"),cs(),al(3),Lu(4,"translate"),cs()),2&t&&(Kr(1),ss("inline",!0),Kr(2),sl("",Tu(4,2,"routes.details.specific-fields-titles.forward")," "))}function NF(t,e){1&t&&(us(0,"div",5),us(1,"mat-icon",2),al(2,"arrow_forward"),cs(),al(3),Lu(4,"translate"),cs()),2&t&&(Kr(1),ss("inline",!0),Kr(2),sl("",Tu(4,2,"routes.details.specific-fields-titles.intermediary-forward")," "))}function HF(t,e){if(1&t&&(us(0,"div"),us(1,"div",3),us(2,"span"),al(3),Lu(4,"translate"),cs(),al(5),cs(),us(6,"div",3),us(7,"span"),al(8),Lu(9,"translate"),cs(),al(10),cs(),cs()),2&t){var n=Ms(2);Kr(3),ol(Tu(4,5,"routes.details.specific-fields.route-id")),Kr(2),sl(" ",n.routeRule.forwardFields?n.routeRule.forwardFields.nextRid:n.routeRule.intermediaryForwardFields.nextRid," "),Kr(3),ol(Tu(9,7,"routes.details.specific-fields.transport-id")),Kr(2),ll(" ",n.routeRule.forwardFields?n.routeRule.forwardFields.nextTid:n.routeRule.intermediaryForwardFields.nextTid," ",n.getLabel(n.routeRule.forwardFields?n.routeRule.forwardFields.nextTid:n.routeRule.intermediaryForwardFields.nextTid)," ")}}function jF(t,e){if(1&t&&(us(0,"div"),us(1,"div",3),us(2,"span"),al(3),Lu(4,"translate"),cs(),al(5),cs(),us(6,"div",3),us(7,"span"),al(8),Lu(9,"translate"),cs(),al(10),cs(),us(11,"div",3),us(12,"span"),al(13),Lu(14,"translate"),cs(),al(15),cs(),us(16,"div",3),us(17,"span"),al(18),Lu(19,"translate"),cs(),al(20),cs(),cs()),2&t){var n=Ms(2);Kr(3),ol(Tu(4,10,"routes.details.specific-fields.destination-pk")),Kr(2),ll(" ",n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.dstPk:n.routeRule.forwardFields.routeDescriptor.dstPk," ",n.getLabel(n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.dstPk:n.routeRule.forwardFields.routeDescriptor.dstPk)," "),Kr(3),ol(Tu(9,12,"routes.details.specific-fields.source-pk")),Kr(2),ll(" ",n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.srcPk:n.routeRule.forwardFields.routeDescriptor.srcPk," ",n.getLabel(n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.srcPk:n.routeRule.forwardFields.routeDescriptor.srcPk)," "),Kr(3),ol(Tu(14,14,"routes.details.specific-fields.destination-port")),Kr(2),sl(" ",n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.dstPort:n.routeRule.forwardFields.routeDescriptor.dstPort," "),Kr(3),ol(Tu(19,16,"routes.details.specific-fields.source-port")),Kr(2),sl(" ",n.routeRule.appFields?n.routeRule.appFields.routeDescriptor.srcPort:n.routeRule.forwardFields.routeDescriptor.srcPort," ")}}function BF(t,e){if(1&t&&(us(0,"div"),us(1,"div",5),us(2,"mat-icon",2),al(3,"list"),cs(),al(4),Lu(5,"translate"),cs(),us(6,"div",3),us(7,"span"),al(8),Lu(9,"translate"),cs(),al(10),cs(),us(11,"div",3),us(12,"span"),al(13),Lu(14,"translate"),cs(),al(15),cs(),us(16,"div",3),us(17,"span"),al(18),Lu(19,"translate"),cs(),al(20),cs(),is(21,FF,5,4,"div",6),is(22,RF,5,4,"div",6),is(23,NF,5,4,"div",6),is(24,HF,11,9,"div",4),is(25,jF,21,18,"div",4),cs()),2&t){var n=Ms();Kr(2),ss("inline",!0),Kr(2),sl("",Tu(5,13,"routes.details.summary.title")," "),Kr(4),ol(Tu(9,15,"routes.details.summary.keep-alive")),Kr(2),sl(" ",n.routeRule.ruleSummary.keepAlive," "),Kr(3),ol(Tu(14,17,"routes.details.summary.type")),Kr(2),sl(" ",n.getRuleTypeName(n.routeRule.ruleSummary.ruleType)," "),Kr(3),ol(Tu(19,19,"routes.details.summary.key-route-id")),Kr(2),sl(" ",n.routeRule.ruleSummary.keyRouteId," "),Kr(1),ss("ngIf",n.routeRule.appFields),Kr(1),ss("ngIf",n.routeRule.forwardFields),Kr(1),ss("ngIf",n.routeRule.intermediaryForwardFields),Kr(1),ss("ngIf",n.routeRule.forwardFields||n.routeRule.intermediaryForwardFields),Kr(1),ss("ngIf",n.routeRule.appFields&&n.routeRule.appFields.routeDescriptor||n.routeRule.forwardFields&&n.routeRule.forwardFields.routeDescriptor)}}var VF=function(){function t(t,e,n){this.dialogRef=e,this.storageService=n,this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Intermediary forward"]]),this.routeRule=t}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.largeModalWidth,e.open(t,i)},t.prototype.getRuleTypeName=function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):t.toString()},t.prototype.closePopup=function(){this.dialogRef.close()},t.prototype.getLabel=function(t){var e=this.storageService.getLabelInfo(t);return e?" ("+e.label+")":""},t.\u0275fac=function(e){return new(e||t)(as(RC),as(YC),as(Jb))},t.\u0275cmp=Fe({type:t,selectors:[["app-route-details"]],decls:19,vars:16,consts:[[1,"info-dialog",3,"headline"],[1,"title","mt-0"],[3,"inline"],[1,"item"],[4,"ngIf"],[1,"title"],["class","title",4,"ngIf"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"div"),us(3,"div",1),us(4,"mat-icon",2),al(5,"list"),cs(),al(6),Lu(7,"translate"),cs(),us(8,"div",3),us(9,"span"),al(10),Lu(11,"translate"),cs(),al(12),cs(),us(13,"div",3),us(14,"span"),al(15),Lu(16,"translate"),cs(),al(17),cs(),is(18,BF,26,21,"div",4),cs(),cs()),2&t&&(ss("headline",Tu(1,8,"routes.details.title")),Kr(4),ss("inline",!0),Kr(2),sl("",Tu(7,10,"routes.details.basic.title")," "),Kr(4),ol(Tu(11,12,"routes.details.basic.key")),Kr(2),sl(" ",e.routeRule.key," "),Kr(3),ol(Tu(16,14,"routes.details.basic.rule")),Kr(2),sl(" ",e.routeRule.rule," "),Kr(1),ss("ngIf",e.routeRule.ruleSummary))},directives:[LL,qM,Sh],pipes:[mC],styles:[""]}),t}();function zF(t,e){1&t&&(us(0,"span",14),al(1),Lu(2,"translate"),us(3,"mat-icon",15),Lu(4,"translate"),al(5,"help"),cs(),cs()),2&t&&(Kr(1),sl(" ",Tu(2,3,"routes.title")," "),Kr(2),ss("inline",!0)("matTooltip",Tu(4,5,"routes.info")))}function WF(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(Tu(2,1,n.translatableValue))}}function UF(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(n.value)}}function qF(t,e){if(1&t&&(us(0,"div",19),us(1,"span"),al(2),Lu(3,"translate"),cs(),is(4,WF,3,3,"ng-container",20),is(5,UF,2,1,"ng-container",20),cs()),2&t){var n=e.$implicit;Kr(2),sl("",Tu(3,3,n.filterName),": "),Kr(2),ss("ngIf",n.translatableValue),Kr(1),ss("ngIf",n.value)}}function GF(t,e){if(1&t){var n=ms();us(0,"div",16),_s("click",(function(){return Dn(n),Ms().dataFilterer.removeFilters()})),is(1,qF,6,5,"div",17),us(2,"div",18),al(3),Lu(4,"translate"),cs(),cs()}if(2&t){var i=Ms();Kr(1),ss("ngForOf",i.dataFilterer.currentFiltersTexts),Kr(2),ol(Tu(4,2,"filters.press-to-remove"))}}function KF(t,e){if(1&t){var n=ms();us(0,"mat-icon",21),_s("click",(function(){return Dn(n),Ms().dataFilterer.changeFilters()})),Lu(1,"translate"),al(2,"filter_list"),cs()}2&t&&ss("inline",!0)("matTooltip",Tu(1,2,"filters.filter-action"))}function JF(t,e){1&t&&(us(0,"mat-icon",22),al(1,"more_horiz"),cs()),2&t&&(Ms(),ss("matMenuTriggerFor",rs(9)))}var ZF=function(t){return["/nodes",t,"routes"]};function $F(t,e){if(1&t&&ds(0,"app-paginator",23),2&t){var n=Ms();ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",Su(4,ZF,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function QF(t,e){if(1&t&&(us(0,"mat-icon",36),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function XF(t,e){if(1&t&&(us(0,"mat-icon",36),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function tR(t,e){if(1&t&&(us(0,"mat-icon",36),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function eR(t,e){if(1&t&&(us(0,"mat-icon",36),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function nR(t,e){if(1&t){var n=ms();hs(0),us(1,"td"),us(2,"app-labeled-element-text",41),_s("labelEdited",(function(){return Dn(n),Ms(3).refreshData()})),cs(),cs(),us(3,"td"),us(4,"app-labeled-element-text",41),_s("labelEdited",(function(){return Dn(n),Ms(3).refreshData()})),cs(),cs(),fs()}if(2&t){var i=Ms().$implicit,r=Ms(2);Kr(2),Ls("id",i.src),ss("short",!0)("elementType",r.labeledElementTypes.Node),Kr(2),Ls("id",i.dst),ss("short",!0)("elementType",r.labeledElementTypes.Node)}}function iR(t,e){if(1&t){var n=ms();hs(0),us(1,"td"),al(2,"---"),cs(),us(3,"td"),us(4,"app-labeled-element-text",42),_s("labelEdited",(function(){return Dn(n),Ms(3).refreshData()})),cs(),cs(),fs()}if(2&t){var i=Ms().$implicit,r=Ms(2);Kr(4),Ls("id",i.dst),ss("short",!0)("elementType",r.labeledElementTypes.Transport)}}function rR(t,e){1&t&&(hs(0),us(1,"td"),al(2,"---"),cs(),us(3,"td"),al(4,"---"),cs(),fs())}function aR(t,e){if(1&t){var n=ms();us(0,"tr"),us(1,"td",38),us(2,"mat-checkbox",39),_s("change",(function(){Dn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),cs(),cs(),us(3,"td"),al(4),cs(),us(5,"td"),al(6),cs(),is(7,nR,5,6,"ng-container",20),is(8,iR,5,3,"ng-container",20),is(9,rR,5,0,"ng-container",20),us(10,"td",29),us(11,"button",40),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).details(t)})),Lu(12,"translate"),us(13,"mat-icon",36),al(14,"visibility"),cs(),cs(),us(15,"button",40),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).delete(t.key)})),Lu(16,"translate"),us(17,"mat-icon",36),al(18,"close"),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(2);Kr(2),ss("checked",r.selections.get(i.key)),Kr(2),sl(" ",i.key," "),Kr(2),sl(" ",r.getTypeName(i.type)," "),Kr(1),ss("ngIf",i.appFields||i.forwardFields),Kr(1),ss("ngIf",!i.appFields&&!i.forwardFields&&i.intermediaryForwardFields),Kr(1),ss("ngIf",!i.appFields&&!i.forwardFields&&!i.intermediaryForwardFields),Kr(2),ss("matTooltip",Tu(12,10,"routes.details.title")),Kr(2),ss("inline",!0),Kr(2),ss("matTooltip",Tu(16,12,"routes.delete")),Kr(2),ss("inline",!0)}}function oR(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"tables.label")))}function sR(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"tables.inverted-order")))}function lR(t,e){if(1&t){var n=ms();hs(0),us(1,"div",44),us(2,"span",1),al(3),Lu(4,"translate"),cs(),al(5,": "),us(6,"app-labeled-element-text",47),_s("labelEdited",(function(){return Dn(n),Ms(3).refreshData()})),cs(),cs(),us(7,"div",44),us(8,"span",1),al(9),Lu(10,"translate"),cs(),al(11,": "),us(12,"app-labeled-element-text",47),_s("labelEdited",(function(){return Dn(n),Ms(3).refreshData()})),cs(),cs(),fs()}if(2&t){var i=Ms().$implicit,r=Ms(2);Kr(3),ol(Tu(4,6,"routes.source")),Kr(3),Ls("id",i.src),ss("elementType",r.labeledElementTypes.Node),Kr(3),ol(Tu(10,8,"routes.destination")),Kr(3),Ls("id",i.dst),ss("elementType",r.labeledElementTypes.Node)}}function uR(t,e){if(1&t){var n=ms();hs(0),us(1,"div",44),us(2,"span",1),al(3),Lu(4,"translate"),cs(),al(5,": --- "),cs(),us(6,"div",44),us(7,"span",1),al(8),Lu(9,"translate"),cs(),al(10,": "),us(11,"app-labeled-element-text",47),_s("labelEdited",(function(){return Dn(n),Ms(3).refreshData()})),cs(),cs(),fs()}if(2&t){var i=Ms().$implicit,r=Ms(2);Kr(3),ol(Tu(4,4,"routes.source")),Kr(5),ol(Tu(9,6,"routes.destination")),Kr(3),Ls("id",i.dst),ss("elementType",r.labeledElementTypes.Transport)}}function cR(t,e){1&t&&(hs(0),us(1,"div",44),us(2,"span",1),al(3),Lu(4,"translate"),cs(),al(5,": --- "),cs(),us(6,"div",44),us(7,"span",1),al(8),Lu(9,"translate"),cs(),al(10,": --- "),cs(),fs()),2&t&&(Kr(3),ol(Tu(4,2,"routes.source")),Kr(5),ol(Tu(9,4,"routes.destination")))}function dR(t,e){if(1&t){var n=ms();us(0,"tr"),us(1,"td"),us(2,"div",33),us(3,"div",43),us(4,"mat-checkbox",39),_s("change",(function(){Dn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),cs(),cs(),us(5,"div",34),us(6,"div",44),us(7,"span",1),al(8),Lu(9,"translate"),cs(),al(10),cs(),us(11,"div",44),us(12,"span",1),al(13),Lu(14,"translate"),cs(),al(15),cs(),is(16,lR,13,10,"ng-container",20),is(17,uR,12,8,"ng-container",20),is(18,cR,11,6,"ng-container",20),cs(),ds(19,"div",45),us(20,"div",35),us(21,"button",46),_s("click",(function(t){Dn(n);var i=e.$implicit,r=Ms(2);return t.stopPropagation(),r.showOptionsDialog(i)})),Lu(22,"translate"),us(23,"mat-icon"),al(24),cs(),cs(),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(2);Kr(4),ss("checked",r.selections.get(i.key)),Kr(4),ol(Tu(9,10,"routes.key")),Kr(2),sl(": ",i.key," "),Kr(3),ol(Tu(14,12,"routes.type")),Kr(2),sl(": ",r.getTypeName(i.type)," "),Kr(1),ss("ngIf",i.appFields||i.forwardFields),Kr(1),ss("ngIf",!i.appFields&&!i.forwardFields&&i.intermediaryForwardFields),Kr(1),ss("ngIf",!i.appFields&&!i.forwardFields&&!i.intermediaryForwardFields),Kr(3),ss("matTooltip",Tu(22,14,"common.options")),Kr(3),ol("add")}}function hR(t,e){if(1&t&&ds(0,"app-view-all-link",48),2&t){var n=Ms(2);ss("numberOfElements",n.filteredRoutes.length)("linkParts",Su(3,ZF,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var fR=function(t,e){return{"small-node-list-margins":t,"full-node-list-margins":e}},pR=function(t){return{"d-lg-none d-xl-table":t}},mR=function(t){return{"d-lg-table d-xl-none":t}};function gR(t,e){if(1&t){var n=ms();us(0,"div",24),us(1,"div",25),us(2,"table",26),us(3,"tr"),ds(4,"th"),us(5,"th",27),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.keySortData)})),al(6),Lu(7,"translate"),is(8,QF,2,2,"mat-icon",28),cs(),us(9,"th",27),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.typeSortData)})),al(10),Lu(11,"translate"),is(12,XF,2,2,"mat-icon",28),cs(),us(13,"th",27),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.sourceSortData)})),al(14),Lu(15,"translate"),is(16,tR,2,2,"mat-icon",28),cs(),us(17,"th",27),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.destinationSortData)})),al(18),Lu(19,"translate"),is(20,eR,2,2,"mat-icon",28),cs(),ds(21,"th",29),cs(),is(22,aR,19,14,"tr",30),cs(),us(23,"table",31),us(24,"tr",32),_s("click",(function(){return Dn(n),Ms().dataSorter.openSortingOrderModal()})),us(25,"td"),us(26,"div",33),us(27,"div",34),us(28,"div",1),al(29),Lu(30,"translate"),cs(),us(31,"div"),al(32),Lu(33,"translate"),is(34,oR,3,3,"ng-container",20),is(35,sR,3,3,"ng-container",20),cs(),cs(),us(36,"div",35),us(37,"mat-icon",36),al(38,"keyboard_arrow_down"),cs(),cs(),cs(),cs(),cs(),is(39,dR,25,16,"tr",30),cs(),is(40,hR,1,5,"app-view-all-link",37),cs(),cs()}if(2&t){var i=Ms();Kr(1),ss("ngClass",Mu(31,fR,i.showShortList_,!i.showShortList_)),Kr(1),ss("ngClass",Su(34,pR,i.showShortList_)),Kr(4),sl(" ",Tu(7,19,"routes.key")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.keySortData),Kr(2),sl(" ",Tu(11,21,"routes.type")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.typeSortData),Kr(2),sl(" ",Tu(15,23,"routes.source")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.sourceSortData),Kr(2),sl(" ",Tu(19,25,"routes.destination")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.destinationSortData),Kr(2),ss("ngForOf",i.dataSource),Kr(1),ss("ngClass",Su(36,mR,i.showShortList_)),Kr(6),ol(Tu(30,27,"tables.sorting-title")),Kr(3),sl("",Tu(33,29,i.dataSorter.currentSortingColumn.label)," "),Kr(2),ss("ngIf",i.dataSorter.currentlySortingByLabel),Kr(1),ss("ngIf",i.dataSorter.sortingInReverseOrder),Kr(2),ss("inline",!0),Kr(2),ss("ngForOf",i.dataSource),Kr(1),ss("ngIf",i.showShortList_&&i.numberOfPages>1)}}function vR(t,e){1&t&&(us(0,"span",52),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"routes.empty")))}function _R(t,e){1&t&&(us(0,"span",52),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"routes.empty-with-filter")))}function yR(t,e){if(1&t&&(us(0,"div",24),us(1,"div",49),us(2,"mat-icon",50),al(3,"warning"),cs(),is(4,vR,3,3,"span",51),is(5,_R,3,3,"span",51),cs(),cs()),2&t){var n=Ms();Kr(2),ss("inline",!0),Kr(2),ss("ngIf",0===n.allRoutes.length),Kr(1),ss("ngIf",0!==n.allRoutes.length)}}function bR(t,e){if(1&t&&ds(0,"app-paginator",23),2&t){var n=Ms();ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",Su(4,ZF,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var kR=function(t){return{"paginator-icons-fixer":t}},wR=function(){function t(t,e,n,i,r,a,o){var s=this;this.routeService=t,this.dialog=e,this.route=n,this.router=i,this.snackbarService=r,this.translateService=a,this.storageService=o,this.listId="rl",this.keySortData=new UP(["key"],"routes.key",qP.Number),this.typeSortData=new UP(["type"],"routes.type",qP.Number),this.sourceSortData=new UP(["src"],"routes.source",qP.Text,["src_label"]),this.destinationSortData=new UP(["dst"],"routes.destination",qP.Text,["dst_label"]),this.labeledElementTypes=Kb,this.selections=new Map,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"routes.filter-dialog.key",keyNameInElementsArray:"key",type:EP.TextInput,maxlength:8},{filterName:"routes.filter-dialog.source",keyNameInElementsArray:"src",secondaryKeyNameInElementsArray:"src_label",type:EP.TextInput,maxlength:66},{filterName:"routes.filter-dialog.destination",keyNameInElementsArray:"dst",secondaryKeyNameInElementsArray:"dst_label",type:EP.TextInput,maxlength:66}],this.ruleTypes=new Map([[0,"App"],[1,"Forward"],[2,"Int. forward"]]),this.operationSubscriptionsGroup=[],this.dataSorter=new GP(this.dialog,this.translateService,[this.keySortData,this.typeSortData,this.sourceSortData,this.destinationSortData],0,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){s.recalculateElementsToShow()}));var l={filterName:"routes.filter-dialog.type",keyNameInElementsArray:"type",type:EP.Select,printableLabelsForValues:[{value:"",label:"routes.filter-dialog.any-type-option"}]};this.ruleTypes.forEach((function(t,e){l.printableLabelsForValues.push({value:e+"",label:t})})),this.filterProperties=[l].concat(this.filterProperties),this.dataFilterer=new bO(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(t){s.filteredRoutes=t,s.dataSorter.setData(s.filteredRoutes)})),this.navigationsSubscription=this.route.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),s.currentPageInUrl=e,s.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredRoutes)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"routes",{set:function(t){var e=this;this.allRoutes=t,this.allRoutes.forEach((function(t){if(t.type=t.ruleSummary.ruleType||0===t.ruleSummary.ruleType?t.ruleSummary.ruleType:"",t.appFields||t.forwardFields){var n=t.appFields?t.appFields.routeDescriptor:t.forwardFields.routeDescriptor;t.src=n.srcPk,t.src_label=WP.getCompleteLabel(e.storageService,e.translateService,t.src),t.dst=n.dstPk,t.dst_label=WP.getCompleteLabel(e.storageService,e.translateService,t.dst)}else t.intermediaryForwardFields?(t.src="",t.src_label="",t.dst=t.intermediaryForwardFields.nextTid,t.dst_label=WP.getCompleteLabel(e.storageService,e.translateService,t.dst)):(t.src="",t.src_label="",t.dst="",t.dst_label="")})),this.dataFilterer.setData(this.allRoutes)},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()})),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()},t.prototype.refreshData=function(){ZA.refreshCurrentDisplayedData()},t.prototype.getTypeName=function(t){return this.ruleTypes.has(t)?this.ruleTypes.get(t):"Unknown"},t.prototype.changeSelection=function(t){this.selections.get(t.key)?this.selections.set(t.key,!1):this.selections.set(t.key,!0)},t.prototype.hasSelectedElements=function(){if(!this.selections)return!1;var t=!1;return this.selections.forEach((function(e){e&&(t=!0)})),t},t.prototype.changeAllSelections=function(t){var e=this;this.selections.forEach((function(n,i){e.selections.set(i,t)}))},t.prototype.deleteSelected=function(){var t=this,e=DP.createConfirmationDialog(this.dialog,"routes.delete-selected-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.showProcessing();var n=[];t.selections.forEach((function(t,e){t&&n.push(e)})),t.deleteRecursively(n,e)}))},t.prototype.showOptionsDialog=function(t){var e=this;PP.openDialog(this.dialog,[{icon:"visibility",label:"routes.details.title"},{icon:"close",label:"routes.delete"}],"common.options").afterClosed().subscribe((function(n){1===n?e.details(t):2===n&&e.delete(t.key)}))},t.prototype.details=function(t){VF.openDialog(this.dialog,t)},t.prototype.delete=function(t){var e=this,n=DP.createConfirmationDialog(this.dialog,"routes.delete-confirmation");n.componentInstance.operationAccepted.subscribe((function(){n.componentInstance.showProcessing(),e.operationSubscriptionsGroup.push(e.startDeleting(t).subscribe((function(){n.close(),ZA.refreshCurrentDisplayedData(),e.snackbarService.showDone("routes.deleted")}),(function(t){t=MC(t),n.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))}))},t.prototype.recalculateElementsToShow=function(){var t=this;if(this.currentPage=this.currentPageInUrl,this.filteredRoutes){var e=this.showShortList_?xC.maxShortListElements:xC.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredRoutes.length/e),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.routesToShow=this.filteredRoutes.slice(n,n+e);var i=new Map;this.routesToShow.forEach((function(e){i.set(e.key,!0),t.selections.has(e.key)||t.selections.set(e.key,!1)}));var r=[];this.selections.forEach((function(t,e){i.has(e)||r.push(e)})),r.forEach((function(e){t.selections.delete(e)}))}else this.routesToShow=null,this.selections=new Map;this.dataSource=this.routesToShow},t.prototype.startDeleting=function(t){return this.routeService.delete(ZA.getCurrentNodeKey(),t.toString())},t.prototype.deleteRecursively=function(t,e){var n=this;this.operationSubscriptionsGroup.push(this.startDeleting(t[t.length-1]).subscribe((function(){t.pop(),0===t.length?(e.close(),ZA.refreshCurrentDisplayedData(),n.snackbarService.showDone("routes.deleted")):n.deleteRecursively(t,e)}),(function(t){ZA.refreshCurrentDisplayedData(),t=MC(t),e.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg)})))},t.\u0275fac=function(e){return new(e||t)(as(hP),as(BC),as(W_),as(cb),as(CC),as(fC),as(Jb))},t.\u0275cmp=Fe({type:t,selectors:[["app-route-list"]],inputs:{nodePK:"nodePK",showShortList:"showShortList",routes:"routes"},decls:23,vars:22,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"help","d-none","d-md-inline",3,"inline","matTooltip"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"click"],[3,"inline",4,"ngIf"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],["mat-icon-button","",1,"action-button","transparent-button",3,"matTooltip","click"],["shortTextLength","7",3,"short","id","elementType","labelEdited"],["shortTextLength","5",3,"short","id","elementType","labelEdited"],[1,"check-part"],[1,"list-row","long-content"],[1,"margin-part"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],[3,"id","elementType","labelEdited"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),is(2,zF,6,7,"span",2),is(3,GF,5,4,"div",3),cs(),us(4,"div",4),us(5,"div",5),is(6,KF,3,4,"mat-icon",6),is(7,JF,2,1,"mat-icon",7),us(8,"mat-menu",8,9),us(10,"div",10),_s("click",(function(){return e.changeAllSelections(!0)})),al(11),Lu(12,"translate"),cs(),us(13,"div",10),_s("click",(function(){return e.changeAllSelections(!1)})),al(14),Lu(15,"translate"),cs(),us(16,"div",11),_s("click",(function(){return e.deleteSelected()})),al(17),Lu(18,"translate"),cs(),cs(),cs(),is(19,$F,1,6,"app-paginator",12),cs(),cs(),is(20,gR,41,38,"div",13),is(21,yR,6,3,"div",13),is(22,bR,1,6,"app-paginator",12)),2&t&&(ss("ngClass",Su(20,kR,!e.showShortList_&&e.numberOfPages>1&&e.dataSource)),Kr(2),ss("ngIf",e.showShortList_),Kr(1),ss("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),Kr(3),ss("ngIf",e.allRoutes&&e.allRoutes.length>0),Kr(1),ss("ngIf",e.dataSource&&e.dataSource.length>0),Kr(1),ss("overlapTrigger",!1),Kr(3),sl(" ",Tu(12,14,"selection.select-all")," "),Kr(3),sl(" ",Tu(15,16,"selection.unselect-all")," "),Kr(2),Ls("disabled",!e.hasSelectedElements()),Kr(1),sl(" ",Tu(18,18,"selection.delete-all")," "),Kr(2),ss("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource),Kr(1),ss("ngIf",e.dataSource&&e.dataSource.length>0),Kr(1),ss("ngIf",!e.dataSource||0===e.dataSource.length),Kr(1),ss("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource))},directives:[_h,Sh,IE,DE,qM,zL,kh,RE,GI,lY,uM,WP,mY],pipes:[mC],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:90px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t}(),SR=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=ZA.currentNode.subscribe((function(e){t.nodePK=e.localPk,t.transports=e.transports,t.routes=e.routes}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-routing"]],decls:2,vars:6,consts:[[3,"transports","showShortList","nodePK"],[3,"routes","showShortList","nodePK"]],template:function(t,e){1&t&&(ds(0,"app-transport-list",0),ds(1,"app-route-list",1)),2&t&&(ss("transports",e.transports)("showShortList",!0)("nodePK",e.nodePK),Kr(1),ss("routes",e.routes)("showShortList",!0)("nodePK",e.nodePK))},directives:[YF,wR],styles:[""]}),t}();function MR(t,e){if(1&t&&(us(0,"mat-option",4),al(1),Lu(2,"translate"),cs()),2&t){var n=e.$implicit;ss("value",n.days),Kr(1),ol(Tu(2,2,n.text))}}var CR=function(){function t(t,e,n){this.data=t,this.dialogRef=e,this.formBuilder=n}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.smallModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.filters=[{text:"apps.log.filter.7-days",days:7},{text:"apps.log.filter.1-month",days:30},{text:"apps.log.filter.3-months",days:90},{text:"apps.log.filter.6-months",days:180},{text:"apps.log.filter.1-year",days:365},{text:"apps.log.filter.all",days:-1}],this.form=this.formBuilder.group({filter:[this.data.days]}),this.formSubscription=this.form.get("filter").valueChanges.subscribe((function(e){t.dialogRef.close(t.filters.find((function(t){return t.days===e})))}))},t.prototype.ngOnDestroy=function(){this.formSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)(as(RC),as(YC),as(vL))},t.\u0275cmp=Fe({type:t,selectors:[["app-log-filter"]],decls:7,vars:8,consts:[[3,"headline"],[3,"formGroup"],["formControlName","filter",3,"placeholder"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"form",1),us(3,"mat-form-field"),us(4,"mat-select",2),Lu(5,"translate"),is(6,MR,3,4,"mat-option",3),cs(),cs(),cs(),cs()),2&t&&(ss("headline",Tu(1,4,"apps.log.filter.title")),Kr(2),ss("formGroup",e.form),Kr(2),ss("placeholder",Tu(5,6,"apps.log.filter.filter")),Kr(2),ss("ngForOf",e.filters))},directives:[LL,zD,Ax,KD,LT,hO,Ix,eL,kh,XS],pipes:[mC],styles:["mat-form-field[_ngcontent-%COMP%]{margin-bottom:-24px}"]}),t}(),xR=["content"];function DR(t,e){if(1&t&&(us(0,"div",8),us(1,"span",3),al(2),cs(),al(3),cs()),2&t){var n=e.$implicit;Kr(2),sl(" ",n.time," "),Kr(1),sl(" ",n.msg," ")}}function LR(t,e){1&t&&(us(0,"div",9),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),sl(" ",Tu(2,1,"apps.log.empty")," "))}function TR(t,e){1&t&&ds(0,"app-loading-indicator",10),2&t&&ss("showWhite",!1)}var PR=function(){function t(t,e,n,i){this.data=t,this.appsService=e,this.dialog=n,this.snackbarService=i,this.logMessages=[],this.loading=!1,this.currentFilter={text:"apps.log.filter.7-days",days:7},this.shouldShowError=!0}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.largeModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){this.loadData(0)},t.prototype.ngOnDestroy=function(){this.removeSubscription()},t.prototype.filter=function(){var t=this;CR.openDialog(this.dialog,this.currentFilter).afterClosed().subscribe((function(e){e&&(t.currentFilter=e,t.logMessages=[],t.loadData(0))}))},t.prototype.loadData=function(t){var e=this;this.removeSubscription(),this.loading=!0,this.subscription=mg(1).pipe(iP(t),st((function(){return e.appsService.getLogMessages(ZA.getCurrentNodeKey(),e.data.name,e.currentFilter.days)}))).subscribe((function(t){return e.onLogsReceived(t)}),(function(t){return e.onLogsError(t)}))},t.prototype.removeSubscription=function(){this.subscription&&this.subscription.unsubscribe()},t.prototype.onLogsReceived=function(t){var e=this;void 0===t&&(t=[]),this.loading=!1,this.shouldShowError=!0,this.snackbarService.closeCurrentIfTemporaryError(),t.forEach((function(t){var n=t.startsWith("[")?0:-1,i=-1!==n?t.indexOf("]"):-1;e.logMessages.push(-1!==n&&-1!==i?{time:t.substr(n,i+1),msg:t.substr(i+1)}:{time:"",msg:t})})),setTimeout((function(){e.content.nativeElement.scrollTop=e.content.nativeElement.scrollHeight}))},t.prototype.onLogsError=function(t){t=MC(t),this.shouldShowError&&(this.snackbarService.showError("common.loading-error",null,!0,t),this.shouldShowError=!1),this.loadData(xC.connectionRetryDelay)},t.\u0275fac=function(e){return new(e||t)(as(RC),as(iE),as(BC),as(CC))},t.\u0275cmp=Fe({type:t,selectors:[["app-log"]],viewQuery:function(t,e){var n;1&t&&qu(xR,!0),2&t&&Wu(n=$u())&&(e.content=n.first)},decls:16,vars:14,consts:[[3,"headline","includeVerticalMargins","includeScrollableArea"],[1,"filter-link-container"],[1,"filter-link","subtle-transparent-button",3,"click"],[1,"transparent"],["content",""],["class","app-log-message",4,"ngFor","ngForOf"],["class","app-log-empty mt-3",4,"ngIf"],[3,"showWhite",4,"ngIf"],[1,"app-log-message"],[1,"app-log-empty","mt-3"],[3,"showWhite"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"div",1),us(3,"div",2),_s("click",(function(){return e.filter()})),us(4,"span",3),al(5),Lu(6,"translate"),cs(),al(7,"\xa0 "),us(8,"span"),al(9),Lu(10,"translate"),cs(),cs(),cs(),us(11,"mat-dialog-content",null,4),is(13,DR,4,2,"div",5),is(14,LR,3,3,"div",6),is(15,TR,1,1,"app-loading-indicator",7),cs(),cs()),2&t&&(ss("headline",Tu(1,8,"apps.log.title"))("includeVerticalMargins",!1)("includeScrollableArea",!1),Kr(5),ol(Tu(6,10,"apps.log.filter-button")),Kr(4),ol(Tu(10,12,e.currentFilter.text)),Kr(4),ss("ngForOf",e.logMessages),Kr(1),ss("ngIf",!(e.loading||e.logMessages&&0!==e.logMessages.length)),Kr(1),ss("ngIf",e.loading))},directives:[LL,UC,kh,Sh,yx],pipes:[mC],styles:[".mat-dialog-content[_ngcontent-%COMP%]{font-size:.875rem}.app-log-message[_ngcontent-%COMP%]{margin-top:15px;word-break:break-word}.app-log-message[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:#999}.app-log-message[_ngcontent-%COMP%]:first-of-type{margin-top:0}.app-log-message[_ngcontent-%COMP%]:last-of-type{margin-bottom:24px}.filter-link-container[_ngcontent-%COMP%]{text-align:center;margin:15px 0}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%]{display:inline-block;background:#f8f9f9;padding:5px 10px;border-radius:1000px;font-size:.875rem;text-align:center;color:#215f9e;cursor:pointer}.filter-link-container[_ngcontent-%COMP%] .filter-link[_ngcontent-%COMP%] .transparent[_ngcontent-%COMP%]{color:rgba(33,95,158,.5)}"]}),t}(),OR=["button"],ER=["firstInput"];function IR(t,e){if(1&t){var n=ms();us(0,"div",8),us(1,"mat-checkbox",9),_s("change",(function(t){return Dn(n),Ms().setSecureMode(t)})),al(2),Lu(3,"translate"),us(4,"mat-icon",10),Lu(5,"translate"),al(6,"help"),cs(),cs(),cs()}if(2&t){var i=Ms();Kr(1),ss("checked",i.secureMode),Kr(1),sl(" ",Tu(3,4,"apps.vpn-socks-server-settings.secure-mode-check")," "),Kr(2),ss("inline",!0)("matTooltip",Tu(5,6,"apps.vpn-socks-server-settings.secure-mode-info"))}}var AR=function(){function t(t,e,n,i,r,a){if(this.data=t,this.appsService=e,this.formBuilder=n,this.dialogRef=i,this.snackbarService=r,this.dialog=a,this.configuringVpn=!1,this.secureMode=!1,-1!==t.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0),this.data.args&&this.data.args.length>0)for(var o=0;o0),Kr(2),ss("placeholder",Tu(6,8,"apps.vpn-socks-client-settings.filter-dialog.location")),Kr(3),ss("placeholder",Tu(9,10,"apps.vpn-socks-client-settings.filter-dialog.pub-key")),Kr(4),sl(" ",Tu(13,12,"apps.vpn-socks-client-settings.filter-dialog.apply")," "))},directives:[LL,zD,Ax,KD,Sh,LT,xx,BT,Ix,eL,hL,FL,hO,XS,kh,dO],pipes:[mC],styles:[""]}),t}(),JR=["firstInput"],ZR=function(){function t(t,e){this.dialogRef=t,this.formBuilder=e}return t.openDialog=function(e){var n=new PC;return n.autoFocus=!1,n.width=xC.smallModalWidth,e.open(t,n)},t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({password:[""]}),setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.finish=function(){var t=this.form.get("password").value;this.dialogRef.close("-"+t)},t.\u0275fac=function(e){return new(e||t)(as(YC),as(vL))},t.\u0275cmp=Fe({type:t,selectors:[["app-skysocks-client-password"]],viewQuery:function(t,e){var n;1&t&&qu(JR,!0),2&t&&Wu(n=$u())&&(e.firstInput=n.first)},decls:13,vars:13,consts:[[3,"headline"],[3,"formGroup"],[1,"info"],["type","password","id","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],["firstInput",""],["color","primary","type","mat-raised-button",1,"float-right",3,"action"]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"form",1),us(3,"div",2),al(4),Lu(5,"translate"),cs(),us(6,"mat-form-field"),ds(7,"input",3,4),Lu(9,"translate"),cs(),cs(),us(10,"app-button",5),_s("action",(function(){return e.finish()})),al(11),Lu(12,"translate"),cs(),cs()),2&t&&(ss("headline",Tu(1,5,"apps.vpn-socks-client-settings.password-dialog.title")),Kr(2),ss("formGroup",e.form),Kr(2),ol(Tu(5,7,"apps.vpn-socks-client-settings.password-dialog.info")),Kr(3),ss("placeholder",Tu(9,9,"apps.vpn-socks-client-settings.password-dialog.password")),Kr(4),sl(" ",Tu(12,11,"apps.vpn-socks-client-settings.password-dialog.continue-button")," "))},directives:[LL,zD,Ax,KD,LT,xx,BT,Ix,eL,hL,FL],pipes:[mC],styles:[".info[_ngcontent-%COMP%]{font-size:.7rem;margin-bottom:15px}"]}),t}();function $R(t,e){1&t&&Ds(0)}var QR=["*"];function XR(t,e){}var tN=function(t){return{animationDuration:t}},eN=function(t,e){return{value:t,params:e}},nN=["tabBodyWrapper"],iN=["tabHeader"];function rN(t,e){}function aN(t,e){1&t&&is(0,rN,0,0,"ng-template",9),2&t&&ss("cdkPortalOutlet",Ms().$implicit.templateLabel)}function oN(t,e){1&t&&al(0),2&t&&ol(Ms().$implicit.textLabel)}function sN(t,e){if(1&t){var n=ms();us(0,"div",6),_s("click",(function(){Dn(n);var t=e.$implicit,i=e.index,r=Ms(),a=rs(1);return r._handleClick(t,a,i)})),us(1,"div",7),is(2,aN,1,1,"ng-template",8),is(3,oN,1,1,"ng-template",8),cs(),cs()}if(2&t){var i=e.$implicit,r=e.index,a=Ms();zs("mat-tab-label-active",a.selectedIndex==r),ss("id",a._getTabLabelId(r))("disabled",i.disabled)("matRippleDisabled",i.disabled||a.disableRipple),es("tabIndex",a._getTabIndex(i,r))("aria-posinset",r+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(r))("aria-selected",a.selectedIndex==r)("aria-label",i.ariaLabel||null)("aria-labelledby",!i.ariaLabel&&i.ariaLabelledby?i.ariaLabelledby:null),Kr(2),ss("ngIf",i.templateLabel),Kr(1),ss("ngIf",!i.templateLabel)}}function lN(t,e){if(1&t){var n=ms();us(0,"mat-tab-body",10),_s("_onCentered",(function(){return Dn(n),Ms()._removeTabBodyWrapperHeight()}))("_onCentering",(function(t){return Dn(n),Ms()._setTabBodyWrapperHeight(t)})),cs()}if(2&t){var i=e.$implicit,r=e.index,a=Ms();zs("mat-tab-body-active",a.selectedIndex==r),ss("id",a._getTabContentId(r))("content",i.content)("position",i.position)("origin",i.origin)("animationDuration",a.animationDuration),es("aria-labelledby",a._getTabLabelId(r))}}var uN=["tabListContainer"],cN=["tabList"],dN=["nextPaginator"],hN=["previousPaginator"],fN=["mat-tab-nav-bar",""],pN=new se("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(t){return{left:t?(t.offsetLeft||0)+"px":"0",width:t?(t.offsetWidth||0)+"px":"0"}}}}),mN=function(){var t=function(){function t(e,n,i,r){_(this,t),this._elementRef=e,this._ngZone=n,this._inkBarPositioner=i,this._animationMode=r}return b(t,[{key:"alignToElement",value:function(t){var e=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return e._setStyles(t)}))})):this._setStyles(t)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(t){var e=this._inkBarPositioner(t),n=this._elementRef.nativeElement;n.style.left=e.left,n.style.width=e.width}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(El),as(Mc),as(pN),as(dg,8))},t.\u0275dir=ze({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(t,e){2&t&&zs("_mat-animation-noopable","NoopAnimations"===e._animationMode)}}),t}(),gN=new se("MatTabContent"),vN=function(){var t=function t(e){_(this,t),this.template=e};return t.\u0275fac=function(e){return new(e||t)(as(nu))},t.\u0275dir=ze({type:t,selectors:[["","matTabContent",""]],features:[Dl([{provide:gN,useExisting:t}])]}),t}(),_N=new se("MatTabLabel"),yN=function(){var t=function(t){f(n,t);var e=v(n);function n(){return _(this,n),e.apply(this,arguments)}return n}(Qk);return t.\u0275fac=function(e){return bN(e||t)},t.\u0275dir=ze({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[Dl([{provide:_N,useExisting:t}]),pl]}),t}(),bN=Vi(yN),kN=CS((function t(){_(this,t)})),wN=new se("MAT_TAB_GROUP"),SN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i){var r;return _(this,n),(r=e.call(this))._viewContainerRef=t,r._closestTabGroup=i,r.textLabel="",r._contentPortal=null,r._stateChanges=new W,r.position=null,r.origin=null,r.isActive=!1,r}return b(n,[{key:"ngOnChanges",value:function(t){(t.hasOwnProperty("textLabel")||t.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new Kk(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"templateLabel",get:function(){return this._templateLabel},set:function(t){t&&(this._templateLabel=t)}},{key:"content",get:function(){return this._contentPortal}}]),n}(kN);return t.\u0275fac=function(e){return new(e||t)(as(ru),as(wN,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-tab"]],contentQueries:function(t,e,n){var i;1&t&&(Ku(n,_N,!0),Ju(n,gN,!0,nu)),2&t&&(Wu(i=$u())&&(e.templateLabel=i.first),Wu(i=$u())&&(e._explicitContent=i.first))},viewQuery:function(t,e){var n;1&t&&Uu(nu,!0),2&t&&Wu(n=$u())&&(e._implicitContent=n.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[pl,nn],ngContentSelectors:QR,decls:1,vars:0,template:function(t,e){1&t&&(xs(),is(0,$R,1,0,"ng-template"))},encapsulation:2}),t}(),MN={translateTab:Bf("translateTab",[qf("center, void, left-origin-center, right-origin-center",Uf({transform:"none"})),qf("left",Uf({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),qf("right",Uf({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Kf("* => left, * => right, left => center, right => center",Vf("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Kf("void => left-origin-center",[Uf({transform:"translate3d(-100%, 0, 0)"}),Vf("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Kf("void => right-origin-center",[Uf({transform:"translate3d(100%, 0, 0)"}),Vf("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},CN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t,i,a))._host=r,o._centeringSub=x.EMPTY,o._leavingSub=x.EMPTY,o}return b(n,[{key:"ngOnInit",value:function(){var t=this;r(i(n.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(Fv(this._host._isCenterPosition(this._host._position))).subscribe((function(e){e&&!t.hasAttached()&&t.attach(t._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){t.detach()}))}},{key:"ngOnDestroy",value:function(){r(i(n.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),n}(Xk);return t.\u0275fac=function(e){return new(e||t)(as(Ol),as(ru),as(Ut((function(){return DN}))),as(rd))},t.\u0275dir=ze({type:t,selectors:[["","matTabBodyHost",""]],features:[pl]}),t}(),xN=function(){var t=function(){function t(e,n,i){var r=this;_(this,t),this._elementRef=e,this._dir=n,this._dirChangeSubscription=x.EMPTY,this._translateTabComplete=new W,this._onCentering=new Iu,this._beforeCentering=new Iu,this._afterLeavingCenter=new Iu,this._onCentered=new Iu(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe((function(t){r._computePositionAnimationState(t),i.markForCheck()}))),this._translateTabComplete.pipe(uk((function(t,e){return t.fromState===e.fromState&&t.toState===e.toState}))).subscribe((function(t){r._isCenterPosition(t.toState)&&r._isCenterPosition(r._position)&&r._onCentered.emit(),r._isCenterPosition(t.fromState)&&!r._isCenterPosition(r._position)&&r._afterLeavingCenter.emit()}))}return b(t,[{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(t){var e=this._isCenterPosition(t.toState);this._beforeCentering.emit(e),e&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(t){return"center"==t||"left-origin-center"==t||"right-origin-center"==t}},{key:"_computePositionAnimationState",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==t?"left":"right":this._positionIndex>0?"ltr"==t?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(t){var e=this._getLayoutDirection();return"ltr"==e&&t<=0||"rtl"==e&&t>0?"left-origin-center":"right-origin-center"}},{key:"position",set:function(t){this._positionIndex=t,this._computePositionAnimationState()}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(El),as(Fk,8),as(xo))},t.\u0275dir=ze({type:t,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t}(),DN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r){return _(this,n),e.call(this,t,i,r)}return n}(xN);return t.\u0275fac=function(e){return new(e||t)(as(El),as(Fk,8),as(xo))},t.\u0275cmp=Fe({type:t,selectors:[["mat-tab-body"]],viewQuery:function(t,e){var n;1&t&&qu(tw,!0),2&t&&Wu(n=$u())&&(e._portalHost=n.first)},hostAttrs:[1,"mat-tab-body"],features:[pl],decls:3,vars:6,consts:[[1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(t,e){1&t&&(us(0,"div",0,1),_s("@translateTab.start",(function(t){return e._onTranslateTabStarted(t)}))("@translateTab.done",(function(t){return e._translateTabComplete.next(t)})),is(2,XR,0,0,"ng-template",2),cs()),2&t&&ss("@translateTab",Mu(3,eN,e._position,Su(1,tN,e.animationDuration)))},directives:[CN],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[MN.translateTab]}}),t}(),LN=new se("MAT_TABS_CONFIG"),TN=0,PN=function t(){_(this,t)},ON=xS(DS((function t(e){_(this,t),this._elementRef=e})),"primary"),EN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a){var o;return _(this,n),(o=e.call(this,t))._changeDetectorRef=i,o._animationMode=a,o._tabs=new Yu,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=x.EMPTY,o._tabLabelSubscription=x.EMPTY,o._dynamicHeight=!1,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new Iu,o.focusChange=new Iu,o.animationDone=new Iu,o.selectedTabChange=new Iu(!0),o._groupId=TN++,o.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",o.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,o}return b(n,[{key:"ngAfterContentChecked",value:function(){var t=this,e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){var n=null==this._selectedIndex;n||this.selectedTabChange.emit(this._createChangeEvent(e)),Promise.resolve().then((function(){t._tabs.forEach((function(t,n){return t.isActive=n===e})),n||t.selectedIndexChange.emit(e)}))}this._tabs.forEach((function(n,i){n.position=i-e,null==t._selectedIndex||0!=n.position||n.origin||(n.origin=e-t._selectedIndex)})),this._selectedIndex!==e&&(this._selectedIndex=e,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var t=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(t._clampTabIndex(t._indexToSelect)===t._selectedIndex)for(var e=t._tabs.toArray(),n=0;n.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),t}(),AN=CS((function t(){_(this,t)})),YN=function(){var t=function(t){f(n,t);var e=v(n);function n(t){var i;return _(this,n),(i=e.call(this)).elementRef=t,i}return b(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),n}(AN);return t.\u0275fac=function(e){return new(e||t)(as(El))},t.\u0275dir=ze({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(t,e){2&t&&(es("aria-disabled",!!e.disabled),zs("mat-tab-disabled",e.disabled))},inputs:{disabled:"disabled"},features:[pl]}),t}(),FN=Ek({passive:!0}),RN=function(){var t=function(){function t(e,n,i,r,a,o,s){var l=this;_(this,t),this._elementRef=e,this._changeDetectorRef=n,this._viewportRuler=i,this._dir=r,this._ngZone=a,this._platform=o,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new W,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new W,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new Iu,this.indexFocused=new Iu,a.runOutsideAngular((function(){nk(e.nativeElement,"mouseleave").pipe(bk(l._destroyed)).subscribe((function(){l._stopInterval()}))}))}return b(t,[{key:"ngAfterViewInit",value:function(){var t=this;nk(this._previousPaginator.nativeElement,"touchstart",FN).pipe(bk(this._destroyed)).subscribe((function(){t._handlePaginatorPress("before")})),nk(this._nextPaginator.nativeElement,"touchstart",FN).pipe(bk(this._destroyed)).subscribe((function(){t._handlePaginatorPress("after")}))}},{key:"ngAfterContentInit",value:function(){var t=this,e=this._dir?this._dir.change:mg(null),n=this._viewportRuler.change(150),i=function(){t.updatePagination(),t._alignInkBarToSelectedTab()};this._keyManager=new tS(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),ft(e,n,this._items.changes).pipe(bk(this._destroyed)).subscribe((function(){Promise.resolve().then(i),t._keyManager.withHorizontalOrientation(t._getLayoutDirection())})),this._keyManager.change.pipe(bk(this._destroyed)).subscribe((function(e){t.indexFocused.emit(e),t._setTabFocus(e)}))}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(t){if(!rw(t))switch(t.keyCode){case 36:this._keyManager.setFirstItemActive(),t.preventDefault();break;case 35:this._keyManager.setLastItemActive(),t.preventDefault();break;case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(t));break;default:this._keyManager.onKeydown(t)}}},{key:"_onContentChanges",value:function(){var t=this,e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run((function(){t.updatePagination(),t._alignInkBarToSelectedTab(),t._changeDetectorRef.markForCheck()})))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"_isValidIndex",value:function(t){if(!this._items)return!0;var e=this._items?this._items.toArray()[t]:null;return!!e&&!e.disabled}},{key:"_setTabFocus",value:function(t){if(this._showPaginationControls&&this._scrollToLabel(t),this._items&&this._items.length){this._items.toArray()[t].focus();var e=this._tabListContainer.nativeElement,n=this._getLayoutDirection();e.scrollLeft="ltr"==n?0:e.scrollWidth-e.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var t=this.scrollDistance,e=this._platform,n="ltr"===this._getLayoutDirection()?-t:t;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(n),"px)"),e&&(e.TRIDENT||e.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"_scrollHeader",value:function(t){return this._scrollTo(this._scrollDistance+("before"==t?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(t){this._stopInterval(),this._scrollHeader(t)}},{key:"_scrollToLabel",value:function(t){if(!this.disablePagination){var e=this._items?this._items.toArray()[t]:null;if(e){var n,i,r=this._tabListContainer.nativeElement.offsetWidth,a=e.elementRef.nativeElement,o=a.offsetLeft,s=a.offsetWidth;"ltr"==this._getLayoutDirection()?i=(n=o)+s:n=(i=this._tabList.nativeElement.offsetWidth-o)-s;var l=this.scrollDistance,u=this.scrollDistance+r;nu&&(this.scrollDistance+=i-u+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var t=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;t||(this.scrollDistance=0),t!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=t}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var t=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,e=t?t.elementRef.nativeElement:null;e?this._inkBar.alignToElement(e):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(t,e){var n=this;e&&null!=e.button&&0!==e.button||(this._stopInterval(),vk(650,100).pipe(bk(ft(this._stopScrolling,this._destroyed))).subscribe((function(){var e=n._scrollHeader(t),i=e.distance;(0===i||i>=e.maxScrollDistance)&&n._stopInterval()})))}},{key:"_scrollTo",value:function(t){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var e=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(e,t)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:e,distance:this._scrollDistance}}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(t){t=$b(t),this._selectedIndex!=t&&(this._selectedIndexChanged=!0,this._selectedIndex=t,this._keyManager&&this._keyManager.updateActiveItem(t))}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(t){this._isValidIndex(t)&&this.focusIndex!==t&&this._keyManager&&this._keyManager.setActiveItem(t)}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(t){this._scrollTo(t)}}]),t}();return t.\u0275fac=function(e){return new(e||t)(as(El),as(xo),as(Vk),as(Fk,8),as(Mc),as(Lk),as(dg,8))},t.\u0275dir=ze({type:t,inputs:{disablePagination:"disablePagination"}}),t}(),NN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l){var u;return _(this,n),(u=e.call(this,t,i,r,a,o,s,l))._disableRipple=!1,u}return b(n,[{key:"_itemSelected",value:function(t){t.preventDefault()}},{key:"disableRipple",get:function(){return this._disableRipple},set:function(t){this._disableRipple=Zb(t)}}]),n}(RN);return t.\u0275fac=function(e){return new(e||t)(as(El),as(xo),as(Vk),as(Fk,8),as(Mc),as(Lk),as(dg,8))},t.\u0275dir=ze({type:t,inputs:{disableRipple:"disableRipple"},features:[pl]}),t}(),HN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l){return _(this,n),e.call(this,t,i,r,a,o,s,l)}return n}(NN);return t.\u0275fac=function(e){return new(e||t)(as(El),as(xo),as(Vk),as(Fk,8),as(Mc),as(Lk),as(dg,8))},t.\u0275cmp=Fe({type:t,selectors:[["mat-tab-header"]],contentQueries:function(t,e,n){var i;1&t&&Ku(n,YN,!1),2&t&&Wu(i=$u())&&(e._items=i)},viewQuery:function(t,e){var n;1&t&&(Uu(mN,!0),Uu(uN,!0),Uu(cN,!0),qu(dN,!0),qu(hN,!0)),2&t&&(Wu(n=$u())&&(e._inkBar=n.first),Wu(n=$u())&&(e._tabListContainer=n.first),Wu(n=$u())&&(e._tabList=n.first),Wu(n=$u())&&(e._nextPaginator=n.first),Wu(n=$u())&&(e._previousPaginator=n.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(t,e){2&t&&zs("mat-tab-header-pagination-controls-enabled",e._showPaginationControls)("mat-tab-header-rtl","rtl"==e._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[pl],ngContentSelectors:QR,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(t,e){1&t&&(xs(),us(0,"div",0,1),_s("click",(function(){return e._handlePaginatorClick("before")}))("mousedown",(function(t){return e._handlePaginatorPress("before",t)}))("touchend",(function(){return e._stopInterval()})),ds(2,"div",2),cs(),us(3,"div",3,4),_s("keydown",(function(t){return e._handleKeydown(t)})),us(5,"div",5,6),_s("cdkObserveContent",(function(){return e._onContentChanges()})),us(7,"div",7),Ds(8),cs(),ds(9,"mat-ink-bar"),cs(),cs(),us(10,"div",8,9),_s("mousedown",(function(t){return e._handlePaginatorPress("after",t)}))("click",(function(){return e._handlePaginatorClick("after")}))("touchend",(function(){return e._stopInterval()})),ds(12,"div",2),cs()),2&t&&(zs("mat-tab-header-pagination-disabled",e._disableScrollBefore),ss("matRippleDisabled",e._disableScrollBefore||e.disableRipple),Kr(5),zs("_mat-animation-noopable","NoopAnimations"===e._animationMode),Kr(5),zs("mat-tab-header-pagination-disabled",e._disableScrollAfter),ss("matRippleDisabled",e._disableScrollAfter||e.disableRipple))},directives:[BS,Uw,mN],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:"";height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),t}(),jN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s,l){var u;return _(this,n),(u=e.call(this,t,a,o,i,r,s,l))._disableRipple=!1,u.color="primary",u}return b(n,[{key:"_itemSelected",value:function(){}},{key:"ngAfterContentInit",value:function(){var t=this;this._items.changes.pipe(Fv(null),bk(this._destroyed)).subscribe((function(){t.updateActiveLink()})),r(i(n.prototype),"ngAfterContentInit",this).call(this)}},{key:"updateActiveLink",value:function(t){if(this._items){for(var e=this._items.toArray(),n=0;n.mat-tab-link-container .mat-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-tab-link-container .mat-tab-links{justify-content:flex-end}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-link{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;vertical-align:top;text-decoration:none;position:relative;overflow:hidden;-webkit-tap-highlight-color:transparent}.mat-tab-link:focus{outline:none}.mat-tab-link:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-link:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-link.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-link.mat-tab-disabled{opacity:.5}.mat-tab-link .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-link{opacity:1}[mat-stretch-tabs] .mat-tab-link{flex-basis:0;flex-grow:1}.mat-tab-link.mat-tab-disabled{pointer-events:none}@media(max-width: 599px){.mat-tab-link{min-width:72px}}\n'],encapsulation:2}),t}(),VN=LS(DS(CS((function t(){_(this,t)})))),zN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,a,o,s){var l;return _(this,n),(l=e.call(this))._tabNavBar=t,l.elementRef=i,l._focusMonitor=o,l._isActive=!1,l.rippleConfig=r||{},l.tabIndex=parseInt(a)||0,"NoopAnimations"===s&&(l.rippleConfig.animation={enterDuration:0,exitDuration:0}),l}return b(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this.elementRef)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this.elementRef)}},{key:"active",get:function(){return this._isActive},set:function(t){t!==this._isActive&&(this._isActive=t,this._tabNavBar.updateActiveLink(this.elementRef))}},{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}}]),n}(VN);return t.\u0275fac=function(e){return new(e||t)(as(jN),as(El),as(jS,8),os("tabindex"),as(hS),as(dg,8))},t.\u0275dir=ze({type:t,inputs:{active:"active"},features:[pl]}),t}(),WN=function(){var t=function(t){f(n,t);var e=v(n);function n(t,i,r,o,s,l,u,c){var d;return _(this,n),(d=e.call(this,t,i,s,l,u,c))._tabLinkRipple=new RS(a(d),r,i,o),d._tabLinkRipple.setupTriggerEvents(i.nativeElement),d}return b(n,[{key:"ngOnDestroy",value:function(){r(i(n.prototype),"ngOnDestroy",this).call(this),this._tabLinkRipple._removeTriggerEvents()}}]),n}(zN);return t.\u0275fac=function(e){return new(e||t)(as(BN),as(El),as(Mc),as(Lk),as(jS,8),os("tabindex"),as(hS),as(dg,8))},t.\u0275dir=ze({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mat-tab-link","mat-focus-indicator"],hostVars:7,hostBindings:function(t,e){2&t&&(es("aria-current",e.active?"page":null)("aria-disabled",e.disabled)("tabIndex",e.tabIndex),zs("mat-tab-disabled",e.disabled)("mat-tab-label-active",e.active))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matTabLink"],features:[pl]}),t}(),UN=function(){var t=function t(){_(this,t)};return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},imports:[[af,MS,nw,VS,qw,gS],MS]}),t}(),qN=["button"],GN=["settingsButton"],KN=["firstInput"];function JN(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),sl(" ",Tu(2,1,"apps.vpn-socks-client-settings.remote-key-length-error")," "))}function ZN(t,e){1&t&&(al(0),Lu(1,"translate")),2&t&&sl(" ",Tu(1,1,"apps.vpn-socks-client-settings.remote-key-chars-error")," ")}function $N(t,e){1&t&&(us(0,"mat-form-field"),ds(1,"input",20),Lu(2,"translate"),cs()),2&t&&(Kr(1),ss("placeholder",Tu(2,1,"apps.vpn-socks-client-settings.password")))}function QN(t,e){1&t&&(us(0,"div",21),us(1,"mat-icon",22),al(2,"warning"),cs(),al(3),Lu(4,"translate"),cs()),2&t&&(Kr(1),ss("inline",!0),Kr(2),sl(" ",Tu(4,2,"apps.vpn-socks-client-settings.password-history-warning")," "))}function XN(t,e){1&t&&ds(0,"app-loading-indicator",23),2&t&&ss("showWhite",!1)}function tH(t,e){1&t&&(us(0,"div",24),us(1,"mat-icon",22),al(2,"error"),cs(),al(3),Lu(4,"translate"),cs()),2&t&&(Kr(1),ss("inline",!0),Kr(2),sl(" ",Tu(4,2,"apps.vpn-socks-client-settings.no-elements")," "))}function eH(t,e){1&t&&(us(0,"div",31),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),sl(" ",Tu(2,1,"apps.vpn-socks-client-settings.no-filter")," "))}function nH(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(Tu(2,1,n[1]))}}function iH(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(n[2])}}function rH(t,e){if(1&t&&(us(0,"div",31),us(1,"span"),al(2),Lu(3,"translate"),cs(),is(4,nH,3,3,"ng-container",7),is(5,iH,2,1,"ng-container",7),cs()),2&t){var n=e.$implicit;Kr(2),sl("",Tu(3,3,n[0])," "),Kr(2),ss("ngIf",n[1]),Kr(1),ss("ngIf",n[2])}}function aH(t,e){1&t&&(us(0,"div",24),us(1,"mat-icon",22),al(2,"error"),cs(),al(3),Lu(4,"translate"),cs()),2&t&&(Kr(1),ss("inline",!0),Kr(2),sl(" ",Tu(4,2,"apps.vpn-socks-client-settings.no-elements-for-filters")," "))}var oH=function(t){return{highlighted:t}};function sH(t,e){if(1&t&&(hs(0),us(1,"span",36),al(2),cs(),fs()),2&t){var n=e.$implicit,i=e.index;Kr(1),ss("ngClass",Su(2,oH,i%2!=0)),Kr(1),ol(n)}}function lH(t,e){if(1&t&&(hs(0),us(1,"div",37),ds(2,"div"),cs(),fs()),2&t){var n=Ms(2).$implicit;Kr(2),Ws("background-image: url('assets/img/flags/"+n.country.toLocaleLowerCase()+".png');")}}function uH(t,e){if(1&t&&(hs(0),us(1,"span",36),al(2),cs(),fs()),2&t){var n=e.$implicit,i=e.index;Kr(1),ss("ngClass",Su(2,oH,i%2!=0)),Kr(1),ol(n)}}function cH(t,e){if(1&t&&(us(0,"div",31),us(1,"span"),al(2),Lu(3,"translate"),cs(),us(4,"span"),al(5,"\xa0 "),is(6,lH,3,2,"ng-container",7),is(7,uH,3,4,"ng-container",34),cs(),cs()),2&t){var n=Ms().$implicit,i=Ms(2);Kr(2),ol(Tu(3,3,"apps.vpn-socks-client-settings.location")),Kr(4),ss("ngIf",n.country),Kr(1),ss("ngForOf",i.getHighlightedTextParts(n.location,i.currentFilters.location))}}function dH(t,e){if(1&t){var n=ms();us(0,"div",32),us(1,"button",25),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).saveChanges(t.pk,null,!1,t.location)})),us(2,"div",33),us(3,"div",31),us(4,"span"),al(5),Lu(6,"translate"),cs(),us(7,"span"),al(8,"\xa0"),is(9,sH,3,4,"ng-container",34),cs(),cs(),is(10,cH,8,5,"div",28),cs(),cs(),us(11,"button",35),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).copyPk(t.pk)})),Lu(12,"translate"),us(13,"mat-icon",22),al(14,"filter_none"),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(2);Kr(5),ol(Tu(6,5,"apps.vpn-socks-client-settings.key")),Kr(4),ss("ngForOf",r.getHighlightedTextParts(i.pk,r.currentFilters.key)),Kr(1),ss("ngIf",i.location),Kr(1),ss("matTooltip",Tu(12,7,"apps.vpn-socks-client-settings.copy-pk-info")),Kr(2),ss("inline",!0)}}function hH(t,e){if(1&t){var n=ms();hs(0),us(1,"button",25),_s("click",(function(){return Dn(n),Ms().changeFilters()})),us(2,"div",26),us(3,"div",27),us(4,"mat-icon",22),al(5,"filter_list"),cs(),cs(),us(6,"div"),is(7,eH,3,3,"div",28),is(8,rH,6,5,"div",29),us(9,"div",30),al(10),Lu(11,"translate"),cs(),cs(),cs(),cs(),is(12,aH,5,4,"div",12),is(13,dH,15,9,"div",14),fs()}if(2&t){var i=Ms();Kr(4),ss("inline",!0),Kr(3),ss("ngIf",0===i.currentFiltersTexts.length),Kr(1),ss("ngForOf",i.currentFiltersTexts),Kr(2),ol(Tu(11,6,"apps.vpn-socks-client-settings.click-to-change")),Kr(2),ss("ngIf",0===i.filteredProxiesFromDiscovery.length),Kr(1),ss("ngForOf",i.proxiesFromDiscoveryToShow)}}var fH=function(t,e){return{currentElementsRange:t,totalElements:e}};function pH(t,e){if(1&t){var n=ms();us(0,"div",38),us(1,"span"),al(2),Lu(3,"translate"),cs(),us(4,"button",39),_s("click",(function(){return Dn(n),Ms().goToPreviousPage()})),us(5,"mat-icon"),al(6,"chevron_left"),cs(),cs(),us(7,"button",39),_s("click",(function(){return Dn(n),Ms().goToNextPage()})),us(8,"mat-icon"),al(9,"chevron_right"),cs(),cs(),cs()}if(2&t){var i=Ms();Kr(2),ol(Pu(3,1,"apps.vpn-socks-client-settings.pagination-info",Mu(4,fH,i.currentRange,i.filteredProxiesFromDiscovery.length)))}}var mH=function(t){return{number:t}};function gH(t,e){if(1&t&&(us(0,"div"),us(1,"div",24),us(2,"mat-icon",22),al(3,"error"),cs(),al(4),Lu(5,"translate"),cs(),cs()),2&t){var n=Ms();Kr(2),ss("inline",!0),Kr(2),sl(" ",Pu(5,2,"apps.vpn-socks-client-settings.no-history",Su(5,mH,n.maxHistoryElements))," ")}}function vH(t,e){1&t&&ps(0)}function _H(t,e){1&t&&ps(0)}function yH(t,e){if(1&t&&(hs(0),us(1,"span"),al(2),cs(),fs()),2&t){var n=Ms(2).$implicit;Kr(2),sl(" ",n.note,"")}}function bH(t,e){1&t&&(hs(0),us(1,"span"),al(2),Lu(3,"translate"),cs(),fs()),2&t&&(Kr(2),sl(" ",Tu(3,1,"apps.vpn-socks-client-settings.note-entered-manually"),""))}function kH(t,e){if(1&t&&(hs(0),us(1,"span"),al(2),cs(),fs()),2&t){var n=Ms(4).$implicit;Kr(2),sl(" (",n.location,")")}}function wH(t,e){if(1&t&&(hs(0),us(1,"span"),al(2),Lu(3,"translate"),cs(),is(4,kH,3,1,"ng-container",7),fs()),2&t){var n=Ms(3).$implicit;Kr(2),sl(" ",Tu(3,2,"apps.vpn-socks-client-settings.note-obtained"),""),Kr(2),ss("ngIf",n.location)}}function SH(t,e){if(1&t&&(hs(0),is(1,bH,4,3,"ng-container",7),is(2,wH,5,4,"ng-container",7),fs()),2&t){var n=Ms(2).$implicit;Kr(1),ss("ngIf",n.enteredManually),Kr(1),ss("ngIf",!n.enteredManually)}}function MH(t,e){if(1&t&&(us(0,"div",45),us(1,"div",46),us(2,"div",31),us(3,"span"),al(4),Lu(5,"translate"),cs(),us(6,"span"),al(7),cs(),cs(),us(8,"div",31),us(9,"span"),al(10),Lu(11,"translate"),cs(),is(12,yH,3,1,"ng-container",7),is(13,SH,3,2,"ng-container",7),cs(),cs(),us(14,"div",47),us(15,"div",48),us(16,"mat-icon",22),al(17,"add"),cs(),cs(),cs(),cs()),2&t){var n=Ms().$implicit;Kr(4),ol(Tu(5,6,"apps.vpn-socks-client-settings.key")),Kr(3),sl(" ",n.key,""),Kr(3),ol(Tu(11,8,"apps.vpn-socks-client-settings.note")),Kr(2),ss("ngIf",n.note),Kr(1),ss("ngIf",!n.note),Kr(3),ss("inline",!0)}}function CH(t,e){if(1&t){var n=ms();us(0,"div",32),us(1,"button",40),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms().useFromHistory(t)})),is(2,vH,1,0,"ng-container",41),cs(),us(3,"button",42),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms().changeNote(t)})),Lu(4,"translate"),us(5,"mat-icon",22),al(6,"edit"),cs(),cs(),us(7,"button",42),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms().removeFromHistory(t.key)})),Lu(8,"translate"),us(9,"mat-icon",22),al(10,"close"),cs(),cs(),us(11,"button",43),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms().openHistoryOptions(t)})),is(12,_H,1,0,"ng-container",41),cs(),is(13,MH,18,10,"ng-template",null,44,ec),cs()}if(2&t){var i=rs(14);Kr(2),ss("ngTemplateOutlet",i),Kr(1),ss("matTooltip",Tu(4,6,"apps.vpn-socks-client-settings.change-note")),Kr(2),ss("inline",!0),Kr(2),ss("matTooltip",Tu(8,8,"apps.vpn-socks-client-settings.remove-entry")),Kr(2),ss("inline",!0),Kr(3),ss("ngTemplateOutlet",i)}}function xH(t,e){1&t&&(us(0,"div",49),us(1,"mat-icon",22),al(2,"warning"),cs(),al(3),Lu(4,"translate"),cs()),2&t&&(Kr(1),ss("inline",!0),Kr(2),sl(" ",Tu(4,2,"apps.vpn-socks-client-settings.settings-changed-alert")," "))}var DH=function(){function t(t,e,n,i,r,a,o,s){this.data=t,this.dialogRef=e,this.appsService=n,this.formBuilder=i,this.snackbarService=r,this.dialog=a,this.proxyDiscoveryService=o,this.clipboardService=s,this.socksHistoryStorageKey="SkysocksClientHistory_",this.vpnHistoryStorageKey="VpnClientHistory_",this.maxHistoryElements=10,this.maxElementsPerPage=10,this.countriesFromDiscovery=new Set,this.loadingFromDiscovery=!0,this.numberOfPages=1,this.currentPage=1,this.currentRange="1 - 1",this.currentFilters=new GR,this.currentFiltersTexts=[],this.configuringVpn=!1,this.killswitch=!1,this.initialKillswitchSetting=!1,this.working=!1,-1!==t.name.toLocaleLowerCase().indexOf("vpn")&&(this.configuringVpn=!0)}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.largeModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.discoverySubscription=this.proxyDiscoveryService.getServices(!this.configuringVpn).subscribe((function(e){t.proxiesFromDiscovery=e,t.proxiesFromDiscovery.forEach((function(e){e.country&&t.countriesFromDiscovery.add(e.country.toUpperCase())})),t.filterProxies(),t.loadingFromDiscovery=!1}));var e=localStorage.getItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey);this.history=e?JSON.parse(e):[];var n="";if(this.data.args&&this.data.args.length>0)for(var i=0;i=this.numberOfPages||(this.currentPage+=1,this.showCurrentPage())},t.prototype.goToPreviousPage=function(){this.currentPage<=1||(this.currentPage-=1,this.showCurrentPage())},t.prototype.showCurrentPage=function(){this.proxiesFromDiscoveryToShow=this.filteredProxiesFromDiscovery.slice((this.currentPage-1)*this.maxElementsPerPage,this.currentPage*this.maxElementsPerPage),this.currentRange=(this.currentPage-1)*this.maxElementsPerPage+1+" - ",this.currentRange+=this.currentPagethis.maxHistoryElements){var o=this.history.length-this.maxHistoryElements;this.history.splice(this.history.length-o,o)}this.form.get("pk").setValue(t);var s=JSON.stringify(this.history);localStorage.setItem(this.configuringVpn?this.vpnHistoryStorageKey:this.socksHistoryStorageKey,s),ZA.refreshCurrentDisplayedData(),this.snackbarService.showDone("apps.vpn-socks-client-settings.changes-made"),this.working=!1,this.button.reset(!1),this.settingsButton.reset(!1)},t.prototype.onServerDataChangeError=function(t){this.working=!1,this.button.showError(!1),this.settingsButton.reset(!1),t=MC(t),this.snackbarService.showError(t)},t.\u0275fac=function(e){return new(e||t)(as(RC),as(YC),as(iE),as(vL),as(CC),as(BC),as(FR),as(OP))},t.\u0275cmp=Fe({type:t,selectors:[["app-skysocks-client-settings"]],viewQuery:function(t,e){var n;1&t&&(qu(qN,!0),qu(GN,!0),qu(KN,!0)),2&t&&(Wu(n=$u())&&(e.button=n.first),Wu(n=$u())&&(e.settingsButton=n.first),Wu(n=$u())&&(e.firstInput=n.first))},decls:44,vars:46,consts:[[3,"headline"],[3,"label"],[3,"formGroup"],["id","pk","formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],[4,"ngIf"],["class","password-history-warning",4,"ngIf"],["color","primary",1,"float-right",3,"disabled","action"],["button",""],["class","loading-indicator",3,"showWhite",4,"ngIf"],["class","info-text",4,"ngIf"],["class","paginator",4,"ngIf"],["class","d-flex",4,"ngFor","ngForOf"],[1,"main-theme","settings-option"],["color","primary",3,"checked","change"],[1,"help-icon",3,"inline","matTooltip"],["class","settings-changed-warning",4,"ngIf"],["settingsButton",""],["id","password","type","password","formControlName","password","maxlength","100","matInput","",3,"placeholder"],[1,"password-history-warning"],[3,"inline"],[1,"loading-indicator",3,"showWhite"],[1,"info-text"],["mat-button","",1,"list-button","grey-button-background","w-100",3,"click"],[1,"filter-button-content"],[1,"icon-area"],["class","item",4,"ngIf"],["class","item",4,"ngFor","ngForOf"],[1,"blue-part"],[1,"item"],[1,"d-flex"],[1,"button-content"],[4,"ngFor","ngForOf"],["mat-button","",1,"list-button","grey-button-background",3,"matTooltip","click"],[3,"ngClass"],[1,"flag-container"],[1,"paginator"],["mat-icon-button","",1,"hard-grey-button-background",3,"click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-none","d-md-inline",3,"click"],[4,"ngTemplateOutlet"],["mat-button","",1,"list-button","grey-button-background","d-none","d-md-inline",3,"matTooltip","click"],["mat-button","",1,"list-button","grey-button-background","w-100","d-md-none",3,"click"],["content",""],[1,"button-content","d-flex"],[1,"full-size-area"],[1,"options-container"],[1,"small-button","d-md-none"],[1,"settings-changed-warning"]],template:function(t,e){if(1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"mat-tab-group"),us(3,"mat-tab",1),Lu(4,"translate"),us(5,"form",2),us(6,"mat-form-field"),ds(7,"input",3,4),Lu(9,"translate"),us(10,"mat-error"),is(11,JN,3,3,"ng-container",5),cs(),is(12,ZN,2,3,"ng-template",null,6,ec),cs(),is(14,$N,3,3,"mat-form-field",7),is(15,QN,5,4,"div",8),us(16,"app-button",9,10),_s("action",(function(){return e.saveChanges()})),al(18),Lu(19,"translate"),cs(),cs(),cs(),us(20,"mat-tab",1),Lu(21,"translate"),is(22,XN,1,1,"app-loading-indicator",11),is(23,tH,5,4,"div",12),is(24,hH,14,8,"ng-container",7),is(25,pH,10,7,"div",13),cs(),us(26,"mat-tab",1),Lu(27,"translate"),is(28,gH,6,7,"div",7),is(29,CH,15,10,"div",14),cs(),us(30,"mat-tab",1),Lu(31,"translate"),us(32,"div",15),us(33,"mat-checkbox",16),_s("change",(function(t){return e.setKillswitch(t)})),al(34),Lu(35,"translate"),us(36,"mat-icon",17),Lu(37,"translate"),al(38,"help"),cs(),cs(),cs(),is(39,xH,5,4,"div",18),us(40,"app-button",9,19),_s("action",(function(){return e.saveSettings()})),al(42),Lu(43,"translate"),cs(),cs(),cs(),cs()),2&t){var n=rs(13);ss("headline",Tu(1,26,"apps.vpn-socks-client-settings."+(e.configuringVpn?"vpn-title":"socks-title"))),Kr(3),ss("label",Tu(4,28,"apps.vpn-socks-client-settings.remote-visor-tab")),Kr(2),ss("formGroup",e.form),Kr(2),ss("placeholder",Tu(9,30,"apps.vpn-socks-client-settings.public-key")),Kr(4),ss("ngIf",!e.form.get("pk").hasError("pattern"))("ngIfElse",n),Kr(3),ss("ngIf",e.configuringVpn),Kr(1),ss("ngIf",e.form&&e.form.get("password").value),Kr(1),ss("disabled",!e.form.valid||e.working),Kr(2),sl(" ",Tu(19,32,"apps.vpn-socks-client-settings.save")," "),Kr(2),ss("label",Tu(21,34,"apps.vpn-socks-client-settings.discovery-tab")),Kr(2),ss("ngIf",e.loadingFromDiscovery),Kr(1),ss("ngIf",!e.loadingFromDiscovery&&0===e.proxiesFromDiscovery.length),Kr(1),ss("ngIf",!e.loadingFromDiscovery&&e.proxiesFromDiscovery.length>0),Kr(1),ss("ngIf",e.numberOfPages>1),Kr(1),ss("label",Tu(27,36,"apps.vpn-socks-client-settings.history-tab")),Kr(2),ss("ngIf",0===e.history.length),Kr(1),ss("ngForOf",e.history),Kr(1),ss("label",Tu(31,38,"apps.vpn-socks-client-settings.settings-tab")),Kr(3),ss("checked",e.killswitch),Kr(1),sl(" ",Tu(35,40,"apps.vpn-socks-client-settings.killswitch-check")," "),Kr(2),ss("inline",!0)("matTooltip",Tu(37,42,"apps.vpn-socks-client-settings.killswitch-info")),Kr(3),ss("ngIf",e.killswitch!==e.initialKillswitchSetting),Kr(1),ss("disabled",e.killswitch===e.initialKillswitchSetting||e.working),Kr(2),sl(" ",Tu(43,44,"apps.vpn-socks-client-settings.save-settings")," ")}},directives:[LL,IN,SN,zD,Ax,KD,LT,xx,BT,Ix,eL,hL,dT,Sh,FL,kh,lY,qM,zL,yx,uM,_h,Ih],pipes:[mC],styles:["form[_ngcontent-%COMP%]{margin-top:15px}.info-text[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:2px;text-align:center;color:#202226}.info-text[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px}.loading-indicator[_ngcontent-%COMP%]{height:100px}.password-history-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px}.list-button[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.12)}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%]{padding:15px 0;white-space:normal;line-height:1.3;color:#202226;text-align:left;display:flex;font-size:.8rem;word-break:break-word}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .icon-area[_ngcontent-%COMP%]{font-size:20px;margin-right:15px;color:#999;opacity:.4;align-self:center}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{margin:4px 0}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .filter-button-content[_ngcontent-%COMP%] .blue-part[_ngcontent-%COMP%]{color:#215f9e}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%]{text-align:left;padding:15px 0;white-space:normal}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .full-size-area[_ngcontent-%COMP%]{flex-grow:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{line-height:1.3;margin:4px 0;font-size:.8rem;color:#202226;word-break:break-all}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]:first-of-type{color:#999}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .item[_ngcontent-%COMP%] .highlighted[_ngcontent-%COMP%]{background-color:#ff0}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%]{flex-shrink:0;margin-left:5px;text-align:right;line-height:1}.list-button[_ngcontent-%COMP%] .button-content[_ngcontent-%COMP%] .options-container[_ngcontent-%COMP%] .small-button[_ngcontent-%COMP%]{width:24px;height:24px;line-height:14px;font-size:14px;margin-left:5px}.paginator[_ngcontent-%COMP%]{float:right;margin-top:15px}@media (max-width:767px){.paginator[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:.7rem}}.paginator[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:5px}.settings-option[_ngcontent-%COMP%]{margin:15px 12px 10px}.settings-changed-warning[_ngcontent-%COMP%]{font-size:.7rem;opacity:.7;position:relative;top:-5px;padding:0 12px}"]}),t}();function LH(t,e){1&t&&(us(0,"span",14),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"apps.apps-list.title")))}function TH(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(Tu(2,1,n.translatableValue))}}function PH(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms().$implicit;Kr(1),ol(n.value)}}function OH(t,e){if(1&t&&(us(0,"div",18),us(1,"span"),al(2),Lu(3,"translate"),cs(),is(4,TH,3,3,"ng-container",19),is(5,PH,2,1,"ng-container",19),cs()),2&t){var n=e.$implicit;Kr(2),sl("",Tu(3,3,n.filterName),": "),Kr(2),ss("ngIf",n.translatableValue),Kr(1),ss("ngIf",n.value)}}function EH(t,e){if(1&t){var n=ms();us(0,"div",15),_s("click",(function(){return Dn(n),Ms().dataFilterer.removeFilters()})),is(1,OH,6,5,"div",16),us(2,"div",17),al(3),Lu(4,"translate"),cs(),cs()}if(2&t){var i=Ms();Kr(1),ss("ngForOf",i.dataFilterer.currentFiltersTexts),Kr(2),ol(Tu(4,2,"filters.press-to-remove"))}}function IH(t,e){if(1&t){var n=ms();us(0,"mat-icon",20),_s("click",(function(){return Dn(n),Ms().dataFilterer.changeFilters()})),Lu(1,"translate"),al(2,"filter_list"),cs()}2&t&&ss("inline",!0)("matTooltip",Tu(1,2,"filters.filter-action"))}function AH(t,e){1&t&&(us(0,"mat-icon",21),al(1,"more_horiz"),cs()),2&t&&(Ms(),ss("matMenuTriggerFor",rs(9)))}var YH=function(t){return["/nodes",t,"apps-list"]};function FH(t,e){if(1&t&&ds(0,"app-paginator",22),2&t){var n=Ms();ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",Su(4,YH,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function RH(t,e){if(1&t&&(us(0,"mat-icon",37),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function NH(t,e){if(1&t&&(us(0,"mat-icon",37),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function HH(t,e){if(1&t&&(us(0,"mat-icon",37),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function jH(t,e){if(1&t&&(us(0,"mat-icon",37),al(1),cs()),2&t){var n=Ms(2);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function BH(t,e){if(1&t&&(us(0,"a",45),us(1,"button",46),Lu(2,"translate"),us(3,"mat-icon",37),al(4,"open_in_browser"),cs(),cs(),cs()),2&t){var n=Ms().$implicit;ss("href",Ms(2).getLink(n),Lr),Kr(1),ss("matTooltip",Tu(2,3,"apps.open")),Kr(2),ss("inline",!0)}}function VH(t,e){if(1&t){var n=ms();us(0,"button",42),_s("click",(function(){Dn(n);var t=Ms().$implicit;return Ms(2).config(t)})),Lu(1,"translate"),us(2,"mat-icon",37),al(3,"settings"),cs(),cs()}2&t&&(ss("matTooltip",Tu(1,2,"apps.settings")),Kr(2),ss("inline",!0))}function zH(t,e){if(1&t){var n=ms();us(0,"tr"),us(1,"td",39),us(2,"mat-checkbox",40),_s("change",(function(){Dn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),cs(),cs(),us(3,"td"),ds(4,"i",41),Lu(5,"translate"),cs(),us(6,"td"),al(7),cs(),us(8,"td"),al(9),cs(),us(10,"td"),us(11,"button",42),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).changeAppAutostart(t)})),Lu(12,"translate"),us(13,"mat-icon",37),al(14),cs(),cs(),cs(),us(15,"td",30),is(16,BH,5,5,"a",43),is(17,VH,4,4,"button",44),us(18,"button",42),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).viewLogs(t)})),Lu(19,"translate"),us(20,"mat-icon",37),al(21,"list"),cs(),cs(),us(22,"button",42),_s("click",(function(){Dn(n);var t=e.$implicit;return Ms(2).changeAppState(t)})),Lu(23,"translate"),us(24,"mat-icon",37),al(25),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(2);Kr(2),ss("checked",r.selections.get(i.name)),Kr(2),qs(1===i.status?"dot-green":"dot-red"),ss("matTooltip",Tu(5,16,1===i.status?"apps.status-running-tooltip":"apps.status-stopped-tooltip")),Kr(3),sl(" ",i.name," "),Kr(2),sl(" ",i.port," "),Kr(2),ss("matTooltip",Tu(12,18,i.autostart?"apps.apps-list.disable-autostart":"apps.apps-list.enable-autostart")),Kr(2),ss("inline",!0),Kr(1),ol(i.autostart?"done":"close"),Kr(2),ss("ngIf",r.getLink(i)),Kr(1),ss("ngIf",r.appsWithConfig.has(i.name)),Kr(1),ss("matTooltip",Tu(19,20,"apps.view-logs")),Kr(2),ss("inline",!0),Kr(2),ss("matTooltip",Tu(23,22,"apps."+(1===i.status?"stop-app":"start-app"))),Kr(2),ss("inline",!0),Kr(1),ol(1===i.status?"stop":"play_arrow")}}function WH(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"tables.label")))}function UH(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"tables.inverted-order")))}function qH(t,e){if(1&t){var n=ms();us(0,"a",52),_s("click",(function(t){return Dn(n),t.stopPropagation()})),us(1,"button",53),Lu(2,"translate"),us(3,"mat-icon"),al(4,"open_in_browser"),cs(),cs(),cs()}if(2&t){var i=Ms().$implicit;ss("href",Ms(2).getLink(i),Lr),Kr(1),ss("matTooltip",Tu(2,2,"apps.open"))}}function GH(t,e){if(1&t){var n=ms();us(0,"tr"),us(1,"td"),us(2,"div",34),us(3,"div",47),us(4,"mat-checkbox",40),_s("change",(function(){Dn(n);var t=e.$implicit;return Ms(2).changeSelection(t)})),cs(),cs(),us(5,"div",35),us(6,"div",48),us(7,"span",1),al(8),Lu(9,"translate"),cs(),al(10),cs(),us(11,"div",48),us(12,"span",1),al(13),Lu(14,"translate"),cs(),al(15),cs(),us(16,"div",48),us(17,"span",1),al(18),Lu(19,"translate"),cs(),al(20,": "),us(21,"span"),al(22),Lu(23,"translate"),cs(),cs(),us(24,"div",48),us(25,"span",1),al(26),Lu(27,"translate"),cs(),al(28,": "),us(29,"span"),al(30),Lu(31,"translate"),cs(),cs(),cs(),ds(32,"div",49),us(33,"div",36),is(34,qH,5,4,"a",50),us(35,"button",51),_s("click",(function(t){Dn(n);var i=e.$implicit,r=Ms(2);return t.stopPropagation(),r.showOptionsDialog(i)})),Lu(36,"translate"),us(37,"mat-icon"),al(38),cs(),cs(),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(2);Kr(4),ss("checked",r.selections.get(i.name)),Kr(4),ol(Tu(9,16,"apps.apps-list.app-name")),Kr(2),sl(": ",i.name," "),Kr(3),ol(Tu(14,18,"apps.apps-list.port")),Kr(2),sl(": ",i.port," "),Kr(3),ol(Tu(19,20,"apps.apps-list.state")),Kr(3),qs((1===i.status?"green-clear-text":"red-clear-text")+" title"),Kr(1),sl(" ",Tu(23,22,1===i.status?"apps.status-running":"apps.status-stopped")," "),Kr(4),ol(Tu(27,24,"apps.apps-list.auto-start")),Kr(3),qs((i.autostart?"green-clear-text":"red-clear-text")+" title"),Kr(1),sl(" ",Tu(31,26,i.autostart?"apps.apps-list.autostart-enabled":"apps.apps-list.autostart-disabled")," "),Kr(4),ss("ngIf",r.getLink(i)),Kr(1),ss("matTooltip",Tu(36,28,"common.options")),Kr(3),ol("add")}}function KH(t,e){if(1&t&&ds(0,"app-view-all-link",54),2&t){var n=Ms(2);ss("numberOfElements",n.filteredApps.length)("linkParts",Su(3,YH,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var JH=function(t,e){return{"small-node-list-margins":t,"full-node-list-margins":e}},ZH=function(t){return{"d-lg-none d-xl-table":t}},$H=function(t){return{"d-lg-table d-xl-none":t}};function QH(t,e){if(1&t){var n=ms();us(0,"div",23),us(1,"div",24),us(2,"table",25),us(3,"tr"),ds(4,"th"),us(5,"th",26),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.stateSortData)})),Lu(6,"translate"),ds(7,"span",27),is(8,RH,2,2,"mat-icon",28),cs(),us(9,"th",29),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.nameSortData)})),al(10),Lu(11,"translate"),is(12,NH,2,2,"mat-icon",28),cs(),us(13,"th",29),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.portSortData)})),al(14),Lu(15,"translate"),is(16,HH,2,2,"mat-icon",28),cs(),us(17,"th",29),_s("click",(function(){Dn(n);var t=Ms();return t.dataSorter.changeSortingOrder(t.autoStartSortData)})),al(18),Lu(19,"translate"),is(20,jH,2,2,"mat-icon",28),cs(),ds(21,"th",30),cs(),is(22,zH,26,24,"tr",31),cs(),us(23,"table",32),us(24,"tr",33),_s("click",(function(){return Dn(n),Ms().dataSorter.openSortingOrderModal()})),us(25,"td"),us(26,"div",34),us(27,"div",35),us(28,"div",1),al(29),Lu(30,"translate"),cs(),us(31,"div"),al(32),Lu(33,"translate"),is(34,WH,3,3,"ng-container",19),is(35,UH,3,3,"ng-container",19),cs(),cs(),us(36,"div",36),us(37,"mat-icon",37),al(38,"keyboard_arrow_down"),cs(),cs(),cs(),cs(),cs(),is(39,GH,39,30,"tr",31),cs(),is(40,KH,1,5,"app-view-all-link",38),cs(),cs()}if(2&t){var i=Ms();Kr(1),ss("ngClass",Mu(31,JH,i.showShortList_,!i.showShortList_)),Kr(1),ss("ngClass",Su(34,ZH,i.showShortList_)),Kr(3),ss("matTooltip",Tu(6,19,"apps.apps-list.state-tooltip")),Kr(3),ss("ngIf",i.dataSorter.currentSortingColumn===i.stateSortData),Kr(2),sl(" ",Tu(11,21,"apps.apps-list.app-name")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.nameSortData),Kr(2),sl(" ",Tu(15,23,"apps.apps-list.port")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.portSortData),Kr(2),sl(" ",Tu(19,25,"apps.apps-list.auto-start")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.autoStartSortData),Kr(2),ss("ngForOf",i.dataSource),Kr(1),ss("ngClass",Su(36,$H,i.showShortList_)),Kr(6),ol(Tu(30,27,"tables.sorting-title")),Kr(3),sl("",Tu(33,29,i.dataSorter.currentSortingColumn.label)," "),Kr(2),ss("ngIf",i.dataSorter.currentlySortingByLabel),Kr(1),ss("ngIf",i.dataSorter.sortingInReverseOrder),Kr(2),ss("inline",!0),Kr(2),ss("ngForOf",i.dataSource),Kr(1),ss("ngIf",i.showShortList_&&i.numberOfPages>1)}}function XH(t,e){1&t&&(us(0,"span",58),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"apps.apps-list.empty")))}function tj(t,e){1&t&&(us(0,"span",58),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"apps.apps-list.empty-with-filter")))}function ej(t,e){if(1&t&&(us(0,"div",23),us(1,"div",55),us(2,"mat-icon",56),al(3,"warning"),cs(),is(4,XH,3,3,"span",57),is(5,tj,3,3,"span",57),cs(),cs()),2&t){var n=Ms();Kr(2),ss("inline",!0),Kr(2),ss("ngIf",0===n.allApps.length),Kr(1),ss("ngIf",0!==n.allApps.length)}}function nj(t,e){if(1&t&&ds(0,"app-paginator",22),2&t){var n=Ms();ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",Su(4,YH,n.nodePK))("queryParams",n.dataFilterer.currentUrlQueryParams)}}var ij=function(t){return{"paginator-icons-fixer":t}},rj=function(){function t(t,e,n,i,r,a){var o=this;this.appsService=t,this.dialog=e,this.route=n,this.router=i,this.snackbarService=r,this.translateService=a,this.listId="ap",this.stateSortData=new UP(["status"],"apps.apps-list.state",qP.NumberReversed),this.nameSortData=new UP(["name"],"apps.apps-list.app-name",qP.Text),this.portSortData=new UP(["port"],"apps.apps-list.port",qP.Number),this.autoStartSortData=new UP(["autostart"],"apps.apps-list.auto-start",qP.Boolean),this.selections=new Map,this.appsWithConfig=new Map([["skysocks",!0],["skysocks-client",!0],["vpn-client",!0],["vpn-server",!0]]),this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.filterProperties=[{filterName:"apps.apps-list.filter-dialog.state",keyNameInElementsArray:"status",type:EP.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.state-options.any"},{value:"1",label:"apps.apps-list.filter-dialog.state-options.running"},{value:"0",label:"apps.apps-list.filter-dialog.state-options.stopped"}]},{filterName:"apps.apps-list.filter-dialog.name",keyNameInElementsArray:"name",type:EP.TextInput,maxlength:50},{filterName:"apps.apps-list.filter-dialog.port",keyNameInElementsArray:"port",type:EP.TextInput,maxlength:8},{filterName:"apps.apps-list.filter-dialog.autostart",keyNameInElementsArray:"autostart",type:EP.Select,printableLabelsForValues:[{value:"",label:"apps.apps-list.filter-dialog.autostart-options.any"},{value:"true",label:"apps.apps-list.filter-dialog.autostart-options.enabled"},{value:"false",label:"apps.apps-list.filter-dialog.autostart-options.disabled"}]}],this.refreshAgain=!1,this.operationSubscriptionsGroup=[],this.dataSorter=new GP(this.dialog,this.translateService,[this.stateSortData,this.nameSortData,this.portSortData,this.autoStartSortData],1,this.listId),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){o.recalculateElementsToShow()})),this.dataFilterer=new bO(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(t){o.filteredApps=t,o.dataSorter.setData(o.filteredApps)})),this.navigationsSubscription=this.route.paramMap.subscribe((function(t){if(t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),o.currentPageInUrl=e,o.recalculateElementsToShow()}}))}return Object.defineProperty(t.prototype,"showShortList",{set:function(t){this.showShortList_=t,this.dataSorter.setData(this.filteredApps)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"apps",{set:function(t){this.allApps=t||[],this.dataFilterer.setData(this.allApps)},enumerable:!1,configurable:!0}),t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.operationSubscriptionsGroup.forEach((function(t){return t.unsubscribe()})),this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription.unsubscribe(),this.dataSorter.dispose(),this.dataFilterer.dispose()},t.prototype.getLink=function(t){if("skychat"===t.name.toLocaleLowerCase()&&this.nodeIp){var e="8001";if(t.args)for(var n=0;nthis.numberOfPages&&(this.currentPage=this.numberOfPages);var n=e*(this.currentPage-1);this.appsToShow=this.filteredApps.slice(n,n+e),this.appsMap=new Map,this.appsToShow.forEach((function(e){t.appsMap.set(e.name,e),t.selections.has(e.name)||t.selections.set(e.name,!1)}));var i=[];this.selections.forEach((function(e,n){t.appsMap.has(n)||i.push(n)})),i.forEach((function(e){t.selections.delete(e)}))}else this.appsToShow=null,this.selections=new Map;this.dataSource=this.appsToShow,this.refreshAgain&&(this.refreshAgain=!1,setTimeout((function(){return ZA.refreshCurrentDisplayedData()}),2e3))},t.prototype.startChangingAppState=function(t,e){return this.appsService.changeAppState(ZA.getCurrentNodeKey(),t,e)},t.prototype.startChangingAppAutostart=function(t,e){return this.appsService.changeAppAutostart(ZA.getCurrentNodeKey(),t,e)},t.prototype.changeAppsValRecursively=function(t,e,n,i){var r,a=this;if(void 0===i&&(i=null),!t||0===t.length)return setTimeout((function(){return ZA.refreshCurrentDisplayedData()}),50),this.snackbarService.showWarning("apps.operation-unnecessary"),void(i&&i.close());r=e?this.startChangingAppAutostart(t[t.length-1],n):this.startChangingAppState(t[t.length-1],n),this.operationSubscriptionsGroup.push(r.subscribe((function(){t.pop(),0===t.length?(i&&i.close(),setTimeout((function(){a.refreshAgain=!0,ZA.refreshCurrentDisplayedData()}),50),a.snackbarService.showDone("apps.operation-completed")):a.changeAppsValRecursively(t,e,n,i)}),(function(t){t=MC(t),setTimeout((function(){a.refreshAgain=!0,ZA.refreshCurrentDisplayedData()}),50),i?i.componentInstance.showDone("confirmation.error-header-text",t.translatableErrorMsg):a.snackbarService.showError(t)})))},t.\u0275fac=function(e){return new(e||t)(as(iE),as(BC),as(W_),as(cb),as(CC),as(fC))},t.\u0275cmp=Fe({type:t,selectors:[["app-node-app-list"]],inputs:{nodePK:"nodePK",nodeIp:"nodeIp",showShortList:"showShortList",apps:"apps"},decls:32,vars:34,consts:[[1,"generic-title-container","mt-4.5","d-flex",3,"ngClass"],[1,"title"],["class","uppercase",4,"ngIf"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"options"],[1,"options-container"],["class","small-icon",3,"inline","matTooltip","click",4,"ngIf"],[3,"matMenuTriggerFor",4,"ngIf"],[3,"overlapTrigger"],["selectionMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],["class","rounded-elevated-box mt-3",4,"ngIf"],[1,"uppercase"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],["class","item",4,"ngFor","ngForOf"],[1,"transparent-50"],[1,"item"],[4,"ngIf"],[1,"small-icon",3,"inline","matTooltip","click"],[3,"matMenuTriggerFor"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","overflow",3,"ngClass"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table",3,"ngClass"],[1,"sortable-column",3,"matTooltip","click"],[1,"dot-outline-white"],[3,"inline",4,"ngIf"],[1,"sortable-column",3,"click"],[1,"actions"],[4,"ngFor","ngForOf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-md-none",3,"ngClass"],[1,"selectable",3,"click"],[1,"list-item-container"],[1,"left-part"],[1,"right-part"],[3,"inline"],[3,"numberOfElements","linkParts","queryParams",4,"ngIf"],[1,"selection-col"],[3,"checked","change"],[3,"matTooltip"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href",4,"ngIf"],["mat-icon-button","","class","big-action-button transparent-button",3,"matTooltip","click",4,"ngIf"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href"],["mat-icon-button","",1,"big-action-button","transparent-button",3,"matTooltip"],[1,"check-part"],[1,"list-row"],[1,"margin-part"],["target","_blank","rel","noreferrer nofollow noopener","class","skychat-link",3,"href","click",4,"ngIf"],["mat-icon-button","",1,"transparent-button",3,"matTooltip","click"],["target","_blank","rel","noreferrer nofollow noopener",1,"skychat-link",3,"href","click"],["mat-icon-button","",1,"transparent-button",3,"matTooltip"],[3,"numberOfElements","linkParts","queryParams"],[1,"box-internal-container"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),is(2,LH,3,3,"span",2),is(3,EH,5,4,"div",3),cs(),us(4,"div",4),us(5,"div",5),is(6,IH,3,4,"mat-icon",6),is(7,AH,2,1,"mat-icon",7),us(8,"mat-menu",8,9),us(10,"div",10),_s("click",(function(){return e.changeAllSelections(!0)})),al(11),Lu(12,"translate"),cs(),us(13,"div",10),_s("click",(function(){return e.changeAllSelections(!1)})),al(14),Lu(15,"translate"),cs(),us(16,"div",11),_s("click",(function(){return e.changeStateOfSelected(!0)})),al(17),Lu(18,"translate"),cs(),us(19,"div",11),_s("click",(function(){return e.changeStateOfSelected(!1)})),al(20),Lu(21,"translate"),cs(),us(22,"div",11),_s("click",(function(){return e.changeAutostartOfSelected(!0)})),al(23),Lu(24,"translate"),cs(),us(25,"div",11),_s("click",(function(){return e.changeAutostartOfSelected(!1)})),al(26),Lu(27,"translate"),cs(),cs(),cs(),is(28,FH,1,6,"app-paginator",12),cs(),cs(),is(29,QH,41,38,"div",13),is(30,ej,6,3,"div",13),is(31,nj,1,6,"app-paginator",12)),2&t&&(ss("ngClass",Su(32,ij,!e.showShortList_&&e.numberOfPages>1&&e.dataSource)),Kr(2),ss("ngIf",e.showShortList_),Kr(1),ss("ngIf",e.dataFilterer.currentFiltersTexts&&e.dataFilterer.currentFiltersTexts.length>0),Kr(3),ss("ngIf",e.allApps&&e.allApps.length>0),Kr(1),ss("ngIf",e.dataSource&&e.dataSource.length>0),Kr(1),ss("overlapTrigger",!1),Kr(3),sl(" ",Tu(12,20,"selection.select-all")," "),Kr(3),sl(" ",Tu(15,22,"selection.unselect-all")," "),Kr(2),Ls("disabled",!e.hasSelectedElements()),Kr(1),sl(" ",Tu(18,24,"selection.start-all")," "),Kr(2),Ls("disabled",!e.hasSelectedElements()),Kr(1),sl(" ",Tu(21,26,"selection.stop-all")," "),Kr(2),Ls("disabled",!e.hasSelectedElements()),Kr(1),sl(" ",Tu(24,28,"selection.enable-autostart-all")," "),Kr(2),Ls("disabled",!e.hasSelectedElements()),Kr(1),sl(" ",Tu(27,30,"selection.disable-autostart-all")," "),Kr(2),ss("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource),Kr(1),ss("ngIf",e.dataSource&&e.dataSource.length>0),Kr(1),ss("ngIf",!e.dataSource||0===e.dataSource.length),Kr(1),ss("ngIf",!e.showShortList_&&e.numberOfPages>1&&e.dataSource))},directives:[_h,Sh,IE,DE,kh,qM,zL,RE,GI,lY,uM,mY],pipes:[mC],styles:[".actions[_ngcontent-%COMP%]{text-align:right;width:120px}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}.skychat-link[_ngcontent-%COMP%]{color:#f8f9f9;text-decoration:none}.skychat-link[_ngcontent-%COMP%] .big-action-button[_ngcontent-%COMP%]{margin-right:5px}"]}),t}(),aj=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=ZA.currentNode.subscribe((function(e){t.nodePK=e.localPk,t.apps=e.apps,t.nodeIp=e.ip}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-apps"]],decls:1,vars:4,consts:[[3,"apps","showShortList","nodePK","nodeIp"]],template:function(t,e){1&t&&ds(0,"app-node-app-list",0),2&t&&ss("apps",e.apps)("showShortList",!0)("nodePK",e.nodePK)("nodeIp",e.nodeIp)},directives:[rj],styles:[""]}),t}();function oj(t,e){if(1&t&&ds(0,"app-transport-list",1),2&t){var n=Ms();ss("transports",n.transports)("showShortList",!1)("nodePK",n.nodePK)}}var sj=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=ZA.currentNode.subscribe((function(e){t.nodePK=e.localPk,t.transports=e.transports}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-all-transports"]],decls:1,vars:1,consts:[[3,"transports","showShortList","nodePK",4,"ngIf"],[3,"transports","showShortList","nodePK"]],template:function(t,e){1&t&&is(0,oj,1,3,"app-transport-list",0),2&t&&ss("ngIf",e.transports)},directives:[Sh,YF],styles:[""]}),t}();function lj(t,e){if(1&t&&ds(0,"app-route-list",1),2&t){var n=Ms();ss("routes",n.routes)("showShortList",!1)("nodePK",n.nodePK)}}var uj=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=ZA.currentNode.subscribe((function(e){t.nodePK=e.localPk,t.routes=e.routes}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-all-routes"]],decls:1,vars:1,consts:[[3,"routes","showShortList","nodePK",4,"ngIf"],[3,"routes","showShortList","nodePK"]],template:function(t,e){1&t&&is(0,lj,1,3,"app-route-list",0),2&t&&ss("ngIf",e.routes)},directives:[Sh,wR],styles:[""]}),t}();function cj(t,e){if(1&t&&ds(0,"app-node-app-list",1),2&t){var n=Ms();ss("apps",n.apps)("showShortList",!1)("nodePK",n.nodePK)}}var dj=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=ZA.currentNode.subscribe((function(e){t.nodePK=e.localPk,t.apps=e.apps}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-all-apps"]],decls:1,vars:1,consts:[[3,"apps","showShortList","nodePK",4,"ngIf"],[3,"apps","showShortList","nodePK"]],template:function(t,e){1&t&&is(0,cj,1,3,"app-node-app-list",0),2&t&&ss("ngIf",e.apps)},directives:[Sh,rj],styles:[""]}),t}(),hj=["button"],fj=["firstInput"],pj=function(){function t(t,e,n,i,r){this.dialogRef=t,this.data=e,this.formBuilder=n,this.snackbarService=i,this.routeService=r}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.smallModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({min:[this.data.minHops,jx.compose([jx.required,jx.maxLength(3),jx.pattern("^[0-9]+$")])]}),setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.ngOnDestroy=function(){this.operationSubscription&&this.operationSubscription.unsubscribe()},t.prototype.save=function(){this.form.valid&&!this.operationSubscription&&(this.button.showLoading(),this.operationSubscription=this.routeService.setMinHops(this.data.localPk,Number.parseInt(this.form.get("min").value,10)).subscribe({next:this.onSuccess.bind(this),error:this.onError.bind(this)}))},t.prototype.onSuccess=function(t){this.dialogRef.close(!0),this.snackbarService.showDone("router-config.done")},t.prototype.onError=function(t){this.button.showError(),this.operationSubscription=null,t=MC(t),this.snackbarService.showError(t)},t.\u0275fac=function(e){return new(e||t)(as(YC),as(RC),as(vL),as(CC),as(hP))},t.\u0275cmp=Fe({type:t,selectors:[["app-router-config"]],viewQuery:function(t,e){var n;1&t&&(qu(hj,!0),qu(fj,!0)),2&t&&(Wu(n=$u())&&(e.button=n.first),Wu(n=$u())&&(e.firstInput=n.first))},decls:14,vars:14,consts:[[3,"headline"],[1,"info-container"],[3,"formGroup"],["formControlName","min","maxlength","3","matInput","",3,"placeholder"],["firstInput",""],["color","primary",1,"float-right",3,"disabled","action"],["button",""]],template:function(t,e){1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"div",1),al(3),Lu(4,"translate"),cs(),us(5,"form",2),us(6,"mat-form-field"),ds(7,"input",3,4),Lu(9,"translate"),cs(),cs(),us(10,"app-button",5,6),_s("action",(function(){return e.save()})),al(12),Lu(13,"translate"),cs(),cs()),2&t&&(ss("headline",Tu(1,6,"router-config.title")),Kr(3),ol(Tu(4,8,"router-config.info")),Kr(2),ss("formGroup",e.form),Kr(2),ss("placeholder",Tu(9,10,"router-config.min-hops")),Kr(3),ss("disabled",!e.form.valid),Kr(2),sl(" ",Tu(13,12,"router-config.save-config-button")," "))},directives:[LL,zD,Ax,KD,LT,xx,BT,Ix,eL,hL,FL],pipes:[mC],styles:[".info-container[_ngcontent-%COMP%]{margin-bottom:10px;font-size:.8rem}"]}),t}(),mj=function(){function t(t){this.clipboardService=t,this.copyEvent=new Iu,this.errorEvent=new Iu,this.value=""}return t.prototype.ngOnDestroy=function(){this.copyEvent.complete(),this.errorEvent.complete()},t.prototype.copyToClipboard=function(){this.clipboardService.copy(this.value)?this.copyEvent.emit(this.value):this.errorEvent.emit()},t.\u0275fac=function(e){return new(e||t)(as(OP))},t.\u0275dir=ze({type:t,selectors:[["","clipboard",""]],hostBindings:function(t,e){1&t&&_s("click",(function(){return e.copyToClipboard()}))},inputs:{value:["clipboard","value"]},outputs:{copyEvent:"copyEvent",errorEvent:"errorEvent"}}),t}();function gj(t,e){if(1&t&&(hs(0),ds(1,"app-truncated-text",3),al(2," \xa0"),us(3,"mat-icon",4),al(4,"filter_none"),cs(),fs()),2&t){var n=Ms();Kr(1),ss("short",n.short)("showTooltip",!1)("shortTextLength",n.shortTextLength)("text",n.text),Kr(2),ss("inline",!0)}}function vj(t,e){if(1&t&&(us(0,"div",5),us(1,"div",6),al(2),cs(),al(3," \xa0"),us(4,"mat-icon",4),al(5,"filter_none"),cs(),cs()),2&t){var n=Ms();Kr(2),ol(n.text),Kr(2),ss("inline",!0)}}var _j=function(t){return{text:t}},yj=function(){return{"tooltip-word-break":!0}},bj=function(){function t(t){this.snackbarService=t,this.short=!1,this.shortSimple=!1,this.shortTextLength=5}return t.prototype.onCopyToClipboardClicked=function(){this.snackbarService.showDone("copy.copied")},t.\u0275fac=function(e){return new(e||t)(as(CC))},t.\u0275cmp=Fe({type:t,selectors:[["app-copy-to-clipboard-text"]],inputs:{text:"text",short:"short",shortSimple:"shortSimple",shortTextLength:"shortTextLength"},decls:4,vars:11,consts:[[1,"wrapper","highlight-internal-icon",3,"clipboard","matTooltip","matTooltipClass","copyEvent"],[4,"ngIf"],["class","d-flex",4,"ngIf"],[3,"short","showTooltip","shortTextLength","text"],[3,"inline"],[1,"d-flex"],[1,"single-line"]],template:function(t,e){1&t&&(us(0,"div",0),_s("copyEvent",(function(){return e.onCopyToClipboardClicked()})),Lu(1,"translate"),is(2,gj,5,5,"ng-container",1),is(3,vj,6,2,"div",2),cs()),2&t&&(ss("clipboard",e.text)("matTooltip",Pu(1,5,e.short||e.shortSimple?"copy.tooltip-with-text":"copy.tooltip",Su(8,_j,e.text)))("matTooltipClass",wu(10,yj)),Kr(2),ss("ngIf",!e.shortSimple),Kr(1),ss("ngIf",e.shortSimple))},directives:[mj,zL,Sh,FP,qM],pipes:[mC],styles:['.cursor-pointer[_ngcontent-%COMP%], .highlight-internal-icon[_ngcontent-%COMP%]{cursor:pointer}.reactivate-mouse[_ngcontent-%COMP%], .wrapper[_ngcontent-%COMP%]{touch-action:auto!important;-webkit-user-select:initial!important;-moz-user-select:initial!important;-ms-user-select:initial!important;user-select:initial!important;-webkit-user-drag:auto!important;-webkit-tap-highlight-color:initial!important}.mouse-disabled[_ngcontent-%COMP%]{pointer-events:none}.clearfix[_ngcontent-%COMP%]:after{content:"";display:block;clear:both}.mt-4\\.5[_ngcontent-%COMP%]{margin-top:2rem!important}.highlight-internal-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{opacity:.5}.highlight-internal-icon[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{opacity:.8}.transparent-button[_ngcontent-%COMP%]{opacity:.5}.transparent-button[_ngcontent-%COMP%]:hover{opacity:1}.subtle-transparent-button[_ngcontent-%COMP%]{opacity:.85}.subtle-transparent-button[_ngcontent-%COMP%]:hover{opacity:1}@media (max-width:767px),(min-width:992px) and (max-width:1299px){.small-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}@media (max-width:767px){.full-node-list-margins[_ngcontent-%COMP%]{padding:0!important}}.wrapper[_ngcontent-%COMP%]{display:inline}.wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:.6rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}']}),t}(),kj=n("WyAD"),wj=["chart"],Sj=function(){function t(t){this.height=100,this.animated=!1,this.min=void 0,this.max=void 0,this.differ=t.find([]).create(null)}return t.prototype.ngAfterViewInit=function(){this.chart=new kj.Chart(this.chartElement.nativeElement,{type:"line",data:{labels:Array.from(Array(this.data.length).keys()),datasets:[{data:this.data,backgroundColor:["rgba(10, 15, 22, 0.4)"],borderColor:["rgba(10, 15, 22, 0.4)"],borderWidth:1}]},options:{maintainAspectRatio:!1,events:[],legend:{display:!1},tooltips:{enabled:!1},scales:{yAxes:[{display:!1,ticks:{suggestedMin:0}}],xAxes:[{display:!1}]},elements:{point:{radius:0}},layout:{padding:{left:0,right:0,top:t.topInternalMargin,bottom:0}}}}),void 0!==this.min&&void 0!==this.max&&(this.updateMinAndMax(),this.chart.update(0))},t.prototype.ngDoCheck=function(){this.differ.diff(this.data)&&this.chart&&(void 0!==this.min&&void 0!==this.max&&this.updateMinAndMax(),this.animated?this.chart.update():this.chart.update(0))},t.prototype.ngOnDestroy=function(){this.chart&&this.chart.destroy()},t.prototype.updateMinAndMax=function(){this.chart.options.scales={yAxes:[{display:!1,ticks:{min:this.min,max:this.max}}],xAxes:[{display:!1}]}},t.topInternalMargin=5,t.\u0275fac=function(e){return new(e||t)(as($l))},t.\u0275cmp=Fe({type:t,selectors:[["app-line-chart"]],viewQuery:function(t,e){var n;1&t&&qu(wj,!0),2&t&&Wu(n=$u())&&(e.chartElement=n.first)},inputs:{data:"data",height:"height",animated:"animated",min:"min",max:"max"},decls:3,vars:2,consts:[[1,"chart-container"],["chart",""]],template:function(t,e){1&t&&(us(0,"div",0),ds(1,"canvas",null,1),cs()),2&t&&Ws("height: "+e.height+"px;")},styles:[".chart-container[_ngcontent-%COMP%]{position:relative;width:100%;overflow:hidden;border-radius:10px}"]}),t}(),Mj=function(){return{showValue:!0}},Cj=function(){return{showUnit:!0}},xj=function(){function t(t){this.nodeService=t}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=this.nodeService.specificNodeTrafficData.subscribe((function(e){t.data=e}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)(as(gP))},t.\u0275cmp=Fe({type:t,selectors:[["app-charts"]],decls:26,vars:28,consts:[[1,"small-rounded-elevated-box","chart"],[3,"data"],[1,"info"],[1,"text"],[1,"rate"],[1,"value"],[1,"unit"]],template:function(t,e){1&t&&(us(0,"div",0),ds(1,"app-line-chart",1),us(2,"div",2),us(3,"span",3),al(4),Lu(5,"translate"),cs(),us(6,"span",4),us(7,"span",5),al(8),Lu(9,"autoScale"),cs(),us(10,"span",6),al(11),Lu(12,"autoScale"),cs(),cs(),cs(),cs(),us(13,"div",0),ds(14,"app-line-chart",1),us(15,"div",2),us(16,"span",3),al(17),Lu(18,"translate"),cs(),us(19,"span",4),us(20,"span",5),al(21),Lu(22,"autoScale"),cs(),us(23,"span",6),al(24),Lu(25,"autoScale"),cs(),cs(),cs(),cs()),2&t&&(Kr(1),ss("data",e.data.sentHistory),Kr(3),ol(Tu(5,8,"common.uploaded")),Kr(4),ol(Pu(9,10,e.data.totalSent,wu(24,Mj))),Kr(3),ol(Pu(12,13,e.data.totalSent,wu(25,Cj))),Kr(3),ss("data",e.data.receivedHistory),Kr(3),ol(Tu(18,16,"common.downloaded")),Kr(4),ol(Pu(22,18,e.data.totalReceived,wu(26,Mj))),Kr(3),ol(Pu(25,21,e.data.totalReceived,wu(27,Cj))))},directives:[Sj],pipes:[mC,QE],styles:[".chart[_ngcontent-%COMP%]{position:relative;margin-bottom:20px}.chart[_ngcontent-%COMP%]:last-child{margin-bottom:10px}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;display:flex;justify-content:space-between;align-items:flex-end;padding:10px;width:100%}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#f8f9f9}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.text[_ngcontent-%COMP%]{font-size:.8rem;text-transform:uppercase;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .value[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700}.chart[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] span.rate[_ngcontent-%COMP%] .unit[_ngcontent-%COMP%]{font-size:.8rem;padding-left:5px}"]}),t}();function Dj(t,e){if(1&t&&(us(0,"span",4),us(1,"span",5),al(2),Lu(3,"translate"),cs(),ds(4,"app-copy-to-clipboard-text",8),cs()),2&t){var n=Ms(2);Kr(2),sl("",Tu(3,2,"node.details.node-info.ip"),"\xa0"),Kr(2),Ls("text",n.node.ip)}}var Lj=function(t){return{time:t}};function Tj(t,e){if(1&t&&(us(0,"mat-icon",16),Lu(1,"translate"),al(2," info "),cs()),2&t){var n=Ms(2);ss("inline",!0)("matTooltip",Pu(1,2,"node.details.node-info.time.minutes",Su(5,Lj,n.timeOnline.totalMinutes)))}}function Pj(t,e){1&t&&(hs(0),ds(1,"i",18),al(2),Lu(3,"translate"),fs()),2&t&&(Kr(2),sl(" ",Tu(3,1,"common.ok")," "))}function Oj(t,e){if(1&t&&(hs(0),ds(1,"i",19),al(2),Lu(3,"translate"),fs()),2&t){var n=Ms().$implicit;Kr(2),sl(" ",n.originalValue?n.originalValue:Tu(3,1,"node.details.node-health.element-offline")," ")}}function Ej(t,e){if(1&t&&(us(0,"span",4),us(1,"span",5),al(2),Lu(3,"translate"),cs(),is(4,Pj,4,3,"ng-container",17),is(5,Oj,4,3,"ng-container",17),cs()),2&t){var n=e.$implicit;Kr(2),ol(Tu(3,3,n.name)),Kr(2),ss("ngIf",n.isOk),Kr(1),ss("ngIf",!n.isOk)}}function Ij(t,e){if(1&t){var n=ms();us(0,"div",1),us(1,"div",2),us(2,"span",3),al(3),Lu(4,"translate"),cs(),us(5,"span",4),us(6,"span",5),al(7),Lu(8,"translate"),cs(),us(9,"span",6),_s("click",(function(){return Dn(n),Ms().showEditLabelDialog()})),al(10),us(11,"mat-icon",7),al(12,"edit"),cs(),cs(),cs(),us(13,"span",4),us(14,"span",5),al(15),Lu(16,"translate"),cs(),ds(17,"app-copy-to-clipboard-text",8),cs(),is(18,Dj,5,4,"span",9),us(19,"span",4),us(20,"span",5),al(21),Lu(22,"translate"),cs(),ds(23,"app-copy-to-clipboard-text",8),cs(),us(24,"span",4),us(25,"span",5),al(26),Lu(27,"translate"),cs(),al(28),Lu(29,"translate"),cs(),us(30,"span",4),us(31,"span",5),al(32),Lu(33,"translate"),cs(),al(34),Lu(35,"translate"),cs(),us(36,"span",4),us(37,"span",5),al(38),Lu(39,"translate"),cs(),al(40),Lu(41,"translate"),is(42,Tj,3,7,"mat-icon",10),cs(),cs(),ds(43,"div",11),us(44,"div",2),us(45,"span",3),al(46),Lu(47,"translate"),cs(),us(48,"span",4),us(49,"span",5),al(50),Lu(51,"translate"),cs(),al(52),cs(),us(53,"div",12),us(54,"app-button",13),_s("action",(function(){return Dn(n),Ms().changeRouterConfig()})),al(55),Lu(56,"translate"),cs(),cs(),cs(),ds(57,"div",11),us(58,"div",2),us(59,"span",3),al(60),Lu(61,"translate"),cs(),is(62,Ej,6,5,"span",14),cs(),ds(63,"div",11),us(64,"div",2),us(65,"span",3),al(66),Lu(67,"translate"),cs(),ds(68,"app-charts",15),cs(),cs()}if(2&t){var i=Ms();Kr(3),ol(Tu(4,24,"node.details.node-info.title")),Kr(4),ol(Tu(8,26,"node.details.node-info.label")),Kr(3),sl(" ",i.node.label," "),Kr(1),ss("inline",!0),Kr(4),sl("",Tu(16,28,"node.details.node-info.public-key"),"\xa0"),Kr(2),Ls("text",i.node.localPk),Kr(1),ss("ngIf",i.node.ip),Kr(3),sl("",Tu(22,30,"node.details.node-info.dmsg-server"),"\xa0"),Kr(2),Ls("text",i.node.dmsgServerPk),Kr(3),sl("",Tu(27,32,"node.details.node-info.ping"),"\xa0"),Kr(2),sl(" ",Pu(29,34,"common.time-in-ms",Su(56,Lj,i.node.roundTripPing))," "),Kr(4),ol(Tu(33,37,"node.details.node-info.node-version")),Kr(2),sl(" ",i.node.version?i.node.version:Tu(35,39,"common.unknown")," "),Kr(4),ol(Tu(39,41,"node.details.node-info.time.title")),Kr(2),sl(" ",Pu(41,43,"node.details.node-info.time."+i.timeOnline.translationVarName,Su(58,Lj,i.timeOnline.elapsedTime))," "),Kr(2),ss("ngIf",i.timeOnline.totalMinutes>60),Kr(4),ol(Tu(47,46,"node.details.router-info.title")),Kr(4),ol(Tu(51,48,"node.details.router-info.min-hops")),Kr(2),sl(" ",i.node.minHops," "),Kr(2),ss("forDarkBackground",!0),Kr(1),sl(" ",Tu(56,50,"node.details.router-info.change-config-button")," "),Kr(5),ol(Tu(61,52,"node.details.node-health.title")),Kr(2),ss("ngForOf",i.nodeHealthInfo.services),Kr(4),ol(Tu(67,54,"node.details.node-traffic-data"))}}var Aj=function(){function t(t,e,n){this.dialog=t,this.storageService=e,this.nodeService=n}return Object.defineProperty(t.prototype,"nodeInfo",{set:function(t){this.node=t,this.nodeHealthInfo=this.nodeService.getHealthStatus(t),this.timeOnline=VE.getElapsedTime(t.secondsOnline)},enumerable:!1,configurable:!0}),t.prototype.showEditLabelDialog=function(){var t=this.storageService.getLabelInfo(this.node.localPk);t||(t={id:this.node.localPk,label:"",identifiedElementType:Kb.Node}),_P.openDialog(this.dialog,t).afterClosed().subscribe((function(t){t&&ZA.refreshCurrentDisplayedData()}))},t.prototype.changeRouterConfig=function(){pj.openDialog(this.dialog,this.node).afterClosed().subscribe((function(t){t&&ZA.refreshCurrentDisplayedData()}))},t.\u0275fac=function(e){return new(e||t)(as(BC),as(Jb),as(gP))},t.\u0275cmp=Fe({type:t,selectors:[["app-node-info-content"]],inputs:{nodeInfo:"nodeInfo"},decls:1,vars:1,consts:[["class","font-smaller d-flex flex-column mt-4.5",4,"ngIf"],[1,"font-smaller","d-flex","flex-column","mt-4.5"],[1,"d-flex","flex-column"],[1,"section-title"],[1,"info-line"],[1,"title"],[1,"highlight-internal-icon",3,"click"],[3,"inline"],[3,"text"],["class","info-line",4,"ngIf"],[3,"inline","matTooltip",4,"ngIf"],[1,"separator"],[1,"router-button-container"],["color","primary",3,"forDarkBackground","action"],["class","info-line",4,"ngFor","ngForOf"],[1,"d-flex","flex-column","justify-content-end","mt-3"],[3,"inline","matTooltip"],[4,"ngIf"],[1,"dot-green"],[1,"dot-red"]],template:function(t,e){1&t&&is(0,Ij,69,60,"div",0),2&t&&ss("ngIf",e.node)},directives:[Sh,qM,bj,FL,kh,xj,zL],pipes:[mC],styles:[".section-title[_ngcontent-%COMP%]{font-size:1rem;font-weight:700;text-transform:uppercase}.info-line[_ngcontent-%COMP%]{word-break:break-all;margin-top:7px}.info-line[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.info-line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-left:7px}.info-line[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{opacity:.75}.separator[_ngcontent-%COMP%]{width:100%;height:0;margin:1rem 0;border-top:1px solid hsla(0,0%,100%,.15)}.router-button-container[_ngcontent-%COMP%]{margin-top:10px;margin-left:-4px}"]}),t}(),Yj=function(){function t(){}return t.prototype.ngOnInit=function(){var t=this;this.dataSubscription=ZA.currentNode.subscribe((function(e){t.node=e}))},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-node-info"]],decls:1,vars:1,consts:[[3,"nodeInfo"]],template:function(t,e){1&t&&ds(0,"app-node-info-content",0),2&t&&ss("nodeInfo",e.node)},directives:[Aj],styles:[""]}),t}(),Fj=function(){return["settings.title","labels.title"]},Rj=function(){function t(t){this.router=t,this.tabsData=[],this.returnButtonText="settings.title",this.tabsData=[{icon:"view_headline",label:"labels.list-title",linkParts:[]}]}return t.prototype.performAction=function(t){null===t&&this.router.navigate(["settings"])},t.\u0275fac=function(e){return new(e||t)(as(cb))},t.\u0275cmp=Fe({type:t,selectors:[["app-all-labels"]],decls:5,vars:6,consts:[[1,"row"],[1,"col-12"],[3,"titleParts","tabsData","showUpdateButton","returnText","optionSelected"],[1,"content","col-12"],[3,"showShortList"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),us(2,"app-top-bar",2),_s("optionSelected",(function(t){return e.performAction(t)})),cs(),cs(),us(3,"div",3),ds(4,"app-label-list",4),cs(),cs()),2&t&&(Kr(2),ss("titleParts",wu(5,Fj))("tabsData",e.tabsData)("showUpdateButton",!1)("returnText",e.returnButtonText),Kr(2),ss("showShortList",!1))},directives:[OI,VY],styles:[""]}),t}(),Nj=function(t){return t[t.Gold=0]="Gold",t[t.Silver=1]="Silver",t[t.Bronze=2]="Bronze",t}({}),Hj=function(){return function(){}}(),jj=function(){function t(t){this.http=t,this.discoveryServiceUrl="https://service.discovery.skycoin.com/api/services?type=vpn"}return t.prototype.getServers=function(){var t=this;return this.servers?mg(this.servers):this.http.get(this.discoveryServiceUrl).pipe(tE((function(t){return t.pipe(iP(4e3))})),nt((function(e){var n=[];return e.forEach((function(t){var e=new Hj,i=t.address.split(":");2===i.length&&(e.pk=i[0],e.location="",t.geo&&(t.geo.country&&(e.countryCode=t.geo.country),t.geo.region&&(e.location=t.geo.region)),e.name=i[0],e.congestion=20,e.congestionRating=Nj.Gold,e.latency=123,e.latencyRating=Nj.Gold,e.hops=3,e.note="",n.push(e))})),t.servers=n,n})))},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(Rg))},providedIn:"root"}),t}(),Bj=["firstInput"];function Vj(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),sl(" ",Tu(2,1,"vpn.server-list.add-server-dialog.pk-length-error")," "))}function zj(t,e){1&t&&(al(0),Lu(1,"translate")),2&t&&sl(" ",Tu(1,1,"vpn.server-list.add-server-dialog.pk-chars-error")," ")}var Wj=function(){function t(t,e,n,i,r,a,o,s){this.dialogRef=t,this.data=e,this.formBuilder=n,this.dialog=i,this.router=r,this.vpnClientService=a,this.vpnSavedDataService=o,this.snackbarService=s}return t.openDialog=function(e,n){var i=new PC;return i.data=n,i.autoFocus=!1,i.width=xC.mediumModalWidth,e.open(t,i)},t.prototype.ngOnInit=function(){var t=this;this.form=this.formBuilder.group({pk:["",jx.compose([jx.required,jx.minLength(66),jx.maxLength(66),jx.pattern("^[0-9a-fA-F]+$")])],password:[""],name:[""],note:[""]}),setTimeout((function(){return t.firstInput.nativeElement.focus()}))},t.prototype.process=function(){if(this.form.valid){var t={pk:this.form.get("pk").value,name:this.form.get("name").value,note:this.form.get("note").value};_E.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,this.dialogRef,this.data,null,null,t,this.form.get("password").value)}},t.\u0275fac=function(e){return new(e||t)(as(YC),as(RC),as(vL),as(BC),as(cb),as(fE),as(oE),as(CC))},t.\u0275cmp=Fe({type:t,selectors:[["app-add-vpn-server"]],viewQuery:function(t,e){var n;1&t&&qu(Bj,!0),2&t&&Wu(n=$u())&&(e.firstInput=n.first)},decls:23,vars:22,consts:[[3,"headline"],[3,"formGroup"],["formControlName","pk","maxlength","66","matInput","",3,"placeholder"],["firstInput",""],[4,"ngIf","ngIfElse"],["hexError",""],["formControlName","password","type","password","matInput","",3,"placeholder"],["formControlName","name","maxlength","100","matInput","",3,"placeholder"],["formControlName","note","maxlength","100","matInput","",3,"placeholder"],["color","primary",1,"float-right",3,"disabled","action"]],template:function(t,e){if(1&t&&(us(0,"app-dialog",0),Lu(1,"translate"),us(2,"form",1),us(3,"mat-form-field"),ds(4,"input",2,3),Lu(6,"translate"),us(7,"mat-error"),is(8,Vj,3,3,"ng-container",4),cs(),is(9,zj,2,3,"ng-template",null,5,ec),cs(),us(11,"mat-form-field"),ds(12,"input",6),Lu(13,"translate"),cs(),us(14,"mat-form-field"),ds(15,"input",7),Lu(16,"translate"),cs(),us(17,"mat-form-field"),ds(18,"input",8),Lu(19,"translate"),cs(),cs(),us(20,"app-button",9),_s("action",(function(){return e.process()})),al(21),Lu(22,"translate"),cs(),cs()),2&t){var n=rs(10);ss("headline",Tu(1,10,"vpn.server-list.add-server-dialog.title")),Kr(2),ss("formGroup",e.form),Kr(2),ss("placeholder",Tu(6,12,"vpn.server-list.add-server-dialog.pk-label")),Kr(4),ss("ngIf",!e.form.get("pk").hasError("pattern"))("ngIfElse",n),Kr(4),ss("placeholder",Tu(13,14,"vpn.server-list.add-server-dialog.password-label")),Kr(3),ss("placeholder",Tu(16,16,"vpn.server-list.add-server-dialog.name-label")),Kr(3),ss("placeholder",Tu(19,18,"vpn.server-list.add-server-dialog.note-label")),Kr(2),ss("disabled",!e.form.valid),Kr(1),sl(" ",Tu(22,20,"vpn.server-list.add-server-dialog.use-server-button")," ")}},directives:[LL,zD,Ax,KD,LT,xx,BT,Ix,eL,hL,dT,Sh,FL],pipes:[mC],styles:[""]}),t}(),Uj=function(){return(Uj=Object.assign||function(t){for(var e,n=1,i=arguments.length;n0),Kr(1),ss("ngIf",n.dataFilterer.currentFiltersTexts&&n.dataFilterer.currentFiltersTexts.length>0)}}var cB=function(t){return{deactivated:t}};function dB(t,e){if(1&t){var n=ms();us(0,"div",11),us(1,"div",12),us(2,"div",13),us(3,"div",14),is(4,Jj,4,3,"div",15),is(5,$j,4,7,"a",16),is(6,Qj,4,3,"div",15),is(7,Xj,4,7,"a",16),is(8,tB,4,3,"div",15),is(9,eB,4,7,"a",16),is(10,nB,4,3,"div",15),is(11,iB,4,7,"a",16),cs(),cs(),cs(),cs(),us(12,"div",17),us(13,"div",12),us(14,"div",13),us(15,"div",14),us(16,"div",18),_s("click",(function(){Dn(n);var t=Ms();return t.dataFilterer?t.dataFilterer.changeFilters():null})),Lu(17,"translate"),us(18,"span"),us(19,"mat-icon",19),al(20,"search"),cs(),cs(),cs(),cs(),cs(),cs(),cs(),us(21,"div",20),us(22,"div",12),us(23,"div",13),us(24,"div",14),us(25,"div",18),_s("click",(function(){return Dn(n),Ms().enterManually()})),Lu(26,"translate"),us(27,"span"),us(28,"mat-icon",19),al(29,"add"),cs(),cs(),cs(),cs(),cs(),cs(),cs(),is(30,uB,3,2,"ng-container",21)}if(2&t){var i=Ms();Kr(4),ss("ngIf",i.currentList===i.lists.Public),Kr(1),ss("ngIf",i.currentList!==i.lists.Public),Kr(1),ss("ngIf",i.currentList===i.lists.History),Kr(1),ss("ngIf",i.currentList!==i.lists.History),Kr(1),ss("ngIf",i.currentList===i.lists.Favorites),Kr(1),ss("ngIf",i.currentList!==i.lists.Favorites),Kr(1),ss("ngIf",i.currentList===i.lists.Blocked),Kr(1),ss("ngIf",i.currentList!==i.lists.Blocked),Kr(1),ss("ngClass",Su(18,cB,i.loading)),Kr(4),ss("matTooltip",Tu(17,14,"filters.filter-info")),Kr(3),ss("inline",!0),Kr(6),ss("matTooltip",Tu(26,16,"vpn.server-list.add-manually-info")),Kr(3),ss("inline",!0),Kr(2),ss("ngIf",i.dataFilterer)}}function hB(t,e){1&t&&ps(0)}function fB(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(5);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function pB(t,e){if(1&t){var n=ms();us(0,"th",52),_s("click",(function(){Dn(n);var t=Ms(4);return t.dataSorter.changeSortingOrder(t.dateSortData)})),Lu(1,"translate"),us(2,"div",43),us(3,"div",44),al(4),Lu(5,"translate"),cs(),is(6,fB,2,2,"mat-icon",41),cs(),cs()}if(2&t){var i=Ms(4);ss("matTooltip",Tu(1,3,"vpn.server-list.date-info")),Kr(4),sl(" ",Tu(5,5,"vpn.server-list.date-small-table-label")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.dateSortData)}}function mB(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(4);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function gB(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(4);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function vB(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(4);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function _B(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(4);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function yB(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(5);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function bB(t,e){if(1&t){var n=ms();us(0,"th",53),_s("click",(function(){Dn(n);var t=Ms(4);return t.dataSorter.changeSortingOrder(t.congestionSortData)})),Lu(1,"translate"),us(2,"div",43),us(3,"mat-icon",19),al(4,"person"),cs(),is(5,yB,2,2,"mat-icon",41),cs(),cs()}if(2&t){var i=Ms(4);ss("matTooltip",Tu(1,3,"vpn.server-list.congestion-info")),Kr(3),ss("inline",!0),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.congestionSortData)}}function kB(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(5);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function wB(t,e){if(1&t){var n=ms();us(0,"th",54),_s("click",(function(){Dn(n);var t=Ms(4);return t.dataSorter.changeSortingOrder(t.congestionRatingSortData)})),Lu(1,"translate"),us(2,"div",43),us(3,"div"),us(4,"div",55),us(5,"mat-icon",19),al(6,"star"),cs(),cs(),us(7,"mat-icon",19),al(8,"person"),cs(),cs(),is(9,kB,2,2,"mat-icon",41),cs(),cs()}if(2&t){var i=Ms(4);ss("matTooltip",Tu(1,4,"vpn.server-list.congestion-rating-info")),Kr(5),ss("inline",!0),Kr(2),ss("inline",!0),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.congestionRatingSortData)}}function SB(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(5);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function MB(t,e){if(1&t){var n=ms();us(0,"th",53),_s("click",(function(){Dn(n);var t=Ms(4);return t.dataSorter.changeSortingOrder(t.latencySortData)})),Lu(1,"translate"),us(2,"div",43),us(3,"mat-icon",19),al(4,"swap_horiz"),cs(),is(5,SB,2,2,"mat-icon",41),cs(),cs()}if(2&t){var i=Ms(4);ss("matTooltip",Tu(1,3,"vpn.server-list.latency-info")),Kr(3),ss("inline",!0),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.latencySortData)}}function CB(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(5);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function xB(t,e){if(1&t){var n=ms();us(0,"th",54),_s("click",(function(){Dn(n);var t=Ms(4);return t.dataSorter.changeSortingOrder(t.latencyRatingSortData)})),Lu(1,"translate"),us(2,"div",43),us(3,"div"),us(4,"div",55),us(5,"mat-icon",19),al(6,"star"),cs(),cs(),us(7,"mat-icon",19),al(8,"swap_horiz"),cs(),cs(),is(9,CB,2,2,"mat-icon",41),cs(),cs()}if(2&t){var i=Ms(4);ss("matTooltip",Tu(1,4,"vpn.server-list.latency-rating-info")),Kr(5),ss("inline",!0),Kr(2),ss("inline",!0),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.latencyRatingSortData)}}function DB(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(5);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function LB(t,e){if(1&t){var n=ms();us(0,"th",54),_s("click",(function(){Dn(n);var t=Ms(4);return t.dataSorter.changeSortingOrder(t.hopsSortData)})),Lu(1,"translate"),us(2,"div",43),us(3,"mat-icon",19),al(4,"timeline"),cs(),is(5,DB,2,2,"mat-icon",41),cs(),cs()}if(2&t){var i=Ms(4);ss("matTooltip",Tu(1,3,"vpn.server-list.hops-info")),Kr(3),ss("inline",!0),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.hopsSortData)}}function TB(t,e){if(1&t&&(us(0,"mat-icon",19),al(1),cs()),2&t){var n=Ms(4);ss("inline",!0),Kr(1),ol(n.dataSorter.sortingArrow)}}function PB(t,e){if(1&t&&(us(0,"td",71),al(1),Lu(2,"date"),cs()),2&t){var n=Ms().$implicit;Kr(1),sl(" ",Pu(2,1,n.lastUsed,"yyyy/MM/dd, H:mm a")," ")}}function OB(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms().$implicit;Kr(1),sl(" ",n.location," ")}}function EB(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),sl(" ",Tu(2,1,"vpn.server-list.unknown")," "))}function IB(t,e){if(1&t&&(us(0,"td"),al(1),cs()),2&t){var n=Ms().$implicit;qs(Ms(4).getCongestionTextColorClass(n.congestion)+" center short-column"),Kr(1),sl(" ",n.congestion,"% ")}}function AB(t,e){if(1&t&&(us(0,"td",72),ds(1,"div",73),Lu(2,"translate"),cs()),2&t){var n=Ms().$implicit,i=Ms(4);Kr(1),Ws("background-image: url('assets/img/"+i.getRatingIcon(n.congestionRating)+".png');"),ss("matTooltip",Tu(2,3,i.getRatingText(n.congestionRating)))}}var YB=function(t){return{time:t}};function FB(t,e){if(1&t&&(us(0,"td"),al(1),Lu(2,"translate"),cs()),2&t){var n=Ms().$implicit,i=Ms(4);qs(i.getLatencyTextColorClass(n.latency)+" center short-column"),Kr(1),sl(" ",Pu(2,3,"common."+i.getLatencyValueString(n.latency),Su(6,YB,i.getPrintableLatency(n.latency)))," ")}}function RB(t,e){if(1&t&&(us(0,"td",72),ds(1,"div",73),Lu(2,"translate"),cs()),2&t){var n=Ms().$implicit,i=Ms(4);Kr(1),Ws("background-image: url('assets/img/"+i.getRatingIcon(n.latencyRating)+".png');"),ss("matTooltip",Tu(2,3,i.getRatingText(n.latencyRating)))}}function NB(t,e){if(1&t&&(us(0,"td"),al(1),cs()),2&t){var n=Ms().$implicit;qs(Ms(4).getHopsTextColorClass(n.hops)+" center mini-column"),Kr(1),sl(" ",n.hops," ")}}var HB=function(t,e){return{custom:t,original:e}};function jB(t,e){if(1&t){var n=ms();us(0,"mat-icon",74),_s("click",(function(t){return Dn(n),t.stopPropagation()})),Lu(1,"translate"),al(2,"info_outline"),cs()}if(2&t){var i=Ms().$implicit,r=Ms(4);ss("inline",!0)("matTooltip",Pu(1,2,r.getNoteVar(i),Mu(5,HB,i.personalNote,i.note)))}}var BB=function(t){return{"selectable click-effect":t}},VB=function(t,e){return{"public-pk-column":t,"history-pk-column":e}};function zB(t,e){if(1&t){var n=ms();us(0,"tr",56),_s("click",(function(){Dn(n);var t=e.$implicit,i=Ms(4);return i.currentList!==i.lists.Blocked?i.selectServer(t):null})),is(1,PB,3,4,"td",57),us(2,"td",58),us(3,"div",59),ds(4,"div",60),cs(),cs(),us(5,"td",61),ds(6,"app-vpn-server-name",62),cs(),us(7,"td",63),is(8,OB,2,1,"ng-container",21),is(9,EB,3,3,"ng-container",21),cs(),us(10,"td",64),us(11,"app-copy-to-clipboard-text",65),_s("click",(function(t){return Dn(n),t.stopPropagation()})),cs(),cs(),is(12,IB,2,3,"td",66),is(13,AB,3,5,"td",67),is(14,FB,3,8,"td",66),is(15,RB,3,5,"td",67),is(16,NB,2,3,"td",66),us(17,"td",68),is(18,jB,3,8,"mat-icon",69),cs(),us(19,"td",50),us(20,"button",70),_s("click",(function(t){Dn(n);var i=e.$implicit,r=Ms(4);return t.stopPropagation(),r.openOptions(i)})),Lu(21,"translate"),us(22,"mat-icon",19),al(23,"settings"),cs(),cs(),cs(),cs()}if(2&t){var i=e.$implicit,r=Ms(4);ss("ngClass",Su(28,BB,r.currentList!==r.lists.Blocked)),Kr(1),ss("ngIf",r.currentList===r.lists.History),Kr(3),Ws("background-image: url('assets/img/big-flags/"+i.countryCode.toLocaleLowerCase()+".png');"),ss("matTooltip",r.getCountryName(i.countryCode)),Kr(2),ss("isCurrentServer",r.currentServer&&i.pk===r.currentServer.pk)("isFavorite",i.flag===r.serverFlags.Favorite&&r.currentList!==r.lists.Favorites)("isBlocked",i.flag===r.serverFlags.Blocked&&r.currentList!==r.lists.Blocked)("isInHistory",i.inHistory&&r.currentList!==r.lists.History)("hasPassword",i.usedWithPassword)("name",i.name)("customName",i.customName)("defaultName","vpn.server-list.none"),Kr(2),ss("ngIf",i.location),Kr(1),ss("ngIf",!i.location),Kr(1),ss("ngClass",Mu(30,VB,r.currentList===r.lists.Public,r.currentList===r.lists.History)),Kr(1),ss("shortSimple",!0)("text",i.pk),Kr(1),ss("ngIf",r.currentList===r.lists.Public),Kr(1),ss("ngIf",r.currentList===r.lists.Public),Kr(1),ss("ngIf",r.currentList===r.lists.Public),Kr(1),ss("ngIf",r.currentList===r.lists.Public),Kr(1),ss("ngIf",r.currentList===r.lists.Public),Kr(2),ss("ngIf",i.note||i.personalNote),Kr(2),ss("matTooltip",Tu(21,26,"vpn.server-options.tooltip")),Kr(2),ss("inline",!0)}}function WB(t,e){if(1&t){var n=ms();us(0,"table",38),us(1,"tr"),is(2,pB,7,7,"th",39),us(3,"th",40),_s("click",(function(){Dn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.countrySortData)})),Lu(4,"translate"),us(5,"mat-icon",19),al(6,"flag"),cs(),is(7,mB,2,2,"mat-icon",41),cs(),us(8,"th",42),_s("click",(function(){Dn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.nameSortData)})),us(9,"div",43),us(10,"div",44),al(11),Lu(12,"translate"),cs(),is(13,gB,2,2,"mat-icon",41),cs(),cs(),us(14,"th",45),_s("click",(function(){Dn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.locationSortData)})),us(15,"div",43),us(16,"div",44),al(17),Lu(18,"translate"),cs(),is(19,vB,2,2,"mat-icon",41),cs(),cs(),us(20,"th",46),_s("click",(function(){Dn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.pkSortData)})),Lu(21,"translate"),us(22,"div",43),us(23,"div",44),al(24),Lu(25,"translate"),cs(),is(26,_B,2,2,"mat-icon",41),cs(),cs(),is(27,bB,6,5,"th",47),is(28,wB,10,6,"th",48),is(29,MB,6,5,"th",47),is(30,xB,10,6,"th",48),is(31,LB,6,5,"th",48),us(32,"th",49),_s("click",(function(){Dn(n);var t=Ms(3);return t.dataSorter.changeSortingOrder(t.noteSortData)})),Lu(33,"translate"),us(34,"div",43),us(35,"mat-icon",19),al(36,"info_outline"),cs(),is(37,TB,2,2,"mat-icon",41),cs(),cs(),ds(38,"th",50),cs(),is(39,zB,24,33,"tr",51),cs()}if(2&t){var i=Ms(3);Kr(2),ss("ngIf",i.currentList===i.lists.History),Kr(1),ss("matTooltip",Tu(4,21,"vpn.server-list.country-info")),Kr(2),ss("inline",!0),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.countrySortData),Kr(4),sl(" ",Tu(12,23,"vpn.server-list.name-small-table-label")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.nameSortData),Kr(4),sl(" ",Tu(18,25,"vpn.server-list.location-small-table-label")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.locationSortData),Kr(1),ss("ngClass",Mu(33,VB,i.currentList===i.lists.Public,i.currentList===i.lists.History))("matTooltip",Tu(21,27,"vpn.server-list.public-key-info")),Kr(4),sl(" ",Tu(25,29,"vpn.server-list.public-key-small-table-label")," "),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.pkSortData),Kr(1),ss("ngIf",i.currentList===i.lists.Public),Kr(1),ss("ngIf",i.currentList===i.lists.Public),Kr(1),ss("ngIf",i.currentList===i.lists.Public),Kr(1),ss("ngIf",i.currentList===i.lists.Public),Kr(1),ss("ngIf",i.currentList===i.lists.Public),Kr(1),ss("matTooltip",Tu(33,31,"vpn.server-list.note-info")),Kr(3),ss("inline",!0),Kr(2),ss("ngIf",i.dataSorter.currentSortingColumn===i.noteSortData),Kr(2),ss("ngForOf",i.dataSource)}}function UB(t,e){if(1&t&&(us(0,"div",35),us(1,"div",36),is(2,WB,40,36,"table",37),cs(),cs()),2&t){var n=Ms(2);Kr(2),ss("ngIf",n.dataSource.length>0)}}var qB=function(){return["/vpn"]};function GB(t,e){if(1&t&&ds(0,"app-paginator",75),2&t){var n=Ms(2);ss("currentPage",n.currentPage)("numberOfPages",n.numberOfPages)("linkParts",wu(4,qB))("queryParams",n.dataFilterer.currentUrlQueryParams)}}function KB(t,e){1&t&&(us(0,"span",79),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"vpn.server-list.empty-discovery")))}function JB(t,e){1&t&&(us(0,"span",79),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"vpn.server-list.empty-history")))}function ZB(t,e){1&t&&(us(0,"span",79),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"vpn.server-list.empty-favorites")))}function $B(t,e){1&t&&(us(0,"span",79),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"vpn.server-list.empty-blocked")))}function QB(t,e){1&t&&(us(0,"span",79),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),ol(Tu(2,1,"vpn.server-list.empty-with-filter")))}function XB(t,e){if(1&t&&(us(0,"div",35),us(1,"div",76),us(2,"mat-icon",77),al(3,"warning"),cs(),is(4,KB,3,3,"span",78),is(5,JB,3,3,"span",78),is(6,ZB,3,3,"span",78),is(7,$B,3,3,"span",78),is(8,QB,3,3,"span",78),cs(),cs()),2&t){var n=Ms(2);Kr(2),ss("inline",!0),Kr(2),ss("ngIf",0===n.allServers.length&&n.currentList===n.lists.Public),Kr(1),ss("ngIf",0===n.allServers.length&&n.currentList===n.lists.History),Kr(1),ss("ngIf",0===n.allServers.length&&n.currentList===n.lists.Favorites),Kr(1),ss("ngIf",0===n.allServers.length&&n.currentList===n.lists.Blocked),Kr(1),ss("ngIf",0!==n.allServers.length)}}var tV=function(t){return{"mb-3":t}};function eV(t,e){if(1&t&&(us(0,"div",29),us(1,"div",30),ds(2,"app-top-bar",5),cs(),us(3,"div",31),us(4,"div",7),us(5,"div",32),is(6,hB,1,0,"ng-container",9),cs(),is(7,UB,3,1,"div",33),is(8,GB,1,5,"app-paginator",34),is(9,XB,9,6,"div",33),cs(),cs(),cs()),2&t){var n=Ms(),i=rs(2);Kr(2),ss("titleParts",wu(10,Gj))("tabsData",n.tabsData)("selectedTabIndex",1)("showUpdateButton",!1)("localVpnKey",n.currentLocalPk),Kr(3),ss("ngClass",Su(11,tV,!n.dataFilterer.currentFiltersTexts||n.dataFilterer.currentFiltersTexts.length<1)),Kr(1),ss("ngTemplateOutlet",i),Kr(1),ss("ngIf",0!==n.dataSource.length),Kr(1),ss("ngIf",n.numberOfPages>1),Kr(1),ss("ngIf",0===n.dataSource.length)}}var nV=function(t){return t.Public="public",t.History="history",t.Favorites="favorites",t.Blocked="blocked",t}({}),iV=function(){function t(t,e,n,i,r,a,o,s){var l=this;this.dialog=t,this.router=e,this.translateService=n,this.route=i,this.vpnClientDiscoveryService=r,this.vpnClientService=a,this.vpnSavedDataService=o,this.snackbarService=s,this.maxFullListElements=50,this.dateSortData=new UP(["lastUsed"],"vpn.server-list.date-small-table-label",qP.NumberReversed),this.countrySortData=new UP(["countryCode"],"vpn.server-list.country-small-table-label",qP.Text),this.nameSortData=new UP(["name"],"vpn.server-list.name-small-table-label",qP.Text),this.locationSortData=new UP(["location"],"vpn.server-list.location-small-table-label",qP.Text),this.pkSortData=new UP(["pk"],"vpn.server-list.public-key-small-table-label",qP.Text),this.congestionSortData=new UP(["congestion"],"vpn.server-list.congestion-small-table-label",qP.Number),this.congestionRatingSortData=new UP(["congestionRating"],"vpn.server-list.congestion-rating-small-table-label",qP.Number),this.latencySortData=new UP(["latency"],"vpn.server-list.latency-small-table-label",qP.Number),this.latencyRatingSortData=new UP(["latencyRating"],"vpn.server-list.latency-rating-small-table-label",qP.Number),this.hopsSortData=new UP(["hops"],"vpn.server-list.hops-small-table-label",qP.Number),this.noteSortData=new UP(["note"],"vpn.server-list.note-small-table-label",qP.Text),this.loading=!0,this.loadingBackendData=!0,this.tabsData=_E.vpnTabsData,this.numberOfPages=1,this.currentPage=1,this.currentPageInUrl=1,this.currentList=nV.Public,this.vpnRunning=!1,this.serverFlags=rE,this.lists=nV,this.initialLoadStarted=!1,this.navigationsSubscription=i.paramMap.subscribe((function(t){if(t.has("type")?t.get("type")===nV.Favorites?(l.currentList=nV.Favorites,l.listId="vfs"):t.get("type")===nV.Blocked?(l.currentList=nV.Blocked,l.listId="vbs"):t.get("type")===nV.History?(l.currentList=nV.History,l.listId="vhs"):(l.currentList=nV.Public,l.listId="vps"):(l.currentList=nV.Public,l.listId="vps"),_E.setDefaultTabForServerList(l.currentList),t.has("key")&&(l.currentLocalPk=t.get("key"),_E.changeCurrentPk(l.currentLocalPk),l.tabsData=_E.vpnTabsData),t.has("page")){var e=Number.parseInt(t.get("page"),10);(isNaN(e)||e<1)&&(e=1),l.currentPageInUrl=e,l.recalculateElementsToShow()}l.initialLoadStarted||(l.initialLoadStarted=!0,l.currentList===nV.Public?l.loadTestData():l.loadData())})),this.currentServerSubscription=this.vpnSavedDataService.currentServerObservable.subscribe((function(t){return l.currentServer=t})),this.backendDataSubscription=this.vpnClientService.backendState.subscribe((function(t){t&&(l.loadingBackendData=!1,l.vpnRunning=t.vpnClientAppData.running)}))}return t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.currentServerSubscription.unsubscribe(),this.backendDataSubscription.unsubscribe(),this.dataSortedSubscription&&this.dataSortedSubscription.unsubscribe(),this.dataFiltererSubscription&&this.dataFiltererSubscription.unsubscribe(),this.dataSubscription&&this.dataSubscription.unsubscribe(),this.closeCheckVpnSubscription(),this.dataFilterer&&this.dataFilterer.dispose(),this.dataSorter&&this.dataSorter.dispose()},t.prototype.enterManually=function(){Wj.openDialog(this.dialog,this.currentLocalPk)},t.prototype.getNoteVar=function(t){return t.note&&t.personalNote?"vpn.server-list.notes-info":!t.note&&t.personalNote?t.personalNote:t.note},t.prototype.selectServer=function(t){var e=this,n=this.vpnSavedDataService.getSavedVersion(t.pk,!0);if(this.snackbarService.closeCurrentIfTemporaryError(),n&&n.flag===rE.Blocked)this.snackbarService.showError("vpn.starting-blocked-server-error",{},!0);else{if(this.currentServer.pk===t.pk){if(this.vpnRunning)this.snackbarService.showWarning("vpn.server-change.already-selected-warning");else{var i=DP.createConfirmationDialog(this.dialog,"vpn.server-change.start-same-server-confirmation");i.componentInstance.operationAccepted.subscribe((function(){i.componentInstance.closeModal(),e.vpnClientService.start(),_E.redirectAfterServerChange(e.router,null,e.currentLocalPk)}))}return}if(n&&n.usedWithPassword)return void vE.openDialog(this.dialog,!0).afterClosed().subscribe((function(n){n&&e.makeServerChange(t,"-"===n?null:n.substr(1))}));this.makeServerChange(t,null)}},t.prototype.makeServerChange=function(t,e){_E.processServerChange(this.router,this.vpnClientService,this.vpnSavedDataService,this.snackbarService,this.dialog,null,this.currentLocalPk,t.originalLocalData,t.originalDiscoveryData,null,e)},t.prototype.openOptions=function(t){var e=this,n=this.vpnSavedDataService.getSavedVersion(t.pk,!0);n||(n=this.vpnSavedDataService.processFromDiscovery(t.originalDiscoveryData)),n?_E.openServerOptions(n,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe((function(t){t&&e.processAllServers()})):this.snackbarService.showError("vpn.unexpedted-error")},t.prototype.loadData=function(){var t=this;this.dataSubscription=this.currentList===nV.Public?this.vpnClientDiscoveryService.getServers().subscribe((function(e){t.allServers=e.map((function(t){return{countryCode:t.countryCode,name:t.name,customName:null,location:t.location,pk:t.pk,congestion:t.congestion,congestionRating:t.congestionRating,latency:t.latency,latencyRating:t.latencyRating,hops:t.hops,note:t.note,personalNote:null,originalDiscoveryData:t}})),t.vpnSavedDataService.updateFromDiscovery(e),t.loading=!1,t.processAllServers()})):(this.currentList===nV.History?this.vpnSavedDataService.history:this.currentList===nV.Favorites?this.vpnSavedDataService.favorites:this.vpnSavedDataService.blocked).subscribe((function(e){var n=[];e.forEach((function(t){n.push({countryCode:t.countryCode,name:t.name,customName:null,location:t.location,pk:t.pk,note:t.note,personalNote:null,lastUsed:t.lastUsed,inHistory:t.inHistory,flag:t.flag,originalLocalData:t})})),t.allServers=n,t.loading=!1,t.processAllServers()}))},t.prototype.loadTestData=function(){var t=this;setTimeout((function(){t.allServers=[];var e={countryCode:"au",name:"Server name",location:"Melbourne - Australia",pk:"024ec47420176680816e0406250e7156465e4531f5b26057c9f6297bb0303558c7",congestion:20,congestionRating:Nj.Gold,latency:123,latencyRating:Nj.Gold,hops:3,note:"Note"};t.allServers.push(Uj(Uj({},e),{customName:null,personalNote:null,originalDiscoveryData:e}));var n={countryCode:"br",name:"Test server 14",location:"Rio de Janeiro - Brazil",pk:"034ec47420176680816e0406250e7156465e4531f5b26057c9f6297bb0303558c7",congestion:20,congestionRating:Nj.Silver,latency:12345,latencyRating:Nj.Gold,hops:3,note:"Note"};t.allServers.push(Uj(Uj({},n),{customName:null,personalNote:null,originalDiscoveryData:n}));var i={countryCode:"de",name:"Test server 20",location:"Berlin - Germany",pk:"044ec47420176680816e0406250e7156465e4531f5b26057c9f6297bb0303558c7",congestion:20,congestionRating:Nj.Gold,latency:123,latencyRating:Nj.Bronze,hops:7,note:"Note"};t.allServers.push(Uj(Uj({},i),{customName:null,personalNote:null,originalDiscoveryData:i})),t.vpnSavedDataService.updateFromDiscovery([e,n,i]),t.loading=!1,t.processAllServers()}),100)},t.prototype.processAllServers=function(){var t=this;this.fillFilterPropertiesArray();var e=new Set;this.allServers.forEach((function(n,i){e.add(n.countryCode);var r=t.vpnSavedDataService.getSavedVersion(n.pk,0===i);n.customName=r?r.customName:null,n.personalNote=r?r.personalNote:null,n.inHistory=!!r&&r.inHistory,n.flag=r?r.flag:rE.None,n.enteredManually=!!r&&r.enteredManually,n.usedWithPassword=!!r&&r.usedWithPassword}));var n=[];e.forEach((function(e){n.push({label:t.getCountryName(e),value:e,image:"/assets/img/big-flags/"+e.toLowerCase()+".png"})})),n.sort((function(t,e){return t.label.localeCompare(e.label)})),n=[{label:"vpn.server-list.filter-dialog.country-options.any",value:""}].concat(n),this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.country",keyNameInElementsArray:"countryCode",type:EP.Select,printableLabelsForValues:n,printableLabelGeneralSettings:{defaultImage:"/assets/img/big-flags/unknown.png",imageWidth:20,imageHeight:15}}].concat(this.filterProperties);var i,r,a,o=[];this.currentList===nV.Public?(o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.congestionSortData),o.push(this.congestionRatingSortData),o.push(this.latencySortData),o.push(this.latencyRatingSortData),o.push(this.hopsSortData),o.push(this.noteSortData),i=0,r=1):(this.currentList===nV.History&&o.push(this.dateSortData),o.push(this.countrySortData),o.push(this.nameSortData),o.push(this.locationSortData),o.push(this.pkSortData),o.push(this.noteSortData),i=this.currentList===nV.History?0:1,r=this.currentList===nV.History?2:3),this.dataSorter=new GP(this.dialog,this.translateService,o,i,this.listId),this.dataSorter.setTieBreakerColumnIndex(r),this.dataSortedSubscription=this.dataSorter.dataSorted.subscribe((function(){t.recalculateElementsToShow()})),this.dataFilterer=new bO(this.dialog,this.route,this.router,this.filterProperties,this.listId),this.dataFiltererSubscription=this.dataFilterer.dataFiltered.subscribe((function(e){t.filteredServers=e,t.dataSorter.setData(t.filteredServers)})),a=this.currentList===nV.Public?this.allServers.filter((function(t){return t.flag!==rE.Blocked})):this.allServers,this.dataFilterer.setData(a)},t.prototype.fillFilterPropertiesArray=function(){this.filterProperties=[{filterName:"vpn.server-list.filter-dialog.name",keyNameInElementsArray:"name",secondaryKeyNameInElementsArray:"customName",type:EP.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.location",keyNameInElementsArray:"location",type:EP.TextInput,maxlength:100},{filterName:"vpn.server-list.filter-dialog.public-key",keyNameInElementsArray:"pk",type:EP.TextInput,maxlength:100}],this.currentList===nV.Public&&(this.filterProperties.push({filterName:"vpn.server-list.filter-dialog.congestion-rating",keyNameInElementsArray:"congestionRating",type:EP.Select,printableLabelsForValues:[{value:"",label:"vpn.server-list.filter-dialog.rating-options.any"},{value:Nj.Gold+"",label:"vpn.server-list.filter-dialog.rating-options.gold"},{value:Nj.Silver+"",label:"vpn.server-list.filter-dialog.rating-options.silver"},{value:Nj.Bronze+"",label:"vpn.server-list.filter-dialog.rating-options.bronze"}]}),this.filterProperties.push({filterName:"vpn.server-list.filter-dialog.latency-rating",keyNameInElementsArray:"latencyRating",type:EP.Select,printableLabelsForValues:[{value:"",label:"vpn.server-list.filter-dialog.rating-options.any"},{value:Nj.Gold+"",label:"vpn.server-list.filter-dialog.rating-options.gold"},{value:Nj.Silver+"",label:"vpn.server-list.filter-dialog.rating-options.silver"},{value:Nj.Bronze+"",label:"vpn.server-list.filter-dialog.rating-options.bronze"}]}))},t.prototype.recalculateElementsToShow=function(){if(this.currentPage=this.currentPageInUrl,this.filteredServers){var t=this.maxFullListElements;this.numberOfPages=Math.ceil(this.filteredServers.length/t),this.currentPage>this.numberOfPages&&(this.currentPage=this.numberOfPages);var e=t*(this.currentPage-1);this.serversToShow=this.filteredServers.slice(e,e+t)}else this.serversToShow=null;this.dataSource=this.serversToShow},t.prototype.getCountryName=function(t){return YR[t.toUpperCase()]?YR[t.toUpperCase()]:t},t.prototype.getLatencyValueString=function(t){return _E.getLatencyValueString(t)},t.prototype.getPrintableLatency=function(t){return _E.getPrintableLatency(t)},t.prototype.getCongestionTextColorClass=function(t){return t<60?"green-value":t<90?"yellow-value":"red-value"},t.prototype.getLatencyTextColorClass=function(t){return t<200?"green-value":t<350?"yellow-value":"red-value"},t.prototype.getHopsTextColorClass=function(t){return t<5?"green-value":t<9?"yellow-value":"red-value"},t.prototype.getRatingIcon=function(t){return t===Nj.Gold?"gold-rating":t===Nj.Silver?"silver-rating":"bronze-rating"},t.prototype.getRatingText=function(t){return t===Nj.Gold?"vpn.server-list.gold-rating-info":t===Nj.Silver?"vpn.server-list.silver-rating-info":"vpn.server-list.bronze-rating-info"},t.prototype.closeCheckVpnSubscription=function(){this.checkVpnSubscription&&this.checkVpnSubscription.unsubscribe()},t.\u0275fac=function(e){return new(e||t)(as(BC),as(cb),as(fC),as(W_),as(jj),as(fE),as(oE),as(CC))},t.\u0275cmp=Fe({type:t,selectors:[["app-vpn-server-list"]],decls:4,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["topPart",""],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[1,"loading-top-container"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"main-container"],[1,"width-limiter"],[1,"center-container","mt-4.5"],[4,"ngTemplateOutlet"],[1,"h-100","loading-indicator"],[1,"option-bar-container"],[1,"rounded-elevated-box","mt-3"],[1,"box-internal-container","allow-overflow"],[1,"option-bar"],["class","text-option selected",4,"ngIf"],["class","text-option",3,"routerLink",4,"ngIf"],[1,"option-bar-container","option-bar-margin",3,"ngClass"],[1,"icon-option",3,"matTooltip","click"],[3,"inline"],[1,"option-bar-container","option-bar-margin"],[4,"ngIf"],[1,"text-option","selected"],[1,"text-option",3,"routerLink"],["class","filter-label subtle-transparent-button cursor-pointer",3,"click",4,"ngIf"],[1,"filter-label","subtle-transparent-button","cursor-pointer",3,"click"],[1,"transparent-50"],["class","item",4,"ngFor","ngForOf"],[1,"item"],[1,"row"],[1,"col-12"],[1,"col-12","vpn-table-container"],[1,"center-container","mt-4.5",3,"ngClass"],["class","rounded-elevated-box",4,"ngIf"],[3,"currentPage","numberOfPages","linkParts","queryParams",4,"ngIf"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["class","responsive-table-translucid d-none d-md-table","cellspacing","0","cellpadding","0",4,"ngIf"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],["class","sortable-column date-column click-effect",3,"matTooltip","click",4,"ngIf"],[1,"sortable-column","flag-column","center","click-effect",3,"matTooltip","click"],[3,"inline",4,"ngIf"],[1,"sortable-column","name-column","click-effect",3,"click"],[1,"header-container"],[1,"header-text"],[1,"sortable-column","location-column","click-effect",3,"click"],[1,"sortable-column","pk-column","click-effect",3,"ngClass","matTooltip","click"],["class","sortable-column short-column center click-effect",3,"matTooltip","click",4,"ngIf"],["class","sortable-column mini-column center click-effect",3,"matTooltip","click",4,"ngIf"],[1,"sortable-column","note-column","center","click-effect",3,"matTooltip","click"],[1,"actions"],[3,"ngClass","click",4,"ngFor","ngForOf"],[1,"sortable-column","date-column","click-effect",3,"matTooltip","click"],[1,"sortable-column","short-column","center","click-effect",3,"matTooltip","click"],[1,"sortable-column","mini-column","center","click-effect",3,"matTooltip","click"],[1,"star-container"],[3,"ngClass","click"],["class","date-column",4,"ngIf"],[1,"flag-column","icon-fixer"],[1,"flag"],[3,"matTooltip"],[1,"name-column"],[3,"isCurrentServer","isFavorite","isBlocked","isInHistory","hasPassword","name","customName","defaultName"],[1,"location-column"],[1,"pk-column",3,"ngClass"],[1,"d-inline-block","w-100",3,"shortSimple","text","click"],[3,"class",4,"ngIf"],["class","center mini-column icon-fixer",4,"ngIf"],[1,"center","note-column"],["class","note-icon",3,"inline","matTooltip","click",4,"ngIf"],["mat-icon-button","",1,"big-action-button","transparent-button","vpn-small-button",3,"matTooltip","click"],[1,"date-column"],[1,"center","mini-column","icon-fixer"],[1,"rating",3,"matTooltip"],[1,"note-icon",3,"inline","matTooltip","click"],[3,"currentPage","numberOfPages","linkParts","queryParams"],[1,"box-internal-container","font-sm"],[1,"alert-icon",3,"inline"],["class","font-sm",4,"ngIf"],[1,"font-sm"]],template:function(t,e){1&t&&(is(0,Kj,8,7,"div",0),is(1,dB,31,20,"ng-template",null,1,ec),is(3,eV,10,13,"div",2)),2&t&&(ss("ngIf",e.loading||e.loadingBackendData),Kr(3),ss("ngIf",!e.loading&&!e.loadingBackendData))},styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important}.font-sm[_ngcontent-%COMP%], .font-smaller[_ngcontent-%COMP%]{font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.date-column[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .location-column[_ngcontent-%COMP%], .mini-column[_ngcontent-%COMP%], .name-column[_ngcontent-%COMP%], .note-column[_ngcontent-%COMP%], .pk-column[_ngcontent-%COMP%], .short-column[_ngcontent-%COMP%], .single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.center-container[_ngcontent-%COMP%]{text-align:center}.center-container[_ngcontent-%COMP%] app-paginator[_ngcontent-%COMP%]{display:inline-block}.loading-top-container[_ngcontent-%COMP%]{z-index:1}.loading-indicator[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:20px}.deactivated[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.option-bar-container[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .allow-overflow[_ngcontent-%COMP%]{overflow:visible}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%]{display:flex;margin:-17px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{height:55px;line-height:55px;cursor:pointer;color:#fff;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:hover, .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.2)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] > .icon-option[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%], .option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active span[_ngcontent-%COMP%]{transform:scale(.95)}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .text-option[_ngcontent-%COMP%]{padding:0 40px;font-size:1rem}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .icon-option[_ngcontent-%COMP%]{width:55px;font-size:24px}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]{background:rgba(0,0,0,.36);cursor:unset!important}.option-bar-container[_ngcontent-%COMP%] .option-bar[_ngcontent-%COMP%] .selected[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.6)}.option-bar-margin[_ngcontent-%COMP%]{margin-left:10px}.filter-label[_ngcontent-%COMP%]{font-size:.7rem;display:inline-block;padding:5px 10px;margin-bottom:7px}.filter-label[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{vertical-align:middle}table[_ngcontent-%COMP%]{width:100%}tr[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:2px 5px!important;font-size:12px!important;font-weight:400!important}tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-left:5px!important;padding-right:5px!important}.date-column[_ngcontent-%COMP%]{max-width:0;width:150px}.name-column[_ngcontent-%COMP%]{max-width:0;width:20%}.location-column[_ngcontent-%COMP%]{max-width:0;min-width:72px}.pk-column[_ngcontent-%COMP%]{max-width:0;width:25%}.history-pk-column[_ngcontent-%COMP%]{width:20%!important}.public-pk-column[_ngcontent-%COMP%]{width:12%!important}.short-column[_ngcontent-%COMP%]{max-width:0;width:7%;min-width:72px}.mini-column[_ngcontent-%COMP%]{max-width:0;width:3%;min-width:60px}.icon-fixer[_ngcontent-%COMP%]{line-height:0}.note-column[_ngcontent-%COMP%]{max-width:0;width:3%;min-width:60px}.note-column[_ngcontent-%COMP%] .note-icon[_ngcontent-%COMP%]{opacity:.55;font-size:16px!important;display:inline}.flag-column[_ngcontent-%COMP%]{width:1px;line-height:0}.actions[_ngcontent-%COMP%]{width:1px}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}.header-container[_ngcontent-%COMP%] .star-container[_ngcontent-%COMP%]{height:0;position:relative;top:-14px}.header-container[_ngcontent-%COMP%] .star-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:10px}.flag[_ngcontent-%COMP%]{display:inline-block;margin-right:5px;background-image:url(/assets/img/big-flags/unknown.png)}.flag[_ngcontent-%COMP%], .flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.rating[_ngcontent-%COMP%]{width:14px;height:14px;display:inline-block;background-size:contain}.center[_ngcontent-%COMP%]{text-align:center}.green-value[_ngcontent-%COMP%]{color:#84c826!important}.yellow-value[_ngcontent-%COMP%]{color:orange!important}.red-value[_ngcontent-%COMP%]{color:#ff393f!important}.alert-icon[_ngcontent-%COMP%]{vertical-align:middle;margin-right:10px}"]}),t}(),rV=function(t,e){return{"small-text-icon":t,"big-text-icon":e}};function aV(t,e){if(1&t&&(us(0,"mat-icon",4),Lu(1,"translate"),al(2,"done"),cs()),2&t){var n=Ms();ss("ngClass",Mu(5,rV,!n.adjustIconsForBigText,n.adjustIconsForBigText))("inline",!0)("matTooltip",Tu(1,3,"vpn.server-conditions.selected-info"))}}function oV(t,e){if(1&t&&(us(0,"mat-icon",5),Lu(1,"translate"),al(2,"clear"),cs()),2&t){var n=Ms();ss("ngClass",Mu(5,rV,!n.adjustIconsForBigText,n.adjustIconsForBigText))("inline",!0)("matTooltip",Tu(1,3,"vpn.server-conditions.blocked-info"))}}function sV(t,e){if(1&t&&(us(0,"mat-icon",6),Lu(1,"translate"),al(2,"star"),cs()),2&t){var n=Ms();ss("ngClass",Mu(5,rV,!n.adjustIconsForBigText,n.adjustIconsForBigText))("inline",!0)("matTooltip",Tu(1,3,"vpn.server-conditions.favorite-info"))}}function lV(t,e){if(1&t&&(us(0,"mat-icon",4),Lu(1,"translate"),al(2,"history"),cs()),2&t){var n=Ms();ss("ngClass",Mu(5,rV,!n.adjustIconsForBigText,n.adjustIconsForBigText))("inline",!0)("matTooltip",Tu(1,3,"vpn.server-conditions.history-info"))}}function uV(t,e){if(1&t&&(us(0,"mat-icon",4),Lu(1,"translate"),al(2,"lock_outlined"),cs()),2&t){var n=Ms();ss("ngClass",Mu(5,rV,!n.adjustIconsForBigText,n.adjustIconsForBigText))("inline",!0)("matTooltip",Tu(1,3,"vpn.server-conditions.has-password-info"))}}function cV(t,e){if(1&t&&(hs(0),al(1),us(2,"mat-icon",7),al(3,"fiber_manual_record"),cs(),al(4),fs()),2&t){var n=Ms();Kr(1),sl(" ",n.customName," "),Kr(1),ss("inline",!0),Kr(2),sl(" ",n.name,"\n")}}function dV(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms();Kr(1),ol(n.customName)}}function hV(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms();Kr(1),ol(n.name)}}function fV(t,e){if(1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t){var n=Ms();Kr(1),ol(Tu(2,1,n.defaultName))}}var pV=function(){function t(){this.isCurrentServer=!1,this.isFavorite=!1,this.isBlocked=!1,this.isInHistory=!1,this.hasPassword=!1,this.name="",this.customName="",this.defaultName="",this.adjustIconsForBigText=!1}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Fe({type:t,selectors:[["app-vpn-server-name"]],inputs:{isCurrentServer:"isCurrentServer",isFavorite:"isFavorite",isBlocked:"isBlocked",isInHistory:"isInHistory",hasPassword:"hasPassword",name:"name",customName:"customName",defaultName:"defaultName",adjustIconsForBigText:"adjustIconsForBigText"},decls:9,vars:9,consts:[["class","server-condition-icon",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon red-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],["class","server-condition-icon yellow-clear-text",3,"ngClass","inline","matTooltip",4,"ngIf"],[4,"ngIf"],[1,"server-condition-icon",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","red-clear-text",3,"ngClass","inline","matTooltip"],[1,"server-condition-icon","yellow-clear-text",3,"ngClass","inline","matTooltip"],[1,"name-separator",3,"inline"]],template:function(t,e){1&t&&(is(0,aV,3,8,"mat-icon",0),is(1,oV,3,8,"mat-icon",1),is(2,sV,3,8,"mat-icon",2),is(3,lV,3,8,"mat-icon",0),is(4,uV,3,8,"mat-icon",0),is(5,cV,5,3,"ng-container",3),is(6,dV,2,1,"ng-container",3),is(7,hV,2,1,"ng-container",3),is(8,fV,3,3,"ng-container",3)),2&t&&(ss("ngIf",e.isCurrentServer),Kr(1),ss("ngIf",e.isBlocked),Kr(1),ss("ngIf",e.isFavorite),Kr(1),ss("ngIf",e.isInHistory),Kr(1),ss("ngIf",e.hasPassword),Kr(1),ss("ngIf",e.customName&&e.name),Kr(1),ss("ngIf",!e.name&&e.customName),Kr(1),ss("ngIf",e.name&&!e.customName),Kr(1),ss("ngIf",!e.name&&!e.customName))},directives:[Sh,qM,_h,zL],pipes:[mC],styles:[".server-condition-icon[_ngcontent-%COMP%]{font-size:14px!important;line-height:14px!important;margin-right:3px;position:relative;width:14px!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.small-text-icon[_ngcontent-%COMP%]{top:2px}.big-text-icon[_ngcontent-%COMP%]{top:0}.name-separator[_ngcontent-%COMP%]{display:inline!important;font-size:8px!important;opacity:.5!important}"]}),t}(),mV=function(){return["vpn.title"]};function gV(t,e){if(1&t&&(us(0,"div",2),us(1,"div"),ds(2,"app-top-bar",3),cs(),ds(3,"app-loading-indicator"),cs()),2&t){var n=Ms();Kr(2),ss("titleParts",wu(5,mV))("tabsData",n.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",n.currentLocalPk)}}function vV(t,e){1&t&&ds(0,"mat-spinner",31),2&t&&ss("diameter",40)}function _V(t,e){1&t&&(us(0,"mat-icon",32),al(1,"power_settings_new"),cs()),2&t&&ss("inline",!0)}function yV(t,e){if(1&t){var n=ms();hs(0),us(1,"div",33),ds(2,"div",34),cs(),us(3,"div",35),us(4,"div",36),ds(5,"app-vpn-server-name",37),cs(),us(6,"div",38),ds(7,"app-copy-to-clipboard-text",39),cs(),cs(),us(8,"div",40),ds(9,"div"),cs(),us(10,"div",41),us(11,"mat-icon",42),_s("click",(function(){return Dn(n),Ms(3).openServerOptions()})),Lu(12,"translate"),al(13,"settings"),cs(),cs(),fs()}if(2&t){var i=Ms(3);Kr(2),Ws("background-image: url('assets/img/big-flags/"+i.currentRemoteServer.countryCode.toLocaleLowerCase()+".png');"),ss("matTooltip",i.getCountryName(i.currentRemoteServer.countryCode)),Kr(3),ss("isFavorite",i.currentRemoteServer.flag===i.serverFlags.Favorite)("isBlocked",i.currentRemoteServer.flag===i.serverFlags.Blocked)("hasPassword",i.currentRemoteServer.usedWithPassword)("name",i.currentRemoteServer.name)("customName",i.currentRemoteServer.customName),Kr(2),ss("shortSimple",!0)("text",i.currentRemoteServer.pk),Kr(4),ss("inline",!0)("matTooltip",Tu(12,12,"vpn.server-options.tooltip"))}}function bV(t,e){1&t&&(hs(0),us(1,"div",43),al(2),Lu(3,"translate"),cs(),fs()),2&t&&(Kr(2),ol(Tu(3,1,"vpn.status-page.no-server")))}var kV=function(t,e){return{custom:t,original:e}};function wV(t,e){if(1&t&&(us(0,"div",44),us(1,"mat-icon",32),al(2,"info_outline"),cs(),al(3),Lu(4,"translate"),cs()),2&t){var n=Ms(3);Kr(1),ss("inline",!0),Kr(2),sl(" ",Pu(4,2,n.getNoteVar(),Mu(5,kV,n.currentRemoteServer.personalNote,n.currentRemoteServer.note))," ")}}var SV=function(t){return{"disabled-button":t}};function MV(t,e){if(1&t){var n=ms();us(0,"div",22),us(1,"div",11),us(2,"div",13),al(3),Lu(4,"translate"),cs(),us(5,"div"),us(6,"div",23),_s("click",(function(){return Dn(n),Ms(2).start()})),us(7,"div",24),ds(8,"div",25),cs(),us(9,"div",24),ds(10,"div",26),cs(),is(11,vV,1,1,"mat-spinner",27),is(12,_V,2,1,"mat-icon",28),cs(),cs(),us(13,"div",29),is(14,yV,14,14,"ng-container",18),is(15,bV,4,3,"ng-container",18),cs(),us(16,"div"),is(17,wV,5,8,"div",30),cs(),cs(),cs()}if(2&t){var i=Ms(2);Kr(3),ol(Tu(4,7,"vpn.status-page.start-title")),Kr(3),ss("ngClass",Su(9,SV,i.showBusy)),Kr(5),ss("ngIf",i.showBusy),Kr(1),ss("ngIf",!i.showBusy),Kr(2),ss("ngIf",i.currentRemoteServer),Kr(1),ss("ngIf",!i.currentRemoteServer),Kr(2),ss("ngIf",i.currentRemoteServer&&(i.currentRemoteServer.note||i.currentRemoteServer.personalNote))}}function CV(t,e){1&t&&(us(0,"div"),ds(1,"mat-spinner",31),cs()),2&t&&(Kr(1),ss("diameter",24))}function xV(t,e){1&t&&(us(0,"mat-icon",32),al(1,"power_settings_new"),cs()),2&t&&ss("inline",!0)}var DV=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,limitDecimals:!0,useBits:t}},LV=function(t){return{showValue:!0,showUnit:!0,showPerSecond:!0,useBits:t}},TV=function(t){return{showValue:!0,showUnit:!0,useBits:t}},PV=function(t){return{time:t}};function OV(t,e){if(1&t){var n=ms();us(0,"div",45),us(1,"div",11),us(2,"div",46),us(3,"div",47),us(4,"mat-icon",32),al(5,"timer"),cs(),us(6,"span"),al(7,"01:12:21"),cs(),cs(),cs(),us(8,"div",48),al(9,"Your connection is currently:"),cs(),us(10,"div",49),al(11),Lu(12,"translate"),cs(),us(13,"div",50),al(14),Lu(15,"translate"),cs(),us(16,"div",51),us(17,"div",52),Lu(18,"translate"),us(19,"div",53),ds(20,"app-line-chart",54),cs(),us(21,"div",55),us(22,"div",56),us(23,"div",57),al(24),Lu(25,"autoScale"),cs(),ds(26,"div",58),cs(),cs(),us(27,"div",55),us(28,"div",59),us(29,"div",57),al(30),Lu(31,"autoScale"),cs(),ds(32,"div",58),cs(),cs(),us(33,"div",55),us(34,"div",60),us(35,"div",57),al(36),Lu(37,"autoScale"),cs(),cs(),cs(),us(38,"div",61),us(39,"mat-icon",62),al(40,"keyboard_backspace"),cs(),us(41,"div",63),al(42),Lu(43,"autoScale"),cs(),us(44,"div",64),al(45),Lu(46,"autoScale"),Lu(47,"translate"),cs(),cs(),cs(),us(48,"div",52),Lu(49,"translate"),us(50,"div",53),ds(51,"app-line-chart",54),cs(),us(52,"div",65),us(53,"div",56),us(54,"div",57),al(55),Lu(56,"autoScale"),cs(),ds(57,"div",58),cs(),cs(),us(58,"div",55),us(59,"div",59),us(60,"div",57),al(61),Lu(62,"autoScale"),cs(),ds(63,"div",58),cs(),cs(),us(64,"div",55),us(65,"div",60),us(66,"div",57),al(67),Lu(68,"autoScale"),cs(),cs(),cs(),us(69,"div",61),us(70,"mat-icon",66),al(71,"keyboard_backspace"),cs(),us(72,"div",63),al(73),Lu(74,"autoScale"),cs(),us(75,"div",64),al(76),Lu(77,"autoScale"),Lu(78,"translate"),cs(),cs(),cs(),cs(),us(79,"div",67),us(80,"div",68),Lu(81,"translate"),us(82,"div",53),ds(83,"app-line-chart",69),cs(),us(84,"div",65),us(85,"div",56),us(86,"div",57),al(87),Lu(88,"translate"),cs(),ds(89,"div",58),cs(),cs(),us(90,"div",55),us(91,"div",59),us(92,"div",57),al(93),Lu(94,"translate"),cs(),ds(95,"div",58),cs(),cs(),us(96,"div",55),us(97,"div",60),us(98,"div",57),al(99),Lu(100,"translate"),cs(),cs(),cs(),us(101,"div",61),us(102,"mat-icon",32),al(103,"swap_horiz"),cs(),us(104,"div"),al(105),Lu(106,"translate"),cs(),cs(),cs(),cs(),us(107,"div",70),_s("click",(function(){return Dn(n),Ms(2).stop()})),us(108,"div",71),us(109,"div",72),is(110,CV,2,1,"div",18),is(111,xV,2,1,"mat-icon",28),us(112,"span"),al(113),Lu(114,"translate"),cs(),cs(),cs(),cs(),cs(),cs()}if(2&t){var i=Ms(2);Kr(4),ss("inline",!0),Kr(7),ol(Tu(12,53,i.currentStateText)),Kr(3),ol(Tu(15,55,i.currentStateText+"-info")),Kr(3),ss("matTooltip",Tu(18,57,"vpn.status-page.upload-info")),Kr(3),ss("animated",!1)("data",i.sentHistory)("min",i.minUploadInGraph)("max",i.maxUploadInGraph),Kr(4),sl(" ",Pu(25,59,i.maxUploadInGraph,Su(111,DV,i.showSpeedsInBits))," "),Kr(2),Ws("margin-top: "+i.graphsTopInternalMargin+"px;"),Kr(4),sl(" ",Pu(31,62,i.midUploadInGraph,Su(113,DV,i.showSpeedsInBits))," "),Kr(2),Ws("margin-top: "+i.graphsTopInternalMargin/2+"px;"),Kr(4),sl(" ",Pu(37,65,i.minUploadInGraph,Su(115,DV,i.showSpeedsInBits))," "),Kr(3),ss("inline",!0),Kr(3),ol(Pu(43,68,i.uploadSpeed,Su(117,LV,i.showSpeedsInBits))),Kr(3),ll(" ",Pu(46,71,i.totalUploaded,Su(119,TV,i.showTotalsInBits))," ",Tu(47,74,"vpn.status-page.total-data-label")," "),Kr(3),ss("matTooltip",Tu(49,76,"vpn.status-page.download-info")),Kr(3),ss("animated",!1)("data",i.receivedHistory)("min",i.minDownloadInGraph)("max",i.maxDownloadInGraph),Kr(4),sl(" ",Pu(56,78,i.maxDownloadInGraph,Su(121,DV,i.showSpeedsInBits))," "),Kr(2),Ws("margin-top: "+i.graphsTopInternalMargin+"px;"),Kr(4),sl(" ",Pu(62,81,i.midDownloadInGraph,Su(123,DV,i.showSpeedsInBits))," "),Kr(2),Ws("margin-top: "+i.graphsTopInternalMargin/2+"px;"),Kr(4),sl(" ",Pu(68,84,i.minDownloadInGraph,Su(125,DV,i.showSpeedsInBits))," "),Kr(3),ss("inline",!0),Kr(3),ol(Pu(74,87,i.downloadSpeed,Su(127,LV,i.showSpeedsInBits))),Kr(3),ll(" ",Pu(77,90,i.totalDownloaded,Su(129,TV,i.showTotalsInBits))," ",Tu(78,93,"vpn.status-page.total-data-label")," "),Kr(4),ss("matTooltip",Tu(81,95,"vpn.status-page.latency-info")),Kr(3),ss("animated",!1)("data",i.latencyHistory)("min",i.minLatencyInGraph)("max",i.maxLatencyInGraph),Kr(4),sl(" ",Pu(88,97,"common."+i.getLatencyValueString(i.maxLatencyInGraph),Su(131,PV,i.getPrintableLatency(i.maxLatencyInGraph)))," "),Kr(2),Ws("margin-top: "+i.graphsTopInternalMargin+"px;"),Kr(4),sl(" ",Pu(94,100,"common."+i.getLatencyValueString(i.midLatencyInGraph),Su(133,PV,i.getPrintableLatency(i.midLatencyInGraph)))," "),Kr(2),Ws("margin-top: "+i.graphsTopInternalMargin/2+"px;"),Kr(4),sl(" ",Pu(100,103,"common."+i.getLatencyValueString(i.minLatencyInGraph),Su(135,PV,i.getPrintableLatency(i.minLatencyInGraph)))," "),Kr(3),ss("inline",!0),Kr(3),ol(Pu(106,106,"common."+i.getLatencyValueString(i.latency),Su(137,PV,i.getPrintableLatency(i.latency)))),Kr(2),ss("ngClass",Su(139,SV,i.showBusy)),Kr(3),ss("ngIf",i.showBusy),Kr(1),ss("ngIf",!i.showBusy),Kr(2),ol(Tu(114,109,"vpn.status-page.disconnect"))}}function EV(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms(3);Kr(1),ol(n.currentIp)}}function IV(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"common.unknown")))}function AV(t,e){1&t&&ds(0,"mat-spinner",31),2&t&&ss("diameter",20)}function YV(t,e){1&t&&(us(0,"mat-icon",76),Lu(1,"translate"),al(2,"warning"),cs()),2&t&&ss("inline",!0)("matTooltip",Tu(1,2,"vpn.status-page.data.ip-problem-info"))}function FV(t,e){if(1&t){var n=ms();us(0,"mat-icon",77),_s("click",(function(){return Dn(n),Ms(3).getIp()})),Lu(1,"translate"),al(2,"refresh"),cs()}2&t&&ss("inline",!0)("matTooltip",Tu(1,2,"vpn.status-page.data.ip-refresh-info"))}function RV(t,e){if(1&t&&(us(0,"div",73),is(1,EV,2,1,"ng-container",18),is(2,IV,3,3,"ng-container",18),is(3,AV,1,1,"mat-spinner",27),is(4,YV,3,4,"mat-icon",74),is(5,FV,3,4,"mat-icon",75),cs()),2&t){var n=Ms(2);Kr(1),ss("ngIf",n.currentIp),Kr(1),ss("ngIf",!n.currentIp&&!n.loadingCurrentIp),Kr(1),ss("ngIf",n.loadingCurrentIp),Kr(1),ss("ngIf",n.problemGettingIp),Kr(1),ss("ngIf",!n.loadingCurrentIp)}}function NV(t,e){1&t&&(us(0,"div",73),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),sl(" ",Tu(2,1,"vpn.status-page.data.unavailable")," "))}function HV(t,e){if(1&t&&(hs(0),al(1),fs()),2&t){var n=Ms(3);Kr(1),ol(n.ipCountry)}}function jV(t,e){1&t&&(hs(0),al(1),Lu(2,"translate"),fs()),2&t&&(Kr(1),ol(Tu(2,1,"common.unknown")))}function BV(t,e){1&t&&ds(0,"mat-spinner",31),2&t&&ss("diameter",20)}function VV(t,e){1&t&&(us(0,"mat-icon",76),Lu(1,"translate"),al(2,"warning"),cs()),2&t&&ss("inline",!0)("matTooltip",Tu(1,2,"vpn.status-page.data.ip-country-problem-info"))}function zV(t,e){if(1&t&&(us(0,"div",73),is(1,HV,2,1,"ng-container",18),is(2,jV,3,3,"ng-container",18),is(3,BV,1,1,"mat-spinner",27),is(4,VV,3,4,"mat-icon",74),cs()),2&t){var n=Ms(2);Kr(1),ss("ngIf",n.ipCountry),Kr(1),ss("ngIf",!n.ipCountry&&!n.loadingIpCountry),Kr(1),ss("ngIf",n.loadingIpCountry),Kr(1),ss("ngIf",n.problemGettingIpCountry)}}function WV(t,e){1&t&&(us(0,"div",73),al(1),Lu(2,"translate"),cs()),2&t&&(Kr(1),sl(" ",Tu(2,1,"vpn.status-page.data.unavailable")," "))}function UV(t,e){if(1&t){var n=ms();us(0,"div"),us(1,"div",13),al(2),Lu(3,"translate"),cs(),us(4,"div",73),ds(5,"app-vpn-server-name",78),us(6,"mat-icon",77),_s("click",(function(){return Dn(n),Ms(2).openServerOptions()})),Lu(7,"translate"),al(8,"settings"),cs(),cs(),cs()}if(2&t){var i=Ms(2);Kr(2),ol(Tu(3,9,"vpn.status-page.data.server")),Kr(3),ss("isFavorite",i.currentRemoteServer.flag===i.serverFlags.Favorite)("isBlocked",i.currentRemoteServer.flag===i.serverFlags.Blocked)("hasPassword",i.currentRemoteServer.usedWithPassword)("adjustIconsForBigText",!0)("name",i.currentRemoteServer.name)("customName",i.currentRemoteServer.customName),Kr(1),ss("inline",!0)("matTooltip",Tu(7,11,"vpn.server-options.tooltip"))}}function qV(t,e){1&t&&ds(0,"div",15)}function GV(t,e){if(1&t&&(us(0,"div"),us(1,"div",13),al(2),Lu(3,"translate"),cs(),us(4,"div",20),al(5),cs(),cs()),2&t){var n=Ms(2);Kr(2),ol(Tu(3,2,"vpn.status-page.data.server-note")),Kr(3),sl(" ",n.currentRemoteServer.personalNote," ")}}function KV(t,e){1&t&&ds(0,"div",15)}function JV(t,e){if(1&t&&(us(0,"div"),us(1,"div",13),al(2),Lu(3,"translate"),cs(),us(4,"div",20),al(5),cs(),cs()),2&t){var n=Ms(2);Kr(2),ol(Tu(3,2,"vpn.status-page.data."+(n.currentRemoteServer.personalNote?"original-":"")+"server-note")),Kr(3),sl(" ",n.currentRemoteServer.note," ")}}function ZV(t,e){1&t&&ds(0,"div",15)}function $V(t,e){if(1&t&&(us(0,"div"),us(1,"div",13),al(2),Lu(3,"translate"),cs(),us(4,"div",20),ds(5,"app-copy-to-clipboard-text",21),cs(),cs()),2&t){var n=Ms(2);Kr(2),ol(Tu(3,2,"vpn.status-page.data.remote-pk")),Kr(3),ss("text",n.currentRemoteServer.pk)}}function QV(t,e){1&t&&ds(0,"div",15)}function XV(t,e){if(1&t&&(us(0,"div",4),us(1,"div",5),us(2,"div",6),ds(3,"app-top-bar",3),cs(),cs(),us(4,"div",7),is(5,MV,18,11,"div",8),is(6,OV,115,141,"div",9),us(7,"div",10),us(8,"div",11),us(9,"div",12),us(10,"div"),us(11,"div",13),al(12),Lu(13,"translate"),cs(),is(14,RV,6,5,"div",14),is(15,NV,3,3,"div",14),cs(),ds(16,"div",15),us(17,"div"),us(18,"div",13),al(19),Lu(20,"translate"),cs(),is(21,zV,5,4,"div",14),is(22,WV,3,3,"div",14),cs(),ds(23,"div",16),ds(24,"div",17),ds(25,"div",16),is(26,UV,9,13,"div",18),is(27,qV,1,0,"div",19),is(28,GV,6,4,"div",18),is(29,KV,1,0,"div",19),is(30,JV,6,4,"div",18),is(31,ZV,1,0,"div",19),is(32,$V,6,4,"div",18),is(33,QV,1,0,"div",19),us(34,"div"),us(35,"div",13),al(36),Lu(37,"translate"),cs(),us(38,"div",20),ds(39,"app-copy-to-clipboard-text",21),cs(),cs(),cs(),cs(),cs(),cs(),cs()),2&t){var n=Ms();Kr(3),ss("titleParts",wu(29,mV))("tabsData",n.tabsData)("selectedTabIndex",0)("showUpdateButton",!1)("localVpnKey",n.currentLocalPk),Kr(2),ss("ngIf",!n.showStarted),Kr(1),ss("ngIf",n.showStarted),Kr(6),ol(Tu(13,23,"vpn.status-page.data.ip")),Kr(2),ss("ngIf",n.ipInfoAllowed),Kr(1),ss("ngIf",!n.ipInfoAllowed),Kr(4),ol(Tu(20,25,"vpn.status-page.data.country")),Kr(2),ss("ngIf",n.ipInfoAllowed),Kr(1),ss("ngIf",!n.ipInfoAllowed),Kr(4),ss("ngIf",n.showStarted&&n.currentRemoteServer),Kr(1),ss("ngIf",n.showStarted&&n.currentRemoteServer),Kr(1),ss("ngIf",n.showStarted&&n.currentRemoteServer&&n.currentRemoteServer.personalNote),Kr(1),ss("ngIf",n.showStarted&&n.currentRemoteServer&&n.currentRemoteServer.personalNote),Kr(1),ss("ngIf",n.showStarted&&n.currentRemoteServer&&n.currentRemoteServer.note),Kr(1),ss("ngIf",n.showStarted&&n.currentRemoteServer&&n.currentRemoteServer.note),Kr(1),ss("ngIf",n.showStarted&&n.currentRemoteServer),Kr(1),ss("ngIf",n.showStarted&&n.currentRemoteServer),Kr(3),ol(Tu(37,27,"vpn.status-page.data.local-pk")),Kr(3),ss("text",n.currentLocalPk)}}var tz=function(){function t(t,e,n,i,r,a,o){this.vpnClientService=t,this.vpnSavedDataService=e,this.snackbarService=n,this.translateService=i,this.route=r,this.dialog=a,this.router=o,this.tabsData=_E.vpnTabsData,this.sentHistory=[0,0,0,0,0,0,0,0,0,0],this.receivedHistory=[0,0,0,0,0,0,0,0,0,0],this.latencyHistory=[0,0,0,0,0,0,0,0,0,0],this.minUploadInGraph=0,this.midUploadInGraph=0,this.maxUploadInGraph=0,this.minDownloadInGraph=0,this.midDownloadInGraph=0,this.maxDownloadInGraph=0,this.minLatencyInGraph=0,this.midLatencyInGraph=0,this.maxLatencyInGraph=0,this.graphsTopInternalMargin=Sj.topInternalMargin,this.uploadSpeed=0,this.downloadSpeed=0,this.totalUploaded=0,this.totalDownloaded=0,this.latency=0,this.showSpeedsInBits=!0,this.showTotalsInBits=!1,this.loading=!0,this.showStartedLastValue=!1,this.showStarted=!1,this.lastAppState=null,this.showBusy=!1,this.loadingCurrentIp=!0,this.loadingIpCountry=!0,this.problemGettingIp=!1,this.problemGettingIpCountry=!1,this.lastIpRefresDate=0,this.serverFlags=rE,this.ipInfoAllowed=this.vpnSavedDataService.getCheckIpSetting();var s=this.vpnSavedDataService.getDataUnitsSetting();s===aE.OnlyBits?(this.showSpeedsInBits=!0,this.showTotalsInBits=!0):s===aE.OnlyBytes?(this.showSpeedsInBits=!1,this.showTotalsInBits=!1):(this.showSpeedsInBits=!0,this.showTotalsInBits=!1)}return t.prototype.ngOnInit=function(){var t=this;this.navigationsSubscription=this.route.paramMap.subscribe((function(e){e.has("key")&&(t.currentLocalPk=e.get("key"),_E.changeCurrentPk(t.currentLocalPk),t.tabsData=_E.vpnTabsData),setTimeout((function(){return t.navigationsSubscription.unsubscribe()})),t.dataSubscription=t.vpnClientService.backendState.subscribe((function(e){if(e&&e.serviceState!==dE.PerformingInitialCheck){if(t.backendState=e,t.lastAppState!==e.vpnClientAppData.appState&&(e.vpnClientAppData.appState!==sE.Running&&e.vpnClientAppData.appState!==sE.Stopped||t.getIp(!0)),t.showStarted=e.vpnClientAppData.running,t.showStartedLastValue!==t.showStarted){for(var n=0;n<10;n++)t.receivedHistory[n]=0,t.sentHistory[n]=0,t.latencyHistory[n]=0;t.updateGraphLimits(),t.uploadSpeed=0,t.downloadSpeed=0,t.totalUploaded=0,t.totalDownloaded=0,t.latency=0}if(t.lastAppState=e.vpnClientAppData.appState,t.showStartedLastValue=t.showStarted,t.showBusy=e.busy,e.vpnClientAppData.connectionData){for(n=0;n<10;n++)t.receivedHistory[n]=e.vpnClientAppData.connectionData.downloadSpeedHistory[n],t.sentHistory[n]=e.vpnClientAppData.connectionData.uploadSpeedHistory[n],t.latencyHistory[n]=e.vpnClientAppData.connectionData.latencyHistory[n];t.updateGraphLimits(),t.uploadSpeed=e.vpnClientAppData.connectionData.uploadSpeed,t.downloadSpeed=e.vpnClientAppData.connectionData.downloadSpeed,t.totalUploaded=e.vpnClientAppData.connectionData.totalUploaded,t.totalDownloaded=e.vpnClientAppData.connectionData.totalDownloaded,t.latency=e.vpnClientAppData.connectionData.latency}t.loading=!1}})),t.currentRemoteServerSubscription=t.vpnSavedDataService.currentServerObservable.subscribe((function(e){t.currentRemoteServer=e}))})),this.getIp(!0)},t.prototype.ngOnDestroy=function(){this.dataSubscription.unsubscribe(),this.navigationsSubscription.unsubscribe(),this.currentRemoteServerSubscription.unsubscribe(),this.closeOperationSubscription(),this.ipSubscription&&this.ipSubscription.unsubscribe()},t.prototype.start=function(){var t=this;if(!this.currentRemoteServer)return this.router.navigate(["vpn",this.currentLocalPk,"servers"]),void setTimeout((function(){return t.snackbarService.showWarning("vpn.status-page.select-server-warning")}),100);this.currentRemoteServer.flag!==rE.Blocked?(this.showBusy=!0,this.vpnClientService.start()):this.snackbarService.showError("vpn.starting-blocked-server-error")},t.prototype.stop=function(){var t=this;if(this.backendState.vpnClientAppData.killswitch){var e=DP.createConfirmationDialog(this.dialog,"vpn.status-page.disconnect-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.closeModal(),t.finishStoppingVpn()}))}else this.finishStoppingVpn()},t.prototype.finishStoppingVpn=function(){this.showBusy=!0,this.vpnClientService.stop()},t.prototype.openServerOptions=function(){_E.openServerOptions(this.currentRemoteServer,this.router,this.vpnSavedDataService,this.vpnClientService,this.snackbarService,this.dialog).subscribe()},t.prototype.getCountryName=function(t){return YR[t.toUpperCase()]?YR[t.toUpperCase()]:t},t.prototype.getNoteVar=function(){return this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?"vpn.server-list.notes-info":!this.currentRemoteServer.note&&this.currentRemoteServer.personalNote?this.currentRemoteServer.personalNote:this.currentRemoteServer.note},t.prototype.getLatencyValueString=function(t){return _E.getLatencyValueString(t)},t.prototype.getPrintableLatency=function(t){return _E.getPrintableLatency(t)},Object.defineProperty(t.prototype,"currentStateText",{get:function(){return this.backendState.vpnClientAppData.appState===sE.Stopped?"vpn.connection-info.state-disconnected":this.backendState.vpnClientAppData.appState===sE.Connecting?"vpn.connection-info.state-connecting":this.backendState.vpnClientAppData.appState===sE.Running?"vpn.connection-info.state-connected":this.backendState.vpnClientAppData.appState===sE.ShuttingDown?"vpn.connection-info.state-disconnecting":this.backendState.vpnClientAppData.appState===sE.Reconnecting?"vpn.connection-info.state-reconnecting":void 0},enumerable:!1,configurable:!0}),t.prototype.closeOperationSubscription=function(){this.operationSubscription&&this.operationSubscription.unsubscribe()},t.prototype.updateGraphLimits=function(){var t=this.calculateGraphLimits(this.sentHistory);this.minUploadInGraph=t[0],this.midUploadInGraph=t[1],this.maxUploadInGraph=t[2];var e=this.calculateGraphLimits(this.receivedHistory);this.minDownloadInGraph=e[0],this.midDownloadInGraph=e[1],this.maxDownloadInGraph=e[2];var n=this.calculateGraphLimits(this.latencyHistory);this.minLatencyInGraph=n[0],this.midLatencyInGraph=n[1],this.maxLatencyInGraph=n[2]},t.prototype.calculateGraphLimits=function(t){var e=0;return t.forEach((function(t){t>e&&(e=t)})),0===e&&(e+=1),[0,new lP.a(e).minus(0).dividedBy(2).plus(0).decimalPlaces(1).toNumber(),e]},t.prototype.getIp=function(t){var e=this;if(void 0===t&&(t=!1),this.ipInfoAllowed){if(!t){if(this.loadingCurrentIp||this.loadingIpCountry)return void this.snackbarService.showWarning("vpn.status-page.data.ip-refresh-loading-warning");if(Date.now()-this.lastIpRefresDate<1e4){var n=Math.ceil((1e4-(Date.now()-this.lastIpRefresDate))/1e3);return void this.snackbarService.showWarning(this.translateService.instant("vpn.status-page.data.ip-refresh-time-warning",{seconds:n}))}}this.ipSubscription&&this.ipSubscription.unsubscribe(),this.loadingCurrentIp=!0,this.loadingIpCountry=!0,this.previousIp=this.currentIp,this.ipSubscription=this.vpnClientService.getIp().subscribe((function(t){e.loadingCurrentIp=!1,e.lastIpRefresDate=Date.now(),t?(e.problemGettingIp=!1,e.currentIp=t,e.previousIp!==e.currentIp||e.problemGettingIpCountry?e.getIpCountry():e.loadingIpCountry=!1):(e.problemGettingIp=!0,e.problemGettingIpCountry=!0,e.loadingIpCountry=!1)}),(function(){e.lastIpRefresDate=Date.now(),e.loadingCurrentIp=!1,e.loadingIpCountry=!1,e.problemGettingIp=!1,e.problemGettingIpCountry=!0}))}},t.prototype.getIpCountry=function(){var t=this;this.ipInfoAllowed&&(this.ipSubscription&&this.ipSubscription.unsubscribe(),this.loadingIpCountry=!0,this.ipSubscription=this.vpnClientService.getIpCountry(this.currentIp).subscribe((function(e){t.loadingIpCountry=!1,t.lastIpRefresDate=Date.now(),e?(t.problemGettingIpCountry=!1,t.ipCountry=e):t.problemGettingIpCountry=!0}),(function(){t.lastIpRefresDate=Date.now(),t.loadingIpCountry=!1,t.problemGettingIpCountry=!0})))},t.\u0275fac=function(e){return new(e||t)(as(fE),as(oE),as(CC),as(fC),as(W_),as(BC),as(cb))},t.\u0275cmp=Fe({type:t,selectors:[["app-vpn-status"]],decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","general-container",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],[1,"general-container"],[1,"row"],[1,"col-12"],[1,"row","flex-1"],["class","col-7 column left-area",4,"ngIf"],["class","col-7 column left-area-connected",4,"ngIf"],[1,"col-5","column","right-area"],[1,"column-container"],[1,"content-area"],[1,"title"],["class","big-text",4,"ngIf"],[1,"margin"],[1,"big-margin"],[1,"separator"],[4,"ngIf"],["class","margin",4,"ngIf"],[1,"small-text"],[3,"text"],[1,"col-7","column","left-area"],[1,"start-button",3,"ngClass","click"],[1,"start-button-img-container"],[1,"start-button-img"],[1,"start-button-img","animated-button"],[3,"diameter",4,"ngIf"],[3,"inline",4,"ngIf"],[1,"current-server"],["class","current-server-note",4,"ngIf"],[3,"diameter"],[3,"inline"],[1,"flag"],[3,"matTooltip"],[1,"text-container"],[1,"top-line"],["defaultName","vpn.status-page.entered-manually",3,"isFavorite","isBlocked","hasPassword","name","customName"],[1,"bottom-line"],[3,"shortSimple","text"],[1,"icon-button-separator"],[1,"icon-button"],[1,"transparent-button","vpn-small-button",3,"inline","matTooltip","click"],[1,"none"],[1,"current-server-note"],[1,"col-7","column","left-area-connected"],[1,"time-container"],[1,"time-content"],[1,"state-title"],[1,"state-text"],[1,"state-explanation"],[1,"data-container"],[1,"rounded-elevated-box","data-box","big-box",3,"matTooltip"],[1,"chart-container"],["height","140","color","#00000080",3,"animated","data","min","max"],[1,"chart-label"],[1,"label-container","label-top"],[1,"label"],[1,"line"],[1,"label-container","label-mid"],[1,"label-container","label-bottom"],[1,"content"],[1,"upload",3,"inline"],[1,"speed"],[1,"total"],[1,"chart-label","top-chart-label"],[1,"download",3,"inline"],[1,"latency-container"],[1,"rounded-elevated-box","data-box","small-box",3,"matTooltip"],["height","50","color","#00000080",3,"animated","data","min","max"],[1,"disconnect-button",3,"ngClass","click"],[1,"disconnect-button-container"],[1,"d-inline-flex"],[1,"big-text"],["class","small-icon blinking",3,"inline","matTooltip",4,"ngIf"],["class","big-icon transparent-button vpn-small-button",3,"inline","matTooltip","click",4,"ngIf"],[1,"small-icon","blinking",3,"inline","matTooltip"],[1,"big-icon","transparent-button","vpn-small-button",3,"inline","matTooltip","click"],["defaultName","vpn.status-page.entered-manually",3,"isFavorite","isBlocked","hasPassword","adjustIconsForBigText","name","customName"]],template:function(t,e){1&t&&(is(0,gV,4,6,"div",0),is(1,XV,40,30,"div",1)),2&t&&(ss("ngIf",e.loading),Kr(1),ss("ngIf",!e.loading))},directives:[Sh,OI,yx,bj,_h,gx,qM,zL,pV,Sj],pipes:[mC,QE],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important}.font-sm[_ngcontent-%COMP%], .font-smaller[_ngcontent-%COMP%]{font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%], .single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}.general-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.column[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center;padding-top:40px;padding-bottom:20px}.column[_ngcontent-%COMP%] .column-container[_ngcontent-%COMP%]{width:100%;text-align:center}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%]{background:rgba(0,0,0,.7);border-radius:100px;font-size:.8rem;padding:8px 15px;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%]{color:#bbb}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px}.left-area-connected[_ngcontent-%COMP%] .time-container[_ngcontent-%COMP%] .time-content[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{vertical-align:top}.left-area-connected[_ngcontent-%COMP%] .state-title[_ngcontent-%COMP%]{font-size:1rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .state-text[_ngcontent-%COMP%]{font-size:2rem;text-transform:uppercase}.left-area-connected[_ngcontent-%COMP%] .state-explanation[_ngcontent-%COMP%]{font-size:.7rem}.left-area-connected[_ngcontent-%COMP%] .data-container[_ngcontent-%COMP%]{margin-top:20px}.left-area-connected[_ngcontent-%COMP%] .latency-container[_ngcontent-%COMP%]{margin-bottom:20px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%]{cursor:default;display:inline-block}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{height:0;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%]{height:0;text-align:left}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{position:relative;top:-3px;left:-3px;display:flex;margin-right:-6px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .label[_ngcontent-%COMP%]{font-size:.6rem;margin-left:5px;opacity:.2}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%] .line[_ngcontent-%COMP%]{height:1px;width:10px;background-color:#fff;flex-grow:1;opacity:.1;margin-left:10px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-top[_ngcontent-%COMP%]{align-items:flex-start}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-mid[_ngcontent-%COMP%]{align-items:center}.left-area-connected[_ngcontent-%COMP%] .data-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-bottom[_ngcontent-%COMP%]{align-items:flex-end;position:relative;top:-6px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%]{width:170px;height:140px;margin:5px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:170px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{width:170px;height:140px;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:20px;position:relative;top:-3px;left:-3px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:25px;transform:rotate(-90deg);width:40px;height:40px}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .download[_ngcontent-%COMP%]{transform:rotate(-90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .upload[_ngcontent-%COMP%]{transform:rotate(90deg)}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .speed[_ngcontent-%COMP%]{font-size:.875rem}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .total[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.left-area-connected[_ngcontent-%COMP%] .big-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:140px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%]{width:352px;height:50px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-container[_ngcontent-%COMP%]{width:352px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:100%;font-size:.875rem;position:relative}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:18px;height:25px;margin-right:5px}.left-area-connected[_ngcontent-%COMP%] .small-box[_ngcontent-%COMP%] .chart-label[_ngcontent-%COMP%] .label-container[_ngcontent-%COMP%]{height:50px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]{background:linear-gradient(#940000,#7b0000) no-repeat!important;box-shadow:5px 5px 7px 0 rgba(0,0,0,.5);width:352px;font-size:24px;display:inline-block;border-radius:10px;overflow:hidden;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:hover{background:linear-gradient(#a10000,#900000) no-repeat!important}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%]:active{transform:scale(.98);box-shadow:0 0 7px 0 rgba(0,0,0,.5)}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%]{background-image:url(/assets/img/background-pattern.png);padding:12px}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;position:relative;top:4px;margin-right:10px;align-self:center}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area-connected[_ngcontent-%COMP%] .disconnect-button[_ngcontent-%COMP%] .disconnect-button-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{position:relative;top:-2px;line-height:1.7}.left-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700;text-align:center;text-transform:uppercase}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]{text-align:center;margin:10px 0;cursor:pointer;display:inline-block;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:active mat-icon[_ngcontent-%COMP%]{transform:scale(.9)}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover .start-button-img-container[_ngcontent-%COMP%]{opacity:1}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%]:hover mat-icon[_ngcontent-%COMP%]{text-shadow:0 0 5px #fff}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%]{width:0;height:0;opacity:.7}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .start-button-img[_ngcontent-%COMP%]{display:inline-block;background-image:url(/assets/img/start-button.png);background-size:contain;width:140px;height:140px}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .start-button-img-container[_ngcontent-%COMP%] .animated-button[_ngcontent-%COMP%]{-webkit-animation:button-animation 4s linear infinite;animation:button-animation 4s linear infinite;pointer-events:none}@-webkit-keyframes button-animation{0%{transform:scale(1.5);opacity:0}25%{transform:scale(1);opacity:.8}50%{transform:scale(1.5);opacity:0}to{transform:scale(1.5);opacity:0}}@keyframes button-animation{0%{transform:scale(1.5);opacity:0}25%{transform:scale(1);opacity:.8}50%{transform:scale(1.5);opacity:0}to{transform:scale(1.5);opacity:0}}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{line-height:140px;font-size:50px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-shadow:0 0 2px #fff}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%]{display:inline-block;margin-top:50px;opacity:.5}.left-area[_ngcontent-%COMP%] .start-button[_ngcontent-%COMP%] .mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%]{display:inline-flex;background:rgba(0,0,0,.7);border-radius:10px;padding:10px 15px;max-width:280px;text-align:left}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .none[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%]{background-image:url(/assets/img/big-flags/unknown.png);align-self:center;flex-shrink:0;margin-right:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%], .left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .flag[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:20px;height:15px;background-size:contain}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{overflow:hidden}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .top-line[_ngcontent-%COMP%]{font-size:.875rem}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .bottom-line[_ngcontent-%COMP%]{font-size:.7rem;color:#bbb}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%]{display:flex;align-items:center}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button-separator[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{width:1px;height:30px;background:hsla(0,0%,100%,.15);margin-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%]{font-size:22px;line-height:1;display:flex;align-items:center;padding-left:12px}.left-area[_ngcontent-%COMP%] .current-server[_ngcontent-%COMP%] .icon-button[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{cursor:pointer}.left-area[_ngcontent-%COMP%] .current-server-note[_ngcontent-%COMP%]{display:inline-block;max-width:280px;margin-top:15px;font-size:.7rem;color:#bbb}.left-area[_ngcontent-%COMP%] .current-server-note[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:relative;top:1px;display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%]{background:rgba(61,103,162,.15);padding:30px;text-align:left;max-width:420px;opacity:.95}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:.8rem;color:#bbb}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%]{font-size:1.25rem}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .small-icon[_ngcontent-%COMP%]{color:#d48b05;opacity:.7;font-size:.875rem;cursor:default;margin-left:5px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-text[_ngcontent-%COMP%] .big-icon[_ngcontent-%COMP%]{font-size:1.125rem;margin-left:5px;position:relative;top:2px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .small-text[_ngcontent-%COMP%]{font-size:.7rem;margin-top:1px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .margin[_ngcontent-%COMP%]{height:12px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .big-margin[_ngcontent-%COMP%]{height:15px}.right-area[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{height:1px;width:100%;background:hsla(0,0%,100%,.15)}.disabled-button[_ngcontent-%COMP%]{opacity:.5;pointer-events:none}"]}),t}(),ez=function(){function t(t){this.router=t}return Object.defineProperty(t.prototype,"lastError",{set:function(t){this.lastErrorInternal=t},enumerable:!1,configurable:!0}),t.prototype.canActivate=function(t,e){return this.checkIfCanActivate()},t.prototype.canActivateChild=function(t,e){return this.checkIfCanActivate()},t.prototype.checkIfCanActivate=function(){return this.lastErrorInternal?(this.router.navigate(["vpn","unavailable"],{queryParams:{problem:this.lastErrorInternal}}),mg(!1)):mg(!0)},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)(ge(cb))},providedIn:"root"}),t}(),nz=function(t){return t.UnableToConnectWithTheVpnClientApp="unavailable",t.NoLocalVisorPkProvided="pk",t.InvalidStorageState="storage",t.LocalVisorPkChangedDuringUsage="pkChange",t}({}),iz=function(){function t(t,e,n){var i=this;this.route=t,this.vpnAuthGuardService=e,this.vpnClientService=n,this.problem=null,this.navigationsSubscription=this.route.queryParamMap.subscribe((function(t){i.problem=t.get("problem"),i.problem||(i.problem=nz.UnableToConnectWithTheVpnClientApp),i.vpnAuthGuardService.lastError=i.problem,i.vpnClientService.stopContinuallyUpdatingData(),setTimeout((function(){return i.navigationsSubscription.unsubscribe()}))}))}return t.prototype.getTitle=function(){return this.problem===nz.NoLocalVisorPkProvided?"vpn.error-page.text-pk":this.problem===nz.InvalidStorageState?"vpn.error-page.text-storage":this.problem===nz.LocalVisorPkChangedDuringUsage?"vpn.error-page.text-pk-change":"vpn.error-page.text"},t.prototype.getInfo=function(){return this.problem===nz.NoLocalVisorPkProvided?"vpn.error-page.more-info-pk":this.problem===nz.InvalidStorageState?"vpn.error-page.more-info-storage":this.problem===nz.LocalVisorPkChangedDuringUsage?"vpn.error-page.more-info-pk-change":"vpn.error-page.more-info"},t.\u0275fac=function(e){return new(e||t)(as(W_),as(ez),as(fE))},t.\u0275cmp=Fe({type:t,selectors:[["app-vpn-error"]],decls:12,vars:7,consts:[[1,"main-container"],[1,"text-container"],[1,"inner-container"],[1,"error-icon"],[3,"inline"],[1,"more-info"]],template:function(t,e){1&t&&(us(0,"div",0),us(1,"div",1),us(2,"div",2),us(3,"div",3),us(4,"mat-icon",4),al(5,"error_outline"),cs(),cs(),us(6,"div"),al(7),Lu(8,"translate"),cs(),us(9,"div",5),al(10),Lu(11,"translate"),cs(),cs(),cs(),cs()),2&t&&(Kr(4),ss("inline",!0),Kr(3),ol(Tu(8,3,e.getTitle())),Kr(3),ol(Tu(11,5,e.getInfo())))},directives:[qM],pipes:[mC],styles:[".main-container[_ngcontent-%COMP%]{height:100%;display:flex}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{width:100%;align-self:center;text-align:center}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%]{max-width:550px;display:inline-block;font-size:1.25rem}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .error-icon[_ngcontent-%COMP%]{font-size:80px}.main-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] .inner-container[_ngcontent-%COMP%] .more-info[_ngcontent-%COMP%]{font-size:.8rem;opacity:.75;margin-top:10px}"]}),t}(),rz=["topBarLoading"],az=["topBarLoaded"],oz=function(){return["vpn.title"]};function sz(t,e){if(1&t&&(us(0,"div",2),us(1,"div"),ds(2,"app-top-bar",3,4),cs(),ds(4,"app-loading-indicator",5),cs()),2&t){var n=Ms();Kr(2),ss("titleParts",wu(5,oz))("tabsData",n.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",n.currentLocalPk)}}function lz(t,e){1&t&&ds(0,"mat-spinner",20),2&t&&ss("diameter",12)}function uz(t,e){if(1&t){var n=ms();us(0,"div",6),us(1,"div",7),ds(2,"app-top-bar",3,8),cs(),us(4,"div",9),us(5,"div",10),us(6,"div",11),us(7,"div",12),us(8,"table",13),us(9,"tr"),us(10,"th",14),us(11,"div",15),us(12,"div",16),al(13),Lu(14,"translate"),cs(),cs(),cs(),us(15,"th",14),al(16),Lu(17,"translate"),cs(),cs(),us(18,"tr",17),_s("click",(function(){return Dn(n),Ms().changeKillswitchOption()})),us(19,"td",14),us(20,"div"),al(21),Lu(22,"translate"),us(23,"mat-icon",18),Lu(24,"translate"),al(25,"help"),cs(),cs(),cs(),us(26,"td",14),ds(27,"span"),al(28),Lu(29,"translate"),is(30,lz,1,1,"mat-spinner",19),cs(),cs(),us(31,"tr",17),_s("click",(function(){return Dn(n),Ms().changeGetIpOption()})),us(32,"td",14),us(33,"div"),al(34),Lu(35,"translate"),us(36,"mat-icon",18),Lu(37,"translate"),al(38,"help"),cs(),cs(),cs(),us(39,"td",14),ds(40,"span"),al(41),Lu(42,"translate"),cs(),cs(),us(43,"tr",17),_s("click",(function(){return Dn(n),Ms().changeDataUnits()})),us(44,"td",14),us(45,"div"),al(46),Lu(47,"translate"),us(48,"mat-icon",18),Lu(49,"translate"),al(50,"help"),cs(),cs(),cs(),us(51,"td",14),al(52),Lu(53,"translate"),cs(),cs(),cs(),cs(),cs(),cs(),cs(),cs()}if(2&t){var i=Ms();Kr(2),ss("titleParts",wu(46,oz))("tabsData",i.tabsData)("selectedTabIndex",2)("showUpdateButton",!1)("localVpnKey",i.currentLocalPk),Kr(11),sl(" ",Tu(14,24,"vpn.settings-page.setting-small-table-label")," "),Kr(3),sl(" ",Tu(17,26,"vpn.settings-page.value-small-table-label")," "),Kr(5),sl(" ",Tu(22,28,"vpn.settings-page.killswitch")," "),Kr(2),ss("inline",!0)("matTooltip",Tu(24,30,"vpn.settings-page.killswitch-info")),Kr(4),qs(i.getStatusClass(i.backendData.vpnClientAppData.killswitch)),Kr(1),sl(" ",Tu(29,32,i.getStatusText(i.backendData.vpnClientAppData.killswitch))," "),Kr(2),ss("ngIf",i.working===i.workingOptions.Killswitch),Kr(4),sl(" ",Tu(35,34,"vpn.settings-page.get-ip")," "),Kr(2),ss("inline",!0)("matTooltip",Tu(37,36,"vpn.settings-page.get-ip-info")),Kr(4),qs(i.getStatusClass(i.getIpOption)),Kr(1),sl(" ",Tu(42,38,i.getStatusText(i.getIpOption))," "),Kr(5),sl(" ",Tu(47,40,"vpn.settings-page.data-units")," "),Kr(2),ss("inline",!0)("matTooltip",Tu(49,42,"vpn.settings-page.data-units-info")),Kr(4),sl(" ",Tu(53,44,i.getUnitsOptionText(i.dataUnitsOption))," ")}}var cz=function(t){return t[t.None=0]="None",t[t.Killswitch=1]="Killswitch",t}({}),dz=function(){function t(t,e,n,i,r,a){var o=this;this.vpnClientService=t,this.snackbarService=e,this.appsService=n,this.vpnSavedDataService=i,this.dialog=r,this.loading=!0,this.tabsData=_E.vpnTabsData,this.working=cz.None,this.workingOptions=cz,this.navigationsSubscription=a.paramMap.subscribe((function(t){t.has("key")&&(o.currentLocalPk=t.get("key"),_E.changeCurrentPk(o.currentLocalPk),o.tabsData=_E.vpnTabsData)})),this.dataSubscription=this.vpnClientService.backendState.subscribe((function(t){t&&t.serviceState!==dE.PerformingInitialCheck&&(o.backendData=t,o.loading=!1)})),this.getIpOption=this.vpnSavedDataService.getCheckIpSetting(),this.dataUnitsOption=this.vpnSavedDataService.getDataUnitsSetting()}return t.prototype.ngOnDestroy=function(){this.navigationsSubscription.unsubscribe(),this.dataSubscription.unsubscribe(),this.operationSubscription&&this.operationSubscription.unsubscribe()},t.prototype.getStatusClass=function(t){switch(t){case!0:return"dot-green";default:return"dot-red"}},t.prototype.getStatusText=function(t){switch(t){case!0:return"vpn.settings-page.setting-on";default:return"vpn.settings-page.setting-off"}},t.prototype.getUnitsOptionText=function(t){switch(t){case aE.OnlyBits:return"vpn.settings-page.data-units-modal.only-bits";case aE.OnlyBytes:return"vpn.settings-page.data-units-modal.only-bytes";default:return"vpn.settings-page.data-units-modal.bits-speed-and-bytes-volume"}},t.prototype.changeKillswitchOption=function(){var t=this;if(this.working===cz.None)if(this.backendData.vpnClientAppData.running){var e=DP.createConfirmationDialog(this.dialog,"vpn.settings-page.change-while-connected-confirmation");e.componentInstance.operationAccepted.subscribe((function(){e.componentInstance.closeModal(),t.finishChangingKillswitchOption()}))}else this.finishChangingKillswitchOption();else this.snackbarService.showWarning("vpn.settings-page.working-warning")},t.prototype.finishChangingKillswitchOption=function(){var t=this;this.working=cz.Killswitch,this.operationSubscription=this.appsService.changeAppSettings(this.currentLocalPk,this.vpnClientService.vpnClientAppName,{killswitch:!this.backendData.vpnClientAppData.killswitch}).subscribe((function(){t.working=cz.None,t.vpnClientService.updateData()}),(function(e){t.working=cz.None,e=MC(e),t.snackbarService.showError(e)}))},t.prototype.changeGetIpOption=function(){this.getIpOption=!this.getIpOption,this.vpnSavedDataService.setCheckIpSetting(this.getIpOption)},t.prototype.changeDataUnits=function(){var t=this,e=[],n=[];Object.keys(aE).forEach((function(i){var r={label:t.getUnitsOptionText(aE[i])};t.dataUnitsOption===aE[i]&&(r.icon="done"),e.push(r),n.push(aE[i])})),PP.openDialog(this.dialog,e,"vpn.settings-page.data-units-modal.title").afterClosed().subscribe((function(e){e&&(t.dataUnitsOption=n[e-1],t.vpnSavedDataService.setDataUnitsSetting(t.dataUnitsOption),t.topBarLoading&&t.topBarLoading.updateVpnDataStatsUnit(),t.topBarLoaded&&t.topBarLoaded.updateVpnDataStatsUnit())}))},t.\u0275fac=function(e){return new(e||t)(as(fE),as(CC),as(iE),as(oE),as(BC),as(W_))},t.\u0275cmp=Fe({type:t,selectors:[["app-vpn-settings-list"]],viewQuery:function(t,e){var n;1&t&&(qu(rz,!0),qu(az,!0)),2&t&&(Wu(n=$u())&&(e.topBarLoading=n.first),Wu(n=$u())&&(e.topBarLoaded=n.first))},decls:2,vars:2,consts:[["class","d-flex flex-column h-100 w-100",4,"ngIf"],["class","row",4,"ngIf"],[1,"d-flex","flex-column","h-100","w-100"],[3,"titleParts","tabsData","selectedTabIndex","showUpdateButton","localVpnKey"],["topBarLoading",""],[1,"h-100"],[1,"row"],[1,"col-12"],["topBarLoaded",""],[1,"col-12","mt-4.5","vpn-table-container"],[1,"width-limiter"],[1,"rounded-elevated-box"],[1,"box-internal-container"],["cellspacing","0","cellpadding","0",1,"responsive-table-translucid","d-none","d-md-table"],[1,"data-column"],[1,"header-container"],[1,"header-text"],[1,"selectable",3,"click"],[1,"help-icon",3,"inline","matTooltip"],[3,"diameter",4,"ngIf"],[3,"diameter"]],template:function(t,e){1&t&&(is(0,sz,5,6,"div",0),is(1,uz,54,47,"div",1)),2&t&&(ss("ngIf",e.loading),Kr(1),ss("ngIf",!e.loading))},directives:[Sh,OI,yx,qM,zL,gx],pipes:[mC],styles:["span[_ngcontent-%COMP%]{overflow-wrap:break-word}.font-sm[_ngcontent-%COMP%]{font-size:.875rem!important}.font-sm[_ngcontent-%COMP%], .font-smaller[_ngcontent-%COMP%]{font-weight:lighter!important}.font-smaller[_ngcontent-%COMP%]{font-size:.8rem!important}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.data-column[_ngcontent-%COMP%], .header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%], .single-line[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.green-text[_ngcontent-%COMP%]{color:#2ecc54}.green-clear-text[_ngcontent-%COMP%]{color:#84c826}.yellow-text[_ngcontent-%COMP%]{color:#d48b05}.yellow-clear-text[_ngcontent-%COMP%]{color:orange}.red-text[_ngcontent-%COMP%]{color:#da3439}.red-clear-text[_ngcontent-%COMP%]{color:#ff393f}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-top:7px!important;padding-bottom:7px!important;font-size:12px!important;font-weight:400!important}.data-column[_ngcontent-%COMP%]{max-width:0;width:50%}.header-container[_ngcontent-%COMP%]{max-width:100%;display:inline-flex}.header-container[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{flex-grow:1}mat-spinner[_ngcontent-%COMP%]{display:inline-block;opacity:.5;margin-left:2px;position:relative;top:2px}mat-spinner[_ngcontent-%COMP%] circle{stroke:#f8f9f9}"]}),t}(),hz=[{path:"",component:bx},{path:"login",component:eP},{path:"nodes",canActivate:[ax],canActivateChild:[ax],children:[{path:"",redirectTo:"list/1",pathMatch:"full"},{path:"list",redirectTo:"list/1",pathMatch:"full"},{path:"list/:page",component:NA},{path:"dmsg",redirectTo:"dmsg/1",pathMatch:"full"},{path:"dmsg/:page",component:NA},{path:":key",component:ZA,children:[{path:"",redirectTo:"routing",pathMatch:"full"},{path:"info",component:Yj},{path:"routing",component:SR},{path:"apps",component:aj},{path:"transports",redirectTo:"transports/1",pathMatch:"full"},{path:"transports/:page",component:sj},{path:"routes",redirectTo:"routes/1",pathMatch:"full"},{path:"routes/:page",component:uj},{path:"apps-list",redirectTo:"apps-list/1",pathMatch:"full"},{path:"apps-list/:page",component:dj}]}]},{path:"settings",canActivate:[ax],canActivateChild:[ax],children:[{path:"",component:KY},{path:"labels",redirectTo:"labels/1",pathMatch:"full"},{path:"labels/:page",component:Rj}]},{path:"vpn",canActivate:[ez],canActivateChild:[ez],children:[{path:"unavailable",component:iz},{path:":key",children:[{path:"status",component:tz},{path:"servers",redirectTo:"servers/public/1",pathMatch:"full"},{path:"servers/:type/:page",component:iV},{path:"settings",component:dz},{path:"**",redirectTo:"status"}]},{path:"**",redirectTo:"/vpn/unavailable?problem=pk"}]},{path:"**",redirectTo:""}],fz=function(){function t(){}return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},imports:[[Db.forRoot(hz,{useHash:!0})],Db]}),t}(),pz=function(){function t(){}return t.prototype.getTranslation=function(t){return ot(n("5ey7")("./"+t+".json"))},t}(),mz=function(){function t(){}return t.\u0275mod=Be({type:t}),t.\u0275inj=It({factory:function(e){return new(e||t)},imports:[[gC.forRoot({loader:{provide:JM,useClass:pz}})],gC]}),t}(),gz=function(){function t(){}return t.prototype.shouldDetach=function(t){return!1},t.prototype.store=function(t,e){},t.prototype.shouldAttach=function(t){return!1},t.prototype.retrieve=function(t){return null},t.prototype.shouldReuseRoute=function(t,e){return!1},t.\u0275prov=Et({token:t,factory:t.\u0275fac=function(e){return new(e||t)}}),t}(),vz={disabled:!0},_z=function(){function t(){}return t.\u0275mod=Be({type:t,bootstrap:[$C]}),t.\u0275inj=It({factory:function(e){return new(e||t)},providers:[OP,{provide:TM,useValue:{duration:3e3,verticalPosition:"top"}},{provide:NC,useValue:{width:"600px",hasBackdrop:!0}},{provide:OS,useClass:PS},{provide:Jy,useClass:gz},{provide:jS,useValue:vz}],imports:[[Nf,pg,yL,Qg,fz,mz,LM,KC,TT,VT,UN,dM,GM,UL,HE,_L,LO,fO,vx,fY]]}),t}();Re(ZA,[_h,yh,kh,Sh,Ih,Eh,Dh,Lh,Th,Ph,Oh,zD,oD,cD,xx,Gx,Qx,Sx,aD,uD,Zx,Ix,Ax,rL,cL,hL,pL,aL,lL,qD,KD,eL,ZD,QD,gb,hb,fb,mb,$y,pC,DM,Rk,IC,zC,WC,UC,qC,dT,LT,vT,_T,yT,kT,ST,ET,IT,BT,YT,IN,yN,SN,BN,WN,vN,uM,cM,qM,zL,WL,Bk,IE,DE,RE,ME,VD,HD,AD,xO,hO,dO,XS,KS,mx,gx,lY,cY,$C,bx,eP,NA,ZA,PR,YF,rj,bj,KY,JT,mj,FL,_P,LL,Sj,xj,wR,SR,aj,nF,BA,VF,QA,yx,$E,mY,sj,uj,dj,GI,OI,xP,iF,CR,kC,ZT,QT,tP,FP,Aj,Yj,PP,AR,DH,yO,WP,Rj,VY,XO,WY,NR,KR,ZR,pj,iV,tz,iz,Wj,dz,mE,pV,vE],[Nh,Vh,Hh,Gh,rf,$h,Qh,Bh,Xh,zh,Uh,qh,Jh,mC,QE]),Re(iV,[_h,yh,kh,Sh,Ih,Eh,Dh,Lh,Th,Ph,Oh,zD,oD,cD,xx,Gx,Qx,Sx,aD,uD,Zx,Ix,Ax,rL,cL,hL,pL,aL,lL,qD,KD,eL,ZD,QD,gb,hb,fb,mb,$y,pC,DM,Rk,IC,zC,WC,UC,qC,dT,LT,vT,_T,yT,kT,ST,ET,IT,BT,YT,IN,yN,SN,BN,WN,vN,uM,cM,qM,zL,WL,Bk,IE,DE,RE,ME,VD,HD,AD,xO,hO,dO,XS,KS,mx,gx,lY,cY,$C,bx,eP,NA,ZA,PR,YF,rj,bj,KY,JT,mj,FL,_P,LL,Sj,xj,wR,SR,aj,nF,BA,VF,QA,yx,$E,mY,sj,uj,dj,GI,OI,xP,iF,CR,kC,ZT,QT,tP,FP,Aj,Yj,PP,AR,DH,yO,WP,Rj,VY,XO,WY,NR,KR,ZR,pj,iV,tz,iz,Wj,dz,mE,pV,vE],[Nh,Vh,Hh,Gh,rf,$h,Qh,Bh,Xh,zh,Uh,qh,Jh,mC,QE]),function(){if(ir)throw new Error("Cannot enable prod mode after platform setup.");nr=!1}(),Ff().bootstrapModule(_z).catch((function(t){return console.log(t)}))},zx6S:function(t,e,n){!function(t){"use strict";var e={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(t,e){return 1===t?e[0]:t>=2&&t<=4?e[1]:e[2]},translate:function(t,n,i){var r=e.words[i];return 1===i.length?n?r[0]:r[1]:t+" "+e.correctGrammaticalCase(t,r)}};t.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:e.translate,m:e.translate,mm:e.translate,h:e.translate,hh:e.translate,d:"dan",dd:e.translate,M:"mesec",MM:e.translate,y:"godinu",yy:e.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,0]]]); \ No newline at end of file diff --git a/cmd/skywire-visor/static/polyfills-es5.0dd9564c0b13020b755a.js b/cmd/skywire-visor/static/polyfills-es5.0dd9564c0b13020b755a.js deleted file mode 100644 index c08870e623..0000000000 --- a/cmd/skywire-visor/static/polyfills-es5.0dd9564c0b13020b755a.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+5Eg":function(t,e,n){var r=n("wA6s"),o=n("6XUM"),i=n("M7Xk").onFreeze,a=n("cZY6"),c=n("rG8t"),u=Object.seal;r({target:"Object",stat:!0,forced:c((function(){u(1)})),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},"+IJR":function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},"+rLv":function(t,e,n){var r=n("dyZX").document;t.exports=r&&r.documentElement},"/AsP":function(t,e,n){var r=n("yIiL"),o=n("SDMg"),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},"/Ybd":function(t,e,n){var r=n("T69T"),o=n("XdSI"),i=n("F26l"),a=n("LdO1"),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"0/R4":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"0Ds2":function(t,e,n){var r=n("m41k")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(o){}}return!1}},"0TWp":function(t,e,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";!function(t){var e=t.performance;function n(t){e&&e.mark&&e.mark(t)}function r(t,n){e&&e.measure&&e.measure(t,n)}n("Zone");var o=t.__Zone_symbol_prefix||"__zone_symbol__";function i(t){return o+t}var a=!0===t[i("forceDuplicateZoneCheck")];if(t.Zone){if(a||"function"!=typeof t.Zone.__symbol__)throw new Error("Zone already loaded.");return t.Zone}var c=function(){function e(t,e){this._parent=t,this._name=e?e.name||"unnamed":"",this._properties=e&&e.properties||{},this._zoneDelegate=new f(this,this._parent&&this._parent._zoneDelegate,e)}return e.assertZonePatched=function(){if(t.Promise!==j.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")},Object.defineProperty(e,"root",{get:function(){for(var t=e.current;t.parent;)t=t.parent;return t},enumerable:!0,configurable:!0}),Object.defineProperty(e,"current",{get:function(){return P.zone},enumerable:!0,configurable:!0}),Object.defineProperty(e,"currentTask",{get:function(){return I},enumerable:!0,configurable:!0}),e.__load_patch=function(o,i){if(j.hasOwnProperty(o)){if(a)throw Error("Already loaded patch: "+o)}else if(!t["__Zone_disable_"+o]){var c="Zone:"+o;n(c),j[o]=i(t,e,M),r(c,c)}},Object.defineProperty(e.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0}),e.prototype.get=function(t){var e=this.getZoneWith(t);if(e)return e._properties[t]},e.prototype.getZoneWith=function(t){for(var e=this;e;){if(e._properties.hasOwnProperty(t))return e;e=e._parent}return null},e.prototype.fork=function(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)},e.prototype.wrap=function(t,e){if("function"!=typeof t)throw new Error("Expecting function got: "+t);var n=this._zoneDelegate.intercept(this,t,e),r=this;return function(){return r.runGuarded(n,this,arguments,e)}},e.prototype.run=function(t,e,n,r){P={parent:P,zone:this};try{return this._zoneDelegate.invoke(this,t,e,n,r)}finally{P=P.parent}},e.prototype.runGuarded=function(t,e,n,r){void 0===e&&(e=null),P={parent:P,zone:this};try{try{return this._zoneDelegate.invoke(this,t,e,n,r)}catch(o){if(this._zoneDelegate.handleError(this,o))throw o}}finally{P=P.parent}},e.prototype.runTask=function(t,e,n){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");if(t.state!==w||t.type!==A&&t.type!==T){var r=t.state!=E;r&&t._transitionTo(E,x),t.runCount++;var o=I;I=t,P={parent:P,zone:this};try{t.type==T&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,e,n)}catch(i){if(this._zoneDelegate.handleError(this,i))throw i}}finally{t.state!==w&&t.state!==S&&(t.type==A||t.data&&t.data.isPeriodic?r&&t._transitionTo(x,E):(t.runCount=0,this._updateTaskCount(t,-1),r&&t._transitionTo(w,E,w))),P=P.parent,I=o}}},e.prototype.scheduleTask=function(t){if(t.zone&&t.zone!==this)for(var e=this;e;){if(e===t.zone)throw Error("can not reschedule task to "+this.name+" which is descendants of the original zone "+t.zone.name);e=e.parent}t._transitionTo(k,w);var n=[];t._zoneDelegates=n,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(r){throw t._transitionTo(S,k,w),this._zoneDelegate.handleError(this,r),r}return t._zoneDelegates===n&&this._updateTaskCount(t,1),t.state==k&&t._transitionTo(x,k),t},e.prototype.scheduleMicroTask=function(t,e,n,r){return this.scheduleTask(new l(O,t,e,n,r,void 0))},e.prototype.scheduleMacroTask=function(t,e,n,r,o){return this.scheduleTask(new l(T,t,e,n,r,o))},e.prototype.scheduleEventTask=function(t,e,n,r,o){return this.scheduleTask(new l(A,t,e,n,r,o))},e.prototype.cancelTask=function(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||b).name+"; Execution: "+this.name+")");t._transitionTo(_,x,E);try{this._zoneDelegate.cancelTask(this,t)}catch(e){throw t._transitionTo(S,_),this._zoneDelegate.handleError(this,e),e}return this._updateTaskCount(t,-1),t._transitionTo(w,_),t.runCount=0,t},e.prototype._updateTaskCount=function(t,e){var n=t._zoneDelegates;-1==e&&(t._zoneDelegates=null);for(var r=0;r0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:t})},t}(),l=function(){function e(n,r,o,i,a,c){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=r,this.data=i,this.scheduleFn=a,this.cancelFn=c,!o)throw new Error("callback is not defined");this.callback=o;var u=this;this.invoke=n===A&&i&&i.useG?e.invokeTask:function(){return e.invokeTask.call(t,u,this,arguments)}}return e.invokeTask=function(t,e,n){t||(t=this),C++;try{return t.runCount++,t.zone.runTask(t,e,n)}finally{1==C&&m(),C--}},Object.defineProperty(e.prototype,"zone",{get:function(){return this._zone},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!0,configurable:!0}),e.prototype.cancelScheduleRequest=function(){this._transitionTo(w,k)},e.prototype._transitionTo=function(t,e,n){if(this._state!==e&&this._state!==n)throw new Error(this.type+" '"+this.source+"': can not transition to '"+t+"', expecting state '"+e+"'"+(n?" or '"+n+"'":"")+", was '"+this._state+"'.");this._state=t,t==w&&(this._zoneDelegates=null)},e.prototype.toString=function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)},e.prototype.toJSON=function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}},e}(),p=i("setTimeout"),h=i("Promise"),v=i("then"),d=[],g=!1;function y(e){if(0===C&&0===d.length)if(u||t[h]&&(u=t[h].resolve(0)),u){var n=u[v];n||(n=u.then),n.call(u,m)}else t[p](m,0);e&&d.push(e)}function m(){if(!g){for(g=!0;d.length;){var t=d;d=[];for(var e=0;e=0;n--)"function"==typeof t[n]&&(t[n]=u(t[n],e+"_"+n));return t}function g(t){return!t||!1!==t.writable&&!("function"==typeof t.get&&void 0===t.set)}var y="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,m=!("nw"in h)&&void 0!==h.process&&"[object process]"==={}.toString.call(h.process),b=!m&&!y&&!(!l||!p.HTMLElement),w=void 0!==h.process&&"[object process]"==={}.toString.call(h.process)&&!y&&!(!l||!p.HTMLElement),k={},x=function(t){if(t=t||h.event){var e=k[t.type];e||(e=k[t.type]=f("ON_PROPERTY"+t.type));var n,r=this||t.target||h,o=r[e];if(b&&r===p&&"error"===t.type){var i=t;!0===(n=o&&o.call(this,i.message,i.filename,i.lineno,i.colno,i.error))&&t.preventDefault()}else null==(n=o&&o.apply(this,arguments))||n||t.preventDefault();return n}};function E(n,r,o){var i=t(n,r);if(!i&&o&&t(o,r)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var a=f("on"+r+"patched");if(!n.hasOwnProperty(a)||!n[a]){delete i.writable,delete i.value;var c=i.get,u=i.set,s=r.substr(2),l=k[s];l||(l=k[s]=f("ON_PROPERTY"+s)),i.set=function(t){var e=this;e||n!==h||(e=h),e&&(e[l]&&e.removeEventListener(s,x),u&&u.apply(e,v),"function"==typeof t?(e[l]=t,e.addEventListener(s,x,!1)):e[l]=null)},i.get=function(){var t=this;if(t||n!==h||(t=h),!t)return null;var e=t[l];if(e)return e;if(c){var o=c&&c.call(this);if(o)return i.set.call(this,o),"function"==typeof t.removeAttribute&&t.removeAttribute(r),o}return null},e(n,r,i),n[a]=!0}}}function _(t,e,n){if(e)for(var r=0;r=0&&"function"==typeof r[i.cbIdx]?s(i.name,r[i.cbIdx],i,o):t.apply(e,r)}}))}function j(t,e){t[f("OriginalDelegate")]=e}var M=!1,P=!1;function I(){try{var t=p.navigator.userAgent;if(-1!==t.indexOf("MSIE ")||-1!==t.indexOf("Trident/"))return!0}catch(e){}return!1}function C(){if(M)return P;M=!0;try{var t=p.navigator.userAgent;-1===t.indexOf("MSIE ")&&-1===t.indexOf("Trident/")&&-1===t.indexOf("Edge/")||(P=!0)}catch(e){}return P}Zone.__load_patch("toString",(function(t){var e=Function.prototype.toString,n=f("OriginalDelegate"),r=f("Promise"),o=f("Error"),i=function(){if("function"==typeof this){var i=this[n];if(i)return"function"==typeof i?e.call(i):Object.prototype.toString.call(i);if(this===Promise){var a=t[r];if(a)return e.call(a)}if(this===Error){var c=t[o];if(c)return e.call(c)}}return e.call(this)};i[n]=e,Function.prototype.toString=i;var a=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":a.call(this)}}));var D=!1;if("undefined"!=typeof window)try{var R=Object.defineProperty({},"passive",{get:function(){D=!0}});window.addEventListener("test",R,R),window.removeEventListener("test",R,R)}catch(wt){D=!1}var N={useG:!0},L={},Z={},F=new RegExp("^"+c+"(\\w+)(true|false)$"),z=f("propagationStopped");function G(t,e){var n=(e?e(t):t)+"false",r=(e?e(t):t)+"true",o=c+n,i=c+r;L[t]={},L[t].false=o,L[t].true=i}function q(t,e,r){var o=r&&r.add||"addEventListener",i=r&&r.rm||"removeEventListener",a=r&&r.listeners||"eventListeners",u=r&&r.rmAll||"removeAllListeners",s=f(o),l="."+o+":",p=function(t,e,n){if(!t.isRemoved){var r=t.callback;"object"==typeof r&&r.handleEvent&&(t.callback=function(t){return r.handleEvent(t)},t.originalDelegate=r),t.invoke(t,e,[n]);var o=t.options;o&&"object"==typeof o&&o.once&&e[i].call(e,n.type,t.originalDelegate?t.originalDelegate:t.callback,o)}},h=function(e){if(e=e||t.event){var n=this||e.target||t,r=n[L[e.type].false];if(r)if(1===r.length)p(r[0],n,e);else for(var o=r.slice(),i=0;i1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach((function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}}))):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}Zone.__load_patch("util",(function(n,i,a){a.patchOnProperties=_,a.patchMethod=T,a.bindArguments=d,a.patchMacroTask=A;var s=i.__symbol__("BLACK_LISTED_EVENTS"),f=i.__symbol__("UNPATCHED_EVENTS");n[f]&&(n[s]=n[f]),n[s]&&(i[s]=i[f]=n[s]),a.patchEventPrototype=U,a.patchEventTarget=q,a.isIEOrEdge=C,a.ObjectDefineProperty=e,a.ObjectGetOwnPropertyDescriptor=t,a.ObjectCreate=r,a.ArraySlice=o,a.patchClass=O,a.wrapWithCurrentZone=u,a.filterProperties=ct,a.attachOriginToPatched=j,a._redefineProperty=Object.defineProperty,a.patchCallbacks=Y,a.getGlobalObjects=function(){return{globalSources:Z,zoneSymbolEventNames:L,eventNames:at,isBrowser:b,isMix:w,isNode:m,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:c,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"}}})),function(t){t[(t.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var e=t.Zone;e.__load_patch("defineProperty",(function(t,e,n){n._redefineProperty=lt,ft()})),e.__load_patch("registerElement",(function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)})),e.__load_patch("EventTargetLegacy",(function(t,e,n){dt(t,n),gt(n,t)}))}}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{});var yt=f("zoneTask");function mt(t,e,n,r){var o=null,i=null;n+=r;var a={};function c(e){var n=e.data;return n.args[0]=function(){try{e.invoke.apply(this,arguments)}finally{e.data&&e.data.isPeriodic||("number"==typeof n.handleId?delete a[n.handleId]:n.handleId&&(n.handleId[yt]=null))}},n.handleId=o.apply(t,n.args),e}function u(t){return i(t.data.handleId)}o=T(t,e+=r,(function(n){return function(o,i){if("function"==typeof i[0]){var f=s(e,i[0],{isPeriodic:"Interval"===r,delay:"Timeout"===r||"Interval"===r?i[1]||0:void 0,args:i},c,u);if(!f)return f;var l=f.data.handleId;return"number"==typeof l?a[l]=f:l&&(l[yt]=f),l&&l.ref&&l.unref&&"function"==typeof l.ref&&"function"==typeof l.unref&&(f.ref=l.ref.bind(l),f.unref=l.unref.bind(l)),"number"==typeof l||l?l:f}return n.apply(t,i)}})),i=T(t,n,(function(e){return function(n,r){var o,i=r[0];"number"==typeof i?o=a[i]:(o=i&&i[yt])||(o=i),o&&"string"==typeof o.type?"notScheduled"!==o.state&&(o.cancelFn&&o.data.isPeriodic||0===o.runCount)&&("number"==typeof i?delete a[i]:i&&(i[yt]=null),o.zone.cancelTask(o)):e.apply(t,r)}}))}function bt(t,e){if(!Zone[e.symbol("patchEventTarget")]){for(var n=e.getGlobalObjects(),r=n.eventNames,o=n.zoneSymbolEventNames,i=n.TRUE_STR,a=n.FALSE_STR,c=n.ZONE_SYMBOL_PREFIX,u=0;u0){var o=t.invoke;t.invoke=function(){for(var n=u[e.__symbol__("loadfalse")],i=0;i"+t+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var t,e;h=r?function(t){t.write(p("")),t.close();var e=t.parentWindow.Object;return t=null,e}(r):((e=s("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(p("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};c[f]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=o(t),n=new l,l.prototype=null,n[f]=t):n=h(),void 0===e?n:i(n,e)}},"3Lyj":function(t,e,n){var r=n("KroJ");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},"3caY":function(t,e,n){var r=n("wA6s"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},"3vMK":function(t,e,n){"use strict";var r=n("6XUM"),o=n("/Ybd"),i=n("wIVT"),a=n("m41k")("hasInstance"),c=Function.prototype;a in c||o.f(c,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},"3xQm":function(t,e,n){var r,o,i,a,c,u,s,f,l=n("ocAm"),p=n("7gGY").f,h=n("ezU2"),v=n("Ox9q").set,d=n("tuHh"),g=l.MutationObserver||l.WebKitMutationObserver,y=l.process,m=l.Promise,b="process"==h(y),w=p(l,"queueMicrotask"),k=w&&w.value;k||(r=function(){var t,e;for(b&&(t=y.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(n){throw o?a():i=void 0,n}}i=void 0,t&&t.enter()},b?a=function(){y.nextTick(r)}:g&&!d?(c=!0,u=document.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):m&&m.resolve?(s=m.resolve(void 0),f=s.then,a=function(){f.call(s,r)}):a=function(){v.call(l,r)}),t.exports=k||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},"45Tv":function(t,e,n){var r=n("N6cJ"),o=n("y3w9"),i=n("OP3Y"),a=r.has,c=r.get,u=r.key,s=function(t,e,n){if(a(t,e,n))return c(t,e,n);var r=i(e);return null!==r?s(t,r,n):void 0};r.exp({getMetadata:function(t,e){return s(t,o(e),arguments.length<3?void 0:u(arguments[2]))}})},"48xZ":function(t,e,n){var r=n("n/2t"),o=Math.abs,i=Math.pow,a=i(2,-52),c=i(2,-23),u=i(2,127)*(2-c),s=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),f=r(t);return iu||n!=n?f*(1/0):f*n}},"49D4":function(t,e,n){var r=n("N6cJ"),o=n("y3w9"),i=r.key,a=r.set;r.exp({defineMetadata:function(t,e,n,r){a(t,e,o(n),i(r))}})},"4GtL":function(t,e,n){"use strict";var r=n("VCQ8"),o=n("7Oj1"),i=n("xpLY"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n.length),u=o(t,c),s=o(e,c),f=arguments.length>2?arguments[2]:void 0,l=a((void 0===f?c:o(f,c))-s,c-u),p=1;for(s0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},"4Kt7":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("sub")},{sub:function(){return o(this,"sub","","")}})},"4LiD":function(t,e,n){"use strict";var r=n("dyZX"),o=n("XKFU"),i=n("KroJ"),a=n("3Lyj"),c=n("Z6vF"),u=n("SlkY"),s=n("9gX7"),f=n("0/R4"),l=n("eeVq"),p=n("XMVh"),h=n("fyDq"),v=n("Xbzi");t.exports=function(t,e,n,d,g,y){var m=r[t],b=m,w=g?"set":"add",k=b&&b.prototype,x={},E=function(t){var e=k[t];i(k,t,"delete"==t||"has"==t?function(t){return!(y&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return y&&!f(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof b&&(y||k.forEach&&!l((function(){(new b).entries().next()})))){var _=new b,S=_[w](y?{}:-0,1)!=_,O=l((function(){_.has(1)})),T=p((function(t){new b(t)})),A=!y&&l((function(){for(var t=new b,e=5;e--;)t[w](e,e);return!t.has(-0)}));T||((b=e((function(e,n){s(e,b,t);var r=v(new m,e,b);return null!=n&&u(n,g,r[w],r),r}))).prototype=k,k.constructor=b),(O||A)&&(E("delete"),E("has"),g&&E("get")),(A||S)&&E(w),y&&k.clear&&delete k.clear}else b=d.getConstructor(e,t,g,w),a(b.prototype,n),c.NEED=!0;return h(b,t),x[t]=b,o(o.G+o.W+o.F*(b!=m),x),y||d.setStrong(b,t,g),b}},"4NCC":function(t,e,n){var r=n("ocAm"),o=n("jnLS").trim,i=n("xFZC"),a=r.parseInt,c=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(c.test(n)?16:10))}:a},"4PyY":function(t,e,n){var r={};r[n("m41k")("toStringTag")]="z",t.exports="[object z]"===String(r)},"4R4u":function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"4axp":function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("blink")},{blink:function(){return o(this,"blink","","")}})},"5MmU":function(t,e,n){var r=n("m41k"),o=n("pz+c"),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},"5eAq":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},"5y2d":function(t,e,n){var r=n("T69T"),o=n("/Ybd"),i=n("F26l"),a=n("ZRqE");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},"5zDw":function(t,e,n){var r=n("wA6s"),o=n("4NCC");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},"6CEi":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").find,i=n("A1Hp"),a=n("w2hq"),c=!0,u=a("find");"find"in[]&&Array(1).find((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},"6CJb":function(t,e,n){"use strict";var r=n("rG8t");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},"6FMO":function(t,e,n){var r=n("0/R4"),o=n("EWmC"),i=n("K0xU")("species");t.exports=function(t){var e;return o(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!o(e.prototype)||(e=void 0),r(e)&&null===(e=e[i])&&(e=void 0)),void 0===e?Array:e}},"6XUM":function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},"6fhQ":function(t,e,n){"use strict";var r=n("wA6s"),o=n("Neub"),i=n("VCQ8"),a=n("rG8t"),c=n("6CJb"),u=[],s=u.sort,f=a((function(){u.sort(void 0)})),l=a((function(){u.sort(null)})),p=c("sort");r({target:"Array",proto:!0,forced:f||!l||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},"6lQQ":function(t,e,n){"use strict";var r=n("wA6s"),o=n("OXtp").indexOf,i=n("6CJb"),a=n("w2hq"),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=i("indexOf"),f=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:u||!s||!f},{indexOf:function(t){return u?c.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},"6oxo":function(t,e,n){var r=n("wA6s"),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},"6q6p":function(t,e,n){"use strict";var r=n("wA6s"),o=n("6XUM"),i=n("erNl"),a=n("7Oj1"),c=n("xpLY"),u=n("EMtK"),s=n("DYg9"),f=n("m41k"),l=n("lRyB"),p=n("w2hq"),h=l("slice"),v=p("slice",{ACCESSORS:!0,0:0,1:2}),d=f("species"),g=[].slice,y=Math.max;r({target:"Array",proto:!0,forced:!h||!v},{slice:function(t,e){var n,r,f,l=u(this),p=c(l.length),h=a(t,p),v=a(void 0===e?p:e,p);if(i(l)&&("function"!=typeof(n=l.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[d])&&(n=void 0):n=void 0,n===Array||void 0===n))return g.call(l,h,v);for(r=new(void 0===n?Array:n)(y(v-h,0)),f=0;h=0;)p[e]=s((n+=p[e])/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(l<0||l>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*f(2,69,1))-69)<0?u*f(2,-e,1):u/f(2,e,1),n*=4503599627370496,(e=52-e)>0){for(d(0,n),r=l;r>=7;)d(1e7,0),r-=7;for(d(f(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<0?h+((c=v.length)<=l?"0."+a.call("0",l-c)+v:v.slice(0,c-l)+"."+v.slice(c-l)):h+v}})},"8ydS":function(t,e,n){n("wA6s")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},"94Vg":function(t,e,n){var r=n("E7aN"),o=n("OG5q"),i=n("aGCb"),a=n("/Ybd").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"9AAn":function(t,e,n){"use strict";var r=n("wmvG"),o=n("s5qY");t.exports=n("4LiD")("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(o(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(o(this,"Map"),0===t?0:t,e)}},r,!0)},"9gX7":function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},"9kNm":function(t,e,n){n("94Vg")("toPrimitive")},A1Hp:function(t,e,n){var r=n("m41k"),o=n("2RDa"),i=n("/Ybd"),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},A7hN:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("wIVT"),c=n("cwa4");r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},Afnz:function(t,e,n){"use strict";var r=n("LQAc"),o=n("XKFU"),i=n("KroJ"),a=n("Mukb"),c=n("hPIQ"),u=n("QaDb"),s=n("fyDq"),f=n("OP3Y"),l=n("K0xU")("iterator"),p=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,v,d,g,y){u(n,e,v);var m,b,w,k=function(t){if(!p&&t in S)return S[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",E="values"==d,_=!1,S=t.prototype,O=S[l]||S["@@iterator"]||d&&S[d],T=O||k(d),A=d?E?k("entries"):T:void 0,j="Array"==e&&S.entries||O;if(j&&(w=f(j.call(new t)))!==Object.prototype&&w.next&&(s(w,x,!0),r||"function"==typeof w[l]||a(w,l,h)),E&&O&&"values"!==O.name&&(_=!0,T=function(){return O.call(this)}),r&&!y||!p&&!_&&S[l]||a(S,l,T),c[e]=T,c[x]=h,d)if(m={values:E?T:k("values"),keys:g?T:k("keys"),entries:A},y)for(b in m)b in S||i(S,b,m[b]);else o(o.P+o.F*(p||_),e,m);return m}},"Ay+M":function(t,e,n){var r=n("wA6s"),o=n("vZCr");r({global:!0,forced:parseFloat!=o},{parseFloat:o})},BaTD:function(t,e,n){n("wA6s")({target:"String",proto:!0},{repeat:n("EMWV")})},BcWx:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("DYg9");r({target:"Array",stat:!0,forced:o((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},BnCb:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{sign:n("n/2t")})},BqfV:function(t,e,n){var r=n("N6cJ"),o=n("y3w9"),i=r.get,a=r.key;r.exp({getOwnMetadata:function(t,e){return i(t,o(e),arguments.length<3?void 0:a(arguments[2]))}})},COcp:function(t,e,n){n("wA6s")({target:"Number",stat:!0},{isInteger:n("Nvxz")})},CW9j:function(t,e,n){"use strict";var r=n("F26l"),o=n("LdO1");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},CkkT:function(t,e,n){var r=n("m0Pp"),o=n("Ymqv"),i=n("S/j/"),a=n("ne8i"),c=n("zRwo");t.exports=function(t,e){var n=1==t,u=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=e||c;return function(e,c,v){for(var d,g,y=i(e),m=o(y),b=r(c,v,3),w=a(m.length),k=0,x=n?h(e,w):u?h(e,0):void 0;w>k;k++)if((p||k in m)&&(g=b(d=m[k],k,y),t))if(n)x[k]=g;else if(g)switch(t){case 3:return!0;case 5:return d;case 6:return k;case 2:x.push(d)}else if(f)return!1;return l?-1:s||f?f:x}}},CwIO:function(t,e,n){var r=n("wA6s"),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,c=0,u=arguments.length,s=0;c0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},"D+RQ":function(t,e,n){"use strict";var r=n("T69T"),o=n("ocAm"),i=n("MkZA"),a=n("2MGJ"),c=n("OG5q"),u=n("ezU2"),s=n("K6ZX"),f=n("LdO1"),l=n("rG8t"),p=n("2RDa"),h=n("KkqW").f,v=n("7gGY").f,d=n("/Ybd").f,g=n("jnLS").trim,y=o.Number,m=y.prototype,b="Number"==u(p(m)),w=function(t){var e,n,r,o,i,a,c,u,s=f(t,!1);if("string"==typeof s&&s.length>2)if(43===(e=(s=g(s)).charCodeAt(0))||45===e){if(88===(n=s.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(s.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+s}for(a=(i=s.slice(2)).length,c=0;co)return NaN;return parseInt(i,r)}return+s};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var k,x=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof x&&(b?l((function(){m.valueOf.call(n)})):"Number"!=u(n))?s(new y(w(e)),n,x):w(e)},E=r?h(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),_=0;E.length>_;_++)c(y,k=E[_])&&!c(x,k)&&d(x,k,v(y,k));x.prototype=m,m.constructor=x,a(o,"Number",x)}},D3bo:function(t,e,n){var r,o,i=n("ocAm"),a=n("T/Kj"),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},D94X:function(t,e,n){var r=n("wA6s"),o=n("n/2t"),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},DAme:function(t,e,n){"use strict";var r=n("8aNu"),o=n("M7Xk").getWeakData,i=n("F26l"),a=n("6XUM"),c=n("SM6+"),u=n("Rn6E"),s=n("kk6e"),f=n("OG5q"),l=n("XH/I"),p=l.set,h=l.getterFor,v=s.find,d=s.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return v(t.entries,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=d(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,s){var l=t((function(t,r){c(t,l,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[s],t,n)})),v=h(e),d=function(t,e,n){var r=v(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(l.prototype,{delete:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&f(n,e.id)&&delete n[e.id]},has:function(t){var e=v(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&f(n,e.id)}}),r(l.prototype,n?{get:function(t){var e=v(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return d(this,t,e)}}:{add:function(t){return d(this,t,!0)}}),l}}},DGHb:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("VCQ8"),a=n("LdO1");r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},DVgA:function(t,e,n){var r=n("zhAb"),o=n("4R4u");t.exports=Object.keys||function(t){return r(t,o)}},DYg9:function(t,e,n){"use strict";var r=n("LdO1"),o=n("/Ybd"),i=n("uSMZ");t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},Djps:function(t,e,n){n("wA6s")({target:"Math",stat:!0},{log1p:n("O3xq")})},DscF:function(t,e,n){var r=n("wA6s"),o=n("w4Hq"),i=n("A1Hp");r({target:"Array",proto:!0},{fill:o}),i("fill")},E7aN:function(t,e,n){var r=n("ocAm");t.exports=r},E8Ab:function(t,e,n){"use strict";var r=n("Neub"),o=n("6XUM"),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o0?arguments[0]:void 0)}},y={get:function(t){if(s(t)){var e=p(t);return!0===e?v(l(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return u.def(l(this,"WeakMap"),t,e)}},m=t.exports=n("4LiD")("WeakMap",g,y,u,!0,!0);f((function(){return 7!=(new m).set((Object.freeze||Object)(d),7).get(d)}))&&(c((r=u.getConstructor(g,"WeakMap")).prototype,y),a.NEED=!0,o(["delete","has","get","set"],(function(t){var e=m.prototype,n=e[t];i(e,t,(function(e,o){if(s(e)&&!h(e)){this._f||(this._f=new r);var i=this._f[t](e,o);return"set"==t?this:i}return n.call(this,e,o)}))})))},EMWV:function(t,e,n){"use strict";var r=n("vDBE"),o=n("hmpk");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EMtK:function(t,e,n){var r=n("tUdv"),o=n("hmpk");t.exports=function(t){return r(o(t))}},EQZg:function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},ERXZ:function(t,e,n){n("94Vg")("match")},EWmC:function(t,e,n){var r=n("LZWt");t.exports=Array.isArray||function(t){return"Array"==r(t)}},EemH:function(t,e,n){var r=n("UqcF"),o=n("RjD/"),i=n("aCFj"),a=n("apmT"),c=n("aagx"),u=n("xpql"),s=Object.getOwnPropertyDescriptor;e.f=n("nh4g")?s:function(t,e){if(t=i(t),e=a(e,!0),u)try{return s(t,e)}catch(n){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},EntM:function(t,e,n){var r=n("wA6s"),o=n("T69T");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("5y2d")})},"Ew/G":function(t,e,n){var r=n("E7aN"),o=n("ocAm"),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},"F/TS":function(t,e,n){var r=n("mN5b"),o=n("pz+c"),i=n("m41k")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},F26l:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},F4rZ:function(t,e,n){"use strict";var r=n("wA6s"),o=n("rG8t"),i=n("erNl"),a=n("6XUM"),c=n("VCQ8"),u=n("xpLY"),s=n("DYg9"),f=n("JafA"),l=n("lRyB"),p=n("m41k"),h=n("D3bo"),v=p("isConcatSpreadable"),d=h>=51||!o((function(){var t=[];return t[v]=!1,t.concat()[0]!==t})),g=l("concat"),y=function(t){if(!a(t))return!1;var e=t[v];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!d||!g},{concat:function(t){var e,n,r,o,i,a=c(this),l=f(a,0),p=0;for(e=-1,r=arguments.length;e9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");s(l,p++,i)}return l.length=p,l}})},FJW5:function(t,e,n){var r=n("hswa"),o=n("y3w9"),i=n("DVgA");t.exports=n("nh4g")?Object.defineProperties:function(t,e){o(t);for(var n,a=i(e),c=a.length,u=0;c>u;)r.f(t,n=a[u++],e[n]);return t}},FU1i:function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").map,i=n("lRyB"),a=n("w2hq"),c=i("map"),u=a("map");r({target:"Array",proto:!0,forced:!c||!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},FZcq:function(t,e,n){n("49D4"),n("zq+C"),n("45Tv"),n("uAtd"),n("BqfV"),n("fN/3"),n("iW+S"),n("7Dlh"),n("Opxb"),t.exports=n("g3g5").Reflect},"FeI/":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").every,i=n("6CJb"),a=n("w2hq"),c=i("every"),u=a("every");r({target:"Array",proto:!0,forced:!c||!u},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},Fqhe:function(t,e,n){var r=n("ocAm"),o=n("aJMj");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},G1Vw:function(t,e,n){"use strict";var r,o,i,a=n("wIVT"),c=n("aJMj"),u=n("OG5q"),s=n("m41k"),f=n("g9hI"),l=s("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),f||u(r,l)||c(r,l,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},G7bs:function(t,e,n){var r=n("vDBE"),o=n("hmpk"),i=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},H6hf:function(t,e,n){var r=n("y3w9");t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(a){var i=t.return;throw void 0!==i&&r(i.call(t)),a}}},HSQg:function(t,e,n){"use strict";n("SC6u");var r=n("2MGJ"),o=n("rG8t"),i=n("m41k"),a=n("qjkP"),c=n("aJMj"),u=i("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),f="$0"==="a".replace(/./,"$0"),l=i("replace"),p=!!/./[l]&&""===/./[l]("a","$0"),h=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,l){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),g=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e}));if(!d||!g||"replace"===t&&(!s||!f||p)||"split"===t&&!h){var y=/./[v],m=n(v,""[t],(function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:f,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];r(String.prototype,t,m[0]),r(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}l&&c(RegExp.prototype[v],"sham",!0)}},"I8a+":function(t,e,n){var r=n("LZWt"),o=n("K0xU")("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},IBH3:function(t,e,n){"use strict";var r=n("tcQx"),o=n("VCQ8"),i=n("ipMl"),a=n("5MmU"),c=n("xpLY"),u=n("DYg9"),s=n("F/TS");t.exports=function(t){var e,n,f,l,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=s(v),w=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>w;w++)h=m?y(v[w],w):v[w],u(n,w,h);else for(p=(l=b.call(v)).next,n=new d;!(f=p.call(l)).done;w++)h=m?i(l,y,[f.value,w],!0):f.value,u(n,w,h);return n.length=w,n}},IPby:function(t,e,n){var r=n("wA6s"),o=n("EMtK"),i=n("xpLY");r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c1?arguments[1]:void 0)}})},IXlp:function(t,e,n){var r=n("wA6s"),o=n("O3xq"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},Iw71:function(t,e,n){var r=n("0/R4"),o=n("dyZX").document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},IzYO:function(t,e,n){var r=n("wA6s"),o=n("cZY6"),i=n("rG8t"),a=n("6XUM"),c=n("M7Xk").onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(t){return u&&a(t)?u(c(t)):t}})},"J+6e":function(t,e,n){var r=n("I8a+"),o=n("K0xU")("iterator"),i=n("hPIQ");t.exports=n("g3g5").getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},J4zY:function(t,e,n){"use strict";var r=n("wA6s"),o=n("uoca");r({target:"String",proto:!0,forced:n("d8Sw")("fixed")},{fixed:function(){return o(this,"tt","","")}})},JHhb:function(t,e,n){"use strict";var r=n("Ew/G"),o=n("/Ybd"),i=n("m41k"),a=n("T69T"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},JI1L:function(t,e,n){var r=n("6XUM");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},JafA:function(t,e,n){var r=n("6XUM"),o=n("erNl"),i=n("m41k")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},JhPs:function(t,e,n){var r=n("wA6s"),o=n("pn4C");r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},JiEa:function(t,e){e.f=Object.getOwnPropertySymbols},JkSk:function(t,e,n){"use strict";var r=n("rG8t");function o(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},"Jt/z":function(t,e,n){"use strict";var r=n("wA6s"),o=n("kk6e").findIndex,i=n("A1Hp"),a=n("w2hq"),c=!0,u=a("findIndex");"findIndex"in[]&&Array(1).findIndex((function(){c=!1})),r({target:"Array",proto:!0,forced:c||!u},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},K0xU:function(t,e,n){var r=n("VTer")("wks"),o=n("ylqs"),i=n("dyZX").Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},K1Z7:function(t,e,n){"use strict";var r=n("HSQg"),o=n("F26l"),i=n("xpLY"),a=n("hmpk"),c=n("dPn5"),u=n("unYP");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var f=a.unicode;a.lastIndex=0;for(var l,p=[],h=0;null!==(l=u(a,s));){var v=String(l[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),f)),h++}return 0===h?null:p}]}))},K1dl:function(t,e,n){var r=n("ocAm");t.exports=r.Promise},K6ZX:function(t,e,n){var r=n("6XUM"),o=n("7/lX");t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},KBkW:function(t,e,n){var r=n("ocAm"),o=n("Fqhe"),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},KMug:function(t,e,n){var r=n("wA6s"),o=n("rG8t"),i=n("6XUM"),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},KkqW:function(t,e,n){var r=n("vVmn"),o=n("aAjO").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},KlhL:function(t,e,n){"use strict";var r=n("T69T"),o=n("rG8t"),i=n("ZRqE"),a=n("busr"),c=n("gn9T"),u=n("VCQ8"),s=n("tUdv"),f=Object.assign,l=Object.defineProperty;t.exports=!f||o((function(){if(r&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||"abcdefghijklmnopqrst"!=i(f({},e)).join("")}))?function(t,e){for(var n=u(t),o=arguments.length,f=1,l=a.f,p=c.f;o>f;)for(var h,v=s(arguments[f++]),d=l?i(v).concat(l(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:f},KroJ:function(t,e,n){var r=n("dyZX"),o=n("Mukb"),i=n("aagx"),a=n("ylqs")("src"),c=Function.toString,u=(""+c).split("toString");n("g3g5").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,c){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,a)||o(n,a,t[e]?""+t[e]:u.join(String(e)))),t===r?t[e]=n:c?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||c.call(this)}))},KsdI:function(t,e,n){n("94Vg")("iterator")},Kuth:function(t,e,n){var r=n("y3w9"),o=n("FJW5"),i=n("4R4u"),a=n("YTvA")("IE_PROTO"),c=function(){},u=function(){var t,e=n("Iw71")("iframe"),r=i.length;for(e.style.display="none",n("+rLv").appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("