{"version":3,"sources":["src/app/app.module.ts","src/app/pages/page-not-found/page-not-found.component.ts","src/app/pages/page-not-found/page-not-found.component.html","src/app/pages/SaludPlus/Presupuesto/reportes/reporte-listado-cdp/reporte-listado-cdp.routing.ts","src/app/pages/SaludPlus/Presupuesto/reportes/reporte-listado-crp/reporte-listado-crp.routing.ts","src/app/pages/SaludPlus/Presupuesto/reportes/reporte-libro-pagos/reporte-libro-pagos.routing.ts","src/app/pages/SaludPlus/Presupuesto/Presupuesto.routing.ts","src/app/pages/SaludPlus/ImgDiagnosticas/ImgDiagnosticas.routing.ts","src/app/pages/SaludPlus/Laboratorio/reportes/reporte-examenes-laboratorio/reporte-examenes-laboratorio.routing.ts","src/app/pages/SaludPlus/Laboratorio/laboratorio-routing.module.ts","src/app/pages/SaludPlus/Facturacion/Facturacion-routing.module.ts","src/app/pages/SaludPlus/Triage/Triage.routing.ts","src/app/pages/SaludPlus/Administracion/Administracion.routing.ts","src/app/pages/SaludPlus/Contabilidad/Contabilidad.routing.ts","src/app/pages/SaludPlus/HistoriasClinicas/evolucion-consulta-externa/components/evolucion-consulta-externa.component.ts","src/app/pages/SaludPlus/HistoriasClinicas/evolucion-consulta-externa/components/evolucion-consulta-externa.component.html","src/app/pages/SaludPlus/HistoriasClinicas/evolucion-consulta-externa/config/evolucion-consulta-externa.settings.ts","src/app/pages/SaludPlus/HistoriasClinicas/evolucion-consulta-externa/services/evolucion-consulta-externa.service.ts","src/app/shared/components/lookupDiagnosticos/components/lookupDiagnosticos.component.ts","src/app/shared/components/lookupDiagnosticos/components/lookupDiagnosticos.component.html","src/app/pages/SaludPlus/HistoriasClinicas/evolucion-consulta-externa/config/evolucion-consulta-externa.search.ts","src/app/pages/SaludPlus/HistoriasClinicas/evolucion-consulta-externa/evolucion-consulta-externa.routing.ts","src/app/pages/SaludPlus/HistoriasClinicas/historia-clinica-routing.module.ts","src/app/pages/SaludPlus/Auditoria/system-logs/log.routing.ts","src/app/pages/SaludPlus/Auditoria/Auditoria.routing.ts","src/app/pages/SaludPlus/Inventario/Inventario.routing.ts","src/app/pages/SaludPlus/Citas/Citas.routing.ts","src/app/pages/pagos-pendientes/pagos-pendientes.component.ts","src/app/pages/pagos-pendientes/pagos-pendientes.component.html","src/app/pages/SaludPlus/Nomina/nomina.routing.ts","src/app/pages/SaludPlus/Asistencial/asistencial.routing.ts","src/app/pages/dynamic-form/components/dynamic-form.settings.ts","src/app/pages/dynamic-form/views/bancos/bancos.page.ts","src/app/pages/dynamic-form/views/bancos/bancos.routing.ts","src/app/pages/dynamic-form/views/equivalencias-inventario/equivalencias.page.ts","src/app/pages/dynamic-form/views/equivalencias-inventario/equivalencias.routing.ts","src/app/pages/dynamic-form/dynamic.routing.ts","src/app/pages/SaludPlus/Chat-Soporte/Chat.routing.ts","src/app/pages/SaludPlus/Chat-Soporte/chat/chat-soporte.routing.ts","src/app/app-routing.module.ts","src/app/app.component.ts","src/app/app.component.html","src/app/models/SaludPlus/LRecursos.model.ts","src/app/models/SaludPlus/LRecursosExt.model.ts","src/app/models/SaludPlus/LCaracteristicas.model.ts","src/app/shared/components/header/header.component.ts","src/app/shared/components/header/header.component.html","node_modules/.pnpm/@angular+service-worker@19.1.3_@angular+common@19.1.3_@angular+core@19.1.3_rxjs@7.8.1_zone.js_j6q4u2w72ygzgnmmic6hivtu7q/node_modules/@angular/service-worker/fesm2022/service-worker.mjs","node_modules/.pnpm/@angular+platform-browser@19.1.3_@angular+animations@19.1.3_@angular+core@19.1.3_rxjs@7.8.1_z_hncf7vka3ivyglmiukdgmsndne/node_modules/@angular/platform-browser/fesm2022/animations.mjs","node_modules/.pnpm/@angular+animations@19.1.3_@angular+core@19.1.3_rxjs@7.8.1_zone.js@0.15.0_/node_modules/@angular/animations/fesm2022/browser.mjs","src/app/helpers/jwt.interceptor.ts","src/app/helpers/blob.interceptor.ts","node_modules/.pnpm/@angular+common@19.1.3_@angular+core@19.1.3_rxjs@7.8.1_zone.js@0.15.0__rxjs@7.8.1/node_modules/@angular/common/locales/es-CO.mjs","src/pipes/normalize-menu.pipe.ts","node_modules/.pnpm/@progress+kendo-angular-intl@16.11.0_6crtmphxzq2ad3jyohkdqnmkwe/node_modules/@progress/kendo-angular-intl/locales/es/all.js","node_modules/.pnpm/@progress+kendo-angular-intl@16.11.0_6crtmphxzq2ad3jyohkdqnmkwe/node_modules/@progress/kendo-angular-intl/locales/es/calendar.js","src/app/shared/components/header/header.module.ts","src/main.ts"],"sourcesContent":["// Angular Core and Platform\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule, LOCALE_ID, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\r\nimport { AppRoutingModule } from './app-routing.module';\r\nimport { AppComponent } from './app.component';\r\nimport { ServiceWorkerModule } from '@angular/service-worker';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\n\r\n// Environment\r\nimport { environment } from '../environments/environment';\r\n\r\n// Services\r\nimport { AuthGuard } from './services/Security/guard.service';\r\nimport { AuthenticationService } from './services/Security/authentication.service';\r\nimport { PersistenceService } from './services/Utilities/data.persistence.service';\r\nimport { UtilService } from './services/Utilities/util.service';\r\nimport { HomeService } from './pages/home/services/home.service';\r\nimport { SettingsService } from './services/Utilities/settings.service';\r\nimport { ThemeService } from './services/Utilities/theme.service';\r\n\r\n// HTTP and Interceptors\r\nimport { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';\r\nimport { JwtInterceptor } from './helpers/jwt.interceptor';\r\nimport { BlobErrorHttpInterceptor } from './helpers/blob.interceptor';\r\n\r\n// Localization\r\nimport { registerLocaleData } from '@angular/common';\r\nimport localeCo from '@angular/common/locales/es-CO';\r\n\r\n// Forms and Reactive Forms\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\n\r\n// Components\r\nimport { LoginComponent } from './pages/login/login.component';\r\nimport { PageNotFoundComponent } from './pages/page-not-found/page-not-found.component';\r\nimport { RecoveryPasswordComponent } from './pages/recovery-password/recovery-password.component';\r\nimport { PagosPendientesComponent } from './pages/pagos-pendientes/pagos-pendientes.component';\r\nimport { NoPermisosComponent } from './pages/no-permisos/no-permisos.component';\r\nimport { HelloWorldContainer } from './core/dashboard/components/hello-world/hello-world.container';\r\nimport { HelloWorldComponent } from './core/dashboard/components/hello-world/hello-world.component';\r\n\r\n// Pipes\r\nimport { NormalizeMenuPipe } from '@src/pipes/normalize-menu.pipe';\r\nimport { MainPipe } from '@src/pipes/main-pipe.module';\r\n\r\n// Kendo UI Modules\r\nimport { GridModule } from '@progress/kendo-angular-grid';\r\nimport { IntlModule } from \"@progress/kendo-angular-intl\";\r\nimport { IndicatorsModule } from '@progress/kendo-angular-indicators';\r\nimport { NavigationModule } from \"@progress/kendo-angular-navigation\";\r\nimport { ButtonsModule } from '@progress/kendo-angular-buttons';\r\nimport { LayoutModule } from \"@progress/kendo-angular-layout\";\r\nimport { TooltipsModule } from '@progress/kendo-angular-tooltip';\r\nimport { TreeViewModule } from '@progress/kendo-angular-treeview';\r\nimport { DialogsModule } from '@progress/kendo-angular-dialog';\r\nimport \"@progress/kendo-angular-intl/locales/es/all\";\r\nimport \"@progress/kendo-angular-intl/locales/es/calendar\"\r\n\r\n// Custom Modules\r\nimport { ComponentsCoreFormsModule, DirectivesCoreFormsModule, ComponentsCoreImportModule } from '@app/components/Core/core.saludplus.module';\r\nimport { HeaderModule } from './shared/components/header/header.module';\r\nimport { ConfigModule } from './services/Utilities/settings.service';\r\n\r\n// Logging\r\nimport { LoggerModule, NgxLoggerLevel, TOKEN_LOGGER_SERVER_SERVICE } from 'ngx-logger';\r\nimport { AuthTokenServerService } from './helpers/AuthTokenServerService';\r\n\r\n//security\r\nimport { SplusLogger } from './services/Utilities/splus.logger.service';\r\n\r\nimport { initializeApp, provideFirebaseApp } from '@angular/fire/app';\r\nimport { getDatabase, provideDatabase } from '@angular/fire/database';\r\n\r\n\r\nregisterLocaleData(localeCo);\r\n\r\n\r\n\r\n// Definir una constante con los módulos de Kendo\r\nconst KENDO_MODULES = [\r\n IntlModule,\r\n IndicatorsModule,\r\n NavigationModule,\r\n ButtonsModule,\r\n LayoutModule,\r\n TooltipsModule,\r\n TreeViewModule, \r\n DialogsModule,\r\n GridModule,\r\n];\r\n\r\n//logger\r\nconst LOGGER_MODULE = LoggerModule.forRoot({\r\n serverLoggingUrl: 'Api/Logs',\r\n level: NgxLoggerLevel.WARN,\r\n serverLogLevel: NgxLoggerLevel.ERROR,\r\n disableConsoleLogging: false\r\n}, {\r\n serverProvider: {\r\n provide: TOKEN_LOGGER_SERVER_SERVICE, useClass: AuthTokenServerService\r\n }\r\n});\r\n\r\n@NgModule({ \r\n \r\n declarations: [\r\n AppComponent,\r\n LoginComponent,\r\n PageNotFoundComponent,\r\n PagosPendientesComponent,\r\n NormalizeMenuPipe,\r\n RecoveryPasswordComponent,\r\n HelloWorldComponent, HelloWorldContainer, NoPermisosComponent\r\n ],\r\n schemas: [\r\n CUSTOM_ELEMENTS_SCHEMA\r\n ],\r\n bootstrap: [AppComponent], imports: [BrowserModule,\r\n AppRoutingModule,\r\n ReactiveFormsModule,\r\n FormsModule,\r\n BrowserAnimationsModule,\r\n HeaderModule,\r\n DirectivesCoreFormsModule,\r\n ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production }), ComponentsCoreImportModule,\r\n ComponentsCoreFormsModule,\r\n //pipes modulos\r\n MainPipe,\r\n //kendo modulos\r\n ...KENDO_MODULES,\r\n //logger modulos\r\n LOGGER_MODULE], providers: [\r\n AuthGuard,\r\n SettingsService,\r\n ConfigModule.init(),\r\n AuthenticationService,\r\n PersistenceService,\r\n SplusLogger,\r\n NormalizeMenuPipe,\r\n UtilService,\r\n HomeService,\r\n { provide: LOCALE_ID, useValue: \"es-CO\" },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: JwtInterceptor,\r\n multi: true\r\n },\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: BlobErrorHttpInterceptor,\r\n multi: true\r\n },\r\n ThemeService,\r\n provideHttpClient(withInterceptorsFromDi()),\r\n provideFirebaseApp(() => initializeApp(environment.firebaseConfig)),\r\n provideDatabase(() => getDatabase()) \r\n \r\n ] })\r\nexport class AppModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-page-not-found',\r\n templateUrl: './page-not-found.component.html',\r\n styleUrls: ['./page-not-found.component.scss'],\r\n standalone: false\r\n})\r\nexport class PageNotFoundComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n \r\n

\r\n Oops!\r\n La página que estas
buscando no existe

\r\n
","import { NgModule } from \"@angular/core\";\r\nimport { Routes, RouterModule } from \"@angular/router\";\r\nimport { AppSettings } from \"@src/app/helpers/AppSettings\";\r\nimport { AuthGuard } from \"@src/app/services/Security/guard.service\";\r\nimport { ListadoCDPComponent } from \"./components/reporte-listado-cdp.component\";\r\n\r\nconst routes: Routes = [\r\n { path: \"\", component: ListadoCDPComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class ReporteListadoCDPRoutingModule {\r\n //Routing principal\r\n public static RoutingListadoCDP= {\r\n path: \"presupuesto/informes/listado-cdp\",\r\n loadComponent: () =>\r\n import(\"./components/reporte-listado-cdp.component\").then(\r\n (m) => m.ListadoCDPComponent\r\n ),\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: `Reporte Listado CDP`,\r\n icon: \"fa fa-file\"\r\n },\r\n };\r\n}\r\n","import { NgModule } from \"@angular/core\";\r\nimport { Routes, RouterModule } from \"@angular/router\";\r\nimport { AppSettings } from \"@src/app/helpers/AppSettings\";\r\nimport { AuthGuard } from \"@src/app/services/Security/guard.service\";\r\nimport { ListadoCRPComponent } from \"./components/reporte-listado-crp.component\";\r\n\r\n\r\nconst routes: Routes = [\r\n { path: \"\", component: ListadoCRPComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class ReporteListadoCRPRoutingModule {\r\n //Routing principal\r\n public static RoutingListadoCRP= {\r\n path: \"presupuesto/informes/listado-crp\",\r\n loadComponent: () =>\r\n import(\"./components/reporte-listado-crp.component\").then(\r\n (m) => m.ListadoCRPComponent\r\n ),\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: `Reporte Listado CRP`,\r\n icon: \"fa fa-file\"\r\n },\r\n };\r\n}\r\n","import { NgModule } from \"@angular/core\";\r\nimport { Routes, RouterModule } from \"@angular/router\";\r\nimport { AppSettings } from \"@src/app/helpers/AppSettings\";\r\nimport { AuthGuard } from \"@src/app/services/Security/guard.service\";\r\nimport { LibroPagosComponent } from \"./components/reporte-libro-pagos.component\";\r\n\r\nconst routes: Routes = [\r\n { path: \"\", component: LibroPagosComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class ReporteLibroPagosRoutingModule {\r\n //Routing principal\r\n public static RoutingLibroPagos= {\r\n path: \"presupuesto/informes/libro-pagos\",\r\n loadComponent: () =>\r\n import(\"./components/reporte-libro-pagos.component\").then(\r\n (m) => m.LibroPagosComponent\r\n ),\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: `Reporte Libro Pagos`,\r\n icon: \"fa fa-file\"\r\n },\r\n };\r\n}\r\n","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { TercerosRoutingModule } from \"../Contabilidad/terceros/terceros.routing\";\r\nimport { CertificadoDisponibilidadPresupuestalRoutingModule } from \"./certificado-disponibilidad-presupuestal/certificado-disponibilidad-presupuestal.routing\";\r\nimport { CertificadoRegistroPresupuestalRoutingModule } from \"./certificado-registro-presupuestal/certificado-registro-presupuestal.routing\";\r\nimport { IngresoPagoRoutingModule } from \"./ingreso-pago/ingreso-pago.routing\";\r\nimport { LiberacionPresupuestalRoutingModule } from \"./liberacion-presupuestal/liberacion-presupuestal.routing\";\r\nimport { MovimientosRoutingModule } from \"./movimientos/movimientos-routing.module\";\r\nimport { OrdenPagoRoutingModule } from \"./orden-pago/orden-pago.routing\";\r\nimport { EjecucionPresupuestalRoutingModule } from \"./reportes/ejecucion-presupuestal/ejecucion-presupuesta.routing\";\r\nimport { ListadoAuxiliaresPresupuestoRoutingModule } from \"./reportes/listado-auxiliares-presupuesto/listado-auxiliares-presupuesto.routing\";\r\nimport { ListadoAuxiliaresTipoDocumentoRoutingModule } from \"./reportes/listado-auxiliares-tipo-documento/listado-auxiliares-presupuesto.routing\";\r\nimport { RubrosPresupuestalesRoutingModule } from \"./rubros-presupuestales/rubros-presupuestales.routing\";\r\nimport { VigenciasRoutingModule } from \"./vigencias/vigencias-routing.module\";\r\nimport { AuthGuard } from \"@src/app/services/Security/guard.service\";\r\nimport { ReporteListadoCDPRoutingModule } from \"./reportes/reporte-listado-cdp/reporte-listado-cdp.routing\";\r\nimport { ReporteListadoCRPRoutingModule } from \"./reportes/reporte-listado-crp/reporte-listado-crp.routing\";\r\nimport { ReporteLibroPagosRoutingModule } from \"./reportes/reporte-libro-pagos/reporte-libro-pagos.routing\";\r\n\r\nconst routes: Routes = [\r\n //Vigencias\r\n VigenciasRoutingModule.RoutingVigencias,\r\n\r\n //Rubros presupuestales\r\n RubrosPresupuestalesRoutingModule.RoutingRubrosPresupuestalesRedirect,\r\n RubrosPresupuestalesRoutingModule.RoutingRubrosPresupuestales,\r\n\r\n //Movmiviento presupuestal\r\n MovimientosRoutingModule.RoutingMovimientoPresupuestalRedirect,\r\n MovimientosRoutingModule.RoutingMovimientoPresupuestal,\r\n\r\n // Certificado Registro Presupuestal\r\n CertificadoRegistroPresupuestalRoutingModule.RoutingCertificadoRegistroPresupuestalRedirect,\r\n CertificadoRegistroPresupuestalRoutingModule.RoutingCertificadoRegistroPresupuestal,\r\n\r\n //Certificado Disponibilidad Presupuestal\r\n CertificadoDisponibilidadPresupuestalRoutingModule.RoutingCertificadoDisponibilidadPresupuestalRedirect,\r\n CertificadoDisponibilidadPresupuestalRoutingModule.RoutingCertificadoDisponibilidadPresupuestal,\r\n\r\n // Certificado Registro Presupuestal\r\n CertificadoRegistroPresupuestalRoutingModule.RoutingCertificadoRegistroPresupuestalRedirect,\r\n CertificadoRegistroPresupuestalRoutingModule.RoutingCertificadoRegistroPresupuestal,\r\n\r\n // Orden de pago\r\n OrdenPagoRoutingModule.RoutingOrdenPagoRedirect,\r\n OrdenPagoRoutingModule.RoutingOrdenPago,\r\n\r\n // Ingreso de pago\r\n IngresoPagoRoutingModule.RoutingIngresoPagoRedirect,\r\n IngresoPagoRoutingModule.RoutingIngresoPago,\r\n // Liberacion presupuestal\r\n LiberacionPresupuestalRoutingModule.RoutingLiberacionPresupuestal,\r\n\r\n // Listado Auxiliares Presupuesto\r\n ListadoAuxiliaresPresupuestoRoutingModule.RoutingListadoAuxiliaresPresupuesto,\r\n ListadoAuxiliaresTipoDocumentoRoutingModule.RoutingListadoAuxiliaresTipoDocumento,\r\n\r\n // Ejecucion presupuestal\r\n EjecucionPresupuestalRoutingModule.RoutingEjecucionPresupuestal,\r\n\r\n //Terceros\r\n TercerosRoutingModule.RoutingTercerosRedirectPresupuesto,\r\n TercerosRoutingModule.RoutingTercerosPresupuesto,\r\n\r\n {\r\n path: 'presupuesto/informes/seguimiento-documento-presupuesto',\r\n loadComponent: () =>\r\n import('./reportes/seguimiento-documento-presupuesto/components/seguimiento-documento-presupuesto.component').then(\r\n (m) => m.SeguimientoDocumentoPresupuestoComponent\r\n ),\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: 'Seguimiento Documento Presupuesto',\r\n icon: 'fa fa-file',\r\n },\r\n },\r\n\r\n ReporteListadoCDPRoutingModule.RoutingListadoCDP,\r\n ReporteListadoCRPRoutingModule.RoutingListadoCRP,\r\n ReporteLibroPagosRoutingModule.RoutingLibroPagos,\r\n\r\n\r\n];\r\nexport const PresupuestoRoutes = RouterModule.forChild(routes);\r\n","import { Routes, RouterModule } from '@angular/router';\r\nimport { ResultadoImagenesDiagnosticasRoutingModule } from './resultado-imagenes-diagnosticas/resultado-imagenes-diagnosticas.routing';\r\n\r\nconst routes: Routes = [\r\n\r\n //Resultados Imagenes Diagnosticas \r\n //ResultadosImagenesDiagnosticasRoutesModule.RoutingResultadosImagenesDiagnosticasRoutes,\r\n\r\n //resultado imagenes diagnosticas\r\n ResultadoImagenesDiagnosticasRoutingModule.RoutingResultadoImagenesDiagnosticas,\r\n \r\n];\r\n\r\nexport const ImgDiagnosticasRoutes = RouterModule.forChild(routes);","import { NgModule } from \"@angular/core\";\r\nimport { Routes, RouterModule } from \"@angular/router\";\r\nimport { AppSettings } from \"@src/app/helpers/AppSettings\";\r\nimport { AuthGuard } from \"@src/app/services/Security/guard.service\";\r\nimport { ReporteExamenesLaboratorioComponent } from \"./components/reporte-examenes-laboratorio.component\";\r\n\r\nconst routes: Routes = [\r\n { path: \"\", component: ReporteExamenesLaboratorioComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class ReporteExamenesLaboratorioRoutingModule {\r\n //Routing principal\r\n public static RoutingReporteExamenesLaboratorio= {\r\n path: \"laboratorio/informes/listado-examenes-laboratorio\",\r\n loadComponent: () =>\r\n import(\"./components/reporte-examenes-laboratorio.component\").then(\r\n (m) => m.ReporteExamenesLaboratorioComponent\r\n ),\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: `Reporte Exámenes Laboratorio`,\r\n icon: \"fa fa-file\"\r\n },\r\n };\r\n}\r\n","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { ExamenesLaboratorioRoutingModule } from \"./examenes-laboratorio/examenes-laboratorio-routing.module\";\r\nimport { ParametrizacionLaboratorioClinicoRoutingModule } from \"./parametrizacion-laboratorio-clinico/parametrizacion-laboratorio-clinico-routing.module\";\r\nimport { ReporteExamenesLaboratorioRoutingModule } from \"./reportes/reporte-examenes-laboratorio/reporte-examenes-laboratorio.routing\";\r\n\r\nconst routes: Routes = [\r\n\r\n // Parametrizacion redirect\r\n ParametrizacionLaboratorioClinicoRoutingModule.RoutingParametrizacionLaboratorioRedirect,\r\n\r\n // Parametrizacion\r\n ParametrizacionLaboratorioClinicoRoutingModule.RoutingParametrizacionLaboratorio,\r\n\r\n //Examenes redirect\r\n ExamenesLaboratorioRoutingModule.RoutingLabExamenesRedirect,\r\n\r\n //Examenes\r\n ExamenesLaboratorioRoutingModule.RoutingExamenesLaboratorio,\r\n\r\n //Reporte Examenes Laboratorio\r\n ReporteExamenesLaboratorioRoutingModule.RoutingReporteExamenesLaboratorio\r\n\r\n\r\n];\r\nexport const LaboratorioRoutes = RouterModule.forChild(routes);\r\n","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { AuthGuard } from \"@app/services/Security/guard.service\";\r\nimport { AnexoTecnicoAutorizacionesRoutingModule } from \"./AnexoTecnicoAutorizaciones/anexo-tecnico-autorizaciones.routing\";\r\nimport { AnexoTecnicoInformeAtencionUrgenciaRoutingModule } from \"./AnexoTecnicoInformeAtencionUrgencia/anexo-tecnico-atencion-urgencia.routing\";\r\nimport { FurtranRoutingModule } from \"./Furtran/furtran.routing\";\r\nimport { PacientesRoutingModule } from \"./Pacientes/pacientes.routing\";\r\nimport { ListadoAdmisionesRoutingModule } from \"./reportes/listado-admisiones/listado-admisiones.routing\";\r\nimport { ListadoConsultasFacturadosRoutingModule } from \"./reportes/listado-consultas-facturados/listado-consultas-facturados.routing\";\r\nimport { ListadoEstanciaFacturadosRoutingModule } from \"./reportes/listado-estancia-factura/listado-estancia-facturados.routing\";\r\nimport { ListadoMaterialesInsumosFacturadosRoutingModule } from \"./reportes/listado-materiales-insumos-facturados/listado-materiales-insumos-facturados.routing\";\r\nimport { ListadoMedicamentosFacturadosRoutingModule } from \"./reportes/listado-medicamentos-facturados/listado-medicamentos-facturados.routing\";\r\nimport { ListadoOtrosConceptosFacturadosRoutingModule } from \"./reportes/listado-otros-conceptos-facturados/listado-otros-conceptos-facturados.routing\";\r\nimport { ListadoProcedimientosFacturadosRoutingModule } from \"./reportes/listado-procedimientos-facturados/listado-procedimientos-facturados.routing\";\r\nimport { ListadoObservacionesFacturadosRoutingModule } from \"./reportes/listados-observaciones-facturados/listado-observaciones-facturados.routing\";\r\nimport { TrasladoRoutingModule } from \"./Traslados/traslados.routing\";\r\nimport { FuripsRoutingModule } from \"./Furips/furips.routing\";\r\nimport { ListadoPacientesRoutingModule } from \"./reportes/listado-pacientes/listado-pacientes.routing\";\r\nimport { ListadoNotasCreditoRoutingModule } from \"./reportes/listado-notas-credito/listado-notas-credito.routing\";\r\nimport { ListadoNotasDebitoRoutingModule } from \"./reportes/listado-notas-debito/listado-notas-debito.routing\";\r\nimport { AnexoTecnicoUnoRoutingModule } from \"./AnexoTecnicoUno/anexo-tecnico-uno.routing\";\r\n\r\n\r\n\r\n\r\nconst routes: Routes = [\r\n // Paciente\r\n PacientesRoutingModule.RoutingPacienteRedirect,\r\n PacientesRoutingModule.RoutingPaciente,\r\n\r\n // Anexo tecnico autorizaciones\r\n AnexoTecnicoAutorizacionesRoutingModule.RoutingAnexoAutorizacionesRedirect,\r\n AnexoTecnicoAutorizacionesRoutingModule.RoutingAnexoAutorizaciones,\r\n\r\n //listado de facturas\r\n // ListadoFacturasRoutesModule.RoutingListadoFacturasRedirect,\r\n //ListadoFacturasRoutesModule.RoutingListadoFacturas\r\n\r\n // Listado MedicamentosFacturados\r\n ListadoMedicamentosFacturadosRoutingModule.RoutingListadoMedicamentos,\r\n\r\n // Listado MaterialesInsumosFacturados\r\n ListadoMaterialesInsumosFacturadosRoutingModule.RoutingListadoMaterialesInsumos,\r\n\r\n //Listado OtrosConceptosFacturados\r\n ListadoOtrosConceptosFacturadosRoutingModule.RoutingListadoOtrosConceptos,\r\n\r\n //Listado ConsultasFacturados\r\n ListadoConsultasFacturadosRoutingModule.RoutingListadoConsultasRedirect,\r\n ListadoConsultasFacturadosRoutingModule.RoutingListadoConsultas,\r\n\r\n //Listado ProcedimientosFacturados\r\n ListadoProcedimientosFacturadosRoutingModule.RoutingListadoProcedimientosRedirect,\r\n ListadoProcedimientosFacturadosRoutingModule.RoutingListadoProcedimeintos,\r\n\r\n //Listado ObservacionesFacturados\r\n ListadoObservacionesFacturadosRoutingModule.RoutingListadoObservaciones,\r\n\r\n //Listado EstanciasFacturadas\r\n ListadoEstanciaFacturadosRoutingModule.RoutingListadoEstanciaRedirect,\r\n ListadoEstanciaFacturadosRoutingModule.RoutingListadoEstancia,\r\n\r\n //listado Admisiones\r\n ListadoAdmisionesRoutingModule.RoutingAdmisionesRedirect,\r\n ListadoAdmisionesRoutingModule.RoutingAdmisiones,\r\n\r\n //listado prefacturas\r\n // ListadoPrefacturasRoutingModule.RoutingPrefacturasRedirect,\r\n // ListadoPrefacturasRoutingModule.RoutingPrefacturas,\r\n\r\n // Furips\r\n FuripsRoutingModule.RoutingFuripsRedirect,\r\n FuripsRoutingModule.RoutingFurips,\r\n\r\n //Furtran\r\n FurtranRoutingModule.RoutingFurtranRedirect,\r\n FurtranRoutingModule.RoutingFurtran,\r\n\r\n //Anexo Técnico Informe Atención Urgencia\r\n AnexoTecnicoInformeAtencionUrgenciaRoutingModule.RoutingAnexoTecnicoInformeAtencionUrgenciaRedirect,\r\n AnexoTecnicoInformeAtencionUrgenciaRoutingModule.RoutingAnexoTecnicoInformeAtencionUrgencia,\r\n\r\n //Traslados\r\n TrasladoRoutingModule.RoutingTrasladoRedirect,\r\n TrasladoRoutingModule.RoutingTraslado,\r\n\r\n //listado pacientes\r\n ListadoPacientesRoutingModule.RoutingPacientes,\r\n\r\n // LIstado Notas Credito\r\n ListadoNotasCreditoRoutingModule.RoutingListadoNotasCredito,\r\n\r\n // LIstado Notas Debito\r\n ListadoNotasDebitoRoutingModule.RoutingListadoNotasDebito,\r\n\r\n // Anexo\r\n //AnexoTecnicoUnoRoutingModule.RoutingAnexoTecnicoUno\r\n\r\n {\r\n path: 'facturacion/proceso/listado-facturas-cups',\r\n loadComponent: () =>\r\n import('./Proceso/listado-facturas-cups/components/listado-facturas-cups.component').then(\r\n (m) => m.ListadoFacturasCupsComponent\r\n ),\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: 'Listado Facturas Cups',\r\n icon: 'fa-solid fa-files-medical',\r\n },\r\n }\r\n\r\n\r\n\r\n];\r\nexport const FacturacionRoutes = RouterModule.forChild(routes);\r\n","import { Routes, RouterModule } from '@angular/router';\r\nimport { IngresoPacienteRoutingModule } from './ingreso-paciente/ingreso-paciente.routing';\r\nimport { NivelesTriageRoutingModule } from './niveles-triage/niveles-triage.routing';\r\nimport { ListadoIngresoPacientesRoutes } from './reportes/listado-Ingreso-pacientes/listado-Ingreso-pacientes.routing';\r\nimport { ListadoValoracionTriageRoutes } from './reportes/listado-valoracion-triage/listado-valoracion-triage.routing';\r\nimport { ValoracionTriageRoutingModule } from './valoracion-triage/valoracion-triage.routing';\r\n\r\nconst routes: Routes = [\r\n\r\n //Listado Ingreso Pacientes\r\n ListadoIngresoPacientesRoutes.RoutingListadoIngresoPacientes,\r\n\r\n //Listado Valoracion Triage\r\n ListadoValoracionTriageRoutes.RoutingListadoValoracionTriage,\r\n\r\n //Valoración Triage\r\n ValoracionTriageRoutingModule.RoutingValoracionTriageRedirect,\r\n ValoracionTriageRoutingModule.RoutingValoracionTriage,\r\n\r\n //Ingreso Paciente\r\n IngresoPacienteRoutingModule.RoutingIngresoPacienteRedirect,\r\n IngresoPacienteRoutingModule.RoutingIngresoPaciente,\r\n\r\n //Niveles Triage\r\n NivelesTriageRoutingModule.RoutingNivelesTriageRedirect,\r\n NivelesTriageRoutingModule.RoutingNivelesTriage,\r\n \r\n];\r\n\r\nexport const TriageRoutes = RouterModule.forChild(routes);\r\n","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { CentroServiciosRoutingModule } from \"./centro-servicios/centro-servicios.routing\";\r\nimport { CentrosCostosRoutingModule } from \"./centros-costos/centros-costos.routing\";\r\nimport { CupsPropiosRoutingModule } from \"./cups-propios/cups-propios.routing\";\r\nimport { PerfilesRoutes } from \"./perfiles/Perfiles.routing\";\r\nimport { SedesRoutingModule } from \"./sedes/sedes.routing\";\r\nimport { UsuariosRoutes } from \"./usuarios/usuarios.routing\";\r\nimport { CamasRoutingModule } from \"./camas/camas.routing\";\r\nimport { HabitacionesRoutingModule } from \"./habitaciones/habitaciones.routing\";\r\nimport { ConceptosFacturacionRoutingModule } from \"./conceptos-facturacion/conceptos-facturacion.routing\";\r\nimport { EntidadesRoutingModule } from \"./entidades/entidades.routing\";\r\nimport { ArticulosRoutingModule } from \"./articulos/articulos.routing\";\r\nimport { CoPagosRoutingModule } from \"./copagos/copagos.routing\";\r\nimport { ResolucionesDianRoutingModule } from \"./resoluciones-dian/resoluciones-dian.routing\";\r\nimport { InstitucionRoutesModule } from \"./institucion/institucion.routing\";\r\nimport { ListadoConceptosFacturacionRoutingModule } from \"./reportes/listado-conceptos-facturacion/listado-conceptos-facturacion.routing\";\r\nimport { ListadoArticulosRoutingModule } from \"./reportes/listado-articulos/listado-articulos.routing\";\r\nimport { ListadoCamasRoutingModule } from \"./reportes/listado-camas/listado-camas.routing\";\r\nimport { ListadoContratosRoutingModule } from \"./reportes/listado-contratos/listado-contratos.routing\";\r\nimport { ListadoEntidadesRoutingModule } from \"./reportes/listado-entidades/listado-entidades.routing\";\r\nimport { ListadoHabitacionesRoutingModule } from \"./reportes/listado-habitaciones/listado-habitaciones.routing\";\r\nimport { ListadoUsuariosRoutingModule } from \"./reportes/listado-usuarios/listado-usuarios.routing\";\r\nimport { ServiciosChatBotRoutingModule } from \"./servicios-chat-bot/servicios-chat-bot.routing\";\r\n\r\nconst routes: Routes = [\r\n //Perfiles\r\n PerfilesRoutes.RoutingPerfilesRedirect,\r\n PerfilesRoutes.RoutingPerfiles,\r\n\r\n // Usuarios\r\n UsuariosRoutes.RoutingUsuariosRedirect,\r\n UsuariosRoutes.RoutingUsuarios,\r\n\r\n //CupsPropios\r\n CupsPropiosRoutingModule.RoutingCupsPRedirect,\r\n CupsPropiosRoutingModule.RoutingCupsPropios,\r\n\r\n //Centro Costos\r\n CentrosCostosRoutingModule.RoutingCentroCostosRedirect,\r\n CentrosCostosRoutingModule.RoutingCentrosCostos,\r\n\r\n //Sedes\r\n SedesRoutingModule.RoutingSedesRedirect,\r\n SedesRoutingModule.RoutingSedes,\r\n\r\n //Centro Servicios\r\n CentroServiciosRoutingModule.RoutingCentroServicosRedirect,\r\n CentroServiciosRoutingModule.RoutingCentroServicios,\r\n\r\n //Camas\r\n CamasRoutingModule.RoutingCamasRedirect,\r\n CamasRoutingModule.RoutingCamas,\r\n\r\n //Habitaciones\r\n HabitacionesRoutingModule.RoutingHabitacionesRedirect,\r\n HabitacionesRoutingModule.RoutingHabitaciones,\r\n\r\n //Conceptos de facturacion\r\n ConceptosFacturacionRoutingModule.RoutingConceptosFacturacionRedirect,\r\n ConceptosFacturacionRoutingModule.RoutingConceptosFacturacion,\r\n\r\n //Entidades\r\n EntidadesRoutingModule.RoutingEntidadesRedirect,\r\n EntidadesRoutingModule.RoutingEntidades,\r\n\r\n //Articulos\r\n ArticulosRoutingModule.RoutingArticulosRedirect,\r\n ArticulosRoutingModule.RoutingArticulos,\r\n\r\n //CoPagos\r\n CoPagosRoutingModule.RoutingCoPagosRedirect,\r\n CoPagosRoutingModule.RoutingCoPagos,\r\n\r\n //Resoluciones Dian\r\n ResolucionesDianRoutingModule.RoutingResolucionesDian,\r\n\r\n //institucion\r\n InstitucionRoutesModule.RoutingInstitucionRedirect,\r\n InstitucionRoutesModule.RoutingInstitucion,\r\n\r\n //ListadoConceptosFacturacion\r\n ListadoConceptosFacturacionRoutingModule.RoutingListadoConceptosFacturacion,\r\n\r\n //ListadoArticulos\r\n ListadoArticulosRoutingModule.RoutingListadoArticulos,\r\n\r\n //ListadoCamas\r\n ListadoCamasRoutingModule.RoutingListadoCamas,\r\n\r\n //ListadoContratos\r\n ListadoContratosRoutingModule.RoutingListadoContratos,\r\n\r\n //ListadoEntidades\r\n ListadoEntidadesRoutingModule.RoutingListadoEntidades,\r\n\r\n //ListadoHabitaciones\r\n ListadoHabitacionesRoutingModule.RoutingListadoHabitaciones,\r\n //ListadoUsuarios\r\n ListadoUsuariosRoutingModule.RoutingListadoUsuarios,\r\n //ListadoUsuarios\r\n ListadoArticulosRoutingModule.RoutingListadoArticulos,\r\n\r\n // Servicios Chat Bots\r\n ServiciosChatBotRoutingModule.RoutingServiciosChatBot\r\n\r\n];\r\n\r\nexport const AdministracionRoutes = RouterModule.forChild(routes);\r\n","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { CuentasBancariasRoutingModule } from \"./cuentas-bancarias/cuentas-bancarias.routing\";\r\nimport { PlanCuentasRoutingModule } from \"./plan-cuentas/plan-cuentas.routing\";\r\nimport { ListadoDocumentosDescuadradosRoutingModule } from \"./reportes/listado-documentos-descuadrados/listado-documentos-descuadrados.routing\";\r\nimport { ListadoRetencionesRoutingModule } from \"./reportes/listado-retenciones/listado-retenciones.routing\";\r\nimport { VigenciasContabilidadRoutingModule } from \"./vigencias/vigencias-routing.module\";\r\nimport { TercerosRoutingModule } from './terceros/terceros.routing';\r\nimport { ComprobantesContabilidadRoutingModule } from \"./comprobantes-contabilidad/comprobantes-contabilidad.routing\";\r\nimport { ListadoTercerosRoutingModule } from \"./reportes/listado-terceros/listado-terceros.routing\";\r\nimport { DocumentoSoporteRoutingModule } from \"./documento-soporte/documento-soporte.routing\";\r\n\r\n\r\nconst routes: Routes = [\r\n // Listado retenciones\r\n ListadoRetencionesRoutingModule.RoutingListadoRetenciones,\r\n\r\n // Listado Documentos decuadrados\r\n ListadoDocumentosDescuadradosRoutingModule.RoutingListadoDocumentosDescuadrados,\r\n\r\n // Vigencias\r\n VigenciasContabilidadRoutingModule.RoutingVigencias,\r\n\r\n //Cuentas Bancarias\r\n CuentasBancariasRoutingModule.RoutingCuentasBancariasRedirect,\r\n CuentasBancariasRoutingModule.RoutingCuentasBancarias,\r\n\r\n //Plan de cuentas\r\n PlanCuentasRoutingModule.RoutingPlanCuentasRedirect,\r\n PlanCuentasRoutingModule.RoutingPlanCuentas,\r\n\r\n //Terceros\r\n TercerosRoutingModule.RoutingTercerosRedirect,\r\n TercerosRoutingModule.RoutingTerceros,\r\n\r\n //Comprobantes de contabilidad\r\n //ComprobantesContabilidadRoutingModule.RoutingComprobantesContabilidadRedirect,\r\n //ComprobantesContabilidadRoutingModule.RoutingComprobantesContabilidad,\r\n\r\n //Listado Terceros\r\n ListadoTercerosRoutingModule.RoutingListadoTercerosRedirect,\r\n ListadoTercerosRoutingModule.RoutingListadoTerceros,\r\n\r\n // Documento Soporte\r\n DocumentoSoporteRoutingModule.RoutingDocumentoSoporte,\r\n];\r\nexport const ContabilidadRoutes = RouterModule.forChild(routes);\r\n","import { Component, inject, OnDestroy, OnInit, Renderer2, ViewChild } from '@angular/core';\r\nimport { FormControl, FormGroup, FormsModule, ReactiveFormsModule, UntypedFormControl, Validators } from '@angular/forms';\r\nimport { AddEvent, CancelEvent, CellClickEvent, GridComponent, GridDataResult } from '@progress/kendo-angular-grid';\r\nimport { ProcessType, SPlusDialogCloseResult, SPlusDialogSettings, SPlusMoreOption, SPlusOption } from '@saludplus/forms';\r\nimport { SplusBaseForm } from '@src/app/models/base/BaseFormComponent';\r\nimport { State, process } from \"@progress/kendo-data-query\";\r\nimport { Subject, Subscription, takeUntil } from 'rxjs';\r\nimport { AdmisionesDTO } from '@src/app/models/General/AdmisionesDTO';\r\nimport { CaracteristicasModule } from '@src/app/models/General/Permisos';\r\nimport { FiltersData } from '@src/app/models/base/filterModel';\r\nimport format from 'date-fns/format';\r\nimport { Util } from '@src/app/helpers/Util';\r\nimport differenceInMinutes from 'date-fns/differenceInMinutes';\r\nimport { DefaultModelDTO } from '@src/app/models/General/DefaultModelDTO';\r\nimport { HttpErrorResponse } from '@angular/common/http';\r\nimport { SearchAdmissionsV2Service } from '@src/app/Components/Generales/Admisiones/search-admissionsV2/services/search-admissionsV2.service';\r\nimport { CatidadEvolucionesDTO, IEvolucionConsultaExternaDiagnosticosSecundarioDTO, IEvolucionConsultaExternaDTO } from '@src/app/models/HistoriasClinicas/evolucion-consulta-externa/evolucion-consulta-externa.model';\r\nimport { EvolucionConsultaExternaSettings } from '../config/evolucion-consulta-externa.settings';\r\nimport { EvolucionConsultaExternaService } from '../services/evolucion-consulta-externa.service';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ButtonsModule } from '@progress/kendo-angular-buttons';\r\nimport { DateInputsModule } from '@progress/kendo-angular-dateinputs';\r\nimport { DropDownsModule } from '@progress/kendo-angular-dropdowns';\r\nimport { IndicatorsModule } from '@progress/kendo-angular-indicators';\r\nimport { InputsModule } from '@progress/kendo-angular-inputs';\r\nimport { SearchAdmissionsV2Module } from '@src/app/Components/Generales/Admisiones/search-admissionsV2/search-admissionsV2.module';\r\nimport { ComponentsCoreFormsModule, DirectivesCoreFormsModule } from '@src/app/components/Core/core.saludplus.module';\r\nimport { SearchModule } from '@src/app/core/Search/search.module';\r\nimport { MainPipe } from '@src/pipes/main-pipe.module';\r\nimport { LookupDiagnosticosComponent } from '@src/app/shared/components/lookupDiagnosticos/components/lookupDiagnosticos.component';\r\nimport { TooltipsModule } from '@progress/kendo-angular-tooltip';\r\nimport { EvolucionConsultaExternaSearch } from '../config/evolucion-consulta-externa.search';\r\n\r\n\r\n@Component({\r\n selector: 'app-evolucion-consulta-externa',\r\n templateUrl: './evolucion-consulta-externa.component.html',\r\n styleUrls: ['./evolucion-consulta-externa.component.scss'],\r\n standalone: true,\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormsModule,\r\n ComponentsCoreFormsModule,\r\n DirectivesCoreFormsModule,\r\n SearchModule,\r\n MainPipe, SearchAdmissionsV2Module,\r\n //kendo\r\n DropDownsModule, DateInputsModule, InputsModule, ButtonsModule, IndicatorsModule, TooltipsModule,\r\n LookupDiagnosticosComponent\r\n ],\r\n providers: [EvolucionConsultaExternaService, EvolucionConsultaExternaSettings]\r\n})\r\nexport class EvolucionConsultaExternaComponent extends SplusBaseForm implements OnInit, OnDestroy {\r\n datosPartograma: IEvolucionConsultaExternaDTO;\r\n private settings = inject(EvolucionConsultaExternaSettings);\r\n private service = inject(EvolucionConsultaExternaService);\r\n private searchAdmissionsService = inject(SearchAdmissionsV2Service);\r\n idAdmision = new UntypedFormControl(null);\r\n dataAdmisionTocontrol: AdmisionesDTO;\r\n maxDate = new Date();\r\n public override isNaN = isNaN;\r\n //listado de opciones --\r\n options: SPlusOption[] = [\r\n {\r\n id: \"Listado\",\r\n icon: \"fa-solid fa-magnifying-glass\",\r\n text: \"Listado\",\r\n link: \"/historias-clinicas/evolucion-consulta-externa/listado\",\r\n },\r\n {\r\n id: \"Ayuda\",\r\n icon: \"fa-solid fa-circle-question\",\r\n text: \"Ayuda\",\r\n action: () => {\r\n this.OpenDocumentacion();\r\n },\r\n },\r\n ];\r\n\r\n //listado de más opciones --\r\n moreOptions: SPlusMoreOption[] = [\r\n {\r\n id: \"CrearEvolucion\",\r\n showIn: ProcessType.view,\r\n text: \"Crear nuevo evolución\",\r\n icon: \"fa-duotone fa-plus\",\r\n action: () => this.newRecord(),\r\n },\r\n {\r\n id: \"EliminarEvolution\",\r\n showIn: ProcessType.edit,\r\n text: \"Eliminar\",\r\n icon: \"fa-solid fa-trash-can\",\r\n action: () => this.dialogEliminar(),\r\n },\r\n ];\r\n private unsubcribe$ = new Subject();\r\n filterAdmision: FiltersData[] = [\r\n {\r\n propertyName: \"idCaracteristica\",\r\n propertyValue: CaracteristicasModule.EvolucionConsultaExterna,\r\n }\r\n ];\r\n\r\n selectConfig: any;\r\n\r\n\r\n\r\n\r\n constructor() {\r\n super()\r\n }\r\n ngOnDestroy() {\r\n this.unsubcribe$.next();\r\n this.unsubcribe$.complete();\r\n }\r\n /**\r\n * Abreviacion para acceder a los controles del FormRecord\r\n */\r\n public get f(): any {\r\n return this.FormRecord.controls;\r\n }\r\n async ngOnInit() {\r\n this.id = this.route.snapshot.params[\"id\"];\r\n this.title = this.route.snapshot.data[\"title\"];\r\n this.icon = this.route.snapshot.data[\"icon\"];\r\n this.titleService.setTitle(this.title);\r\n\r\n this.FormRecord = this.settings.FormComponents();\r\n this.isLoading = false;\r\n\r\n\r\n if (this.id) {\r\n this.LoadRecord();\r\n }\r\n\r\n\r\n }\r\n\r\n override onSubmit(event: any): void {\r\n event.preventDefault();\r\n this.submitted = true;\r\n if (this.FormRecord.valid) {\r\n this.isLoading = true;\r\n if (this.processType === this.ProcessType.edit) {\r\n this.UpdateRecord();\r\n } else {\r\n this.SaveRecord();\r\n }\r\n } else {\r\n this.isLoading = false;\r\n }\r\n }\r\n override SaveRecord(): void {\r\n let data = this.MapData();\r\n this.service\r\n .Guardar(data)\r\n .subscribe({\r\n next: (res) => {\r\n this.isLoading = false;\r\n if (res) {\r\n this.router.navigate([`${res}`], {\r\n queryParams: { mode: \"i\" },\r\n relativeTo: this.route,\r\n });\r\n }\r\n\r\n }\r\n , error: (err) => {\r\n this.isLoading = false;\r\n }\r\n });\r\n }\r\n override UpdateRecord(): void {\r\n this.isLoading = true;\r\n this.submitted = true;\r\n if (this.FormRecord.valid && !this.FormRecord.pristine) {\r\n let data = this.MapData();\r\n data.id = this.id;\r\n this.service\r\n .Actualizar(data)\r\n .subscribe({\r\n next: (res) => {\r\n this.isLoading = false;\r\n if (res) {\r\n this.router.navigate([], {\r\n queryParams: { mode: \"u\" },\r\n queryParamsHandling: \"merge\",\r\n });\r\n }\r\n\r\n\r\n }\r\n , error: (err) => {\r\n this.isLoading = false;\r\n }\r\n });\r\n } else {\r\n this.isLoading = false;\r\n }\r\n }\r\n override DeleteRecord(): void {\r\n this.isDeleting = true;\r\n this.isLoading = true;\r\n const userSearchParams = {\r\n idEvolucion: this.id\r\n };\r\n this.service.Eliminar(userSearchParams).subscribe({\r\n next: (res) => {\r\n if (res) {\r\n this.isDeleting = false;\r\n this.router.navigate([\"../\"], {\r\n queryParams: { mode: \"d\" },\r\n queryParamsHandling: \"merge\",\r\n relativeTo: this.route,\r\n });\r\n }\r\n\r\n }\r\n });\r\n }\r\n override LoadRecord(): void {\r\n this.isLoading = true;\r\n const userSearchParams = {\r\n idEvolucion: this.id\r\n };\r\n this.service.Buscar(userSearchParams).subscribe({\r\n next: async (res) => {\r\n this.isDeleting = false;\r\n if (res) {\r\n var cantidades = await this.service.ObtenerCantidadEvolucionesAsync(res.idAdmision, res.idProcedimiento);\r\n if (cantidades)\r\n this.FormRecord.get(\"numero\").setValue(`${cantidades.cantidadActual}/${cantidades.cantidadRestante}`);\r\n let admisiones = await this.searchAdmissionsService.FiltroAdmisionesAsync(res.idAdmision,true,res.idProcedimiento);\r\n if (admisiones.isSuccessful) {\r\n admisiones.result.idProcedimiento = res.idProcedimiento;\r\n this.FormRecord.get(\"admision\").setValue(admisiones.result);\r\n this.dataAdmisionTocontrol = admisiones.result\r\n }\r\n res.fechaEvolucion = this.intl.parseDate(\r\n res.fechaEvolucion.toString(),\r\n [\"G\", \"d\"]\r\n );\r\n this.datosPartograma = res;\r\n if (this.datosPartograma) {\r\n\r\n this.FormRecord.patchValue(this.datosPartograma);\r\n this.mapDiagnosticosToFormControl(res);\r\n this.isLoading = false;\r\n }\r\n }\r\n },\r\n error: (err) => {\r\n if (err instanceof HttpErrorResponse && err.status == 401) return;\r\n console.warn(\"Error critico de lado del cliente\", err);\r\n let dialogSettings = {} as SPlusDialogSettings;\r\n dialogSettings.title = \"Cargar Evolucion\";\r\n dialogSettings.description =\r\n \"Hubo un error al intentar cargar la evolucion por favor intentelo más tarde\";\r\n dialogSettings.actions = [{ text: \"Cerrar\" }];\r\n this.splusFormsDialogsService.Show(dialogSettings);\r\n },\r\n });\r\n }\r\n override goEdit(): void {\r\n this.routingState.goEdit();\r\n }\r\n override cancelEdit(): void {\r\n if (this.processType === ProcessType.create) {\r\n this.goback();\r\n } else if (this.processType === ProcessType.edit) {\r\n // validar si se modificó el formulario visualmente\r\n if (!this.FormRecord.pristine) {\r\n let dialogSettings = {} as SPlusDialogSettings;\r\n dialogSettings.title = \"Cancelar edición\";\r\n dialogSettings.isHtml = true;\r\n dialogSettings.description =\r\n \"Hay cambios pendientes por guardar.
¿Estás seguro que desea cancelar la edición?\";\r\n dialogSettings.actions = [\r\n { text: \"Seguir Editando\" },\r\n { text: \"Si, Cancelar\", themeColor: \"primary\", value: true },\r\n ];\r\n this.splusFormsDialogsService\r\n .Show(dialogSettings)\r\n .pipe(takeUntil(this.unsubcribe$))\r\n .subscribe((result) => {\r\n if (result instanceof SPlusDialogCloseResult) {\r\n console.log(\"close\", result);\r\n } else {\r\n if (result.value) {\r\n this.cancelUpdate();\r\n }\r\n }\r\n });\r\n } else {\r\n this.goback();\r\n }\r\n }\r\n }\r\n override clearForm(): void {\r\n this.FormRecord.reset();\r\n this.FormRecord.updateValueAndValidity();\r\n this.submitted = false;\r\n this.idAdmision?.setValue(null);\r\n this.FormRecord.get(\"admision\").setValue(null);\r\n }\r\n /**\r\n * Cancelar edicion\r\n */\r\n cancelUpdate() {\r\n this.FormRecord.patchValue(this.datosPartograma);\r\n this.FormRecord.markAsPristine();\r\n this.router.navigate([], {\r\n queryParams: { mode: null },\r\n queryParamsHandling: \"merge\",\r\n });\r\n }\r\n\r\n\r\n private MapData(): IEvolucionConsultaExternaDTO {\r\n let data = this.FormRecord.value as IEvolucionConsultaExternaDTO;\r\n\r\n const realcioandos = this.FormRecord.get(\"idsDiagnoticoRelacionados\").value as string[];\r\n data.evolucionConsultaExternaDiagnosticosSecundarios = realcioandos.map((x) => {\r\n return { idDiagnostico: x, idEvolucionConsultaExterna: this.id } as IEvolucionConsultaExternaDiagnosticosSecundarioDTO;\r\n\r\n });\r\n\r\n return data;\r\n\r\n }\r\n private mapDiagnosticosToFormControl(data: IEvolucionConsultaExternaDTO): void {\r\n if (data && data.evolucionConsultaExternaDiagnosticosSecundarios) {\r\n const idsDiagnosticos = data.evolucionConsultaExternaDiagnosticosSecundarios.map(\r\n diagnostico => diagnostico.idDiagnostico\r\n );\r\n\r\n // Asignamos el array de IDs al FormControl\r\n this.FormRecord.get(\"idsDiagnoticoRelacionados\").setValue(idsDiagnosticos);\r\n } else {\r\n this.FormRecord.get(\"idsDiagnoticoRelacionados\").setValue([]);\r\n }\r\n }\r\n async CargarEvolucion() {\r\n const idAdmision = this.FormRecord.get(\"idAdmision\").value as number\r\n const idProcedimiento = this.FormRecord.get(\"idProcedimiento\").value as string\r\n if(!idAdmision || !idProcedimiento) return;\r\n\r\n\r\n const analisis = await this.service.CargarEvolucion(idAdmision, idProcedimiento);\r\n if(analisis)\r\n this.FormRecord.get(\"analisis\").setValue(analisis);\r\n }\r\n\r\n\r\n\r\n\r\n /**\r\n * Abre alerta para eliminar registro\r\n */\r\n dialogEliminar() {\r\n let dialogSettings = {} as SPlusDialogSettings;\r\n dialogSettings.title = \"Eliminar evolución\";\r\n dialogSettings.description =\r\n \"¿Estas seguro que desea eliminar esta evolución?\";\r\n dialogSettings.actions = [\r\n { text: \"Cancelar\" },\r\n { text: \"Si, Eliminar\", themeColor: \"warning\", value: true },\r\n ];\r\n this.splusFormsDialogsService\r\n .Show(dialogSettings)\r\n .pipe(takeUntil(this.unsubcribe$))\r\n .subscribe((result) => {\r\n if (result instanceof SPlusDialogCloseResult) {\r\n console.log(\"close\", result);\r\n } else {\r\n if (result.value) {\r\n this.DeleteRecord();\r\n }\r\n }\r\n });\r\n }\r\n async GetParametrizacionesPorAdmision(data: AdmisionesDTO) {\r\n if(this.id) return;\r\n this.FormRecord.get(\"idAdmision\").setValue(data.id);\r\n this.FormRecord.get(\"idProcedimiento\").setValue(data.idProcedimiento);\r\n var cantidades = await this.service.ObtenerCantidadEvolucionesAsync(data.id, data.idProcedimiento);\r\n if (cantidades)\r\n this.FormRecord.get(\"numero\").setValue(`${cantidades.cantidadActual}/${cantidades.cantidadRestante}`);\r\n\r\n }\r\n\r\n\r\n\r\n}\r\n","\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n {{dataAdmisionTocontrol?.nombreCompleto | uppercase }}\r\n\r\n
\r\n\r\n
\r\n  \r\n  \r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {{isNaN(title) ? title : \" Ene. \" + title.substring( 2, 4 )}}\r\n \r\n \r\n \r\n {{calendar.value | SPlusDate}}\r\n \r\n \r\n @if(f.numero?.value){\r\n
\r\n \r\n \r\n \r\n \r\n {{f.numero.value}}\r\n
\r\n }\r\n\r\n\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n\r\n \r\n\r\n \r\n {{select[\"viewModeValue\"]}}\r\n \r\n\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n {{select[\"viewModeValue\"]}}\r\n \r\n\r\n \r\n
\r\n\r\n\r\n\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n","import { UntypedFormGroup, Validators } from \"@angular/forms\";\r\nimport { Router, ActivatedRoute } from \"@angular/router\";\r\nimport { Component, inject } from \"@angular/core\";\r\nimport {\r\n TegettFormControl,\r\n TypeField,\r\n} from \"src/app/models/Tegett/tegettFormControl\";\r\nimport Validation from \"@src/app/components/Core/directives/generals/validatorError\";\r\nimport { FiltersRecently } from \"@src/app/models/base/FiltersRecently\";\r\nimport { PartogramaService } from \"../../partograma/services/partograma.service\";\r\n\r\n/*\r\n@Component({\r\n selector: \"app-empleados-setting\",\r\n template: ``\r\n})*/\r\nexport class EvolucionConsultaExternaSettings {\r\n\r\n private empleadoServices = inject(PartogramaService);\r\n\r\n constructor() {}\r\n\r\n\r\n /**\r\n * Componentes del formulario\r\n */\r\n FormComponents(): UntypedFormGroup {\r\n const formRecord = new UntypedFormGroup(\r\n {\r\n // Numero Identificacion\r\n idAdmision: new TegettFormControl({\r\n formState: null,\r\n validatorOrOpts: [Validators.required],\r\n label: \"Admisión\",\r\n typeField: TypeField.List,\r\n required: true,\r\n nameControl: \"idAdmision\",\r\n }),\r\n admision: new TegettFormControl({\r\n formState: null,\r\n label: \"Admisión\",\r\n typeField: TypeField.List,\r\n required: true,\r\n nameControl: \"admision\",\r\n }),\r\n fechaEvolucion: new TegettFormControl({\r\n formState: null,\r\n validatorOrOpts: [Validators.required],\r\n label: \"Fecha Evolución\",\r\n typeField: TypeField.Input,\r\n required: true,\r\n nameControl: \"fechaEvolucion\",\r\n }),\r\n idDiagnoticoPrincipal: new TegettFormControl({\r\n formState: null,\r\n validatorOrOpts: [Validators.required],\r\n label: \"Diagnostico Principal\",\r\n typeField: TypeField.List,\r\n required: true,\r\n nameControl: \"idDiagnoticoPrincipal\",\r\n }),\r\n idsDiagnoticoRelacionados: new TegettFormControl({\r\n formState: null,\r\n label: \"Diagnosticos Relacionados\",\r\n typeField: TypeField.List,\r\n required: false,\r\n nameControl: \"idsDiagnoticoRelacionados\",\r\n }),\r\n analisis: new TegettFormControl({\r\n formState: null,\r\n validatorOrOpts: [Validators.required],\r\n label: \"Analisis\",\r\n typeField: TypeField.Input,\r\n required: true,\r\n nameControl: \"analisis\",\r\n }),\r\n hallazgosFisicosTensionArterial: new TegettFormControl({\r\n formState: null,\r\n label: \"Tensión Arterial\",\r\n validatorOrOpts: [Validators.pattern(/^\\d{2,3}\\/\\d{2,3}$/)],\r\n typeField: TypeField.Input,\r\n required: false,\r\n nameControl: \"hallazgosFisicosTensionArterial\",\r\n }),\r\n hallazgosFisicosFrecuenciaCardiaca: new TegettFormControl({\r\n formState: null,\r\n validatorOrOpts: [Validators.max(999), Validators.min(40)],\r\n label: \"Frecuencia Cardiaca\",\r\n typeField: TypeField.Input,\r\n required: false,\r\n nameControl: \"hallazgosFisicosFrecuenciaCardiaca\",\r\n }),\r\n hallazgosFisicosTemperatura: new TegettFormControl({\r\n formState: null,\r\n validatorOrOpts: [Validators.max(99), Validators.min(20)],\r\n label: \"Temperatura\",\r\n typeField: TypeField.Input,\r\n required: false,\r\n nameControl: \"hallazgosFisicosTemperatura\",\r\n }),\r\n hallazgosFisicosFrecuenciaRespiratoria: new TegettFormControl({\r\n formState: null,\r\n label: \"Frecuencia Respiratoria\",\r\n validatorOrOpts: [Validators.max(99), Validators.min(10)],\r\n typeField: TypeField.Input,\r\n required: false,\r\n nameControl: \"hallazgosFisicosFrecuenciaRespiratoria\",\r\n }),\r\n hallazgosFisicosSaturacionOxigeno: new TegettFormControl({\r\n formState: null,\r\n label: \"Saturación Oxigeno\",\r\n validatorOrOpts: [Validators.max(99), Validators.min(10)],\r\n typeField: TypeField.Input,\r\n required: false,\r\n nameControl: \"hallazgosFisicosSaturacionOxigeno\",\r\n }),\r\n observaciones: new TegettFormControl({\r\n formState: null,\r\n label: \"Observaciones\",\r\n typeField: TypeField.Input,\r\n required: false,\r\n nameControl: \"observaciones\",\r\n }),\r\n numero: new TegettFormControl({\r\n formState: null,\r\n label: \"Numero Evoluciones\",\r\n typeField: TypeField.Input,\r\n required: false,\r\n nameControl: \"numero\",\r\n }),\r\n idProcedimiento: new TegettFormControl({\r\n formState: null,\r\n label: \"idProcedimiento\",\r\n typeField: TypeField.Input,\r\n required: false,\r\n nameControl: \"idProcedimiento\",\r\n }),\r\n\r\n },\r\n );\r\n\r\n return formRecord;\r\n }\r\n\r\n\r\n\r\n LoadSimpleFilter(): FiltersRecently[] {\r\n let filterdataRecently: FiltersRecently[] = [\r\n {\r\n field: 0,\r\n text: \"Mis Actividades\",\r\n separator: true,\r\n value: \"1\"\r\n },\r\n {\r\n field: 1,\r\n text: \"Actualizado recientemente\",\r\n value: \"2\"\r\n },\r\n {\r\n field: 2,\r\n text: \"Creado recientemente\",\r\n isDefault: true,\r\n value: \"3\"\r\n }\r\n ];\r\n return filterdataRecently\r\n }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { HttpErrorResponse, HttpParams } from \"@angular/common/http\";\r\nimport { ControllerApiList } from \"@app/models/SaludPlus/Controller/ControllerList\";\r\nimport { SaludPlusApiResponse } from \"@src/app/models/base/SaludplusApiResponse\";\r\nimport { lastValueFrom, map, Observable } from \"rxjs\";\r\nimport { SplusBaseService } from \"@src/app/services/Generals/splusBase.service\";\r\n\r\n\r\n@Injectable({\r\n providedIn: \"root\",\r\n})\r\nexport class EvolucionConsultaExternaService extends SplusBaseService {\r\n static instance: EvolucionConsultaExternaService;\r\n error: HttpErrorResponse;\r\n\r\n constructor() {\r\n super();\r\n this.nameEndPoint = `${ControllerApiList.HistoriasClinicas.EvolucionConsultaExterna}`\r\n }\r\n\r\n\r\n async ObtenerCantidadEvolucionesAsync(idAdmision: number, idProcedimiento: string): Promise {\r\n let params = new HttpParams()\r\n .set(\"idAdmision\", idAdmision)\r\n .set(\"idProcedimiento\", idProcedimiento);\r\n\r\n const response = this.http.get>(\r\n `${this.nameEndPoint}/ObtenerCantidadEvoluciones`, { params }\r\n ).pipe(map(response => {\r\n return this.resolveRequestResultService.resolve(response);\r\n }));\r\n const dataResponse = await lastValueFrom(response);\r\n return dataResponse;\r\n }\r\n async CargarEvolucion(idAdmision: number, idProcedimiento: string): Promise {\r\n let params = new HttpParams()\r\n .set(\"idAdmision\", idAdmision)\r\n .set(\"idProcedimiento\", idProcedimiento);\r\n\r\n const response = this.http.get>(\r\n `${this.nameEndPoint}/ObtenerUltimaEvolucion`, { params }\r\n ).pipe(map(response => {\r\n return this.resolveRequestResultService.resolve(response);\r\n }));\r\n const dataResponse = await lastValueFrom(response);\r\n return dataResponse;\r\n }\r\n\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, inject, Input, OnInit, Output, TemplateRef, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { ControlValueAccessor, FormControl, FormsModule, NG_VALUE_ACCESSOR, ReactiveFormsModule } from '@angular/forms';\r\nimport { DropDownsModule } from '@progress/kendo-angular-dropdowns';\r\nimport { InputsModule } from '@progress/kendo-angular-inputs';\r\nimport { PopupModule } from '@progress/kendo-angular-popup';\r\nimport { ProcessType, SPlusDialogSettings, SPlusFormsDialogsService, SPlusFormsService } from '@saludplus/forms';\r\nimport { ComponentsCoreFormsModule, DirectivesCoreFormsModule } from '@src/app/components/Core/core.saludplus.module';\r\nimport { DiagnosticoCIE10Settings } from '@src/app/Components/Generales/DiagnosticoCIE10/config/diagnosticoCIE10.settings';\r\nimport { DiagnosticoCIE10Service } from '@src/app/Components/Generales/DiagnosticoCIE10/services/diagnosticoCIE10.service';\r\nimport { SearchModule } from '@src/app/core/Search/search.module';\r\nimport { FiltersData } from '@src/app/models/base/filterModel';\r\nimport { DiagnosticoCIE10DTO } from '@src/app/models/General/DiagnosticoCIE10DTO';\r\n\r\n\r\n\r\n\r\n@Component({\r\n selector: 'lookup-diagnosticos',\r\n templateUrl: './lookupDiagnosticos.component.html',\r\n styleUrls: ['./lookupDiagnosticos.component.scss'],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n SearchModule,\r\n ComponentsCoreFormsModule, DirectivesCoreFormsModule,\r\n //kendo\r\n DropDownsModule, PopupModule, InputsModule\r\n ],\r\n providers: [\r\n {\r\n provide: NG_VALUE_ACCESSOR,\r\n useExisting: LookupDiagnosticosComponent,\r\n multi: true\r\n },\r\n DiagnosticoCIE10Settings\r\n ]\r\n})\r\nexport class LookupDiagnosticosComponent implements ControlValueAccessor {\r\n\r\n control = new FormControl();\r\n @Input() splusGroup: any;\r\n @Input() id: string;\r\n @Input() valuePrimitive: boolean = true;\r\n @Input() multiselect: boolean = false;\r\n @Input() filters: FiltersData[];\r\n @Output() selectionChange = new EventEmitter();\r\n viewModeValue = \"\";\r\n data: DiagnosticoCIE10DTO[] = [];\r\n dataSelecction: DiagnosticoCIE10DTO[] = [];\r\n loading = false;\r\n private sPlusFormsDialogsService = inject(SPlusFormsDialogsService);\r\n private service = inject(DiagnosticoCIE10Service);\r\n\r\n setting = DiagnosticoCIE10Settings;\r\n\r\n closePop: boolean;\r\n inPopUp: boolean;\r\n\r\n @Input() processType: ProcessType;\r\n ProcessType = ProcessType;\r\n\r\n\r\n constructor() {\r\n\r\n this.filters = this.filters ?? [];\r\n this.filters.push({\r\n propertyName: \"selectionPopup\",\r\n propertyValue: true,\r\n });\r\n }\r\n public async open(): Promise {\r\n if (this.data.length == 0) {\r\n this.loading = true;\r\n this.data = await this.service.ConsultarEnfermedadesAsync(\"\",5);\r\n this.loading = false;\r\n }\r\n }\r\n\r\n async writeValue(value: string | string[] | DiagnosticoCIE10DTO | DiagnosticoCIE10DTO[]): Promise {\r\n if (!value) return;\r\n\r\n if (this.multiselect) {\r\n const values = Array.isArray(value) ? value : [value];\r\n const missingIds = values\r\n .map(v => typeof v === 'string' ? v : v.idEnfermedad)\r\n .filter(id => !this.data.find(item => item.idEnfermedad === id));\r\n\r\n if (missingIds.length > 0) {\r\n const promises = missingIds.map(id =>\r\n this.service.ObtenerDiagnosticoAsync(id)\r\n );\r\n\r\n const results = await Promise.all(promises);\r\n const validResults = results.filter(Boolean);\r\n\r\n if (validResults.length > 0) {\r\n this.data.push(...validResults);\r\n this.viewModeValue = validResults.map(item => item.nombreEnfermedad).join(', ');\r\n }\r\n }\r\n } else {\r\n const idDiadnosticoSearch = typeof value === 'string' ? value : (value as DiagnosticoCIE10DTO).idEnfermedad;\r\n if (!this.data.find(item => item.nombreEnfermedad === idDiadnosticoSearch)) {\r\n const dataApi = await this.service.ObtenerDiagnosticoAsync(idDiadnosticoSearch);\r\n if (dataApi) {\r\n this.viewModeValue = dataApi.nombreEnfermedad;\r\n this.data.push(dataApi);\r\n }\r\n }\r\n }\r\n\r\n this.control.setValue(value, { emitEvent: true });\r\n }\r\n\r\n registerOnChange(fn: any): void {\r\n this.onChange = fn;\r\n }\r\n\r\n registerOnTouched(fn: any): void {\r\n this.onTouched = fn;\r\n }\r\n\r\n setDisabledState?(isDisabled: boolean): void {\r\n isDisabled ? this.control.disable() : this.control.enable();\r\n }\r\n\r\n onChange = (_: any) => { };\r\n private onTouched = () => { };\r\n\r\n selectionChangeDiagnostico(seleccion: DiagnosticoCIE10DTO | DiagnosticoCIE10DTO[] | string | string[]): void {\r\n if (this.multiselect) {\r\n if (this.valuePrimitive) {\r\n this.data = this.data.filter(item => (seleccion as string[]).includes(item.idEnfermedad));\r\n\r\n }\r\n else {\r\n this.data = this.data.filter(item => (seleccion as DiagnosticoCIE10DTO[]).find(s => s.idEnfermedad == item.idEnfermedad));\r\n }\r\n\r\n }\r\n this.onChange(seleccion);\r\n this.control.setValue(seleccion);\r\n this.selectionChange.emit(seleccion);\r\n }\r\n\r\n\r\n ngOnInit() {\r\n\r\n }\r\n\r\n async Filtrar(value: string, IsViewMode = false) {\r\n if (!value || value.length < 3) {\r\n return null;\r\n }\r\n\r\n const isSelection = this.data.some(item =>\r\n item.nombreEnfermedad.toLowerCase() == value.toLowerCase() );\r\n\r\n if (isSelection) {\r\n return null;\r\n }\r\n\r\n try {\r\n this.loading = true;\r\n this.data = await this.service.ConsultarEnfermedadesAsync(value);\r\n this.loading = false;\r\n } catch (error) {\r\n console.error(\"Error al cargar diagnosticos:\", error);\r\n return null;\r\n }\r\n }\r\n\r\n\r\n\r\n @ViewChild(\"container\", { read: ViewContainerRef }) public containerRef: ViewContainerRef;\r\n OpenDiagBuscar(template: TemplateRef): void {\r\n let dialogSettings = {} as SPlusDialogSettings;\r\n dialogSettings.content = template;\r\n dialogSettings.appendTo = this.containerRef;\r\n dialogSettings.width = \"70%\";\r\n dialogSettings.title = \"Listado Diagnosticos\";\r\n dialogSettings.actions = [{ text: \"Cerrar\" }]\r\n dialogSettings.actionsLayout = \"end\"\r\n this.sPlusFormsDialogsService.ShowCustom(dialogSettings)\r\n }\r\n\r\n GetSelection(seleccion: DiagnosticoCIE10DTO) {\r\n\r\n if (this.multiselect) {\r\n if (this.data.some(item => item.idEnfermedad == seleccion.idEnfermedad)) {\r\n this.closePop = true;\r\n setTimeout(() => {\r\n this.closePop = false;\r\n }, 500);\r\n return;\r\n\r\n }\r\n if (this.valuePrimitive) {\r\n this.data = this.data ? [...this.data, seleccion] : [seleccion];\r\n const ids = this.data.map(item => item.idEnfermedad);\r\n this.control.setValue(ids);\r\n this.onChange(ids);\r\n this.selectionChange.emit(ids);\r\n this.viewModeValue = this.data.map(item => item.nombreEnfermedad).join(', ');\r\n } else {\r\n\r\n this.control.setValue(this.data);\r\n this.onChange(this.data);\r\n this.selectionChange.emit(this.data);\r\n this.viewModeValue = this.data.map(item => item.nombreEnfermedad).join(', ');\r\n }\r\n } else {\r\n this.data = [seleccion];\r\n this.viewModeValue = seleccion?.nombreEnfermedad;\r\n\r\n if (this.valuePrimitive) {\r\n this.control.setValue(seleccion.idEnfermedad);\r\n this.onChange(seleccion.idEnfermedad);\r\n this.selectionChange.emit(seleccion.idEnfermedad);\r\n } else {\r\n this.control.setValue(seleccion);\r\n this.onChange(seleccion);\r\n this.selectionChange.emit(seleccion);\r\n }\r\n }\r\n\r\n this.closePop = true;\r\n setTimeout(() => {\r\n this.closePop = false;\r\n }, 500);\r\n }\r\n\r\n}\r\n","@if (!multiselect) {\r\n\r\n \r\n {{ dataItem?.nombreCompleto}}\r\n \r\n \r\n
\r\n
\r\n No hay datos.
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n
\r\n}\r\n@else {\r\n\r\n \r\n {{ dataItem?.nombreCompleto }}\r\n \r\n \r\n
\r\n
\r\n No hay datos.
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n}\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n\r\n","import { UntypedFormGroup, Validators } from \"@angular/forms\";\r\nimport { Router, ActivatedRoute } from \"@angular/router\";\r\nimport { FormSearch } from \"src/app/models/base/FormSearch\";\r\nimport { Component, Inject, inject } from \"@angular/core\";\r\nimport {\r\n TegettFormControl,\r\n TypeField,\r\n} from \"src/app/models/Tegett/tegettFormControl\";\r\nimport { SearchTypeFilter } from \"@src/app/models/base/Search/SearchType\";\r\nimport {\r\n DateFilter,\r\n MultipleFilter,\r\n MultipleFilterData,\r\n} from \"@src/app/models/Tegett/SimpleFilterData\";\r\nimport { TiposDocumentos } from \"@src/app/models/SaludPlus/TiposDocumentos.model\";\r\nimport Validation from \"@src/app/components/Core/directives/generals/validatorError\";\r\nimport { ControllerApiList } from \"@src/app/models/SaludPlus/Controller/ControllerList\";\r\nimport { FiltersRecently } from \"@src/app/models/base/FiltersRecently\";\r\nimport { lastValueFrom } from \"rxjs\";\r\nimport { BaseSearchSetting } from \"@src/app/models/base/BaseSearchSetting\";\r\nimport { EndPointMethods, FiltersData } from \"@src/app/models/base/filterModel\";\r\nimport { EvolucionConsultaExternaSettings } from \"./evolucion-consulta-externa.settings\";\r\n\r\n\r\n@Component({\r\n selector: \"app-EvolucionConsultaExternaSettings\",\r\n template: \"\",\r\n standalone: false\r\n})\r\nexport class EvolucionConsultaExternaSearch implements BaseSearchSetting {\r\n\r\n tiposDocumentos: MultipleFilter;\r\n selectionPopup = false;\r\n\r\n\r\n\r\n private router = inject(Router)\r\n private route = inject(ActivatedRoute)\r\n private settings = inject(EvolucionConsultaExternaSettings)\r\n\r\n constructor() { }\r\n async Load() {\r\n return true;\r\n\r\n }\r\n\r\n /**\r\n * Funcion para armar la busqueda\r\n */\r\n loadFormSearch(): FormSearch {\r\n const empleadoSearch = new FormSearch();\r\n\r\n empleadoSearch.formComponents = this.settings.FormComponents()\r\n empleadoSearch.configSearch = {\r\n title: \"Evolucion Consulta Externa\",\r\n titleIcon: \"fa-duotone fa-solid fa-user-doctor-message\",\r\n apiSearch: ControllerApiList.HistoriasClinicas.EvolucionConsultaExterna,\r\n apiSearchResult: \"Listado\",\r\n apiSearchVersion: 3,\r\n filtersRecently: this.LoadSimpleFilter(),\r\n buttonNewRecordText: \"Nuevo Evolucion Consulta Externa\",\r\n MethodRequest: EndPointMethods.GET,\r\n buttonNewRecordClick: () => this.newRecord(),\r\n\r\n settings: [\r\n { objectKey: \"id\", sortV3: \"desc\", visible: false },\r\n ],\r\n fields: [\r\n {\r\n renderLabel: \"ID\",\r\n objectKey: \"id\",\r\n autoSize: true,\r\n },\r\n {\r\n objectKey: \"documentoPaciente\",\r\n renderLabel: \"Documento Paciente\",\r\n pipe: \"ColumnCustom\", icon: \"inherit\",\r\n click: (row) => this.goView(row),\r\n autoSize: true,\r\n isLink: true,\r\n },\r\n {\r\n objectKey: \"numeroAdmision\",\r\n renderLabel: \"Numero Admisión\",\r\n },\r\n {\r\n objectKey: \"paciente\",\r\n renderLabel: \"Nombre Paciente\",\r\n },\r\n {\r\n objectKey: \"fecha\",\r\n renderLabel: \"Fecha\",\r\n },\r\n {\r\n objectKey: \"hora\",\r\n renderLabel: \"Hora\",\r\n },\r\n ],\r\n filters: [\r\n { objectKey: \"nombre1Paciente\", type: SearchTypeFilter.Text },\r\n { objectKey: \"nombre2Paciente\", type: SearchTypeFilter.Text },\r\n { objectKey: \"apellido1Paciente\", type: SearchTypeFilter.Text },\r\n { objectKey: \"apellido2Paciente\", type: SearchTypeFilter.Text },\r\n {\r\n objectKey: \"fecha\",\r\n type: SearchTypeFilter.DateFilter,\r\n data: this.ConfigDate()\r\n },\r\n ],\r\n };\r\n return empleadoSearch;\r\n }\r\n\r\n\r\n\r\n\r\n newRecord() {\r\n this.router.navigate([\"../\"], { relativeTo: this.route });\r\n }\r\n ConfigDate() {\r\n let filter = {} as DateFilter;\r\n filter.label = \"Fecha\";\r\n filter.name = \"fecha\";\r\n filter.type = SearchTypeFilter.DateFilter;\r\n return filter;\r\n }\r\n goEdit(id: number) {\r\n this.router.navigate([\"../\", id], {\r\n queryParams: { mode: \"e\" },\r\n queryParamsHandling: \"merge\",\r\n relativeTo: this.route,\r\n });\r\n }\r\n\r\n /**\r\n * ir al registro\r\n * @param row linea proveniente de la busqueda\r\n */\r\n goView(row: any) {\r\n if (row.id) {\r\n this.router.navigate([\"../\", row.id], { relativeTo: this.route });\r\n }\r\n }\r\n\r\n LoadSimpleFilter(): FiltersRecently[] {\r\n let filterdataRecently: FiltersRecently[] = [\r\n {\r\n field: 0,\r\n text: \"Mis Actividades\",\r\n separator: true,\r\n value: \"1\"\r\n },\r\n {\r\n field: 1,\r\n text: \"Actualizado recientemente\",\r\n value: \"2\"\r\n },\r\n {\r\n field: 2,\r\n text: \"Creado recientemente\",\r\n isDefault: true,\r\n value: \"3\"\r\n }\r\n ];\r\n return filterdataRecently\r\n }\r\n}\r\n","import { NgModule } from \"@angular/core\";\r\nimport { Routes, RouterModule } from \"@angular/router\";\r\nimport { AuthGuard } from \"@app/services/Security/guard.service\";\r\nimport { AppSettings } from \"@app/helpers/AppSettings\";\r\nimport { SearchInListComponent } from \"@src/app/core/Search/search-in-list/search-in-list.component\";\r\nimport { EvolucionConsultaExternaComponent } from \"./components/evolucion-consulta-externa.component\";\r\nimport { EvolucionConsultaExternaSettings } from \"./config/evolucion-consulta-externa.settings\";\r\nimport { EvolucionConsultaExternaSearch } from \"./config/evolucion-consulta-externa.search\";\r\n\r\n\r\n\r\nexport const RoutesEvolucionConsultaExterna = {\r\n path: \"historias-clinicas/evolucion-consulta-externa\",\r\n children: [\r\n { path: \"\", component: EvolucionConsultaExternaComponent },\r\n {\r\n path: \"listado\",\r\n component: SearchInListComponent,\r\n providers: [EvolucionConsultaExternaSettings, EvolucionConsultaExternaSearch],\r\n },\r\n { path: \":id\", component: EvolucionConsultaExternaComponent }\r\n ],\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: `Evolución Consulta Externa`,\r\n icon: \"fa-duotone fa-solid fa-user-doctor-message\",\r\n setting: EvolucionConsultaExternaSettings,\r\n search: EvolucionConsultaExternaSearch\r\n }\r\n}\r\n","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { AuthGuard } from \"@app/services/Security/guard.service\";\r\nimport { PaquetesMedicamentosRoutingModule } from \"./paquetes-medicamentos/paquetes-medicamentos.routing\";\r\nimport { PaquetesProcedimientosRoutingModule } from \"./paquetes-procedimientos/paquetes-procedimientos.routing\";\r\nimport { ListadoCronicosRoutingModule } from \"./reportes/listado-cronico/listado-cronico.routing\";\r\nimport { ListadoPrenatalRoutingModule } from \"./reportes/listado-prenatal/listado-prenatal.routing\";\r\nimport { ListadoRemisionesRoutingModule } from \"./reportes/listado-remisiones/listado-remisiones.routing\";\r\nimport { PartogramaRoutingModule } from \"./partograma/partograma.routing\";\r\nimport { RoutesEvolucionConsultaExterna } from \"./evolucion-consulta-externa/evolucion-consulta-externa.routing\";\r\n//import { ListadoRemisionesRoutingModule } from \"../Asistencial/Reportes/listado-remisiones/listado-remisiones.routing\";\r\n\r\n\r\n\r\n\r\nconst routes: Routes = [\r\n\r\n //Listado Remisiones\r\n ListadoRemisionesRoutingModule.RoutingRemisionesRedirect,\r\n ListadoRemisionesRoutingModule.RoutingRemisiones,\r\n\r\n //listafo Cronico\r\n ListadoCronicosRoutingModule.RoutingCronicosRedirect,\r\n ListadoCronicosRoutingModule.RoutingCronicos,\r\n\r\n //Listado prenatal\r\n ListadoPrenatalRoutingModule.RoutingPrenatalRedirect,\r\n ListadoPrenatalRoutingModule.RoutingPrenatal,\r\n\r\n //Paquetes de medicamentos\r\n PaquetesMedicamentosRoutingModule.RoutingPaquetesMedicamentosRedirect,\r\n PaquetesMedicamentosRoutingModule.RoutingPaquetesMedicamentos,\r\n\r\n //Paquetes de procedimientos\r\n PaquetesProcedimientosRoutingModule.RoutingPaquetesProcedimientosRedirect,\r\n PaquetesProcedimientosRoutingModule.RoutingPaquetesProcedimientos,\r\n\r\n // Partograma\r\n PartogramaRoutingModule.RoutingPartograma,\r\n\r\n // Evolucion Consulta Externa\r\n RoutesEvolucionConsultaExterna\r\n\r\n\r\n\r\n];\r\nexport const HistoriaClinicasRoutes = RouterModule.forChild(routes);\r\n","import { RouterModule, Routes } from \"@angular/router\"; \r\nimport { NgModule } from \"@angular/core\";\r\nimport { AuthGuard } from \"@src/app/services/Security/guard.service\";\r\nimport { LogComponent } from \"./Components/logs.component\";\r\n\r\nconst routes: Routes = [\r\n \r\n { path: \"\", component: LogComponent }, \r\n]\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class LogRoutingModule {\r\n \r\n //Routing principal\r\n public static RoutingLogs = {\r\n path: \"auditoria/logs\",\r\n loadComponent: () =>\r\n import(\"./Components/logs.component\").then(\r\n (m) => m.LogComponent\r\n ),\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: `Sistema Logs`,\r\n icon: \"fa-duotone fa-solid fa-square-info\",\r\n \r\n },\r\n };\r\n}\r\n","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { IncidenciasRoutingModule } from \"./incidencias/incidencias.routing\";\r\nimport { LogRoutingModule } from \"./system-logs/log.routing\";\r\n\r\nconst routes: Routes = [\r\n // Incidencias\r\n IncidenciasRoutingModule.RoutingIncidencias,\r\n LogRoutingModule.RoutingLogs\r\n];\r\nexport const AuditoriasRoutes = RouterModule.forChild(routes);\r\n","import { RouterModule, Routes } from \"@angular/router\";\r\nimport { ArticulosRoutingModule } from \"../Administracion/articulos/articulos.routing\";\r\nimport { BodegasRoutes } from \"./bodegas/bodegas.routing\";\r\nimport { GruposInventarioRoutingModule } from \"./grupos-inventario/grupos-inventario.routing\";\r\nimport { RetencionesRoutingModule } from \"./retenciones/retenciones.routing\";\r\nimport { TiposNotasRoutingModule } from \"./tipos-notas/tipos-notas.routing\";\r\nimport { EntregaHospitalizacionRoutingModule } from \"./entrega-hospitalizacion/entrega-hospitalizacion.routing\";\r\n\r\nconst routes: Routes = [\r\n\r\n\r\n //Bodegas\r\n BodegasRoutes.RoutingBodegasRedirect,\r\n BodegasRoutes.RoutingBodegas,\r\n\r\n //Grupo de inventario\r\n GruposInventarioRoutingModule.RoutingGruposInventarioRedirect,\r\n GruposInventarioRoutingModule.RoutingGruposInventario,\r\n\r\n //Retenciones\r\n RetencionesRoutingModule.RoutingRetencionesContabilidad,\r\n RetencionesRoutingModule.RoutingRetenciones,\r\n\r\n //Tipos de notas\r\n TiposNotasRoutingModule.RoutingTiposNotasRedirect,\r\n TiposNotasRoutingModule.RoutingTiposNotas,\r\n\r\n //Articulos\r\n ArticulosRoutingModule.RoutingArticulosInventarioRedirect,\r\n ArticulosRoutingModule.RoutingArticulosInventario,\r\n\r\n // Entrega Hospitalizacion\r\n EntregaHospitalizacionRoutingModule.RoutingEntregaHospitalizacion\r\n\r\n ];\r\n export const InventarioRoutes = RouterModule.forChild(routes);\r\n","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { ConsultoriosRoutingModule } from './consultorios/consultorios.routing';\r\nimport { CitasCanceladasInasistenteRoutingModule } from \"./reportes/citas-canceladas-inasistentes/citas-canceladas-inasistente.routing\";\r\n\r\nconst routes: Routes = [\r\n //Consultorios\r\n ConsultoriosRoutingModule.RoutingConsultoriosRedirect,\r\n ConsultoriosRoutingModule.RoutingConsultorios,\r\n\r\n CitasCanceladasInasistenteRoutingModule.RoutingCitasCanceladasInasistente\r\n\r\n];\r\n\r\nexport const CitasRoutes = RouterModule.forChild(routes);\r\n","import { Component, OnInit } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-pagos-pendientes',\r\n templateUrl: './pagos-pendientes.component.html',\r\n styleUrls: ['./pagos-pendientes.component.css'],\r\n standalone: false\r\n})\r\nexport class PagosPendientesComponent implements OnInit {\r\n\r\n constructor() { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n 404 - Servicio Suspendido.\r\n \r\n
\r\n
\r\n \r\n Estimado cliente,

\r\n\r\n Lamentamos informarle que su servicio ha sido suspendido debido a la falta de pago.
\r\n Queremos asegurarle que tomamos esta decisión con gran pesar y después de agotar todas las vías de\r\n comunicación para recordarle sobre su deuda y ofrecerle opciones de pago.

\r\n\r\n En nuestra empresa, valoramos su relación como cliente y nos esforzamos por brindar un servicio de calidad.\r\n\r\n
\r\n

\r\n \r\n Para más información por favor contacte al administrador.\r\n \r\n
\r\n \r\n \r\n
\r\n
","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { EmpleadosRoutingModule } from \"./empleados/empleados.routing\";\r\nimport { ContratosRoutingModule } from \"./contratos/contratos.routing\";\r\nimport { CargosRoutingModule } from \"./cargos/cargos.routing\";\r\nimport { ConfiguracionConceptosRoutingModule } from \"./configuracionConceptos/configuracionConceptos.routing\";\r\nimport { DepartamentosRoutingModule } from \"./departamentos/departamentos.routing\";\r\nimport { SubDepartamentosRoutingModule } from \"./sub-departamentos/sub-departamentos.routing\";\r\nimport { LiquidacionRoutingModule } from \"./liquidacion/liquidacion.routing\";\r\n\r\nconst routes: Routes = [\r\n EmpleadosRoutingModule.RoutingEmpleados,\r\n ContratosRoutingModule.RoutingContratos,\r\n CargosRoutingModule.RoutingCargos,\r\n ConfiguracionConceptosRoutingModule.RoutingConfiguracionConceptos,\r\n DepartamentosRoutingModule.RoutingDepartamentos,\r\n SubDepartamentosRoutingModule.RoutingDepartamentos,\r\n LiquidacionRoutingModule.RoutingLiquidacion\r\n \r\n];\r\nexport const NominaRoutes = RouterModule.forChild(routes);\r\n","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { SolicitudMedicamentosRoutingModule } from \"./solicitud-medicamentos/solicitud-medicamentos.routing\";\r\n\r\n\r\nconst routes: Routes = [\r\n\r\n\r\n SolicitudMedicamentosRoutingModule.RoutingSolicitudMedicamentos,\r\n\r\n\r\n];\r\nexport const AsistencialRoutes = RouterModule.forChild(routes);\r\n","import { UntypedFormGroup } from \"@angular/forms\"; \r\nimport { SPlusMoreOption, SPlusOption } from \"@saludplus/forms\";\r\n\r\n\r\n\r\nexport declare interface BaseDynamicFormComponent { \r\n form: DynamicForm; \r\n\r\n NewRecord(): void;\r\n EditRecord(id: number): void;\r\n DeleteRecord(id: number): void;\r\n SaveRecord(form: UntypedFormGroup): void;\r\n CancelRecord(): void;\r\n GetRecord(id: number): void;\r\n GetRecords(): void; \r\n}\r\n\r\n\r\n \r\nexport class DynamicForm {\r\n \r\n title: string; \r\n recordName: string; \r\n fieldViewModeName?: string; \r\n header?:FormHeader;\r\n formRecord: UntypedFormGroup;\r\n endpointbase: string;\r\n groups: Groups[];\r\n}\r\n\r\nexport class FormHeader {\r\n options? : SPlusOption[];\r\n moreOptions? : SPlusMoreOption[]; \r\n}\r\n\r\n\r\nexport class Groups {\r\n \r\n /** titulo del grupo */\r\n title: string; \r\n /** campos del grupo */\r\n fields: Fields[];\r\n}\r\n\r\n\r\nexport class Fields {\r\n \r\n control: string; \r\n controlType?: ControlType = ControlType.textbox;\r\n}\r\n\r\n\r\nexport enum ControlType {\r\n textbox = 'textbox',\r\n numerictextbox = 'numerictextbox',\r\n textarea = 'textarea', \r\n } \r\n \r\n\r\n\r\n export enum IconType {\r\n search = 'fa-solid fa-magnifying-glass', \r\n } \r\n ","import { Component, Inject, OnInit, ViewContainerRef } from \"@angular/core\";\r\nimport { UntypedFormGroup, Validators } from \"@angular/forms\";\r\nimport { ActivatedRoute } from \"@angular/router\";\r\nimport {\r\n ProcessType,\r\n SPlusDialogCloseResult,\r\n SPlusDialogSettings,\r\n SPlusFormsDialogsService,\r\n} from \"@saludplus/forms\";\r\nimport { ControllerApiList } from \"@src/app/models/SaludPlus/Controller/ControllerList\";\r\nimport {\r\n TegettFormControl,\r\n TypeField,\r\n} from \"@src/app/models/Tegett/tegettFormControl\";\r\nimport { RoutingState } from \"@src/app/services/Generals/routing.state.service\";\r\nimport { DynamicFormComponent } from \"../../components/dynamic-form.component\";\r\n\r\nimport {\r\n BaseDynamicFormComponent,\r\n ControlType,\r\n DynamicForm,\r\n IconType,\r\n} from \"../../components/dynamic-form.settings\";\r\n@Component({\r\n selector: \"app-banco\",\r\n template: \"\",\r\n standalone: false\r\n})\r\nexport class BancosPage implements BaseDynamicFormComponent {\r\n dynamicComp: DynamicFormComponent;\r\n formRecord = new UntypedFormGroup({\r\n // nombre\r\n nombreBanco: new TegettFormControl({\r\n formState: \"\",\r\n validatorOrOpts: [Validators.required],\r\n label: \"Nombre\",\r\n typeField: TypeField.Input,\r\n required: true,\r\n nameControl: \"nombreBanco\",\r\n }),\r\n\r\n // Dirección\r\n direccionBanco: new TegettFormControl({\r\n label: \"Dirección\",\r\n typeField: TypeField.Input,\r\n nameControl: \"direccionBanco\",\r\n }),\r\n\r\n // Teléfono\r\n telefonoBanco: new TegettFormControl({\r\n formState: \"\",\r\n label: \"Teléfono\",\r\n typeField: TypeField.Input,\r\n nameControl: \"telefonoBanco\",\r\n }),\r\n });\r\n\r\n form: DynamicForm = {\r\n title: \"Bancos\",\r\n recordName: \"Banco\",\r\n fieldViewModeName: \"nombreBanco\",\r\n endpointbase: ControllerApiList.Contabilidad.Bancos,\r\n formRecord: this.formRecord,\r\n header: {\r\n options: [\r\n {\r\n id: \"Listado\",\r\n icon: IconType.search,\r\n text: \"Listado\",\r\n link: \"/contabilidad/bancos/listado\",\r\n },\r\n ],\r\n\r\n moreOptions: [\r\n {\r\n id: \"newRecord\",\r\n showIn: ProcessType.view,\r\n text: \"Crear nuevo banco\",\r\n icon: \"fa-duotone fa-plus\",\r\n action: () => this.dynamicComp.newRecord(),\r\n },\r\n {\r\n id: \"deleteRecord\",\r\n showIn: ProcessType.edit,\r\n text: \"Eliminar\",\r\n icon: \"fa-solid fa-trash-can\",\r\n action: () => this.dynamicComp.DialogEliminar(),\r\n },\r\n ],\r\n },\r\n groups: [\r\n {\r\n title: \"Información Básica\",\r\n fields: [\r\n { control: \"nombreBanco\" },\r\n { control: \"direccionBanco\" },\r\n { control: \"telefonoBanco\", controlType: ControlType.numerictextbox },\r\n ],\r\n },\r\n ],\r\n };\r\n\r\n constructor() {\r\n \r\n }\r\n NewRecord(): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n EditRecord(id: number): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n DeleteRecord(id: number): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n SaveRecord(form: UntypedFormGroup): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n CancelRecord(): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n GetRecord(id: number): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n GetRecords(): void {\r\n throw new Error(\"Method not implemented.\");\r\n } \r\n\r\n\r\n\r\n \r\n}\r\n","import { Routes, RouterModule } from '@angular/router';\r\nimport { AuthGuard } from '@src/app/services/Security/guard.service';\r\nimport { BancosPage } from './bancos.page';\r\nimport { BancoSettings } from './bancos.settings';\r\n\r\nconst routes: Routes = [\r\n //redirect\r\n {\r\n path: \"contabilidad/EditarBancos\", redirectTo: \"contabilidad/bancos\"\r\n },\r\n\r\n //Routing principal\r\n {\r\n path: \"contabilidad/bancos\",\r\n loadChildren: () =>\r\n import(\"@app/pages/dynamic-form/components/dynamic-form.module\").then((m) => m.DynamicFormModule),\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: `Bancos`,\r\n icon: \"fa fa-university\",\r\n settingPage: BancosPage,\r\n setting: BancoSettings \r\n \r\n },\r\n }\r\n];\r\n\r\nexport const BancosRoutes = RouterModule.forChild(routes);\r\n\r\n\r\n\r\n\r\n","import { Component } from \"@angular/core\";\r\nimport { UntypedFormGroup, Validators } from \"@angular/forms\";\r\nimport {\r\n ProcessType,\r\n SPlusDialogCloseResult,\r\n SPlusDialogSettings,\r\n SPlusFormsDialogsService,\r\n} from \"@saludplus/forms\";\r\nimport { ControllerApiList } from \"@src/app/models/SaludPlus/Controller/ControllerList\";\r\nimport {\r\n TegettFormControl,\r\n TypeField,\r\n} from \"@src/app/models/Tegett/tegettFormControl\";\r\nimport { DynamicFormComponent } from \"../../components/dynamic-form.component\";\r\nimport {\r\n BaseDynamicFormComponent,\r\n ControlType,\r\n DynamicForm,\r\n IconType,\r\n} from \"../../components/dynamic-form.settings\";\r\n@Component({\r\n selector: \"app-bodega\",\r\n template: \"\",\r\n standalone: false\r\n})\r\nexport class EquivalenciasPage implements BaseDynamicFormComponent {\r\n dynamicComp: DynamicFormComponent;\r\n formRecord = new UntypedFormGroup({\r\n // nombreEquivalenciaInventario\r\n nombreEquivalenciaInventario: new TegettFormControl({\r\n formState: \"\",\r\n validatorOrOpts: [Validators.required],\r\n asyncValidator: undefined,\r\n label: \"Nombre Equivalencia\",\r\n typeField: TypeField.Input,\r\n required: true,\r\n nameControl: \"nombreEquivalenciaInventario\",\r\n }),\r\n // unidadesEquivalenciaInventario\r\n unidadesEquivalenciaInventario: new TegettFormControl({\r\n formState: \"\",\r\n validatorOrOpts: [Validators.required],\r\n label: \"Unidades Equivalencia\",\r\n typeField: TypeField.Input,\r\n nameControl: \"unidadesEquivalenciaInventario\",\r\n }),\r\n // descripcionEquivalenciaInventario\r\n descripcionEquivalenciaInventario: new TegettFormControl({\r\n formState: \"\",\r\n label: \"Descripción\",\r\n typeField: TypeField.Input,\r\n funtionData: undefined,\r\n required: false,\r\n dataTextField: undefined,\r\n dataValueField: undefined,\r\n importNoRequired: false,\r\n parentDependency: undefined,\r\n nameControl: \"descripcionEquivalenciaInventario\",\r\n }),\r\n });\r\n\r\n form: DynamicForm = {\r\n title: \"Equivalencias\",\r\n recordName: \"Equivalencia\",\r\n fieldViewModeName: \"nombreEquivalenciaInventario\",\r\n formRecord: this.formRecord,\r\n endpointbase: ControllerApiList.Inventario.Equivalencias,\r\n header: {\r\n options: [\r\n {\r\n id: \"Listado\",\r\n icon: IconType.search,\r\n text: \"Listado\",\r\n link: \"/inventario/equivalencias/listado\",\r\n },\r\n ],\r\n\r\n moreOptions: [\r\n {\r\n id: \"newRecord\",\r\n showIn: ProcessType.view,\r\n text: \"Crear nueva bodega\",\r\n icon: \"fa-duotone fa-plus\",\r\n action: () => this.dynamicComp.newRecord(),\r\n },\r\n {\r\n id: \"deleteRecord\",\r\n showIn: ProcessType.edit,\r\n text: \"Eliminar\",\r\n icon: \"fa-solid fa-trash-can\",\r\n action: () => this.dynamicComp.DialogEliminar(),\r\n },\r\n ],\r\n },\r\n groups: [\r\n {\r\n title: \"Información Básica\",\r\n fields: [\r\n { control: \"nombreEquivalenciaInventario\" },\r\n { control: \"unidadesEquivalenciaInventario\", controlType: ControlType.numerictextbox },\r\n { control: \"descripcionEquivalenciaInventario\", controlType: ControlType.textarea },\r\n ],\r\n },\r\n ],\r\n };\r\n\r\n constructor() {}\r\n NewRecord(): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n EditRecord(id: number): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n DeleteRecord(id: number): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n SaveRecord(form: UntypedFormGroup): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n CancelRecord(): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n GetRecord(id: number): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n GetRecords(): void {\r\n throw new Error(\"Method not implemented.\");\r\n }\r\n}\r\n","import { Routes, RouterModule } from '@angular/router';\r\nimport { AppSettings } from '@src/app/helpers/AppSettings';\r\nimport { AuthGuard } from '@src/app/services/Security/guard.service';\r\nimport { EquivalenciasPage } from './equivalencias.page';\r\nimport { EquivalenciasSettings } from './equivalenciasSettings';\r\n\r\nconst routes: Routes = [\r\n //redirect\r\n {\r\n path: \"inventario/editarEquivalencias\", redirectTo: \"inventario/equivalencias\"\r\n },\r\n\r\n //Routing principal\r\n {\r\n path: \"inventario/equivalencias\",\r\n loadChildren: () =>\r\n import(\"@app/pages/dynamic-form/components/dynamic-form.module\").then((m) => m.DynamicFormModule),\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: `Equivalencias`,\r\n icon: \"fa fa-random\",\r\n settingPage: EquivalenciasPage , \r\n setting: EquivalenciasSettings \r\n },\r\n }\r\n];\r\n\r\nexport const EquivalenciasRoutes = RouterModule.forChild(routes);\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router'; \r\nimport { DynamicFormRoutingModule } from './components/dynamic-form.routing';\r\nimport { BancosRoutes } from './views/bancos/bancos.routing';\r\nimport { BodegasRoutes } from './views/bodegas/bodegas.routing';\r\nimport { EquivalenciasRoutes } from './views/equivalencias-inventario/equivalencias.routing';\r\n\r\n \r\n@NgModule({\r\n declarations: [],\r\n imports: [ \r\n /* BodegasRoutes,*/ BancosRoutes, EquivalenciasRoutes\r\n ]\r\n\r\n})\r\nexport class DynamicRoutes { } ","import { RouterModule, Routes } from \"@angular/router\"; \r\nimport { NgModule } from \"@angular/core\";\r\nimport { AuthGuard } from \"@src/app/services/Security/guard.service\";\r\nimport { ChatComponent } from \"./chat/Components/Chat.component\";\r\n\r\nconst routes: Routes = [\r\n \r\n { path: \"\", component: ChatComponent }, \r\n]\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule],\r\n})\r\nexport class ChatSoporteRoutingModule {\r\n \r\n //Routing principal\r\n public static RoutingChat = {\r\n path: \"chat-soporte/chat\",\r\n loadComponent: () =>\r\n import(\"./chat/Components/Chat.component\").then(\r\n (m) => m.ChatComponent\r\n ),\r\n canActivate: [AuthGuard],\r\n data: {\r\n title: `Chat`,\r\n icon: \"fa-regular fa-messages\",\r\n \r\n },\r\n };\r\n}\r\n","import { Routes, RouterModule } from \"@angular/router\";\r\nimport { ChatSoporteRoutingModule } from \"../Chat.routing\";\r\n\r\n\r\nconst routes: Routes = [\r\n ChatSoporteRoutingModule.RoutingChat\r\n\r\n \r\n \r\n];\r\nexport const ChatSoporteRoutes = RouterModule.forChild(routes);\r\n","import { NgModule, isDevMode } from \"@angular/core\";\r\nimport { Routes, RouterModule, PreloadAllModules } from \"@angular/router\";\r\nimport { AuthGuard } from \"./services/Security/guard.service\";\r\nimport { LoginComponent } from \"./pages/login/login.component\";\r\nimport { RecoveryPasswordComponent } from \"./pages/recovery-password/recovery-password.component\";\r\nimport { PageNotFoundComponent } from \"./pages/page-not-found/page-not-found.component\";\r\nimport { PresupuestoRoutes } from \"./pages/SaludPlus/Presupuesto/Presupuesto.routing\";\r\nimport { ImgDiagnosticasRoutes } from \"./pages/SaludPlus/ImgDiagnosticas/ImgDiagnosticas.routing\";\r\nimport { LaboratorioRoutes } from \"./pages/SaludPlus/Laboratorio/laboratorio-routing.module\";\r\nimport { FacturacionRoutes } from \"./pages/SaludPlus/Facturacion/Facturacion-routing.module\";\r\nimport { TriageRoutes } from \"./pages/SaludPlus/Triage/Triage.routing\";\r\nimport { AdministracionRoutes } from \"./pages/SaludPlus/Administracion/Administracion.routing\";\r\nimport { ContabilidadRoutes } from \"./pages/SaludPlus/Contabilidad/Contabilidad.routing\";\r\nimport { HistoriaClinicasRoutes } from \"./pages/SaludPlus/HistoriasClinicas/historia-clinica-routing.module\";\r\nimport { AuditoriasRoutes } from \"./pages/SaludPlus/Auditoria/Auditoria.routing\";\r\nimport { InventarioRoutes } from \"./pages/SaludPlus/Inventario/Inventario.routing\";\r\nimport { CitasRoutes } from \"./pages/SaludPlus/Citas/Citas.routing\";\r\nimport { HomeComponent } from \"./pages/home/components/home.component\";\r\nimport { ImportSettings } from \"./components/Core/components/import-records/import-xls-records/import.settings\";\r\nimport { PagosPendientesComponent } from \"./pages/pagos-pendientes/pagos-pendientes.component\";\r\nimport { ImportRecordsComponent } from \"@app/Components/Core/components/import-records/import-xls-records/import-records.component\";\r\nimport { NoPermisosComponent } from \"./pages/no-permisos/no-permisos.component\";\r\nimport { NominaRoutes } from \"./pages/SaludPlus/Nomina/nomina.routing\";\r\nimport { DeveloperRoutes } from \"./pages/developer/develop.routing\";\r\nimport { SearchInListComponent } from \"./core/Search/search-in-list/search-in-list.component\";\r\nimport { AsistencialRoutes } from \"./pages/SaludPlus/Asistencial/asistencial.routing\";\r\nimport { ImportSpreadsheetRecordsComponent } from \"./Components/Core/components/import-records/import-spreadsheet-records/import-spreadsheet.component\";\r\nimport { DynamicRoutes } from \"./pages/dynamic-form/dynamic.routing\";\r\nimport { ChatSoporteModule } from \"./pages/SaludPlus/Chat-Soporte/chat/chat-soporte.module\";\r\nimport { ChatSoporteRoutes } from \"./pages/SaludPlus/Chat-Soporte/chat/chat-soporte.routing\";\r\n\r\nconst title = \"SaludPlus\";\r\n\r\n\r\nconst routes: Routes = [\r\n {\r\n path: \"inicio\",\r\n loadChildren: () =>\r\n import(\r\n \"src/app/pages/home/home.module\"\r\n ).then((m) => m.HomeModule),\r\n canActivate: [AuthGuard],\r\n data: { title: `${title} - Home` },\r\n },\r\n {\r\n path: \"login\",\r\n component: LoginComponent,\r\n data: { title: `${title} - Login` },\r\n },\r\n {\r\n path: \"pendientes\",\r\n component: PagosPendientesComponent,\r\n data: { title: `${title} - Obligaciones Pendientes` },\r\n },\r\n {\r\n path: \"no-permisos\",\r\n component: NoPermisosComponent,\r\n data: { title: `${title} - No tiene permisos` },\r\n },\r\n {\r\n path: \"configuracion\",\r\n component: HomeComponent,\r\n data: { title: `${title} - Configuración` },\r\n },\r\n {\r\n path: \"seleccionar-institucion\",\r\n loadChildren: () =>\r\n import(\r\n \"src/app/pages/SaludPlus/General/seleccionar-institucion/seleccionar-institucion.module\"\r\n ).then((m) => m.SeleccionarInstitucionModule),\r\n canActivate: [AuthGuard],\r\n data: { title: `${title} - Seleccionar Institución` },\r\n },\r\n {\r\n path: \"recovery-password/:token\",\r\n component: RecoveryPasswordComponent,\r\n data: { title: `${title} - Recuperar Contraseña` },\r\n },\r\n {\r\n path: \"importar-archivos\",\r\n component: ImportRecordsComponent,\r\n data: { title: `${title} - Importar Archivo` },\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: \"lista-importaciones\",\r\n component: SearchInListComponent,\r\n data: { title: `${title} - Importaciones`, setting: ImportSettings },\r\n canActivate: [AuthGuard],\r\n },\r\n {\r\n path: \"importaciones/resultado/:id\",\r\n component: ImportSpreadsheetRecordsComponent,\r\n data: { title: `${title} - Importaciones Resultado` },\r\n canActivate: [AuthGuard],\r\n },\r\n\r\n\r\n { path: \"\", redirectTo: \"inicio\", pathMatch: \"full\" },\r\n {\r\n path: \":controlador/:accion\",\r\n loadChildren: () =>\r\n import(\r\n \"src/app/pages/redirect-component/redirect-component.module\"\r\n ).then((m) => m.RedirectComponentModule),\r\n canActivate: [AuthGuard],\r\n data: { title: `${title}` },\r\n },\r\n\r\n\r\n { path: \"**\", component: PageNotFoundComponent },\r\n\r\n\r\n];\r\n\r\n\r\n\r\n@NgModule({\r\n imports: [\r\n DynamicRoutes,\r\n AdministracionRoutes,\r\n FacturacionRoutes,\r\n CitasRoutes,\r\n HistoriaClinicasRoutes,\r\n ImgDiagnosticasRoutes,\r\n LaboratorioRoutes,\r\n PresupuestoRoutes,\r\n InventarioRoutes,\r\n TriageRoutes,\r\n ContabilidadRoutes,\r\n AuditoriasRoutes,\r\n NominaRoutes,\r\n AsistencialRoutes,\r\n ChatSoporteRoutes,\r\n DeveloperRoutes,\r\n RouterModule.forRoot(routes,\r\n {\r\n enableTracing: false,\r\n preloadingStrategy: PreloadAllModules,\r\n }),\r\n ],\r\n exports: [RouterModule],\r\n})\r\nexport class AppRoutingModule { }\r\n","import { Component, ViewChild, OnInit, TemplateRef, AfterViewInit, Renderer2, HostListener, HostBinding, inject, effect, NgZone, ElementRef, ChangeDetectorRef } from \"@angular/core\";\r\nimport { Router, NavigationEnd, NavigationStart } from \"@angular/router\";\r\nimport { filter } from \"rxjs/operators\";\r\nimport { Subscription, timer } from \"rxjs\";\r\n\r\nimport { LRecursosExt } from \"./models/SaludPlus/LRecursosExt.model\";\r\nimport { LCaracteristicas } from \"./models/SaludPlus/LCaracteristicas.model\";\r\n\r\nimport { AuthenticationService } from \"./services/Security/authentication.service\";\r\nimport { PersistenceService } from \"./services/Utilities/data.persistence.service\";\r\nimport { LocalStorageList } from \"./helpers/enums/enums.keys\";\r\n\r\nimport { environment } from \"@src/environments/environment\";\r\n\r\n\r\nimport { SettingsService } from \"./services/Utilities/settings.service\";\r\nimport { Favorites, SPlusDialogSettings, SPlusFormsDialogsService, SPlusNotificationService, SPlusNotificationSettings, SPlusProcessMessageComponent } from \"@saludplus/forms\";\r\nimport { FilterExpandSettings, TreeViewComponent } from \"@progress/kendo-angular-treeview\";\r\nimport { SharedService } from \"./services/Generals/shared-service.service\";\r\nimport { PopoverAnchorDirective } from \"@progress/kendo-angular-tooltip\";\r\nimport { SplusLogger } from \"./services/Utilities/splus.logger.service\";\r\nimport { set } from \"date-fns\";\r\n\r\ndeclare var gtag;\r\n\r\n@Component({\r\n selector: \"app-root\",\r\n templateUrl: \"./app.component.html\",\r\n styleUrls: [\"./app.component.scss\"],\r\n standalone: false\r\n})\r\nexport class AppComponent implements OnInit, AfterViewInit {\r\n\r\n public expanded = true;\r\n public expandedKeys: any[] = ['-1'];\r\n\r\n\r\n isLogin = false;\r\n paymentId = 0;\r\n\r\n menu: LRecursosExt[] = [];\r\n caracteristicas: LCaracteristicas[] = [];\r\n showMenu = false;\r\n sub: Subscription;\r\n\r\n opened = true;\r\n permissionError = false;\r\n\r\n showMessageProcess: boolean;\r\n messageProcess = new SPlusProcessMessageComponent();\r\n version: string;\r\n ShowUpdateMjs: boolean = false;\r\n currentModule = [];\r\n\r\n modulesList: Array;\r\n enteredButton = false;\r\n isMatMenuOpen = false;\r\n isMatMenu2Open = false;\r\n prevButtonTrigger;\r\n myTimerSub: Subscription;\r\n\r\n @ViewChild('templateOffline', { static: false }) public templateOffline: TemplateRef;\r\n @ViewChild('templateOnline', { static: false }) public templateOnline: TemplateRef;\r\n baseUrl: string;\r\n\r\n public favorites: Favorites[] = [];\r\n FavoritoSelect: Favorites;\r\n menuOver: any;\r\n\r\n doc;\r\n windowScrolled: boolean;\r\n @ViewChild('internalmyPopoverMenu', { static: true }) internalmyPopoverMenu: PopoverAnchorDirective;\r\n @ViewChild('treeviewmenu') treeviewmenu: TreeViewComponent;\r\n\r\n //private splusFormsDialogsService = inject(SPlusFormsDialogsService);\r\n private notificationService = inject(SPlusNotificationService);\r\n private sharedService = inject(SharedService);\r\n private logger = inject(SplusLogger);\r\n private authenticationService = inject(AuthenticationService);\r\n private settingsService = inject(SettingsService);\r\n private router = inject(Router);\r\n private persistenceService = inject(PersistenceService);\r\n private renderer = inject(Renderer2);\r\n\r\n constructor(private cdRef: ChangeDetectorRef) {\r\n\r\n this.baseUrl = this.settingsService.getBaseUrlApi;\r\n this.isLogin = this.authenticationService.IsLogin();\r\n this.paymentId = this.authenticationService.getPaymentId();\r\n\r\n this.serverStatus();\r\n this.checkSession();\r\n\r\n if (environment.production) {\r\n //console.info(\"Google Analytics Activado!!\")\r\n const navEndEvents$ = this.router.events.pipe(filter(event => event instanceof NavigationEnd));\r\n navEndEvents$.subscribe((event: NavigationEnd) => {\r\n gtag('config', 'G-581YHK4S33', {\r\n 'page_path': event.urlAfterRedirects\r\n });\r\n });\r\n }\r\n\r\n effect(() => {\r\n\r\n this._subscribeNotifications();\r\n })\r\n }\r\n screenWidth: number;\r\n\r\n ngAfterViewInit(): void {\r\n\r\n\r\n\r\n this.doc = document.getElementsByClassName(\"k-drawer-content\")[0];\r\n this.renderer.listen(this.doc, 'scroll', (event) => {\r\n // Do something with 'event'\r\n this.onWindowScroll()\r\n\r\n\r\n });\r\n\r\n let me = this\r\n setTimeout(function () {\r\n\r\n\r\n if (me.persistenceService.hasKey(LocalStorageList.drawerExpanded)) {\r\n var status = me.persistenceService.getData(LocalStorageList.drawerExpanded) === \"true\";\r\n me.expanded = status\r\n } else {\r\n\r\n if (window.innerWidth >= 768) {\r\n me.expanded = true\r\n } else {\r\n me.expanded = false\r\n }\r\n\r\n }\r\n }, 10);\r\n\r\n }\r\n\r\n @HostListener(\"window:scroll\", [])\r\n onWindowScroll() {\r\n\r\n const scrollTop = window.scrollY || this.doc.scrollTop || document.body.scrollTop;\r\n if (!this.router.url.includes('developer')) {\r\n this.windowScrolled = scrollTop > 42.72;\r\n }\r\n\r\n }\r\n\r\n public DrawerOnCollapse(status: boolean): void {\r\n this.persistenceService.setData(LocalStorageList.drawerExpanded, status);\r\n }\r\n\r\n\r\n ngOnInit() {\r\n\r\n\r\n\r\n if (!this.isLogin) {\r\n return;\r\n }\r\n this.sub = this.router.events\r\n .pipe(filter((e) => e instanceof NavigationEnd))\r\n .subscribe((e: NavigationEnd) => {\r\n if (e.url !== \"/seleccionar-institucion\") {\r\n this.getMenu();\r\n this.showMenu = true;\r\n } else {\r\n this.showMenu = false;\r\n }\r\n });\r\n\r\n try {\r\n this.currentModule = this.router.url.split(\"/\");\r\n\r\n this.router.events.subscribe((event) => {\r\n if (event instanceof NavigationStart) {\r\n this.currentModule = event.url.split(\"/\");\r\n\r\n\r\n if (this.windowScrolled && (event.url.includes('mode=i') || event.url.includes('mode=u'))) {\r\n this.scrollToTop();\r\n }\r\n\r\n this.windowScrolled = false;\r\n }\r\n });\r\n } catch (error) { }\r\n\r\n\r\n }\r\n\r\n public filterExpandSettings: FilterExpandSettings = {\r\n maxAutoExpandResults: 10,\r\n };\r\n\r\n scrollToTop() {\r\n let me = this;\r\n (function smoothscroll() {\r\n\r\n var currentScroll = me.doc.scrollTop || document.body.scrollTop;\r\n\r\n if (currentScroll > 0) {\r\n try {\r\n window.requestAnimationFrame(smoothscroll);\r\n document.getElementsByClassName(\"k-drawer-content\")[0].scrollTop = currentScroll - (currentScroll / 8);\r\n } catch (error) {\r\n me.logger.error(error)\r\n }\r\n\r\n }\r\n\r\n })();\r\n }\r\n\r\n public isItemSelected = (_: any, index: string) => this.expandedKeys.indexOf(index) > -1;\r\n\r\n showClick(dataItem, index, popMenu) {\r\n\r\n if (popMenu) {\r\n this.popMenu = popMenu;\r\n }\r\n\r\n //console.log(dataItem, this.isItemSelected(dataItem, index), index);\r\n let expanded = [];\r\n\r\n if (dataItem && (dataItem[\"idRecurso\"] || dataItem[\"caracteristicas\"])) {\r\n if (this.isItemSelected(dataItem, index)) {\r\n\r\n let expandedSplit = index.split(\"_\", 3);\r\n if (expandedSplit.length > 1) {\r\n expanded.push(expandedSplit[0]);\r\n\r\n this.expandedKeys = expanded;\r\n //console.log(this.expandedKeys);\r\n } else {\r\n this.expandedKeys = [-1];\r\n }\r\n\r\n\r\n } else {\r\n\r\n let expandedSplit = index.split(\"_\", 3);\r\n\r\n if (expandedSplit.length > 1) {\r\n expanded.push(expandedSplit[0]);\r\n }\r\n\r\n if (expanded.indexOf(index) == -1) {\r\n expanded.push(index);\r\n }\r\n\r\n //console.log(expanded);\r\n this.expandedKeys = expanded;\r\n }\r\n \r\n }\r\n\r\n }\r\n \r\n popMenu: any;\r\n OcultarMenu() {\r\n try {\r\n this.popMenu.hide()\r\n } catch {\r\n }\r\n\r\n }\r\n\r\n\r\n validateCurrentModule(itemMenu, index): boolean {\r\n try {\r\n if (!itemMenu || !this.currentModule) {\r\n return false;\r\n } else {\r\n if (index == 1 && itemMenu.toLowerCase() == \"triage\") {\r\n itemMenu = \"urgencias\";\r\n }\r\n\r\n return (\r\n itemMenu.toLowerCase() == this.currentModule[index].toLowerCase()\r\n );\r\n }\r\n } catch (error) {\r\n return false;\r\n }\r\n }\r\n\r\n async getMenu() {\r\n\r\n\r\n // Menu Principal\r\n const dataRecursos = (await this.authenticationService.ListadoRecursosPorInstitucion(\r\n true\r\n )) as LRecursosExt[];\r\n\r\n // Caracteristicas del menu principal\r\n this.caracteristicas = (await this.authenticationService.ListadoCaracteristicasPorUsuario(\r\n true\r\n )) as LCaracteristicas[];\r\n const validaSede =\r\n this.persistenceService.getData(LocalStorageList.aplicaSede) === \"true\";\r\n if (!validaSede) {\r\n this.caracteristicas = this.caracteristicas.filter(\r\n (s) => s.nombre !== \"Sedes\"\r\n );\r\n }\r\n\r\n\r\n //limpiar recursos repetidos\r\n let dataRecursosClear: LRecursosExt[] = [];\r\n dataRecursos.forEach(element => {\r\n if (!dataRecursosClear.some(s => s.idRecurso == element.idRecurso)) {\r\n dataRecursosClear.push(element)\r\n }\r\n });\r\n\r\n // Mapeo del menu con sus caracteristicas\r\n dataRecursosClear.forEach((elementRecurso) => {\r\n const caracteristicas = this.caracteristicas.filter(\r\n (s) => s.fkRecurso === elementRecurso.idRecurso\r\n );\r\n elementRecurso.caracteristicas = caracteristicas;\r\n });\r\n\r\n //validar favoritos\r\n this.asignarFavoritos();\r\n //console.log(\"dataRecursosClear\", dataRecursosClear);\r\n this.menu = this.menu.concat(dataRecursosClear);\r\n\r\n\r\n //validamos el modulo actual\r\n this.SeleccionarMenuActual();\r\n\r\n if (this.sub) {\r\n this.sub.unsubscribe();\r\n }\r\n }\r\n\r\n /**\r\n * seleccionar menu actual por el indice del menu\r\n */\r\n SeleccionarMenuActual() {\r\n let irMenu = [];\r\n let indexModulo = -1;\r\n let indexLink = -1;\r\n\r\n if (this.currentModule[1]) {\r\n //buscar en el menu el modulo actual\r\n let moduleText = this.currentModule[1];\r\n indexModulo = this.menu.findIndex(s => s.idRecurso && s.nombre.replaceAll(' ', '-').toLocaleLowerCase() == moduleText.toLocaleLowerCase());\r\n irMenu.push(indexModulo.toString());\r\n }\r\n\r\n if (indexModulo && this.currentModule[2]) {\r\n //buscar en el menu la caracteristica actual\r\n let caracteristicaText = this.currentModule[2];\r\n caracteristicaText = caracteristicaText == 'informes' ? 'informe' : caracteristicaText;\r\n //TODO llamar a isaac para cambiar el menu\r\n\r\n const indexLinkC = this.menu[indexModulo];\r\n\r\n\r\n if (indexLinkC) {\r\n indexLink = indexLinkC?.caracteristicas.findIndex(s => s.nombre.replaceAll(' ', '-').toLocaleLowerCase() == caracteristicaText.toLocaleLowerCase());\r\n\r\n irMenu.push(`${indexModulo}_${indexLink.toString()}`);\r\n }\r\n }\r\n\r\n\r\n if (indexModulo && this.currentModule[3]) {\r\n //buscar en el menu la caracteristica actual en e submenu\r\n let moduleText = this.currentModule[3];\r\n const indexC = this.menu[indexModulo]?.caracteristicas[indexLink];\r\n\r\n if (indexC && indexC[\"caracteristicas\"]) {\r\n\r\n const index = indexC\r\n ?.caracteristicas\r\n .findIndex(s => s.nombre.replaceAll(' ', '-').toLocaleLowerCase() == moduleText.toLocaleLowerCase());\r\n\r\n irMenu.push(`${indexModulo}_${indexLink}_${index.toString()}`);\r\n\r\n }\r\n\r\n }\r\n\r\n //console.log(\"irMenu\", this.menu);\r\n\r\n if (irMenu && irMenu.length > 0) {\r\n this.expandedKeys = irMenu;\r\n } else {\r\n //asignamos el primer item del menu como default\r\n irMenu = ['0'];\r\n }\r\n\r\n }\r\n\r\n\r\n logout() {\r\n this.authenticationService.logout();\r\n this.isLogin = false;\r\n }\r\n\r\n asignarFavoritos() {\r\n\r\n const data = localStorage.getItem(`favorites_${this.authenticationService.getUserId()}`);\r\n this.favorites = data !== undefined && data !== null ? JSON.parse(data) : [];\r\n\r\n if (this.favorites.length > 0) {\r\n\r\n\r\n\r\n let favorito: LRecursosExt = new LRecursosExt();\r\n favorito.descripcion = \"Favoritos\";\r\n favorito.nombre = \"Favoritos\";\r\n favorito.caracteristicas = [];\r\n favorito.claseGraficaCssRecursoMenu = \"fa-solid fa-star\";\r\n favorito.idRecurso = -1;\r\n\r\n this.favorites.forEach(element => {\r\n let caract = new LCaracteristicas();\r\n caract.claseGraficaCssCaracteristica = element.icono;\r\n caract.nombre = element.nombre;\r\n caract.funcionCaracteristica = element.link;\r\n caract.idCaracteristica = -1;\r\n caract.caracteristicas = null;\r\n caract.favorito = true;\r\n caract.fkRecurso = -1;\r\n favorito.caracteristicas.push(caract)\r\n });\r\n\r\n this.menu.push(favorito);\r\n }\r\n\r\n }\r\n\r\n goToFavorito(item: LCaracteristicas) {\r\n\r\n if (item.funcionCaracteristica) {\r\n this.router.navigate([item.funcionCaracteristica]);\r\n\r\n }\r\n\r\n //if (!this.media.isActive('gt-sm')) {\r\n //this.sidenav.close();\r\n //}\r\n\r\n\r\n }\r\n viewFavorito(event, evitem: LCaracteristicas) {\r\n const index = this.favorites.findIndex(s => s.link === evitem.funcionCaracteristica);\r\n this.FavoritoSelect = this.favorites[index];\r\n event.preventDefault();\r\n }\r\n\r\n overMenu(dataItem: LRecursosExt) {\r\n this.menuOver = dataItem;\r\n }\r\n public getContextDataMenu = (anchor: Element) => {\r\n\r\n return this.menuOver;\r\n }\r\n\r\n\r\n\r\n public getContextData = (anchor: Element) => {\r\n\r\n return this.FavoritoSelect;\r\n }\r\n\r\n rename(item) {\r\n var ren = prompt(\"Renombrar favorito\", item.nombre);\r\n if (ren) {\r\n try {\r\n\r\n const index = this.favorites.findIndex(s => s.link === item.link);\r\n this.favorites[index].nombre = ren\r\n localStorage.setItem(`favorites_${this.authenticationService.getUserId()}`, JSON.stringify(this.favorites));\r\n\r\n this.menu[0].caracteristicas.filter(s => s.funcionCaracteristica === item.link)[0].nombre = ren;\r\n\r\n //this.presentToast(`Se renombró tus favoritos a ${item.nombre}`);\r\n\r\n //this.close()\r\n //this.loadFavorites();\r\n\r\n } catch (error) {\r\n //console.log(\"removeFavorite\", error)\r\n }\r\n\r\n }\r\n }\r\n\r\n removeFavorite(item) {\r\n try {\r\n\r\n const index = this.favorites.findIndex(s => s.link === item.link);\r\n\r\n this.favorites.splice(index, 1);\r\n localStorage.setItem(`favorites_${this.authenticationService.getUserId()}`, JSON.stringify(this.favorites));\r\n //this.presentToast(`Se removió ${item.nombre} de tus favoritos`);\r\n\r\n this.menu[0].caracteristicas = this.menu[0].caracteristicas.filter(s => s.funcionCaracteristica !== item.link);\r\n\r\n\r\n\r\n\r\n } catch (error) {\r\n //console.log(\"removeFavorite\", error)\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n UpdateVersion() {\r\n const currentVersion = this.persistenceService.getData(\r\n LocalStorageList.version,\r\n true\r\n );\r\n this.ValidateVersion(this.version, currentVersion);\r\n }\r\n ValidateVersion(currenVersion: string, newVersion: string) {\r\n let v1 = currenVersion.split(\".\");\r\n let v2 = newVersion.split(\".\");\r\n if (v1[0] !== v2[0] || v1[1] !== v2[1]) this.logout();\r\n else location.reload();\r\n }\r\n\r\n\r\n async serverStatus() {\r\n const response = await this.authenticationService.status();\r\n }\r\n checkSession() {\r\n const ti = timer(2000, 1000);\r\n this.myTimerSub = ti.subscribe((t) => {\r\n if (!this.router.url.includes(\"/login\") && !this.router.url.includes(\"/recovery-password\")) {\r\n if (!this.authenticationService.getToken()) {\r\n this.authenticationService.logout();\r\n }\r\n }\r\n this.show()\r\n });\r\n\r\n }\r\n\r\n /**\r\n *\r\n * @param message Información a mostrar\r\n * @param type tipo de mensaje\r\n */\r\n presentToast(message: string, type: 'success' | 'warning' | 'error' | 'info' = 'info', alwaysVisible: 'native' | 'yes' | 'no' = \"native\") {\r\n\r\n let notificationSettings = {} as SPlusNotificationSettings;\r\n notificationSettings.content = message;\r\n notificationSettings.type = type;\r\n notificationSettings.alwaysVisible = alwaysVisible;\r\n notificationSettings.hideAfter = 3000;\r\n\r\n this.notificationService.Show(notificationSettings);\r\n }\r\n\r\n\r\n\r\n OfflineNotify = false;\r\n\r\n\r\n show() {\r\n\r\n if (navigator.onLine && this.OfflineNotify) {\r\n this.OfflineNotify = false;\r\n this.presentToast(\"Se restauró la conexión a internet.\", \"success\");\r\n } else if (!navigator.onLine && !this.OfflineNotify) {\r\n this.OfflineNotify = true;\r\n this.presentToast(\"En estos momentos no hay conexión a internet.\", \"error\", \"no\");\r\n }\r\n }\r\n\r\n\r\n\r\n private _subscribeNotifications() {\r\n\r\n const notie = this.sharedService.messageNotification();\r\n if (notie && notie.message) {\r\n this.ShowAlert(notie.message);\r\n }\r\n\r\n }\r\n\r\n\r\n public openedDiag = false;\r\n description = \"\";\r\n isHtml = false;\r\n title = \"\";\r\n public close(status: string): void {\r\n //console.log(`Dialog result: ${status}`);\r\n this.openedDiag = false;\r\n }\r\n\r\n public ShowAlert(args: SPlusDialogSettings): void {\r\n this.description = args.description;\r\n this.isHtml = args.isHtml;\r\n this.title = args.title\r\n\r\n this.openedDiag = true;\r\n }\r\n\r\n\r\n}\r\n\r\n\r\n\r\n\r\n\r\n","
\r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n
\r\n
\r\n\r\n \r\n\r\n {{ dataItem.nombre }}\r\n\r\n
\r\n
\r\n\r\n\r\n\r\n \r\n \r\n \r\n
\r\n \r\n \r\n {{ dataItem.nombre }}\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n
\r\n\r\n\r\n \r\n
\r\n\r\n \r\n\r\n {{ dataItem.nombre }}\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n
\r\n\r\n\r\n\r\n
\r\n \r\n \r\n \r\n \r\n\r\n
\r\n\r\n {{\r\n dataItem?.nombre }}\r\n
\r\n\r\n
\r\n\r\n \r\n\r\n\r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n {{ dataItem.nombre }}\r\n \r\n \r\n\r\n\r\n \r\n
\r\n\r\n \r\n\r\n {{ dataItem.nombre }}\r\n\r\n\r\n\r\n
\r\n\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n\r\n\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
{{data.nombre}}
\r\n
{{data.padre}}
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n \r\n\r\n
\r\n\r\n \r\n\r\n
\r\n\r\n\r\n
\r\n\r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n\r\n
\r\n
{{description}}
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n
","export class LRecursos {\r\n idRecurso: number;\r\n nombre: string;\r\n descripcion: string;\r\n activo: string;\r\n claseGraficaCssRecursoMenu: string;\r\n claseGraficaCssRecursoBotones: string;\r\n ordenAparicionRecurso: number;\r\n enContruccion: boolean;\r\n panelOpenState = false;\r\n}\r\n","import { LCaracteristicas } from './LCaracteristicas.model';\r\nimport { LRecursos } from './LRecursos.model';\r\n\r\nexport class LRecursosExt extends LRecursos {\r\n idPerfil: number;\r\n caracteristicas: LCaracteristicas[] = [];\r\n override panelOpenState: boolean;\r\n}\r\n","export class LCaracteristicas {\r\n idCaracteristica: number;\r\n nombre: string;\r\n descripcion: string;\r\n estado: number;\r\n fechaInicial: any;\r\n fechaFinal: any;\r\n fkRecurso: number;\r\n ubicacionCaracteristica: string;\r\n claseGraficaCssCaracteristica: string;\r\n controladorCaracteristica: string;\r\n funcionCaracteristica: string;\r\n ordenAparicionCaracteristica: number;\r\n estiloCuadro: string;\r\n enContruccion: boolean;\r\n caracteristicas = []; \r\n favorito: boolean;\r\n ruta: string;\r\n}\r\n","import { AfterViewInit, Component, HostBinding, Input, OnInit, Renderer2 } from '@angular/core';\r\nimport { DrawerComponent } from '@progress/kendo-angular-layout';\r\nimport { LocalStorageList } from '@src/app/helpers/enums/enums.keys';\r\nimport { AuthenticationService } from '@src/app/services/Security/authentication.service';\r\nimport { PersistenceService } from '@src/app/services/Utilities/data.persistence.service';\r\nimport { SettingsService } from '@src/app/services/Utilities/settings.service';\r\nimport { ThemeService } from '@src/app/services/Utilities/theme.service';\r\ndeclare var clarity;\r\n@Component({\r\n selector: 'app-header',\r\n templateUrl: './header.component.html',\r\n styleUrls: ['./header.component.scss'],\r\n standalone: false\r\n})\r\nexport class HeaderComponent implements OnInit, AfterViewInit {\r\n\r\n nombreInstitucion = \"\";\r\n sandbox = 0;\r\n baseUrl: string;\r\n isLogin = false;\r\n\r\n name = \"\";\r\n iniciales = \"\";\r\n usuario = \"\";\r\n perfiles: any;;\r\n\r\n public popoverUserIsShow = false;\r\n public popoverHelpIsShow = false;\r\n\r\n public toolbarAyudar: Array = [\r\n {\r\n text: 'Soporte técnico',\r\n icon: 'fa-solid fa-headset'\r\n },\r\n {\r\n text: 'Documentación',\r\n icon: 'fa-solid fa-book'\r\n }];\r\n\r\n @Input() drawer: DrawerComponent;\r\n @Input() paymentId: number;\r\n\r\n \r\n themeSwitcher = false;\r\n opened = false\r\n constructor(\r\n private persistenceService: PersistenceService,\r\n private settingsService: SettingsService,\r\n private authenticationService: AuthenticationService, \r\n private themeService: ThemeService\r\n ) {\r\n\r\n this.themeSwitcher = themeService.isDarkModeMode()\r\n \r\n\r\n this.baseUrl = this.settingsService.getBaseUrlApi;\r\n\r\n this.isLogin = authenticationService.IsLogin();\r\n if (this.isLogin) {\r\n this.name = authenticationService.getName();\r\n this.iniciales = authenticationService.getIniciales();\r\n this.usuario = authenticationService.getUsuario();\r\n this.perfiles = authenticationService.getPerfiles();\r\n\r\n let userId = authenticationService.getUserId();\r\n\r\n clarity(\"set\", \"idUsuario\", userId);\r\n\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n \r\n if(this.baseUrl.includes(\"api.saludplus.co\")){\r\n this.sandbox = 0;\r\n }\r\n\r\n if(this.baseUrl.includes(\"api-preprod.saludplus.co\")){\r\n this.sandbox = 1;\r\n }\r\n\r\n if(this.baseUrl.includes(\"api-pruebas.saludplus.co\")){\r\n this.sandbox = 2;\r\n }\r\n \r\n this.nombreInstitucion = this.persistenceService.getData(\r\n LocalStorageList.nombre_institucion\r\n );\r\n\r\n }\r\n ngAfterViewInit(): void {\r\n this.themeService.apply();\r\n }\r\n public close(status: string): void { \r\n this.opened = false;\r\n }\r\n\r\n public onChangeSwitch(): void {\r\n if (this.themeSwitcher) {\r\n this.themeService.setLightMode();\r\n } else {\r\n this.themeService.setDarkMode();\r\n }\r\n this.themeSwitcher = !this.themeSwitcher;\r\n }\r\n\r\n \r\n\r\n \r\n\r\n /**\r\n * Cerrar sesion\r\n */\r\n logout() {\r\n this.authenticationService.logout();\r\n this.isLogin = false;\r\n }\r\n\r\n /**\r\n * Abrir documentacion\r\n */\r\n OpenDocumentacion() {\r\n this.authenticationService.OpenDocumentation();\r\n }\r\n\r\n onEvent(event, anchorUser) {\r\n\r\n anchorUser.hide()\r\n event.stopPropagation();\r\n }\r\n\r\n\r\n}\r\n\r\n\r\n","\r\n\r\n\r\n\r\n\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{name | titlecase}}
\r\n
{{(perfiles ? perfiles[0] : '') | titlecase}}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
Perfiles
\r\n
\r\n \r\n {{item | titlecase}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n \r\n
\r\n
\r\n
\r\n Ayuda
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n \r\n
\r\n
\r\n

{{name | titlecase}}

\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n

{{(perfiles ? perfiles[0] : '') | titlecase}}

\r\n\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n
{{dataItem.text | titlecase}}
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n
Tema
\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n\r\n\r\n
\r\n\r\n\r\n\r\n ","/**\n * @license Angular v19.1.3\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable, InjectionToken, NgZone, ApplicationRef, makeEnvironmentProviders, PLATFORM_ID, APP_INITIALIZER, Injector, NgModule } from '@angular/core';\nimport { isPlatformBrowser } from '@angular/common';\nimport { defer, throwError, fromEvent, of, concat, Subject, NEVER, merge, from } from 'rxjs';\nimport { map, filter, switchMap, publish, take, tap, delay } from 'rxjs/operators';\nconst ERR_SW_NOT_SUPPORTED = 'Service workers are disabled or not supported by this browser';\nfunction errorObservable(message) {\n return defer(() => throwError(new Error(message)));\n}\n/**\n * @publicApi\n */\nclass NgswCommChannel {\n serviceWorker;\n worker;\n registration;\n events;\n constructor(serviceWorker) {\n this.serviceWorker = serviceWorker;\n if (!serviceWorker) {\n this.worker = this.events = this.registration = errorObservable(ERR_SW_NOT_SUPPORTED);\n } else {\n const controllerChangeEvents = fromEvent(serviceWorker, 'controllerchange');\n const controllerChanges = controllerChangeEvents.pipe(map(() => serviceWorker.controller));\n const currentController = defer(() => of(serviceWorker.controller));\n const controllerWithChanges = concat(currentController, controllerChanges);\n this.worker = controllerWithChanges.pipe(filter(c => !!c));\n this.registration = this.worker.pipe(switchMap(() => serviceWorker.getRegistration()));\n const rawEvents = fromEvent(serviceWorker, 'message');\n const rawEventPayload = rawEvents.pipe(map(event => event.data));\n const eventsUnconnected = rawEventPayload.pipe(filter(event => event && event.type));\n const events = eventsUnconnected.pipe(publish());\n events.connect();\n this.events = events;\n }\n }\n postMessage(action, payload) {\n return this.worker.pipe(take(1), tap(sw => {\n sw.postMessage({\n action,\n ...payload\n });\n })).toPromise().then(() => undefined);\n }\n postMessageWithOperation(type, payload, operationNonce) {\n const waitForOperationCompleted = this.waitForOperationCompleted(operationNonce);\n const postMessage = this.postMessage(type, payload);\n return Promise.all([postMessage, waitForOperationCompleted]).then(([, result]) => result);\n }\n generateNonce() {\n return Math.round(Math.random() * 10000000);\n }\n eventsOfType(type) {\n let filterFn;\n if (typeof type === 'string') {\n filterFn = event => event.type === type;\n } else {\n filterFn = event => type.includes(event.type);\n }\n return this.events.pipe(filter(filterFn));\n }\n nextEventOfType(type) {\n return this.eventsOfType(type).pipe(take(1));\n }\n waitForOperationCompleted(nonce) {\n return this.eventsOfType('OPERATION_COMPLETED').pipe(filter(event => event.nonce === nonce), take(1), map(event => {\n if (event.result !== undefined) {\n return event.result;\n }\n throw new Error(event.error);\n })).toPromise();\n }\n get isEnabled() {\n return !!this.serviceWorker;\n }\n}\n\n/**\n * Subscribe and listen to\n * [Web Push\n * Notifications](https://developer.mozilla.org/en-US/docs/Web/API/Push_API/Best_Practices) through\n * Angular Service Worker.\n *\n * @usageNotes\n *\n * You can inject a `SwPush` instance into any component or service\n * as a dependency.\n *\n * \n *\n * To subscribe, call `SwPush.requestSubscription()`, which asks the user for permission.\n * The call returns a `Promise` with a new\n * [`PushSubscription`](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription)\n * instance.\n *\n * \n *\n * A request is rejected if the user denies permission, or if the browser\n * blocks or does not support the Push API or ServiceWorkers.\n * Check `SwPush.isEnabled` to confirm status.\n *\n * Invoke Push Notifications by pushing a message with the following payload.\n *\n * ```ts\n * {\n * \"notification\": {\n * \"actions\": NotificationAction[],\n * \"badge\": USVString,\n * \"body\": DOMString,\n * \"data\": any,\n * \"dir\": \"auto\"|\"ltr\"|\"rtl\",\n * \"icon\": USVString,\n * \"image\": USVString,\n * \"lang\": DOMString,\n * \"renotify\": boolean,\n * \"requireInteraction\": boolean,\n * \"silent\": boolean,\n * \"tag\": DOMString,\n * \"timestamp\": DOMTimeStamp,\n * \"title\": DOMString,\n * \"vibrate\": number[]\n * }\n * }\n * ```\n *\n * Only `title` is required. See `Notification`\n * [instance\n * properties](https://developer.mozilla.org/en-US/docs/Web/API/Notification#Instance_properties).\n *\n * While the subscription is active, Service Worker listens for\n * [PushEvent](https://developer.mozilla.org/en-US/docs/Web/API/PushEvent)\n * occurrences and creates\n * [Notification](https://developer.mozilla.org/en-US/docs/Web/API/Notification)\n * instances in response.\n *\n * Unsubscribe using `SwPush.unsubscribe()`.\n *\n * An application can subscribe to `SwPush.notificationClicks` observable to be notified when a user\n * clicks on a notification. For example:\n *\n * \n *\n * You can read more on handling notification clicks in the [Service worker notifications\n * guide](ecosystem/service-workers/push-notifications).\n *\n * @see [Push Notifications](https://developers.google.com/web/fundamentals/codelabs/push-notifications/)\n * @see [Angular Push Notifications](https://blog.angular-university.io/angular-push-notifications/)\n * @see [MDN: Push API](https://developer.mozilla.org/en-US/docs/Web/API/Push_API)\n * @see [MDN: Notifications API](https://developer.mozilla.org/en-US/docs/Web/API/Notifications_API)\n * @see [MDN: Web Push API Notifications best practices](https://developer.mozilla.org/en-US/docs/Web/API/Push_API/Best_Practices)\n *\n * @publicApi\n */\nlet SwPush = /*#__PURE__*/(() => {\n class SwPush {\n sw;\n /**\n * Emits the payloads of the received push notification messages.\n */\n messages;\n /**\n * Emits the payloads of the received push notification messages as well as the action the user\n * interacted with. If no action was used the `action` property contains an empty string `''`.\n *\n * Note that the `notification` property does **not** contain a\n * [Notification][Mozilla Notification] object but rather a\n * [NotificationOptions](https://notifications.spec.whatwg.org/#dictdef-notificationoptions)\n * object that also includes the `title` of the [Notification][Mozilla Notification] object.\n *\n * [Mozilla Notification]: https://developer.mozilla.org/en-US/docs/Web/API/Notification\n */\n notificationClicks;\n /**\n * Emits the currently active\n * [PushSubscription](https://developer.mozilla.org/en-US/docs/Web/API/PushSubscription)\n * associated to the Service Worker registration or `null` if there is no subscription.\n */\n subscription;\n /**\n * True if the Service Worker is enabled (supported by the browser and enabled via\n * `ServiceWorkerModule`).\n */\n get isEnabled() {\n return this.sw.isEnabled;\n }\n pushManager = null;\n subscriptionChanges = new Subject();\n constructor(sw) {\n this.sw = sw;\n if (!sw.isEnabled) {\n this.messages = NEVER;\n this.notificationClicks = NEVER;\n this.subscription = NEVER;\n return;\n }\n this.messages = this.sw.eventsOfType('PUSH').pipe(map(message => message.data));\n this.notificationClicks = this.sw.eventsOfType('NOTIFICATION_CLICK').pipe(map(message => message.data));\n this.pushManager = this.sw.registration.pipe(map(registration => registration.pushManager));\n const workerDrivenSubscriptions = this.pushManager.pipe(switchMap(pm => pm.getSubscription()));\n this.subscription = merge(workerDrivenSubscriptions, this.subscriptionChanges);\n }\n /**\n * Subscribes to Web Push Notifications,\n * after requesting and receiving user permission.\n *\n * @param options An object containing the `serverPublicKey` string.\n * @returns A Promise that resolves to the new subscription object.\n */\n requestSubscription(options) {\n if (!this.sw.isEnabled || this.pushManager === null) {\n return Promise.reject(new Error(ERR_SW_NOT_SUPPORTED));\n }\n const pushOptions = {\n userVisibleOnly: true\n };\n let key = this.decodeBase64(options.serverPublicKey.replace(/_/g, '/').replace(/-/g, '+'));\n let applicationServerKey = new Uint8Array(new ArrayBuffer(key.length));\n for (let i = 0; i < key.length; i++) {\n applicationServerKey[i] = key.charCodeAt(i);\n }\n pushOptions.applicationServerKey = applicationServerKey;\n return this.pushManager.pipe(switchMap(pm => pm.subscribe(pushOptions)), take(1)).toPromise().then(sub => {\n this.subscriptionChanges.next(sub);\n return sub;\n });\n }\n /**\n * Unsubscribes from Service Worker push notifications.\n *\n * @returns A Promise that is resolved when the operation succeeds, or is rejected if there is no\n * active subscription or the unsubscribe operation fails.\n */\n unsubscribe() {\n if (!this.sw.isEnabled) {\n return Promise.reject(new Error(ERR_SW_NOT_SUPPORTED));\n }\n const doUnsubscribe = sub => {\n if (sub === null) {\n throw new Error('Not subscribed to push notifications.');\n }\n return sub.unsubscribe().then(success => {\n if (!success) {\n throw new Error('Unsubscribe failed!');\n }\n this.subscriptionChanges.next(null);\n });\n };\n return this.subscription.pipe(take(1), switchMap(doUnsubscribe)).toPromise();\n }\n decodeBase64(input) {\n return atob(input);\n }\n static ɵfac = function SwPush_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SwPush)(i0.ɵɵinject(NgswCommChannel));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SwPush,\n factory: SwPush.ɵfac\n });\n }\n return SwPush;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Subscribe to update notifications from the Service Worker, trigger update\n * checks, and forcibly activate updates.\n *\n * @see {@link ecosystem/service-workers/communications Service worker communication guide}\n *\n * @publicApi\n */\nlet SwUpdate = /*#__PURE__*/(() => {\n class SwUpdate {\n sw;\n /**\n * Emits a `VersionDetectedEvent` event whenever a new version is detected on the server.\n *\n * Emits a `VersionInstallationFailedEvent` event whenever checking for or downloading a new\n * version fails.\n *\n * Emits a `VersionReadyEvent` event whenever a new version has been downloaded and is ready for\n * activation.\n */\n versionUpdates;\n /**\n * Emits an `UnrecoverableStateEvent` event whenever the version of the app used by the service\n * worker to serve this client is in a broken state that cannot be recovered from without a full\n * page reload.\n */\n unrecoverable;\n /**\n * True if the Service Worker is enabled (supported by the browser and enabled via\n * `ServiceWorkerModule`).\n */\n get isEnabled() {\n return this.sw.isEnabled;\n }\n constructor(sw) {\n this.sw = sw;\n if (!sw.isEnabled) {\n this.versionUpdates = NEVER;\n this.unrecoverable = NEVER;\n return;\n }\n this.versionUpdates = this.sw.eventsOfType(['VERSION_DETECTED', 'VERSION_INSTALLATION_FAILED', 'VERSION_READY', 'NO_NEW_VERSION_DETECTED']);\n this.unrecoverable = this.sw.eventsOfType('UNRECOVERABLE_STATE');\n }\n /**\n * Checks for an update and waits until the new version is downloaded from the server and ready\n * for activation.\n *\n * @returns a promise that\n * - resolves to `true` if a new version was found and is ready to be activated.\n * - resolves to `false` if no new version was found\n * - rejects if any error occurs\n */\n checkForUpdate() {\n if (!this.sw.isEnabled) {\n return Promise.reject(new Error(ERR_SW_NOT_SUPPORTED));\n }\n const nonce = this.sw.generateNonce();\n return this.sw.postMessageWithOperation('CHECK_FOR_UPDATES', {\n nonce\n }, nonce);\n }\n /**\n * Updates the current client (i.e. browser tab) to the latest version that is ready for\n * activation.\n *\n * In most cases, you should not use this method and instead should update a client by reloading\n * the page.\n *\n *
\n *\n * Updating a client without reloading can easily result in a broken application due to a version\n * mismatch between the application shell and other page resources,\n * such as lazy-loaded chunks, whose filenames may change between\n * versions.\n *\n * Only use this method, if you are certain it is safe for your specific use case.\n *\n *
\n *\n * @returns a promise that\n * - resolves to `true` if an update was activated successfully\n * - resolves to `false` if no update was available (for example, the client was already on the\n * latest version).\n * - rejects if any error occurs\n */\n activateUpdate() {\n if (!this.sw.isEnabled) {\n return Promise.reject(new Error(ERR_SW_NOT_SUPPORTED));\n }\n const nonce = this.sw.generateNonce();\n return this.sw.postMessageWithOperation('ACTIVATE_UPDATE', {\n nonce\n }, nonce);\n }\n static ɵfac = function SwUpdate_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SwUpdate)(i0.ɵɵinject(NgswCommChannel));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SwUpdate,\n factory: SwUpdate.ɵfac\n });\n }\n return SwUpdate;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/*!\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\nconst SCRIPT = /*#__PURE__*/new InjectionToken(ngDevMode ? 'NGSW_REGISTER_SCRIPT' : '');\nfunction ngswAppInitializer(injector, script, options, platformId) {\n return () => {\n if (!(isPlatformBrowser(platformId) && 'serviceWorker' in navigator && options.enabled !== false)) {\n return;\n }\n const ngZone = injector.get(NgZone);\n const appRef = injector.get(ApplicationRef);\n // Set up the `controllerchange` event listener outside of\n // the Angular zone to avoid unnecessary change detections,\n // as this event has no impact on view updates.\n ngZone.runOutsideAngular(() => {\n // Wait for service worker controller changes, and fire an INITIALIZE action when a new SW\n // becomes active. This allows the SW to initialize itself even if there is no application\n // traffic.\n const sw = navigator.serviceWorker;\n const onControllerChange = () => sw.controller?.postMessage({\n action: 'INITIALIZE'\n });\n sw.addEventListener('controllerchange', onControllerChange);\n appRef.onDestroy(() => {\n sw.removeEventListener('controllerchange', onControllerChange);\n });\n });\n let readyToRegister$;\n if (typeof options.registrationStrategy === 'function') {\n readyToRegister$ = options.registrationStrategy();\n } else {\n const [strategy, ...args] = (options.registrationStrategy || 'registerWhenStable:30000').split(':');\n switch (strategy) {\n case 'registerImmediately':\n readyToRegister$ = of(null);\n break;\n case 'registerWithDelay':\n readyToRegister$ = delayWithTimeout(+args[0] || 0);\n break;\n case 'registerWhenStable':\n const whenStable$ = from(injector.get(ApplicationRef).whenStable());\n readyToRegister$ = !args[0] ? whenStable$ : merge(whenStable$, delayWithTimeout(+args[0]));\n break;\n default:\n // Unknown strategy.\n throw new Error(`Unknown ServiceWorker registration strategy: ${options.registrationStrategy}`);\n }\n }\n // Don't return anything to avoid blocking the application until the SW is registered.\n // Also, run outside the Angular zone to avoid preventing the app from stabilizing (especially\n // given that some registration strategies wait for the app to stabilize).\n // Catch and log the error if SW registration fails to avoid uncaught rejection warning.\n ngZone.runOutsideAngular(() => readyToRegister$.pipe(take(1)).subscribe(() => navigator.serviceWorker.register(script, {\n scope: options.scope\n }).catch(err => console.error('Service worker registration failed with:', err))));\n };\n}\nfunction delayWithTimeout(timeout) {\n return of(null).pipe(delay(timeout));\n}\nfunction ngswCommChannelFactory(opts, platformId) {\n return new NgswCommChannel(isPlatformBrowser(platformId) && opts.enabled !== false ? navigator.serviceWorker : undefined);\n}\n/**\n * Token that can be used to provide options for `ServiceWorkerModule` outside of\n * `ServiceWorkerModule.register()`.\n *\n * You can use this token to define a provider that generates the registration options at runtime,\n * for example via a function call:\n *\n * {@example service-worker/registration-options/module.ts region=\"registration-options\"\n * header=\"app.module.ts\"}\n *\n * @publicApi\n */\nclass SwRegistrationOptions {\n /**\n * Whether the ServiceWorker will be registered and the related services (such as `SwPush` and\n * `SwUpdate`) will attempt to communicate and interact with it.\n *\n * Default: true\n */\n enabled;\n /**\n * A URL that defines the ServiceWorker's registration scope; that is, what range of URLs it can\n * control. It will be used when calling\n * [ServiceWorkerContainer#register()](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerContainer/register).\n */\n scope;\n /**\n * Defines the ServiceWorker registration strategy, which determines when it will be registered\n * with the browser.\n *\n * The default behavior of registering once the application stabilizes (i.e. as soon as there are\n * no pending micro- and macro-tasks) is designed to register the ServiceWorker as soon as\n * possible but without affecting the application's first time load.\n *\n * Still, there might be cases where you want more control over when the ServiceWorker is\n * registered (for example, there might be a long-running timeout or polling interval, preventing\n * the app from stabilizing). The available option are:\n *\n * - `registerWhenStable:`: Register as soon as the application stabilizes (no pending\n * micro-/macro-tasks) but no later than `` milliseconds. If the app hasn't\n * stabilized after `` milliseconds (for example, due to a recurrent asynchronous\n * task), the ServiceWorker will be registered anyway.\n * If `` is omitted, the ServiceWorker will only be registered once the app\n * stabilizes.\n * - `registerImmediately`: Register immediately.\n * - `registerWithDelay:`: Register with a delay of `` milliseconds. For\n * example, use `registerWithDelay:5000` to register the ServiceWorker after 5 seconds. If\n * `` is omitted, is defaults to `0`, which will register the ServiceWorker as soon\n * as possible but still asynchronously, once all pending micro-tasks are completed.\n * - An Observable factory function: A function that returns an `Observable`.\n * The function will be used at runtime to obtain and subscribe to the `Observable` and the\n * ServiceWorker will be registered as soon as the first value is emitted.\n *\n * Default: 'registerWhenStable:30000'\n */\n registrationStrategy;\n}\n/**\n * @publicApi\n *\n * Sets up providers to register the given Angular Service Worker script.\n *\n * If `enabled` is set to `false` in the given options, the module will behave as if service\n * workers are not supported by the browser, and the service worker will not be registered.\n *\n * Example usage:\n * ```ts\n * bootstrapApplication(AppComponent, {\n * providers: [\n * provideServiceWorker('ngsw-worker.js')\n * ],\n * });\n * ```\n */\nfunction provideServiceWorker(script, options = {}) {\n return makeEnvironmentProviders([SwPush, SwUpdate, {\n provide: SCRIPT,\n useValue: script\n }, {\n provide: SwRegistrationOptions,\n useValue: options\n }, {\n provide: NgswCommChannel,\n useFactory: ngswCommChannelFactory,\n deps: [SwRegistrationOptions, PLATFORM_ID]\n }, {\n provide: APP_INITIALIZER,\n useFactory: ngswAppInitializer,\n deps: [Injector, SCRIPT, SwRegistrationOptions, PLATFORM_ID],\n multi: true\n }]);\n}\n\n/**\n * @publicApi\n */\nlet ServiceWorkerModule = /*#__PURE__*/(() => {\n class ServiceWorkerModule {\n /**\n * Register the given Angular Service Worker script.\n *\n * If `enabled` is set to `false` in the given options, the module will behave as if service\n * workers are not supported by the browser, and the service worker will not be registered.\n */\n static register(script, options = {}) {\n return {\n ngModule: ServiceWorkerModule,\n providers: [provideServiceWorker(script, options)]\n };\n }\n static ɵfac = function ServiceWorkerModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ServiceWorkerModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: ServiceWorkerModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: [SwPush, SwUpdate]\n });\n }\n return ServiceWorkerModule;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n// This file only reexports content of the `src` folder. Keep it that way.\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ServiceWorkerModule, SwPush, SwRegistrationOptions, SwUpdate, provideServiceWorker };\n","/**\n * @license Angular v19.1.3\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Injectable, Inject, RendererFactory2, NgZone, ANIMATION_MODULE_TYPE, NgModule, ɵperformanceMarkFeature } from '@angular/core';\nexport { ANIMATION_MODULE_TYPE } from '@angular/core';\nimport { ɵDomRendererFactory2, BrowserModule } from '@angular/platform-browser';\nimport * as i1 from '@angular/animations/browser';\nimport { ɵAnimationEngine, ɵWebAnimationsStyleNormalizer, ɵAnimationRendererFactory, ɵAnimationStyleNormalizer, AnimationDriver, ɵWebAnimationsDriver, NoopAnimationDriver } from '@angular/animations/browser';\nimport { DOCUMENT } from '@angular/common';\nlet InjectableAnimationEngine = /*#__PURE__*/(() => {\n class InjectableAnimationEngine extends ɵAnimationEngine {\n // The `ApplicationRef` is injected here explicitly to force the dependency ordering.\n // Since the `ApplicationRef` should be created earlier before the `AnimationEngine`, they\n // both have `ngOnDestroy` hooks and `flush()` must be called after all views are destroyed.\n constructor(doc, driver, normalizer) {\n super(doc, driver, normalizer);\n }\n ngOnDestroy() {\n this.flush();\n }\n static ɵfac = function InjectableAnimationEngine_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || InjectableAnimationEngine)(i0.ɵɵinject(DOCUMENT), i0.ɵɵinject(i1.AnimationDriver), i0.ɵɵinject(i1.ɵAnimationStyleNormalizer));\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: InjectableAnimationEngine,\n factory: InjectableAnimationEngine.ɵfac\n });\n }\n return InjectableAnimationEngine;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nfunction instantiateDefaultStyleNormalizer() {\n return new ɵWebAnimationsStyleNormalizer();\n}\nfunction instantiateRendererFactory(renderer, engine, zone) {\n return new ɵAnimationRendererFactory(renderer, engine, zone);\n}\nconst SHARED_ANIMATION_PROVIDERS = [{\n provide: ɵAnimationStyleNormalizer,\n useFactory: instantiateDefaultStyleNormalizer\n}, {\n provide: ɵAnimationEngine,\n useClass: InjectableAnimationEngine\n}, {\n provide: RendererFactory2,\n useFactory: instantiateRendererFactory,\n deps: [ɵDomRendererFactory2, ɵAnimationEngine, NgZone]\n}];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserModule.\n */\nconst BROWSER_ANIMATIONS_PROVIDERS = [{\n provide: AnimationDriver,\n useFactory: () => new ɵWebAnimationsDriver()\n}, {\n provide: ANIMATION_MODULE_TYPE,\n useValue: 'BrowserAnimations'\n}, ...SHARED_ANIMATION_PROVIDERS];\n/**\n * Separate providers from the actual module so that we can do a local modification in Google3 to\n * include them in the BrowserTestingModule.\n */\nconst BROWSER_NOOP_ANIMATIONS_PROVIDERS = [{\n provide: AnimationDriver,\n useClass: NoopAnimationDriver\n}, {\n provide: ANIMATION_MODULE_TYPE,\n useValue: 'NoopAnimations'\n}, ...SHARED_ANIMATION_PROVIDERS];\n\n/**\n * Exports `BrowserModule` with additional dependency-injection providers\n * for use with animations. See [Animations](guide/animations).\n * @publicApi\n */\nlet BrowserAnimationsModule = /*#__PURE__*/(() => {\n class BrowserAnimationsModule {\n /**\n * Configures the module based on the specified object.\n *\n * @param config Object used to configure the behavior of the `BrowserAnimationsModule`.\n * @see {@link BrowserAnimationsModuleConfig}\n *\n * @usageNotes\n * When registering the `BrowserAnimationsModule`, you can use the `withConfig`\n * function as follows:\n * ```ts\n * @NgModule({\n * imports: [BrowserAnimationsModule.withConfig(config)]\n * })\n * class MyNgModule {}\n * ```\n */\n static withConfig(config) {\n return {\n ngModule: BrowserAnimationsModule,\n providers: config.disableAnimations ? BROWSER_NOOP_ANIMATIONS_PROVIDERS : BROWSER_ANIMATIONS_PROVIDERS\n };\n }\n static ɵfac = function BrowserAnimationsModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || BrowserAnimationsModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: BrowserAnimationsModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: BROWSER_ANIMATIONS_PROVIDERS,\n imports: [BrowserModule]\n });\n }\n return BrowserAnimationsModule;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Returns the set of dependency-injection providers\n * to enable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to enable animations in an application\n * bootstrapped using the `bootstrapApplication` function. In this scenario there\n * is no need to import the `BrowserAnimationsModule` NgModule at all, just add\n * providers returned by this function to the `providers` list as show below.\n *\n * ```ts\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideAnimations() {\n ɵperformanceMarkFeature('NgEagerAnimations');\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideAnimations` call results in app code.\n return [...BROWSER_ANIMATIONS_PROVIDERS];\n}\n/**\n * A null player that must be imported to allow disabling of animations.\n * @publicApi\n */\nlet NoopAnimationsModule = /*#__PURE__*/(() => {\n class NoopAnimationsModule {\n static ɵfac = function NoopAnimationsModule_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || NoopAnimationsModule)();\n };\n static ɵmod = /* @__PURE__ */i0.ɵɵdefineNgModule({\n type: NoopAnimationsModule\n });\n static ɵinj = /* @__PURE__ */i0.ɵɵdefineInjector({\n providers: BROWSER_NOOP_ANIMATIONS_PROVIDERS,\n imports: [BrowserModule]\n });\n }\n return NoopAnimationsModule;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Returns the set of dependency-injection providers\n * to disable animations in an application. See [animations guide](guide/animations)\n * to learn more about animations in Angular.\n *\n * @usageNotes\n *\n * The function is useful when you want to bootstrap an application using\n * the `bootstrapApplication` function, but you need to disable animations\n * (for example, when running tests).\n *\n * ```ts\n * bootstrapApplication(RootComponent, {\n * providers: [\n * provideNoopAnimations()\n * ]\n * });\n * ```\n *\n * @publicApi\n */\nfunction provideNoopAnimations() {\n // Return a copy to prevent changes to the original array in case any in-place\n // alterations are performed to the `provideNoopAnimations` call results in app code.\n return [...BROWSER_NOOP_ANIMATIONS_PROVIDERS];\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { BrowserAnimationsModule, NoopAnimationsModule, provideAnimations, provideNoopAnimations, InjectableAnimationEngine as ɵInjectableAnimationEngine };\n","/**\n * @license Angular v19.1.3\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport { ɵAnimationGroupPlayer, NoopAnimationPlayer, AUTO_STYLE, ɵPRE_STYLE, sequence, AnimationMetadataType, style } from '@angular/animations';\nimport * as i0 from '@angular/core';\nimport { ɵRuntimeError, Injectable } from '@angular/core';\nconst LINE_START = '\\n - ';\nfunction invalidTimingValue(exp) {\n return new ɵRuntimeError(3000 /* RuntimeErrorCode.INVALID_TIMING_VALUE */, ngDevMode && `The provided timing value \"${exp}\" is invalid.`);\n}\nfunction negativeStepValue() {\n return new ɵRuntimeError(3100 /* RuntimeErrorCode.NEGATIVE_STEP_VALUE */, ngDevMode && 'Duration values below 0 are not allowed for this animation step.');\n}\nfunction negativeDelayValue() {\n return new ɵRuntimeError(3101 /* RuntimeErrorCode.NEGATIVE_DELAY_VALUE */, ngDevMode && 'Delay values below 0 are not allowed for this animation step.');\n}\nfunction invalidStyleParams(varName) {\n return new ɵRuntimeError(3001 /* RuntimeErrorCode.INVALID_STYLE_PARAMS */, ngDevMode && `Unable to resolve the local animation param ${varName} in the given list of values`);\n}\nfunction invalidParamValue(varName) {\n return new ɵRuntimeError(3003 /* RuntimeErrorCode.INVALID_PARAM_VALUE */, ngDevMode && `Please provide a value for the animation param ${varName}`);\n}\nfunction invalidNodeType(nodeType) {\n return new ɵRuntimeError(3004 /* RuntimeErrorCode.INVALID_NODE_TYPE */, ngDevMode && `Unable to resolve animation metadata node #${nodeType}`);\n}\nfunction invalidCssUnitValue(userProvidedProperty, value) {\n return new ɵRuntimeError(3005 /* RuntimeErrorCode.INVALID_CSS_UNIT_VALUE */, ngDevMode && `Please provide a CSS unit value for ${userProvidedProperty}:${value}`);\n}\nfunction invalidTrigger() {\n return new ɵRuntimeError(3006 /* RuntimeErrorCode.INVALID_TRIGGER */, ngDevMode && \"animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))\");\n}\nfunction invalidDefinition() {\n return new ɵRuntimeError(3007 /* RuntimeErrorCode.INVALID_DEFINITION */, ngDevMode && 'only state() and transition() definitions can sit inside of a trigger()');\n}\nfunction invalidState(metadataName, missingSubs) {\n return new ɵRuntimeError(3008 /* RuntimeErrorCode.INVALID_STATE */, ngDevMode && `state(\"${metadataName}\", ...) must define default values for all the following style substitutions: ${missingSubs.join(', ')}`);\n}\nfunction invalidStyleValue(value) {\n return new ɵRuntimeError(3002 /* RuntimeErrorCode.INVALID_STYLE_VALUE */, ngDevMode && `The provided style string value ${value} is not allowed.`);\n}\nfunction invalidProperty(prop) {\n return new ɵRuntimeError(3009 /* RuntimeErrorCode.INVALID_PROPERTY */, ngDevMode && `The provided animation property \"${prop}\" is not a supported CSS property for animations`);\n}\nfunction invalidParallelAnimation(prop, firstStart, firstEnd, secondStart, secondEnd) {\n return new ɵRuntimeError(3010 /* RuntimeErrorCode.INVALID_PARALLEL_ANIMATION */, ngDevMode && `The CSS property \"${prop}\" that exists between the times of \"${firstStart}ms\" and \"${firstEnd}ms\" is also being animated in a parallel animation between the times of \"${secondStart}ms\" and \"${secondEnd}ms\"`);\n}\nfunction invalidKeyframes() {\n return new ɵRuntimeError(3011 /* RuntimeErrorCode.INVALID_KEYFRAMES */, ngDevMode && `keyframes() must be placed inside of a call to animate()`);\n}\nfunction invalidOffset() {\n return new ɵRuntimeError(3012 /* RuntimeErrorCode.INVALID_OFFSET */, ngDevMode && `Please ensure that all keyframe offsets are between 0 and 1`);\n}\nfunction keyframeOffsetsOutOfOrder() {\n return new ɵRuntimeError(3200 /* RuntimeErrorCode.KEYFRAME_OFFSETS_OUT_OF_ORDER */, ngDevMode && `Please ensure that all keyframe offsets are in order`);\n}\nfunction keyframesMissingOffsets() {\n return new ɵRuntimeError(3202 /* RuntimeErrorCode.KEYFRAMES_MISSING_OFFSETS */, ngDevMode && `Not all style() steps within the declared keyframes() contain offsets`);\n}\nfunction invalidStagger() {\n return new ɵRuntimeError(3013 /* RuntimeErrorCode.INVALID_STAGGER */, ngDevMode && `stagger() can only be used inside of query()`);\n}\nfunction invalidQuery(selector) {\n return new ɵRuntimeError(3014 /* RuntimeErrorCode.INVALID_QUERY */, ngDevMode && `\\`query(\"${selector}\")\\` returned zero elements. (Use \\`query(\"${selector}\", { optional: true })\\` if you wish to allow this.)`);\n}\nfunction invalidExpression(expr) {\n return new ɵRuntimeError(3015 /* RuntimeErrorCode.INVALID_EXPRESSION */, ngDevMode && `The provided transition expression \"${expr}\" is not supported`);\n}\nfunction invalidTransitionAlias(alias) {\n return new ɵRuntimeError(3016 /* RuntimeErrorCode.INVALID_TRANSITION_ALIAS */, ngDevMode && `The transition alias value \"${alias}\" is not supported`);\n}\nfunction validationFailed(errors) {\n return new ɵRuntimeError(3500 /* RuntimeErrorCode.VALIDATION_FAILED */, ngDevMode && `animation validation failed:\\n${errors.map(err => err.message).join('\\n')}`);\n}\nfunction buildingFailed(errors) {\n return new ɵRuntimeError(3501 /* RuntimeErrorCode.BUILDING_FAILED */, ngDevMode && `animation building failed:\\n${errors.map(err => err.message).join('\\n')}`);\n}\nfunction triggerBuildFailed(name, errors) {\n return new ɵRuntimeError(3404 /* RuntimeErrorCode.TRIGGER_BUILD_FAILED */, ngDevMode && `The animation trigger \"${name}\" has failed to build due to the following errors:\\n - ${errors.map(err => err.message).join('\\n - ')}`);\n}\nfunction animationFailed(errors) {\n return new ɵRuntimeError(3502 /* RuntimeErrorCode.ANIMATION_FAILED */, ngDevMode && `Unable to animate due to the following errors:${LINE_START}${errors.map(err => err.message).join(LINE_START)}`);\n}\nfunction registerFailed(errors) {\n return new ɵRuntimeError(3503 /* RuntimeErrorCode.REGISTRATION_FAILED */, ngDevMode && `Unable to build the animation due to the following errors: ${errors.map(err => err.message).join('\\n')}`);\n}\nfunction missingOrDestroyedAnimation() {\n return new ɵRuntimeError(3300 /* RuntimeErrorCode.MISSING_OR_DESTROYED_ANIMATION */, ngDevMode && \"The requested animation doesn't exist or has already been destroyed\");\n}\nfunction createAnimationFailed(errors) {\n return new ɵRuntimeError(3504 /* RuntimeErrorCode.CREATE_ANIMATION_FAILED */, ngDevMode && `Unable to create the animation due to the following errors:${errors.map(err => err.message).join('\\n')}`);\n}\nfunction missingPlayer(id) {\n return new ɵRuntimeError(3301 /* RuntimeErrorCode.MISSING_PLAYER */, ngDevMode && `Unable to find the timeline player referenced by ${id}`);\n}\nfunction missingTrigger(phase, name) {\n return new ɵRuntimeError(3302 /* RuntimeErrorCode.MISSING_TRIGGER */, ngDevMode && `Unable to listen on the animation trigger event \"${phase}\" because the animation trigger \"${name}\" doesn\\'t exist!`);\n}\nfunction missingEvent(name) {\n return new ɵRuntimeError(3303 /* RuntimeErrorCode.MISSING_EVENT */, ngDevMode && `Unable to listen on the animation trigger \"${name}\" because the provided event is undefined!`);\n}\nfunction unsupportedTriggerEvent(phase, name) {\n return new ɵRuntimeError(3400 /* RuntimeErrorCode.UNSUPPORTED_TRIGGER_EVENT */, ngDevMode && `The provided animation trigger event \"${phase}\" for the animation trigger \"${name}\" is not supported!`);\n}\nfunction unregisteredTrigger(name) {\n return new ɵRuntimeError(3401 /* RuntimeErrorCode.UNREGISTERED_TRIGGER */, ngDevMode && `The provided animation trigger \"${name}\" has not been registered!`);\n}\nfunction triggerTransitionsFailed(errors) {\n return new ɵRuntimeError(3402 /* RuntimeErrorCode.TRIGGER_TRANSITIONS_FAILED */, ngDevMode && `Unable to process animations due to the following failed trigger transitions\\n ${errors.map(err => err.message).join('\\n')}`);\n}\nfunction triggerParsingFailed(name, errors) {\n return new ɵRuntimeError(3403 /* RuntimeErrorCode.TRIGGER_PARSING_FAILED */, ngDevMode && `Animation parsing for the ${name} trigger have failed:${LINE_START}${errors.map(err => err.message).join(LINE_START)}`);\n}\nfunction transitionFailed(name, errors) {\n return new ɵRuntimeError(3505 /* RuntimeErrorCode.TRANSITION_FAILED */, ngDevMode && `@${name} has failed due to:\\n ${errors.map(err => err.message).join('\\n- ')}`);\n}\n\n/**\n * Set of all animatable CSS properties\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties\n */\nconst ANIMATABLE_PROP_SET = /*#__PURE__*/new Set(['-moz-outline-radius', '-moz-outline-radius-bottomleft', '-moz-outline-radius-bottomright', '-moz-outline-radius-topleft', '-moz-outline-radius-topright', '-ms-grid-columns', '-ms-grid-rows', '-webkit-line-clamp', '-webkit-text-fill-color', '-webkit-text-stroke', '-webkit-text-stroke-color', 'accent-color', 'all', 'backdrop-filter', 'background', 'background-color', 'background-position', 'background-size', 'block-size', 'border', 'border-block-end', 'border-block-end-color', 'border-block-end-width', 'border-block-start', 'border-block-start-color', 'border-block-start-width', 'border-bottom', 'border-bottom-color', 'border-bottom-left-radius', 'border-bottom-right-radius', 'border-bottom-width', 'border-color', 'border-end-end-radius', 'border-end-start-radius', 'border-image-outset', 'border-image-slice', 'border-image-width', 'border-inline-end', 'border-inline-end-color', 'border-inline-end-width', 'border-inline-start', 'border-inline-start-color', 'border-inline-start-width', 'border-left', 'border-left-color', 'border-left-width', 'border-radius', 'border-right', 'border-right-color', 'border-right-width', 'border-start-end-radius', 'border-start-start-radius', 'border-top', 'border-top-color', 'border-top-left-radius', 'border-top-right-radius', 'border-top-width', 'border-width', 'bottom', 'box-shadow', 'caret-color', 'clip', 'clip-path', 'color', 'column-count', 'column-gap', 'column-rule', 'column-rule-color', 'column-rule-width', 'column-width', 'columns', 'filter', 'flex', 'flex-basis', 'flex-grow', 'flex-shrink', 'font', 'font-size', 'font-size-adjust', 'font-stretch', 'font-variation-settings', 'font-weight', 'gap', 'grid-column-gap', 'grid-gap', 'grid-row-gap', 'grid-template-columns', 'grid-template-rows', 'height', 'inline-size', 'input-security', 'inset', 'inset-block', 'inset-block-end', 'inset-block-start', 'inset-inline', 'inset-inline-end', 'inset-inline-start', 'left', 'letter-spacing', 'line-clamp', 'line-height', 'margin', 'margin-block-end', 'margin-block-start', 'margin-bottom', 'margin-inline-end', 'margin-inline-start', 'margin-left', 'margin-right', 'margin-top', 'mask', 'mask-border', 'mask-position', 'mask-size', 'max-block-size', 'max-height', 'max-inline-size', 'max-lines', 'max-width', 'min-block-size', 'min-height', 'min-inline-size', 'min-width', 'object-position', 'offset', 'offset-anchor', 'offset-distance', 'offset-path', 'offset-position', 'offset-rotate', 'opacity', 'order', 'outline', 'outline-color', 'outline-offset', 'outline-width', 'padding', 'padding-block-end', 'padding-block-start', 'padding-bottom', 'padding-inline-end', 'padding-inline-start', 'padding-left', 'padding-right', 'padding-top', 'perspective', 'perspective-origin', 'right', 'rotate', 'row-gap', 'scale', 'scroll-margin', 'scroll-margin-block', 'scroll-margin-block-end', 'scroll-margin-block-start', 'scroll-margin-bottom', 'scroll-margin-inline', 'scroll-margin-inline-end', 'scroll-margin-inline-start', 'scroll-margin-left', 'scroll-margin-right', 'scroll-margin-top', 'scroll-padding', 'scroll-padding-block', 'scroll-padding-block-end', 'scroll-padding-block-start', 'scroll-padding-bottom', 'scroll-padding-inline', 'scroll-padding-inline-end', 'scroll-padding-inline-start', 'scroll-padding-left', 'scroll-padding-right', 'scroll-padding-top', 'scroll-snap-coordinate', 'scroll-snap-destination', 'scrollbar-color', 'shape-image-threshold', 'shape-margin', 'shape-outside', 'tab-size', 'text-decoration', 'text-decoration-color', 'text-decoration-thickness', 'text-emphasis', 'text-emphasis-color', 'text-indent', 'text-shadow', 'text-underline-offset', 'top', 'transform', 'transform-origin', 'translate', 'vertical-align', 'visibility', 'width', 'word-spacing', 'z-index', 'zoom']);\nfunction optimizeGroupPlayer(players) {\n switch (players.length) {\n case 0:\n return new NoopAnimationPlayer();\n case 1:\n return players[0];\n default:\n return new ɵAnimationGroupPlayer(players);\n }\n}\nfunction normalizeKeyframes$1(normalizer, keyframes, preStyles = new Map(), postStyles = new Map()) {\n const errors = [];\n const normalizedKeyframes = [];\n let previousOffset = -1;\n let previousKeyframe = null;\n keyframes.forEach(kf => {\n const offset = kf.get('offset');\n const isSameOffset = offset == previousOffset;\n const normalizedKeyframe = isSameOffset && previousKeyframe || new Map();\n kf.forEach((val, prop) => {\n let normalizedProp = prop;\n let normalizedValue = val;\n if (prop !== 'offset') {\n normalizedProp = normalizer.normalizePropertyName(normalizedProp, errors);\n switch (normalizedValue) {\n case ɵPRE_STYLE:\n normalizedValue = preStyles.get(prop);\n break;\n case AUTO_STYLE:\n normalizedValue = postStyles.get(prop);\n break;\n default:\n normalizedValue = normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, errors);\n break;\n }\n }\n normalizedKeyframe.set(normalizedProp, normalizedValue);\n });\n if (!isSameOffset) {\n normalizedKeyframes.push(normalizedKeyframe);\n }\n previousKeyframe = normalizedKeyframe;\n previousOffset = offset;\n });\n if (errors.length) {\n throw animationFailed(errors);\n }\n return normalizedKeyframes;\n}\nfunction listenOnPlayer(player, eventName, event, callback) {\n switch (eventName) {\n case 'start':\n player.onStart(() => callback(event && copyAnimationEvent(event, 'start', player)));\n break;\n case 'done':\n player.onDone(() => callback(event && copyAnimationEvent(event, 'done', player)));\n break;\n case 'destroy':\n player.onDestroy(() => callback(event && copyAnimationEvent(event, 'destroy', player)));\n break;\n }\n}\nfunction copyAnimationEvent(e, phaseName, player) {\n const totalTime = player.totalTime;\n const disabled = player.disabled ? true : false;\n const event = makeAnimationEvent(e.element, e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? e.totalTime : totalTime, disabled);\n const data = e['_data'];\n if (data != null) {\n event['_data'] = data;\n }\n return event;\n}\nfunction makeAnimationEvent(element, triggerName, fromState, toState, phaseName = '', totalTime = 0, disabled) {\n return {\n element,\n triggerName,\n fromState,\n toState,\n phaseName,\n totalTime,\n disabled: !!disabled\n };\n}\nfunction getOrSetDefaultValue(map, key, defaultValue) {\n let value = map.get(key);\n if (!value) {\n map.set(key, value = defaultValue);\n }\n return value;\n}\nfunction parseTimelineCommand(command) {\n const separatorPos = command.indexOf(':');\n const id = command.substring(1, separatorPos);\n const action = command.slice(separatorPos + 1);\n return [id, action];\n}\nconst documentElement = /* @__PURE__ */(() => typeof document === 'undefined' ? null : document.documentElement)();\nfunction getParentElement(element) {\n const parent = element.parentNode || element.host || null; // consider host to support shadow DOM\n if (parent === documentElement) {\n return null;\n }\n return parent;\n}\nfunction containsVendorPrefix(prop) {\n // Webkit is the only real popular vendor prefix nowadays\n // cc: http://shouldiprefix.com/\n return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit\n}\nlet _CACHED_BODY = null;\nlet _IS_WEBKIT = false;\nfunction validateStyleProperty(prop) {\n if (!_CACHED_BODY) {\n _CACHED_BODY = getBodyNode() || {};\n _IS_WEBKIT = _CACHED_BODY.style ? 'WebkitAppearance' in _CACHED_BODY.style : false;\n }\n let result = true;\n if (_CACHED_BODY.style && !containsVendorPrefix(prop)) {\n result = prop in _CACHED_BODY.style;\n if (!result && _IS_WEBKIT) {\n const camelProp = 'Webkit' + prop.charAt(0).toUpperCase() + prop.slice(1);\n result = camelProp in _CACHED_BODY.style;\n }\n }\n return result;\n}\nfunction validateWebAnimatableStyleProperty(prop) {\n return ANIMATABLE_PROP_SET.has(prop);\n}\nfunction getBodyNode() {\n if (typeof document != 'undefined') {\n return document.body;\n }\n return null;\n}\nfunction containsElement(elm1, elm2) {\n while (elm2) {\n if (elm2 === elm1) {\n return true;\n }\n elm2 = getParentElement(elm2);\n }\n return false;\n}\nfunction invokeQuery(element, selector, multi) {\n if (multi) {\n return Array.from(element.querySelectorAll(selector));\n }\n const elem = element.querySelector(selector);\n return elem ? [elem] : [];\n}\nfunction hypenatePropsKeys(original) {\n const newMap = new Map();\n original.forEach((val, prop) => {\n const newProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2');\n newMap.set(newProp, val);\n });\n return newMap;\n}\n\n/**\n * @publicApi\n *\n * `AnimationDriver` implentation for Noop animations\n */\nlet NoopAnimationDriver = /*#__PURE__*/(() => {\n class NoopAnimationDriver {\n /**\n * @returns Whether `prop` is a valid CSS property\n */\n validateStyleProperty(prop) {\n return validateStyleProperty(prop);\n }\n /**\n *\n * @returns Whether elm1 contains elm2.\n */\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n /**\n * @returns Rhe parent of the given element or `null` if the element is the `document`\n */\n getParentElement(element) {\n return getParentElement(element);\n }\n /**\n * @returns The result of the query selector on the element. The array will contain up to 1 item\n * if `multi` is `false`.\n */\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n /**\n * @returns The `defaultValue` or empty string\n */\n computeStyle(element, prop, defaultValue) {\n return defaultValue || '';\n }\n /**\n * @returns An `NoopAnimationPlayer`\n */\n animate(element, keyframes, duration, delay, easing, previousPlayers = [], scrubberAccessRequested) {\n return new NoopAnimationPlayer(duration, delay);\n }\n static ɵfac = function NoopAnimationDriver_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || NoopAnimationDriver)();\n };\n static ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: NoopAnimationDriver,\n factory: NoopAnimationDriver.ɵfac\n });\n }\n return NoopAnimationDriver;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * @publicApi\n */\nclass AnimationDriver {\n /**\n * @deprecated Use the NoopAnimationDriver class.\n */\n static NOOP = /*#__PURE__*/new NoopAnimationDriver();\n}\nclass AnimationStyleNormalizer {}\nclass NoopAnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return propertyName;\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n return value;\n }\n}\nconst ONE_SECOND = 1000;\nconst SUBSTITUTION_EXPR_START = '{{';\nconst SUBSTITUTION_EXPR_END = '}}';\nconst ENTER_CLASSNAME = 'ng-enter';\nconst LEAVE_CLASSNAME = 'ng-leave';\nconst NG_TRIGGER_CLASSNAME = 'ng-trigger';\nconst NG_TRIGGER_SELECTOR = '.ng-trigger';\nconst NG_ANIMATING_CLASSNAME = 'ng-animating';\nconst NG_ANIMATING_SELECTOR = '.ng-animating';\nfunction resolveTimingValue(value) {\n if (typeof value == 'number') return value;\n const matches = value.match(/^(-?[\\.\\d]+)(m?s)/);\n if (!matches || matches.length < 2) return 0;\n return _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n}\nfunction _convertTimeValueToMS(value, unit) {\n switch (unit) {\n case 's':\n return value * ONE_SECOND;\n default:\n // ms or something else\n return value;\n }\n}\nfunction resolveTiming(timings, errors, allowNegativeValues) {\n return timings.hasOwnProperty('duration') ? timings : parseTimeExpression(timings, errors, allowNegativeValues);\n}\nfunction parseTimeExpression(exp, errors, allowNegativeValues) {\n const regex = /^(-?[\\.\\d]+)(m?s)(?:\\s+(-?[\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?$/i;\n let duration;\n let delay = 0;\n let easing = '';\n if (typeof exp === 'string') {\n const matches = exp.match(regex);\n if (matches === null) {\n errors.push(invalidTimingValue(exp));\n return {\n duration: 0,\n delay: 0,\n easing: ''\n };\n }\n duration = _convertTimeValueToMS(parseFloat(matches[1]), matches[2]);\n const delayMatch = matches[3];\n if (delayMatch != null) {\n delay = _convertTimeValueToMS(parseFloat(delayMatch), matches[4]);\n }\n const easingVal = matches[5];\n if (easingVal) {\n easing = easingVal;\n }\n } else {\n duration = exp;\n }\n if (!allowNegativeValues) {\n let containsErrors = false;\n let startIndex = errors.length;\n if (duration < 0) {\n errors.push(negativeStepValue());\n containsErrors = true;\n }\n if (delay < 0) {\n errors.push(negativeDelayValue());\n containsErrors = true;\n }\n if (containsErrors) {\n errors.splice(startIndex, 0, invalidTimingValue(exp));\n }\n }\n return {\n duration,\n delay,\n easing\n };\n}\nfunction normalizeKeyframes(keyframes) {\n if (!keyframes.length) {\n return [];\n }\n if (keyframes[0] instanceof Map) {\n return keyframes;\n }\n return keyframes.map(kf => new Map(Object.entries(kf)));\n}\nfunction normalizeStyles(styles) {\n return Array.isArray(styles) ? new Map(...styles) : new Map(styles);\n}\nfunction setStyles(element, styles, formerStyles) {\n styles.forEach((val, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n if (formerStyles && !formerStyles.has(prop)) {\n formerStyles.set(prop, element.style[camelProp]);\n }\n element.style[camelProp] = val;\n });\n}\nfunction eraseStyles(element, styles) {\n styles.forEach((_, prop) => {\n const camelProp = dashCaseToCamelCase(prop);\n element.style[camelProp] = '';\n });\n}\nfunction normalizeAnimationEntry(steps) {\n if (Array.isArray(steps)) {\n if (steps.length == 1) return steps[0];\n return sequence(steps);\n }\n return steps;\n}\nfunction validateStyleParams(value, options, errors) {\n const params = options.params || {};\n const matches = extractStyleParams(value);\n if (matches.length) {\n matches.forEach(varName => {\n if (!params.hasOwnProperty(varName)) {\n errors.push(invalidStyleParams(varName));\n }\n });\n }\n}\nconst PARAM_REGEX = /*#__PURE__*/new RegExp(`${SUBSTITUTION_EXPR_START}\\\\s*(.+?)\\\\s*${SUBSTITUTION_EXPR_END}`, 'g');\nfunction extractStyleParams(value) {\n let params = [];\n if (typeof value === 'string') {\n let match;\n while (match = PARAM_REGEX.exec(value)) {\n params.push(match[1]);\n }\n PARAM_REGEX.lastIndex = 0;\n }\n return params;\n}\nfunction interpolateParams(value, params, errors) {\n const original = `${value}`;\n const str = original.replace(PARAM_REGEX, (_, varName) => {\n let localVal = params[varName];\n // this means that the value was never overridden by the data passed in by the user\n if (localVal == null) {\n errors.push(invalidParamValue(varName));\n localVal = '';\n }\n return localVal.toString();\n });\n // we do this to assert that numeric values stay as they are\n return str == original ? value : str;\n}\nconst DASH_CASE_REGEXP = /-+([a-z0-9])/g;\nfunction dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, (...m) => m[1].toUpperCase());\n}\nfunction camelCaseToDashCase(input) {\n return input.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n}\nfunction allowPreviousPlayerStylesMerge(duration, delay) {\n return duration === 0 || delay === 0;\n}\nfunction balancePreviousStylesIntoKeyframes(element, keyframes, previousStyles) {\n if (previousStyles.size && keyframes.length) {\n let startingKeyframe = keyframes[0];\n let missingStyleProps = [];\n previousStyles.forEach((val, prop) => {\n if (!startingKeyframe.has(prop)) {\n missingStyleProps.push(prop);\n }\n startingKeyframe.set(prop, val);\n });\n if (missingStyleProps.length) {\n for (let i = 1; i < keyframes.length; i++) {\n let kf = keyframes[i];\n missingStyleProps.forEach(prop => kf.set(prop, computeStyle(element, prop)));\n }\n }\n }\n return keyframes;\n}\nfunction visitDslNode(visitor, node, context) {\n switch (node.type) {\n case AnimationMetadataType.Trigger:\n return visitor.visitTrigger(node, context);\n case AnimationMetadataType.State:\n return visitor.visitState(node, context);\n case AnimationMetadataType.Transition:\n return visitor.visitTransition(node, context);\n case AnimationMetadataType.Sequence:\n return visitor.visitSequence(node, context);\n case AnimationMetadataType.Group:\n return visitor.visitGroup(node, context);\n case AnimationMetadataType.Animate:\n return visitor.visitAnimate(node, context);\n case AnimationMetadataType.Keyframes:\n return visitor.visitKeyframes(node, context);\n case AnimationMetadataType.Style:\n return visitor.visitStyle(node, context);\n case AnimationMetadataType.Reference:\n return visitor.visitReference(node, context);\n case AnimationMetadataType.AnimateChild:\n return visitor.visitAnimateChild(node, context);\n case AnimationMetadataType.AnimateRef:\n return visitor.visitAnimateRef(node, context);\n case AnimationMetadataType.Query:\n return visitor.visitQuery(node, context);\n case AnimationMetadataType.Stagger:\n return visitor.visitStagger(node, context);\n default:\n throw invalidNodeType(node.type);\n }\n}\nfunction computeStyle(element, prop) {\n return window.getComputedStyle(element)[prop];\n}\nconst DIMENSIONAL_PROP_SET = /*#__PURE__*/new Set(['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']);\nclass WebAnimationsStyleNormalizer extends AnimationStyleNormalizer {\n normalizePropertyName(propertyName, errors) {\n return dashCaseToCamelCase(propertyName);\n }\n normalizeStyleValue(userProvidedProperty, normalizedProperty, value, errors) {\n let unit = '';\n const strVal = value.toString().trim();\n if (DIMENSIONAL_PROP_SET.has(normalizedProperty) && value !== 0 && value !== '0') {\n if (typeof value === 'number') {\n unit = 'px';\n } else {\n const valAndSuffixMatch = value.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n errors.push(invalidCssUnitValue(userProvidedProperty, value));\n }\n }\n }\n return strVal + unit;\n }\n}\nfunction createListOfWarnings(warnings) {\n const LINE_START = '\\n - ';\n return `${LINE_START}${warnings.filter(Boolean).map(warning => warning).join(LINE_START)}`;\n}\nfunction warnValidation(warnings) {\n console.warn(`animation validation warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnTriggerBuild(name, warnings) {\n console.warn(`The animation trigger \"${name}\" has built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction warnRegister(warnings) {\n console.warn(`Animation built with the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction triggerParsingWarnings(name, warnings) {\n console.warn(`Animation parsing for the ${name} trigger presents the following warnings:${createListOfWarnings(warnings)}`);\n}\nfunction pushUnrecognizedPropertiesWarning(warnings, props) {\n if (props.length) {\n warnings.push(`The following provided properties are not recognized: ${props.join(', ')}`);\n }\n}\nconst ANY_STATE = '*';\nfunction parseTransitionExpr(transitionValue, errors) {\n const expressions = [];\n if (typeof transitionValue == 'string') {\n transitionValue.split(/\\s*,\\s*/).forEach(str => parseInnerTransitionStr(str, expressions, errors));\n } else {\n expressions.push(transitionValue);\n }\n return expressions;\n}\nfunction parseInnerTransitionStr(eventStr, expressions, errors) {\n if (eventStr[0] == ':') {\n const result = parseAnimationAlias(eventStr, errors);\n if (typeof result == 'function') {\n expressions.push(result);\n return;\n }\n eventStr = result;\n }\n const match = eventStr.match(/^(\\*|[-\\w]+)\\s*()\\s*(\\*|[-\\w]+)$/);\n if (match == null || match.length < 4) {\n errors.push(invalidExpression(eventStr));\n return expressions;\n }\n const fromState = match[1];\n const separator = match[2];\n const toState = match[3];\n expressions.push(makeLambdaFromStates(fromState, toState));\n const isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n if (separator[0] == '<' && !isFullAnyStateExpr) {\n expressions.push(makeLambdaFromStates(toState, fromState));\n }\n return;\n}\nfunction parseAnimationAlias(alias, errors) {\n switch (alias) {\n case ':enter':\n return 'void => *';\n case ':leave':\n return '* => void';\n case ':increment':\n return (fromState, toState) => parseFloat(toState) > parseFloat(fromState);\n case ':decrement':\n return (fromState, toState) => parseFloat(toState) < parseFloat(fromState);\n default:\n errors.push(invalidTransitionAlias(alias));\n return '* => *';\n }\n}\n// DO NOT REFACTOR ... keep the follow set instantiations\n// with the values intact (closure compiler for some reason\n// removes follow-up lines that add the values outside of\n// the constructor...\nconst TRUE_BOOLEAN_VALUES = /*#__PURE__*/new Set(['true', '1']);\nconst FALSE_BOOLEAN_VALUES = /*#__PURE__*/new Set(['false', '0']);\nfunction makeLambdaFromStates(lhs, rhs) {\n const LHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(lhs) || FALSE_BOOLEAN_VALUES.has(lhs);\n const RHS_MATCH_BOOLEAN = TRUE_BOOLEAN_VALUES.has(rhs) || FALSE_BOOLEAN_VALUES.has(rhs);\n return (fromState, toState) => {\n let lhsMatch = lhs == ANY_STATE || lhs == fromState;\n let rhsMatch = rhs == ANY_STATE || rhs == toState;\n if (!lhsMatch && LHS_MATCH_BOOLEAN && typeof fromState === 'boolean') {\n lhsMatch = fromState ? TRUE_BOOLEAN_VALUES.has(lhs) : FALSE_BOOLEAN_VALUES.has(lhs);\n }\n if (!rhsMatch && RHS_MATCH_BOOLEAN && typeof toState === 'boolean') {\n rhsMatch = toState ? TRUE_BOOLEAN_VALUES.has(rhs) : FALSE_BOOLEAN_VALUES.has(rhs);\n }\n return lhsMatch && rhsMatch;\n };\n}\nconst SELF_TOKEN = ':self';\nconst SELF_TOKEN_REGEX = /*#__PURE__*/new RegExp(`s*${SELF_TOKEN}s*,?`, 'g');\n/*\n * [Validation]\n * The visitor code below will traverse the animation AST generated by the animation verb functions\n * (the output is a tree of objects) and attempt to perform a series of validations on the data. The\n * following corner-cases will be validated:\n *\n * 1. Overlap of animations\n * Given that a CSS property cannot be animated in more than one place at the same time, it's\n * important that this behavior is detected and validated. The way in which this occurs is that\n * each time a style property is examined, a string-map containing the property will be updated with\n * the start and end times for when the property is used within an animation step.\n *\n * If there are two or more parallel animations that are currently running (these are invoked by the\n * group()) on the same element then the validator will throw an error. Since the start/end timing\n * values are collected for each property then if the current animation step is animating the same\n * property and its timing values fall anywhere into the window of time that the property is\n * currently being animated within then this is what causes an error.\n *\n * 2. Timing values\n * The validator will validate to see if a timing value of `duration delay easing` or\n * `durationNumber` is valid or not.\n *\n * (note that upon validation the code below will replace the timing data with an object containing\n * {duration,delay,easing}.\n *\n * 3. Offset Validation\n * Each of the style() calls are allowed to have an offset value when placed inside of keyframes().\n * Offsets within keyframes() are considered valid when:\n *\n * - No offsets are used at all\n * - Each style() entry contains an offset value\n * - Each offset is between 0 and 1\n * - Each offset is greater to or equal than the previous one\n *\n * Otherwise an error will be thrown.\n */\nfunction buildAnimationAst(driver, metadata, errors, warnings) {\n return new AnimationAstBuilderVisitor(driver).build(metadata, errors, warnings);\n}\nconst ROOT_SELECTOR = '';\nclass AnimationAstBuilderVisitor {\n _driver;\n constructor(_driver) {\n this._driver = _driver;\n }\n build(metadata, errors, warnings) {\n const context = new AnimationAstBuilderContext(errors);\n this._resetContextStyleTimingState(context);\n const ast = visitDslNode(this, normalizeAnimationEntry(metadata), context);\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (context.unsupportedCSSPropertiesFound.size) {\n pushUnrecognizedPropertiesWarning(warnings, [...context.unsupportedCSSPropertiesFound.keys()]);\n }\n }\n return ast;\n }\n _resetContextStyleTimingState(context) {\n context.currentQuerySelector = ROOT_SELECTOR;\n context.collectedStyles = new Map();\n context.collectedStyles.set(ROOT_SELECTOR, new Map());\n context.currentTime = 0;\n }\n visitTrigger(metadata, context) {\n let queryCount = context.queryCount = 0;\n let depCount = context.depCount = 0;\n const states = [];\n const transitions = [];\n if (metadata.name.charAt(0) == '@') {\n context.errors.push(invalidTrigger());\n }\n metadata.definitions.forEach(def => {\n this._resetContextStyleTimingState(context);\n if (def.type == AnimationMetadataType.State) {\n const stateDef = def;\n const name = stateDef.name;\n name.toString().split(/\\s*,\\s*/).forEach(n => {\n stateDef.name = n;\n states.push(this.visitState(stateDef, context));\n });\n stateDef.name = name;\n } else if (def.type == AnimationMetadataType.Transition) {\n const transition = this.visitTransition(def, context);\n queryCount += transition.queryCount;\n depCount += transition.depCount;\n transitions.push(transition);\n } else {\n context.errors.push(invalidDefinition());\n }\n });\n return {\n type: AnimationMetadataType.Trigger,\n name: metadata.name,\n states,\n transitions,\n queryCount,\n depCount,\n options: null\n };\n }\n visitState(metadata, context) {\n const styleAst = this.visitStyle(metadata.styles, context);\n const astParams = metadata.options && metadata.options.params || null;\n if (styleAst.containsDynamicStyles) {\n const missingSubs = new Set();\n const params = astParams || {};\n styleAst.styles.forEach(style => {\n if (style instanceof Map) {\n style.forEach(value => {\n extractStyleParams(value).forEach(sub => {\n if (!params.hasOwnProperty(sub)) {\n missingSubs.add(sub);\n }\n });\n });\n }\n });\n if (missingSubs.size) {\n context.errors.push(invalidState(metadata.name, [...missingSubs.values()]));\n }\n }\n return {\n type: AnimationMetadataType.State,\n name: metadata.name,\n style: styleAst,\n options: astParams ? {\n params: astParams\n } : null\n };\n }\n visitTransition(metadata, context) {\n context.queryCount = 0;\n context.depCount = 0;\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n const matchers = parseTransitionExpr(metadata.expr, context.errors);\n return {\n type: AnimationMetadataType.Transition,\n matchers,\n animation,\n queryCount: context.queryCount,\n depCount: context.depCount,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitSequence(metadata, context) {\n return {\n type: AnimationMetadataType.Sequence,\n steps: metadata.steps.map(s => visitDslNode(this, s, context)),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitGroup(metadata, context) {\n const currentTime = context.currentTime;\n let furthestTime = 0;\n const steps = metadata.steps.map(step => {\n context.currentTime = currentTime;\n const innerAst = visitDslNode(this, step, context);\n furthestTime = Math.max(furthestTime, context.currentTime);\n return innerAst;\n });\n context.currentTime = furthestTime;\n return {\n type: AnimationMetadataType.Group,\n steps,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimate(metadata, context) {\n const timingAst = constructTimingAst(metadata.timings, context.errors);\n context.currentAnimateTimings = timingAst;\n let styleAst;\n let styleMetadata = metadata.styles ? metadata.styles : style({});\n if (styleMetadata.type == AnimationMetadataType.Keyframes) {\n styleAst = this.visitKeyframes(styleMetadata, context);\n } else {\n let styleMetadata = metadata.styles;\n let isEmpty = false;\n if (!styleMetadata) {\n isEmpty = true;\n const newStyleData = {};\n if (timingAst.easing) {\n newStyleData['easing'] = timingAst.easing;\n }\n styleMetadata = style(newStyleData);\n }\n context.currentTime += timingAst.duration + timingAst.delay;\n const _styleAst = this.visitStyle(styleMetadata, context);\n _styleAst.isEmptyStep = isEmpty;\n styleAst = _styleAst;\n }\n context.currentAnimateTimings = null;\n return {\n type: AnimationMetadataType.Animate,\n timings: timingAst,\n style: styleAst,\n options: null\n };\n }\n visitStyle(metadata, context) {\n const ast = this._makeStyleAst(metadata, context);\n this._validateStyleAst(ast, context);\n return ast;\n }\n _makeStyleAst(metadata, context) {\n const styles = [];\n const metadataStyles = Array.isArray(metadata.styles) ? metadata.styles : [metadata.styles];\n for (let styleTuple of metadataStyles) {\n if (typeof styleTuple === 'string') {\n if (styleTuple === AUTO_STYLE) {\n styles.push(styleTuple);\n } else {\n context.errors.push(invalidStyleValue(styleTuple));\n }\n } else {\n styles.push(new Map(Object.entries(styleTuple)));\n }\n }\n let containsDynamicStyles = false;\n let collectedEasing = null;\n styles.forEach(styleData => {\n if (styleData instanceof Map) {\n if (styleData.has('easing')) {\n collectedEasing = styleData.get('easing');\n styleData.delete('easing');\n }\n if (!containsDynamicStyles) {\n for (let value of styleData.values()) {\n if (value.toString().indexOf(SUBSTITUTION_EXPR_START) >= 0) {\n containsDynamicStyles = true;\n break;\n }\n }\n }\n }\n });\n return {\n type: AnimationMetadataType.Style,\n styles,\n easing: collectedEasing,\n offset: metadata.offset,\n containsDynamicStyles,\n options: null\n };\n }\n _validateStyleAst(ast, context) {\n const timings = context.currentAnimateTimings;\n let endTime = context.currentTime;\n let startTime = context.currentTime;\n if (timings && startTime > 0) {\n startTime -= timings.duration + timings.delay;\n }\n ast.styles.forEach(tuple => {\n if (typeof tuple === 'string') return;\n tuple.forEach((value, prop) => {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (!this._driver.validateStyleProperty(prop)) {\n tuple.delete(prop);\n context.unsupportedCSSPropertiesFound.add(prop);\n return;\n }\n }\n // This is guaranteed to have a defined Map at this querySelector location making it\n // safe to add the assertion here. It is set as a default empty map in prior methods.\n const collectedStyles = context.collectedStyles.get(context.currentQuerySelector);\n const collectedEntry = collectedStyles.get(prop);\n let updateCollectedStyle = true;\n if (collectedEntry) {\n if (startTime != endTime && startTime >= collectedEntry.startTime && endTime <= collectedEntry.endTime) {\n context.errors.push(invalidParallelAnimation(prop, collectedEntry.startTime, collectedEntry.endTime, startTime, endTime));\n updateCollectedStyle = false;\n }\n // we always choose the smaller start time value since we\n // want to have a record of the entire animation window where\n // the style property is being animated in between\n startTime = collectedEntry.startTime;\n }\n if (updateCollectedStyle) {\n collectedStyles.set(prop, {\n startTime,\n endTime\n });\n }\n if (context.options) {\n validateStyleParams(value, context.options, context.errors);\n }\n });\n });\n }\n visitKeyframes(metadata, context) {\n const ast = {\n type: AnimationMetadataType.Keyframes,\n styles: [],\n options: null\n };\n if (!context.currentAnimateTimings) {\n context.errors.push(invalidKeyframes());\n return ast;\n }\n const MAX_KEYFRAME_OFFSET = 1;\n let totalKeyframesWithOffsets = 0;\n const offsets = [];\n let offsetsOutOfOrder = false;\n let keyframesOutOfRange = false;\n let previousOffset = 0;\n const keyframes = metadata.steps.map(styles => {\n const style = this._makeStyleAst(styles, context);\n let offsetVal = style.offset != null ? style.offset : consumeOffset(style.styles);\n let offset = 0;\n if (offsetVal != null) {\n totalKeyframesWithOffsets++;\n offset = style.offset = offsetVal;\n }\n keyframesOutOfRange = keyframesOutOfRange || offset < 0 || offset > 1;\n offsetsOutOfOrder = offsetsOutOfOrder || offset < previousOffset;\n previousOffset = offset;\n offsets.push(offset);\n return style;\n });\n if (keyframesOutOfRange) {\n context.errors.push(invalidOffset());\n }\n if (offsetsOutOfOrder) {\n context.errors.push(keyframeOffsetsOutOfOrder());\n }\n const length = metadata.steps.length;\n let generatedOffset = 0;\n if (totalKeyframesWithOffsets > 0 && totalKeyframesWithOffsets < length) {\n context.errors.push(keyframesMissingOffsets());\n } else if (totalKeyframesWithOffsets == 0) {\n generatedOffset = MAX_KEYFRAME_OFFSET / (length - 1);\n }\n const limit = length - 1;\n const currentTime = context.currentTime;\n const currentAnimateTimings = context.currentAnimateTimings;\n const animateDuration = currentAnimateTimings.duration;\n keyframes.forEach((kf, i) => {\n const offset = generatedOffset > 0 ? i == limit ? 1 : generatedOffset * i : offsets[i];\n const durationUpToThisFrame = offset * animateDuration;\n context.currentTime = currentTime + currentAnimateTimings.delay + durationUpToThisFrame;\n currentAnimateTimings.duration = durationUpToThisFrame;\n this._validateStyleAst(kf, context);\n kf.offset = offset;\n ast.styles.push(kf);\n });\n return ast;\n }\n visitReference(metadata, context) {\n return {\n type: AnimationMetadataType.Reference,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimateChild(metadata, context) {\n context.depCount++;\n return {\n type: AnimationMetadataType.AnimateChild,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitAnimateRef(metadata, context) {\n return {\n type: AnimationMetadataType.AnimateRef,\n animation: this.visitReference(metadata.animation, context),\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitQuery(metadata, context) {\n const parentSelector = context.currentQuerySelector;\n const options = metadata.options || {};\n context.queryCount++;\n context.currentQuery = metadata;\n const [selector, includeSelf] = normalizeSelector(metadata.selector);\n context.currentQuerySelector = parentSelector.length ? parentSelector + ' ' + selector : selector;\n getOrSetDefaultValue(context.collectedStyles, context.currentQuerySelector, new Map());\n const animation = visitDslNode(this, normalizeAnimationEntry(metadata.animation), context);\n context.currentQuery = null;\n context.currentQuerySelector = parentSelector;\n return {\n type: AnimationMetadataType.Query,\n selector,\n limit: options.limit || 0,\n optional: !!options.optional,\n includeSelf,\n animation,\n originalSelector: metadata.selector,\n options: normalizeAnimationOptions(metadata.options)\n };\n }\n visitStagger(metadata, context) {\n if (!context.currentQuery) {\n context.errors.push(invalidStagger());\n }\n const timings = metadata.timings === 'full' ? {\n duration: 0,\n delay: 0,\n easing: 'full'\n } : resolveTiming(metadata.timings, context.errors, true);\n return {\n type: AnimationMetadataType.Stagger,\n animation: visitDslNode(this, normalizeAnimationEntry(metadata.animation), context),\n timings,\n options: null\n };\n }\n}\nfunction normalizeSelector(selector) {\n const hasAmpersand = selector.split(/\\s*,\\s*/).find(token => token == SELF_TOKEN) ? true : false;\n if (hasAmpersand) {\n selector = selector.replace(SELF_TOKEN_REGEX, '');\n }\n // Note: the :enter and :leave aren't normalized here since those\n // selectors are filled in at runtime during timeline building\n selector = selector.replace(/@\\*/g, NG_TRIGGER_SELECTOR).replace(/@\\w+/g, match => NG_TRIGGER_SELECTOR + '-' + match.slice(1)).replace(/:animating/g, NG_ANIMATING_SELECTOR);\n return [selector, hasAmpersand];\n}\nfunction normalizeParams(obj) {\n return obj ? {\n ...obj\n } : null;\n}\nclass AnimationAstBuilderContext {\n errors;\n queryCount = 0;\n depCount = 0;\n currentTransition = null;\n currentQuery = null;\n currentQuerySelector = null;\n currentAnimateTimings = null;\n currentTime = 0;\n collectedStyles = /*#__PURE__*/new Map();\n options = null;\n unsupportedCSSPropertiesFound = /*#__PURE__*/new Set();\n constructor(errors) {\n this.errors = errors;\n }\n}\nfunction consumeOffset(styles) {\n if (typeof styles == 'string') return null;\n let offset = null;\n if (Array.isArray(styles)) {\n styles.forEach(styleTuple => {\n if (styleTuple instanceof Map && styleTuple.has('offset')) {\n const obj = styleTuple;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n });\n } else if (styles instanceof Map && styles.has('offset')) {\n const obj = styles;\n offset = parseFloat(obj.get('offset'));\n obj.delete('offset');\n }\n return offset;\n}\nfunction constructTimingAst(value, errors) {\n if (value.hasOwnProperty('duration')) {\n return value;\n }\n if (typeof value == 'number') {\n const duration = resolveTiming(value, errors).duration;\n return makeTimingAst(duration, 0, '');\n }\n const strValue = value;\n const isDynamic = strValue.split(/\\s+/).some(v => v.charAt(0) == '{' && v.charAt(1) == '{');\n if (isDynamic) {\n const ast = makeTimingAst(0, 0, '');\n ast.dynamic = true;\n ast.strValue = strValue;\n return ast;\n }\n const timings = resolveTiming(strValue, errors);\n return makeTimingAst(timings.duration, timings.delay, timings.easing);\n}\nfunction normalizeAnimationOptions(options) {\n if (options) {\n options = {\n ...options\n };\n if (options['params']) {\n options['params'] = normalizeParams(options['params']);\n }\n } else {\n options = {};\n }\n return options;\n}\nfunction makeTimingAst(duration, delay, easing) {\n return {\n duration,\n delay,\n easing\n };\n}\nfunction createTimelineInstruction(element, keyframes, preStyleProps, postStyleProps, duration, delay, easing = null, subTimeline = false) {\n return {\n type: 1 /* AnimationTransitionInstructionType.TimelineAnimation */,\n element,\n keyframes,\n preStyleProps,\n postStyleProps,\n duration,\n delay,\n totalTime: duration + delay,\n easing,\n subTimeline\n };\n}\nclass ElementInstructionMap {\n _map = /*#__PURE__*/new Map();\n get(element) {\n return this._map.get(element) || [];\n }\n append(element, instructions) {\n let existingInstructions = this._map.get(element);\n if (!existingInstructions) {\n this._map.set(element, existingInstructions = []);\n }\n existingInstructions.push(...instructions);\n }\n has(element) {\n return this._map.has(element);\n }\n clear() {\n this._map.clear();\n }\n}\nconst ONE_FRAME_IN_MILLISECONDS = 1;\nconst ENTER_TOKEN = ':enter';\nconst ENTER_TOKEN_REGEX = /*#__PURE__*/new RegExp(ENTER_TOKEN, 'g');\nconst LEAVE_TOKEN = ':leave';\nconst LEAVE_TOKEN_REGEX = /*#__PURE__*/new RegExp(LEAVE_TOKEN, 'g');\n/*\n * The code within this file aims to generate web-animations-compatible keyframes from Angular's\n * animation DSL code.\n *\n * The code below will be converted from:\n *\n * ```ts\n * sequence([\n * style({ opacity: 0 }),\n * animate(1000, style({ opacity: 0 }))\n * ])\n * ```\n *\n * To:\n * ```ts\n * keyframes = [{ opacity: 0, offset: 0 }, { opacity: 1, offset: 1 }]\n * duration = 1000\n * delay = 0\n * easing = ''\n * ```\n *\n * For this operation to cover the combination of animation verbs (style, animate, group, etc...) a\n * combination of AST traversal and merge-sort-like algorithms are used.\n *\n * [AST Traversal]\n * Each of the animation verbs, when executed, will return an string-map object representing what\n * type of action it is (style, animate, group, etc...) and the data associated with it. This means\n * that when functional composition mix of these functions is evaluated (like in the example above)\n * then it will end up producing a tree of objects representing the animation itself.\n *\n * When this animation object tree is processed by the visitor code below it will visit each of the\n * verb statements within the visitor. And during each visit it will build the context of the\n * animation keyframes by interacting with the `TimelineBuilder`.\n *\n * [TimelineBuilder]\n * This class is responsible for tracking the styles and building a series of keyframe objects for a\n * timeline between a start and end time. The builder starts off with an initial timeline and each\n * time the AST comes across a `group()`, `keyframes()` or a combination of the two within a\n * `sequence()` then it will generate a sub timeline for each step as well as a new one after\n * they are complete.\n *\n * As the AST is traversed, the timing state on each of the timelines will be incremented. If a sub\n * timeline was created (based on one of the cases above) then the parent timeline will attempt to\n * merge the styles used within the sub timelines into itself (only with group() this will happen).\n * This happens with a merge operation (much like how the merge works in mergeSort) and it will only\n * copy the most recently used styles from the sub timelines into the parent timeline. This ensures\n * that if the styles are used later on in another phase of the animation then they will be the most\n * up-to-date values.\n *\n * [How Missing Styles Are Updated]\n * Each timeline has a `backFill` property which is responsible for filling in new styles into\n * already processed keyframes if a new style shows up later within the animation sequence.\n *\n * ```ts\n * sequence([\n * style({ width: 0 }),\n * animate(1000, style({ width: 100 })),\n * animate(1000, style({ width: 200 })),\n * animate(1000, style({ width: 300 }))\n * animate(1000, style({ width: 400, height: 400 })) // notice how `height` doesn't exist anywhere\n * else\n * ])\n * ```\n *\n * What is happening here is that the `height` value is added later in the sequence, but is missing\n * from all previous animation steps. Therefore when a keyframe is created it would also be missing\n * from all previous keyframes up until where it is first used. For the timeline keyframe generation\n * to properly fill in the style it will place the previous value (the value from the parent\n * timeline) or a default value of `*` into the backFill map.\n *\n * When a sub-timeline is created it will have its own backFill property. This is done so that\n * styles present within the sub-timeline do not accidentally seep into the previous/future timeline\n * keyframes\n *\n * [Validation]\n * The code in this file is not responsible for validation. That functionality happens with within\n * the `AnimationValidatorVisitor` code.\n */\nfunction buildAnimationTimelines(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles = new Map(), finalStyles = new Map(), options, subInstructions, errors = []) {\n return new AnimationTimelineBuilderVisitor().buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors);\n}\nclass AnimationTimelineBuilderVisitor {\n buildKeyframes(driver, rootElement, ast, enterClassName, leaveClassName, startingStyles, finalStyles, options, subInstructions, errors = []) {\n subInstructions = subInstructions || new ElementInstructionMap();\n const context = new AnimationTimelineContext(driver, rootElement, subInstructions, enterClassName, leaveClassName, errors, []);\n context.options = options;\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n context.currentTimeline.delayNextStep(delay);\n context.currentTimeline.setStyles([startingStyles], null, context.errors, options);\n visitDslNode(this, ast, context);\n // this checks to see if an actual animation happened\n const timelines = context.timelines.filter(timeline => timeline.containsAnimation());\n // note: we just want to apply the final styles for the rootElement, so we do not\n // just apply the styles to the last timeline but the last timeline which\n // element is the root one (basically `*`-styles are replaced with the actual\n // state style values only for the root element)\n if (timelines.length && finalStyles.size) {\n let lastRootTimeline;\n for (let i = timelines.length - 1; i >= 0; i--) {\n const timeline = timelines[i];\n if (timeline.element === rootElement) {\n lastRootTimeline = timeline;\n break;\n }\n }\n if (lastRootTimeline && !lastRootTimeline.allowOnlyTimelineStyles()) {\n lastRootTimeline.setStyles([finalStyles], null, context.errors, options);\n }\n }\n return timelines.length ? timelines.map(timeline => timeline.buildKeyframes()) : [createTimelineInstruction(rootElement, [], [], [], 0, delay, '', false)];\n }\n visitTrigger(ast, context) {\n // these values are not visited in this AST\n }\n visitState(ast, context) {\n // these values are not visited in this AST\n }\n visitTransition(ast, context) {\n // these values are not visited in this AST\n }\n visitAnimateChild(ast, context) {\n const elementInstructions = context.subInstructions.get(context.element);\n if (elementInstructions) {\n const innerContext = context.createSubContext(ast.options);\n const startTime = context.currentTimeline.currentTime;\n const endTime = this._visitSubInstructions(elementInstructions, innerContext, innerContext.options);\n if (startTime != endTime) {\n // we do this on the upper context because we created a sub context for\n // the sub child animations\n context.transformIntoNewTimeline(endTime);\n }\n }\n context.previousNode = ast;\n }\n visitAnimateRef(ast, context) {\n const innerContext = context.createSubContext(ast.options);\n innerContext.transformIntoNewTimeline();\n this._applyAnimationRefDelays([ast.options, ast.animation.options], context, innerContext);\n this.visitReference(ast.animation, innerContext);\n context.transformIntoNewTimeline(innerContext.currentTimeline.currentTime);\n context.previousNode = ast;\n }\n _applyAnimationRefDelays(animationsRefsOptions, context, innerContext) {\n for (const animationRefOptions of animationsRefsOptions) {\n const animationDelay = animationRefOptions?.delay;\n if (animationDelay) {\n const animationDelayValue = typeof animationDelay === 'number' ? animationDelay : resolveTimingValue(interpolateParams(animationDelay, animationRefOptions?.params ?? {}, context.errors));\n innerContext.delayNextStep(animationDelayValue);\n }\n }\n }\n _visitSubInstructions(instructions, context, options) {\n const startTime = context.currentTimeline.currentTime;\n let furthestTime = startTime;\n // this is a special-case for when a user wants to skip a sub\n // animation from being fired entirely.\n const duration = options.duration != null ? resolveTimingValue(options.duration) : null;\n const delay = options.delay != null ? resolveTimingValue(options.delay) : null;\n if (duration !== 0) {\n instructions.forEach(instruction => {\n const instructionTimings = context.appendInstructionToTimeline(instruction, duration, delay);\n furthestTime = Math.max(furthestTime, instructionTimings.duration + instructionTimings.delay);\n });\n }\n return furthestTime;\n }\n visitReference(ast, context) {\n context.updateOptions(ast.options, true);\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n }\n visitSequence(ast, context) {\n const subContextCount = context.subContextCount;\n let ctx = context;\n const options = ast.options;\n if (options && (options.params || options.delay)) {\n ctx = context.createSubContext(options);\n ctx.transformIntoNewTimeline();\n if (options.delay != null) {\n if (ctx.previousNode.type == AnimationMetadataType.Style) {\n ctx.currentTimeline.snapshotCurrentStyles();\n ctx.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n const delay = resolveTimingValue(options.delay);\n ctx.delayNextStep(delay);\n }\n }\n if (ast.steps.length) {\n ast.steps.forEach(s => visitDslNode(this, s, ctx));\n // this is here just in case the inner steps only contain or end with a style() call\n ctx.currentTimeline.applyStylesToKeyframe();\n // this means that some animation function within the sequence\n // ended up creating a sub timeline (which means the current\n // timeline cannot overlap with the contents of the sequence)\n if (ctx.subContextCount > subContextCount) {\n ctx.transformIntoNewTimeline();\n }\n }\n context.previousNode = ast;\n }\n visitGroup(ast, context) {\n const innerTimelines = [];\n let furthestTime = context.currentTimeline.currentTime;\n const delay = ast.options && ast.options.delay ? resolveTimingValue(ast.options.delay) : 0;\n ast.steps.forEach(s => {\n const innerContext = context.createSubContext(ast.options);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n visitDslNode(this, s, innerContext);\n furthestTime = Math.max(furthestTime, innerContext.currentTimeline.currentTime);\n innerTimelines.push(innerContext.currentTimeline);\n });\n // this operation is run after the AST loop because otherwise\n // if the parent timeline's collected styles were updated then\n // it would pass in invalid data into the new-to-be forked items\n innerTimelines.forEach(timeline => context.currentTimeline.mergeTimelineCollectedStyles(timeline));\n context.transformIntoNewTimeline(furthestTime);\n context.previousNode = ast;\n }\n _visitTiming(ast, context) {\n if (ast.dynamic) {\n const strValue = ast.strValue;\n const timingValue = context.params ? interpolateParams(strValue, context.params, context.errors) : strValue;\n return resolveTiming(timingValue, context.errors);\n } else {\n return {\n duration: ast.duration,\n delay: ast.delay,\n easing: ast.easing\n };\n }\n }\n visitAnimate(ast, context) {\n const timings = context.currentAnimateTimings = this._visitTiming(ast.timings, context);\n const timeline = context.currentTimeline;\n if (timings.delay) {\n context.incrementTime(timings.delay);\n timeline.snapshotCurrentStyles();\n }\n const style = ast.style;\n if (style.type == AnimationMetadataType.Keyframes) {\n this.visitKeyframes(style, context);\n } else {\n context.incrementTime(timings.duration);\n this.visitStyle(style, context);\n timeline.applyStylesToKeyframe();\n }\n context.currentAnimateTimings = null;\n context.previousNode = ast;\n }\n visitStyle(ast, context) {\n const timeline = context.currentTimeline;\n const timings = context.currentAnimateTimings;\n // this is a special case for when a style() call\n // directly follows an animate() call (but not inside of an animate() call)\n if (!timings && timeline.hasCurrentStyleProperties()) {\n timeline.forwardFrame();\n }\n const easing = timings && timings.easing || ast.easing;\n if (ast.isEmptyStep) {\n timeline.applyEmptyStep(easing);\n } else {\n timeline.setStyles(ast.styles, easing, context.errors, context.options);\n }\n context.previousNode = ast;\n }\n visitKeyframes(ast, context) {\n const currentAnimateTimings = context.currentAnimateTimings;\n const startTime = context.currentTimeline.duration;\n const duration = currentAnimateTimings.duration;\n const innerContext = context.createSubContext();\n const innerTimeline = innerContext.currentTimeline;\n innerTimeline.easing = currentAnimateTimings.easing;\n ast.styles.forEach(step => {\n const offset = step.offset || 0;\n innerTimeline.forwardTime(offset * duration);\n innerTimeline.setStyles(step.styles, step.easing, context.errors, context.options);\n innerTimeline.applyStylesToKeyframe();\n });\n // this will ensure that the parent timeline gets all the styles from\n // the child even if the new timeline below is not used\n context.currentTimeline.mergeTimelineCollectedStyles(innerTimeline);\n // we do this because the window between this timeline and the sub timeline\n // should ensure that the styles within are exactly the same as they were before\n context.transformIntoNewTimeline(startTime + duration);\n context.previousNode = ast;\n }\n visitQuery(ast, context) {\n // in the event that the first step before this is a style step we need\n // to ensure the styles are applied before the children are animated\n const startTime = context.currentTimeline.currentTime;\n const options = ast.options || {};\n const delay = options.delay ? resolveTimingValue(options.delay) : 0;\n if (delay && (context.previousNode.type === AnimationMetadataType.Style || startTime == 0 && context.currentTimeline.hasCurrentStyleProperties())) {\n context.currentTimeline.snapshotCurrentStyles();\n context.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n }\n let furthestTime = startTime;\n const elms = context.invokeQuery(ast.selector, ast.originalSelector, ast.limit, ast.includeSelf, options.optional ? true : false, context.errors);\n context.currentQueryTotal = elms.length;\n let sameElementTimeline = null;\n elms.forEach((element, i) => {\n context.currentQueryIndex = i;\n const innerContext = context.createSubContext(ast.options, element);\n if (delay) {\n innerContext.delayNextStep(delay);\n }\n if (element === context.element) {\n sameElementTimeline = innerContext.currentTimeline;\n }\n visitDslNode(this, ast.animation, innerContext);\n // this is here just incase the inner steps only contain or end\n // with a style() call (which is here to signal that this is a preparatory\n // call to style an element before it is animated again)\n innerContext.currentTimeline.applyStylesToKeyframe();\n const endTime = innerContext.currentTimeline.currentTime;\n furthestTime = Math.max(furthestTime, endTime);\n });\n context.currentQueryIndex = 0;\n context.currentQueryTotal = 0;\n context.transformIntoNewTimeline(furthestTime);\n if (sameElementTimeline) {\n context.currentTimeline.mergeTimelineCollectedStyles(sameElementTimeline);\n context.currentTimeline.snapshotCurrentStyles();\n }\n context.previousNode = ast;\n }\n visitStagger(ast, context) {\n const parentContext = context.parentContext;\n const tl = context.currentTimeline;\n const timings = ast.timings;\n const duration = Math.abs(timings.duration);\n const maxTime = duration * (context.currentQueryTotal - 1);\n let delay = duration * context.currentQueryIndex;\n let staggerTransformer = timings.duration < 0 ? 'reverse' : timings.easing;\n switch (staggerTransformer) {\n case 'reverse':\n delay = maxTime - delay;\n break;\n case 'full':\n delay = parentContext.currentStaggerTime;\n break;\n }\n const timeline = context.currentTimeline;\n if (delay) {\n timeline.delayNextStep(delay);\n }\n const startingTime = timeline.currentTime;\n visitDslNode(this, ast.animation, context);\n context.previousNode = ast;\n // time = duration + delay\n // the reason why this computation is so complex is because\n // the inner timeline may either have a delay value or a stretched\n // keyframe depending on if a subtimeline is not used or is used.\n parentContext.currentStaggerTime = tl.currentTime - startingTime + (tl.startTime - parentContext.currentTimeline.startTime);\n }\n}\nconst DEFAULT_NOOP_PREVIOUS_NODE = {};\nclass AnimationTimelineContext {\n _driver;\n element;\n subInstructions;\n _enterClassName;\n _leaveClassName;\n errors;\n timelines;\n parentContext = null;\n currentTimeline;\n currentAnimateTimings = null;\n previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n subContextCount = 0;\n options = {};\n currentQueryIndex = 0;\n currentQueryTotal = 0;\n currentStaggerTime = 0;\n constructor(_driver, element, subInstructions, _enterClassName, _leaveClassName, errors, timelines, initialTimeline) {\n this._driver = _driver;\n this.element = element;\n this.subInstructions = subInstructions;\n this._enterClassName = _enterClassName;\n this._leaveClassName = _leaveClassName;\n this.errors = errors;\n this.timelines = timelines;\n this.currentTimeline = initialTimeline || new TimelineBuilder(this._driver, element, 0);\n timelines.push(this.currentTimeline);\n }\n get params() {\n return this.options.params;\n }\n updateOptions(options, skipIfExists) {\n if (!options) return;\n const newOptions = options;\n let optionsToUpdate = this.options;\n // NOTE: this will get patched up when other animation methods support duration overrides\n if (newOptions.duration != null) {\n optionsToUpdate.duration = resolveTimingValue(newOptions.duration);\n }\n if (newOptions.delay != null) {\n optionsToUpdate.delay = resolveTimingValue(newOptions.delay);\n }\n const newParams = newOptions.params;\n if (newParams) {\n let paramsToUpdate = optionsToUpdate.params;\n if (!paramsToUpdate) {\n paramsToUpdate = this.options.params = {};\n }\n Object.keys(newParams).forEach(name => {\n if (!skipIfExists || !paramsToUpdate.hasOwnProperty(name)) {\n paramsToUpdate[name] = interpolateParams(newParams[name], paramsToUpdate, this.errors);\n }\n });\n }\n }\n _copyOptions() {\n const options = {};\n if (this.options) {\n const oldParams = this.options.params;\n if (oldParams) {\n const params = options['params'] = {};\n Object.keys(oldParams).forEach(name => {\n params[name] = oldParams[name];\n });\n }\n }\n return options;\n }\n createSubContext(options = null, element, newTime) {\n const target = element || this.element;\n const context = new AnimationTimelineContext(this._driver, target, this.subInstructions, this._enterClassName, this._leaveClassName, this.errors, this.timelines, this.currentTimeline.fork(target, newTime || 0));\n context.previousNode = this.previousNode;\n context.currentAnimateTimings = this.currentAnimateTimings;\n context.options = this._copyOptions();\n context.updateOptions(options);\n context.currentQueryIndex = this.currentQueryIndex;\n context.currentQueryTotal = this.currentQueryTotal;\n context.parentContext = this;\n this.subContextCount++;\n return context;\n }\n transformIntoNewTimeline(newTime) {\n this.previousNode = DEFAULT_NOOP_PREVIOUS_NODE;\n this.currentTimeline = this.currentTimeline.fork(this.element, newTime);\n this.timelines.push(this.currentTimeline);\n return this.currentTimeline;\n }\n appendInstructionToTimeline(instruction, duration, delay) {\n const updatedTimings = {\n duration: duration != null ? duration : instruction.duration,\n delay: this.currentTimeline.currentTime + (delay != null ? delay : 0) + instruction.delay,\n easing: ''\n };\n const builder = new SubTimelineBuilder(this._driver, instruction.element, instruction.keyframes, instruction.preStyleProps, instruction.postStyleProps, updatedTimings, instruction.stretchStartingKeyframe);\n this.timelines.push(builder);\n return updatedTimings;\n }\n incrementTime(time) {\n this.currentTimeline.forwardTime(this.currentTimeline.duration + time);\n }\n delayNextStep(delay) {\n // negative delays are not yet supported\n if (delay > 0) {\n this.currentTimeline.delayNextStep(delay);\n }\n }\n invokeQuery(selector, originalSelector, limit, includeSelf, optional, errors) {\n let results = [];\n if (includeSelf) {\n results.push(this.element);\n }\n if (selector.length > 0) {\n // only if :self is used then the selector can be empty\n selector = selector.replace(ENTER_TOKEN_REGEX, '.' + this._enterClassName);\n selector = selector.replace(LEAVE_TOKEN_REGEX, '.' + this._leaveClassName);\n const multi = limit != 1;\n let elements = this._driver.query(this.element, selector, multi);\n if (limit !== 0) {\n elements = limit < 0 ? elements.slice(elements.length + limit, elements.length) : elements.slice(0, limit);\n }\n results.push(...elements);\n }\n if (!optional && results.length == 0) {\n errors.push(invalidQuery(originalSelector));\n }\n return results;\n }\n}\nclass TimelineBuilder {\n _driver;\n element;\n startTime;\n _elementTimelineStylesLookup;\n duration = 0;\n easing = null;\n _previousKeyframe = /*#__PURE__*/new Map();\n _currentKeyframe = /*#__PURE__*/new Map();\n _keyframes = /*#__PURE__*/new Map();\n _styleSummary = /*#__PURE__*/new Map();\n _localTimelineStyles = /*#__PURE__*/new Map();\n _globalTimelineStyles;\n _pendingStyles = /*#__PURE__*/new Map();\n _backFill = /*#__PURE__*/new Map();\n _currentEmptyStepKeyframe = null;\n constructor(_driver, element, startTime, _elementTimelineStylesLookup) {\n this._driver = _driver;\n this.element = element;\n this.startTime = startTime;\n this._elementTimelineStylesLookup = _elementTimelineStylesLookup;\n if (!this._elementTimelineStylesLookup) {\n this._elementTimelineStylesLookup = new Map();\n }\n this._globalTimelineStyles = this._elementTimelineStylesLookup.get(element);\n if (!this._globalTimelineStyles) {\n this._globalTimelineStyles = this._localTimelineStyles;\n this._elementTimelineStylesLookup.set(element, this._localTimelineStyles);\n }\n this._loadKeyframe();\n }\n containsAnimation() {\n switch (this._keyframes.size) {\n case 0:\n return false;\n case 1:\n return this.hasCurrentStyleProperties();\n default:\n return true;\n }\n }\n hasCurrentStyleProperties() {\n return this._currentKeyframe.size > 0;\n }\n get currentTime() {\n return this.startTime + this.duration;\n }\n delayNextStep(delay) {\n // in the event that a style() step is placed right before a stagger()\n // and that style() step is the very first style() value in the animation\n // then we need to make a copy of the keyframe [0, copy, 1] so that the delay\n // properly applies the style() values to work with the stagger...\n const hasPreStyleStep = this._keyframes.size === 1 && this._pendingStyles.size;\n if (this.duration || hasPreStyleStep) {\n this.forwardTime(this.currentTime + delay);\n if (hasPreStyleStep) {\n this.snapshotCurrentStyles();\n }\n } else {\n this.startTime += delay;\n }\n }\n fork(element, currentTime) {\n this.applyStylesToKeyframe();\n return new TimelineBuilder(this._driver, element, currentTime || this.currentTime, this._elementTimelineStylesLookup);\n }\n _loadKeyframe() {\n if (this._currentKeyframe) {\n this._previousKeyframe = this._currentKeyframe;\n }\n this._currentKeyframe = this._keyframes.get(this.duration);\n if (!this._currentKeyframe) {\n this._currentKeyframe = new Map();\n this._keyframes.set(this.duration, this._currentKeyframe);\n }\n }\n forwardFrame() {\n this.duration += ONE_FRAME_IN_MILLISECONDS;\n this._loadKeyframe();\n }\n forwardTime(time) {\n this.applyStylesToKeyframe();\n this.duration = time;\n this._loadKeyframe();\n }\n _updateStyle(prop, value) {\n this._localTimelineStyles.set(prop, value);\n this._globalTimelineStyles.set(prop, value);\n this._styleSummary.set(prop, {\n time: this.currentTime,\n value\n });\n }\n allowOnlyTimelineStyles() {\n return this._currentEmptyStepKeyframe !== this._currentKeyframe;\n }\n applyEmptyStep(easing) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n // special case for animate(duration):\n // all missing styles are filled with a `*` value then\n // if any destination styles are filled in later on the same\n // keyframe then they will override the overridden styles\n // We use `_globalTimelineStyles` here because there may be\n // styles in previous keyframes that are not present in this timeline\n for (let [prop, value] of this._globalTimelineStyles) {\n this._backFill.set(prop, value || AUTO_STYLE);\n this._currentKeyframe.set(prop, AUTO_STYLE);\n }\n this._currentEmptyStepKeyframe = this._currentKeyframe;\n }\n setStyles(input, easing, errors, options) {\n if (easing) {\n this._previousKeyframe.set('easing', easing);\n }\n const params = options && options.params || {};\n const styles = flattenStyles(input, this._globalTimelineStyles);\n for (let [prop, value] of styles) {\n const val = interpolateParams(value, params, errors);\n this._pendingStyles.set(prop, val);\n if (!this._localTimelineStyles.has(prop)) {\n this._backFill.set(prop, this._globalTimelineStyles.get(prop) ?? AUTO_STYLE);\n }\n this._updateStyle(prop, val);\n }\n }\n applyStylesToKeyframe() {\n if (this._pendingStyles.size == 0) return;\n this._pendingStyles.forEach((val, prop) => {\n this._currentKeyframe.set(prop, val);\n });\n this._pendingStyles.clear();\n this._localTimelineStyles.forEach((val, prop) => {\n if (!this._currentKeyframe.has(prop)) {\n this._currentKeyframe.set(prop, val);\n }\n });\n }\n snapshotCurrentStyles() {\n for (let [prop, val] of this._localTimelineStyles) {\n this._pendingStyles.set(prop, val);\n this._updateStyle(prop, val);\n }\n }\n getFinalKeyframe() {\n return this._keyframes.get(this.duration);\n }\n get properties() {\n const properties = [];\n for (let prop in this._currentKeyframe) {\n properties.push(prop);\n }\n return properties;\n }\n mergeTimelineCollectedStyles(timeline) {\n timeline._styleSummary.forEach((details1, prop) => {\n const details0 = this._styleSummary.get(prop);\n if (!details0 || details1.time > details0.time) {\n this._updateStyle(prop, details1.value);\n }\n });\n }\n buildKeyframes() {\n this.applyStylesToKeyframe();\n const preStyleProps = new Set();\n const postStyleProps = new Set();\n const isEmpty = this._keyframes.size === 1 && this.duration === 0;\n let finalKeyframes = [];\n this._keyframes.forEach((keyframe, time) => {\n const finalKeyframe = new Map([...this._backFill, ...keyframe]);\n finalKeyframe.forEach((value, prop) => {\n if (value === ɵPRE_STYLE) {\n preStyleProps.add(prop);\n } else if (value === AUTO_STYLE) {\n postStyleProps.add(prop);\n }\n });\n if (!isEmpty) {\n finalKeyframe.set('offset', time / this.duration);\n }\n finalKeyframes.push(finalKeyframe);\n });\n const preProps = [...preStyleProps.values()];\n const postProps = [...postStyleProps.values()];\n // special case for a 0-second animation (which is designed just to place styles onscreen)\n if (isEmpty) {\n const kf0 = finalKeyframes[0];\n const kf1 = new Map(kf0);\n kf0.set('offset', 0);\n kf1.set('offset', 1);\n finalKeyframes = [kf0, kf1];\n }\n return createTimelineInstruction(this.element, finalKeyframes, preProps, postProps, this.duration, this.startTime, this.easing, false);\n }\n}\nclass SubTimelineBuilder extends TimelineBuilder {\n keyframes;\n preStyleProps;\n postStyleProps;\n _stretchStartingKeyframe;\n timings;\n constructor(driver, element, keyframes, preStyleProps, postStyleProps, timings, _stretchStartingKeyframe = false) {\n super(driver, element, timings.delay);\n this.keyframes = keyframes;\n this.preStyleProps = preStyleProps;\n this.postStyleProps = postStyleProps;\n this._stretchStartingKeyframe = _stretchStartingKeyframe;\n this.timings = {\n duration: timings.duration,\n delay: timings.delay,\n easing: timings.easing\n };\n }\n containsAnimation() {\n return this.keyframes.length > 1;\n }\n buildKeyframes() {\n let keyframes = this.keyframes;\n let {\n delay,\n duration,\n easing\n } = this.timings;\n if (this._stretchStartingKeyframe && delay) {\n const newKeyframes = [];\n const totalTime = duration + delay;\n const startingGap = delay / totalTime;\n // the original starting keyframe now starts once the delay is done\n const newFirstKeyframe = new Map(keyframes[0]);\n newFirstKeyframe.set('offset', 0);\n newKeyframes.push(newFirstKeyframe);\n const oldFirstKeyframe = new Map(keyframes[0]);\n oldFirstKeyframe.set('offset', roundOffset(startingGap));\n newKeyframes.push(oldFirstKeyframe);\n /*\n When the keyframe is stretched then it means that the delay before the animation\n starts is gone. Instead the first keyframe is placed at the start of the animation\n and it is then copied to where it starts when the original delay is over. This basically\n means nothing animates during that delay, but the styles are still rendered. For this\n to work the original offset values that exist in the original keyframes must be \"warped\"\n so that they can take the new keyframe + delay into account.\n delay=1000, duration=1000, keyframes = 0 .5 1\n turns into\n delay=0, duration=2000, keyframes = 0 .33 .66 1\n */\n // offsets between 1 ... n -1 are all warped by the keyframe stretch\n const limit = keyframes.length - 1;\n for (let i = 1; i <= limit; i++) {\n let kf = new Map(keyframes[i]);\n const oldOffset = kf.get('offset');\n const timeAtKeyframe = delay + oldOffset * duration;\n kf.set('offset', roundOffset(timeAtKeyframe / totalTime));\n newKeyframes.push(kf);\n }\n // the new starting keyframe should be added at the start\n duration = totalTime;\n delay = 0;\n easing = '';\n keyframes = newKeyframes;\n }\n return createTimelineInstruction(this.element, keyframes, this.preStyleProps, this.postStyleProps, duration, delay, easing, true);\n }\n}\nfunction roundOffset(offset, decimalPoints = 3) {\n const mult = Math.pow(10, decimalPoints - 1);\n return Math.round(offset * mult) / mult;\n}\nfunction flattenStyles(input, allStyles) {\n const styles = new Map();\n let allProperties;\n input.forEach(token => {\n if (token === '*') {\n allProperties ??= allStyles.keys();\n for (let prop of allProperties) {\n styles.set(prop, AUTO_STYLE);\n }\n } else {\n for (let [prop, val] of token) {\n styles.set(prop, val);\n }\n }\n });\n return styles;\n}\nfunction createTransitionInstruction(element, triggerName, fromState, toState, isRemovalTransition, fromStyles, toStyles, timelines, queriedElements, preStyleProps, postStyleProps, totalTime, errors) {\n return {\n type: 0 /* AnimationTransitionInstructionType.TransitionAnimation */,\n element,\n triggerName,\n isRemovalTransition,\n fromState,\n fromStyles,\n toState,\n toStyles,\n timelines,\n queriedElements,\n preStyleProps,\n postStyleProps,\n totalTime,\n errors\n };\n}\nconst EMPTY_OBJECT = {};\nclass AnimationTransitionFactory {\n _triggerName;\n ast;\n _stateStyles;\n constructor(_triggerName, ast, _stateStyles) {\n this._triggerName = _triggerName;\n this.ast = ast;\n this._stateStyles = _stateStyles;\n }\n match(currentState, nextState, element, params) {\n return oneOrMoreTransitionsMatch(this.ast.matchers, currentState, nextState, element, params);\n }\n buildStyles(stateName, params, errors) {\n let styler = this._stateStyles.get('*');\n if (stateName !== undefined) {\n styler = this._stateStyles.get(stateName?.toString()) || styler;\n }\n return styler ? styler.buildStyles(params, errors) : new Map();\n }\n build(driver, element, currentState, nextState, enterClassName, leaveClassName, currentOptions, nextOptions, subInstructions, skipAstBuild) {\n const errors = [];\n const transitionAnimationParams = this.ast.options && this.ast.options.params || EMPTY_OBJECT;\n const currentAnimationParams = currentOptions && currentOptions.params || EMPTY_OBJECT;\n const currentStateStyles = this.buildStyles(currentState, currentAnimationParams, errors);\n const nextAnimationParams = nextOptions && nextOptions.params || EMPTY_OBJECT;\n const nextStateStyles = this.buildStyles(nextState, nextAnimationParams, errors);\n const queriedElements = new Set();\n const preStyleMap = new Map();\n const postStyleMap = new Map();\n const isRemoval = nextState === 'void';\n const animationOptions = {\n params: applyParamDefaults(nextAnimationParams, transitionAnimationParams),\n delay: this.ast.options?.delay\n };\n const timelines = skipAstBuild ? [] : buildAnimationTimelines(driver, element, this.ast.animation, enterClassName, leaveClassName, currentStateStyles, nextStateStyles, animationOptions, subInstructions, errors);\n let totalTime = 0;\n timelines.forEach(tl => {\n totalTime = Math.max(tl.duration + tl.delay, totalTime);\n });\n if (errors.length) {\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, [], [], preStyleMap, postStyleMap, totalTime, errors);\n }\n timelines.forEach(tl => {\n const elm = tl.element;\n const preProps = getOrSetDefaultValue(preStyleMap, elm, new Set());\n tl.preStyleProps.forEach(prop => preProps.add(prop));\n const postProps = getOrSetDefaultValue(postStyleMap, elm, new Set());\n tl.postStyleProps.forEach(prop => postProps.add(prop));\n if (elm !== element) {\n queriedElements.add(elm);\n }\n });\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n checkNonAnimatableInTimelines(timelines, this._triggerName, driver);\n }\n return createTransitionInstruction(element, this._triggerName, currentState, nextState, isRemoval, currentStateStyles, nextStateStyles, timelines, [...queriedElements.values()], preStyleMap, postStyleMap, totalTime);\n }\n}\n/**\n * Checks inside a set of timelines if they try to animate a css property which is not considered\n * animatable, in that case it prints a warning on the console.\n * Besides that the function doesn't have any other effect.\n *\n * Note: this check is done here after the timelines are built instead of doing on a lower level so\n * that we can make sure that the warning appears only once per instruction (we can aggregate here\n * all the issues instead of finding them separately).\n *\n * @param timelines The built timelines for the current instruction.\n * @param triggerName The name of the trigger for the current instruction.\n * @param driver Animation driver used to perform the check.\n *\n */\nfunction checkNonAnimatableInTimelines(timelines, triggerName, driver) {\n if (!driver.validateAnimatableStyleProperty) {\n return;\n }\n const allowedNonAnimatableProps = new Set([\n // 'easing' is a utility/synthetic prop we use to represent\n // easing functions, it represents a property of the animation\n // which is not animatable but different values can be used\n // in different steps\n 'easing']);\n const invalidNonAnimatableProps = new Set();\n timelines.forEach(({\n keyframes\n }) => {\n const nonAnimatablePropsInitialValues = new Map();\n keyframes.forEach(keyframe => {\n const entriesToCheck = Array.from(keyframe.entries()).filter(([prop]) => !allowedNonAnimatableProps.has(prop));\n for (const [prop, value] of entriesToCheck) {\n if (!driver.validateAnimatableStyleProperty(prop)) {\n if (nonAnimatablePropsInitialValues.has(prop) && !invalidNonAnimatableProps.has(prop)) {\n const propInitialValue = nonAnimatablePropsInitialValues.get(prop);\n if (propInitialValue !== value) {\n invalidNonAnimatableProps.add(prop);\n }\n } else {\n nonAnimatablePropsInitialValues.set(prop, value);\n }\n }\n }\n });\n });\n if (invalidNonAnimatableProps.size > 0) {\n console.warn(`Warning: The animation trigger \"${triggerName}\" is attempting to animate the following` + ' not animatable properties: ' + Array.from(invalidNonAnimatableProps).join(', ') + '\\n' + '(to check the list of all animatable properties visit https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_animated_properties)');\n }\n}\nfunction oneOrMoreTransitionsMatch(matchFns, currentState, nextState, element, params) {\n return matchFns.some(fn => fn(currentState, nextState, element, params));\n}\nfunction applyParamDefaults(userParams, defaults) {\n const result = {\n ...defaults\n };\n Object.entries(userParams).forEach(([key, value]) => {\n if (value != null) {\n result[key] = value;\n }\n });\n return result;\n}\nclass AnimationStateStyles {\n styles;\n defaultParams;\n normalizer;\n constructor(styles, defaultParams, normalizer) {\n this.styles = styles;\n this.defaultParams = defaultParams;\n this.normalizer = normalizer;\n }\n buildStyles(params, errors) {\n const finalStyles = new Map();\n const combinedParams = applyParamDefaults(params, this.defaultParams);\n this.styles.styles.forEach(value => {\n if (typeof value !== 'string') {\n value.forEach((val, prop) => {\n if (val) {\n val = interpolateParams(val, combinedParams, errors);\n }\n const normalizedProp = this.normalizer.normalizePropertyName(prop, errors);\n val = this.normalizer.normalizeStyleValue(prop, normalizedProp, val, errors);\n finalStyles.set(prop, val);\n });\n }\n });\n return finalStyles;\n }\n}\nfunction buildTrigger(name, ast, normalizer) {\n return new AnimationTrigger(name, ast, normalizer);\n}\nclass AnimationTrigger {\n name;\n ast;\n _normalizer;\n transitionFactories = [];\n fallbackTransition;\n states = /*#__PURE__*/new Map();\n constructor(name, ast, _normalizer) {\n this.name = name;\n this.ast = ast;\n this._normalizer = _normalizer;\n ast.states.forEach(ast => {\n const defaultParams = ast.options && ast.options.params || {};\n this.states.set(ast.name, new AnimationStateStyles(ast.style, defaultParams, _normalizer));\n });\n balanceProperties(this.states, 'true', '1');\n balanceProperties(this.states, 'false', '0');\n ast.transitions.forEach(ast => {\n this.transitionFactories.push(new AnimationTransitionFactory(name, ast, this.states));\n });\n this.fallbackTransition = createFallbackTransition(name, this.states, this._normalizer);\n }\n get containsQueries() {\n return this.ast.queryCount > 0;\n }\n matchTransition(currentState, nextState, element, params) {\n const entry = this.transitionFactories.find(f => f.match(currentState, nextState, element, params));\n return entry || null;\n }\n matchStyles(currentState, params, errors) {\n return this.fallbackTransition.buildStyles(currentState, params, errors);\n }\n}\nfunction createFallbackTransition(triggerName, states, normalizer) {\n const matchers = [(fromState, toState) => true];\n const animation = {\n type: AnimationMetadataType.Sequence,\n steps: [],\n options: null\n };\n const transition = {\n type: AnimationMetadataType.Transition,\n animation,\n matchers,\n options: null,\n queryCount: 0,\n depCount: 0\n };\n return new AnimationTransitionFactory(triggerName, transition, states);\n}\nfunction balanceProperties(stateMap, key1, key2) {\n if (stateMap.has(key1)) {\n if (!stateMap.has(key2)) {\n stateMap.set(key2, stateMap.get(key1));\n }\n } else if (stateMap.has(key2)) {\n stateMap.set(key1, stateMap.get(key2));\n }\n}\nconst EMPTY_INSTRUCTION_MAP = /*#__PURE__*/new ElementInstructionMap();\nclass TimelineAnimationEngine {\n bodyNode;\n _driver;\n _normalizer;\n _animations = /*#__PURE__*/new Map();\n _playersById = /*#__PURE__*/new Map();\n players = [];\n constructor(bodyNode, _driver, _normalizer) {\n this.bodyNode = bodyNode;\n this._driver = _driver;\n this._normalizer = _normalizer;\n }\n register(id, metadata) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw registerFailed(errors);\n } else {\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (warnings.length) {\n warnRegister(warnings);\n }\n }\n this._animations.set(id, ast);\n }\n }\n _buildPlayer(i, preStyles, postStyles) {\n const element = i.element;\n const keyframes = normalizeKeyframes$1(this._normalizer, i.keyframes, preStyles, postStyles);\n return this._driver.animate(element, keyframes, i.duration, i.delay, i.easing, [], true);\n }\n create(id, element, options = {}) {\n const errors = [];\n const ast = this._animations.get(id);\n let instructions;\n const autoStylesMap = new Map();\n if (ast) {\n instructions = buildAnimationTimelines(this._driver, element, ast, ENTER_CLASSNAME, LEAVE_CLASSNAME, new Map(), new Map(), options, EMPTY_INSTRUCTION_MAP, errors);\n instructions.forEach(inst => {\n const styles = getOrSetDefaultValue(autoStylesMap, inst.element, new Map());\n inst.postStyleProps.forEach(prop => styles.set(prop, null));\n });\n } else {\n errors.push(missingOrDestroyedAnimation());\n instructions = [];\n }\n if (errors.length) {\n throw createAnimationFailed(errors);\n }\n autoStylesMap.forEach((styles, element) => {\n styles.forEach((_, prop) => {\n styles.set(prop, this._driver.computeStyle(element, prop, AUTO_STYLE));\n });\n });\n const players = instructions.map(i => {\n const styles = autoStylesMap.get(i.element);\n return this._buildPlayer(i, new Map(), styles);\n });\n const player = optimizeGroupPlayer(players);\n this._playersById.set(id, player);\n player.onDestroy(() => this.destroy(id));\n this.players.push(player);\n return player;\n }\n destroy(id) {\n const player = this._getPlayer(id);\n player.destroy();\n this._playersById.delete(id);\n const index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n }\n _getPlayer(id) {\n const player = this._playersById.get(id);\n if (!player) {\n throw missingPlayer(id);\n }\n return player;\n }\n listen(id, element, eventName, callback) {\n // triggerName, fromState, toState are all ignored for timeline animations\n const baseEvent = makeAnimationEvent(element, '', '', '');\n listenOnPlayer(this._getPlayer(id), eventName, baseEvent, callback);\n return () => {};\n }\n command(id, element, command, args) {\n if (command == 'register') {\n this.register(id, args[0]);\n return;\n }\n if (command == 'create') {\n const options = args[0] || {};\n this.create(id, element, options);\n return;\n }\n const player = this._getPlayer(id);\n switch (command) {\n case 'play':\n player.play();\n break;\n case 'pause':\n player.pause();\n break;\n case 'reset':\n player.reset();\n break;\n case 'restart':\n player.restart();\n break;\n case 'finish':\n player.finish();\n break;\n case 'init':\n player.init();\n break;\n case 'setPosition':\n player.setPosition(parseFloat(args[0]));\n break;\n case 'destroy':\n this.destroy(id);\n break;\n }\n }\n}\nconst QUEUED_CLASSNAME = 'ng-animate-queued';\nconst QUEUED_SELECTOR = '.ng-animate-queued';\nconst DISABLED_CLASSNAME = 'ng-animate-disabled';\nconst DISABLED_SELECTOR = '.ng-animate-disabled';\nconst STAR_CLASSNAME = 'ng-star-inserted';\nconst STAR_SELECTOR = '.ng-star-inserted';\nconst EMPTY_PLAYER_ARRAY = [];\nconst NULL_REMOVAL_STATE = {\n namespaceId: '',\n setForRemoval: false,\n setForMove: false,\n hasAnimation: false,\n removedBeforeQueried: false\n};\nconst NULL_REMOVED_QUERIED_STATE = {\n namespaceId: '',\n setForMove: false,\n setForRemoval: false,\n hasAnimation: false,\n removedBeforeQueried: true\n};\nconst REMOVAL_FLAG = '__ng_removed';\nclass StateValue {\n namespaceId;\n value;\n options;\n get params() {\n return this.options.params;\n }\n constructor(input, namespaceId = '') {\n this.namespaceId = namespaceId;\n const isObj = input && input.hasOwnProperty('value');\n const value = isObj ? input['value'] : input;\n this.value = normalizeTriggerValue(value);\n if (isObj) {\n // we drop the value property from options.\n const {\n value,\n ...options\n } = input;\n this.options = options;\n } else {\n this.options = {};\n }\n if (!this.options.params) {\n this.options.params = {};\n }\n }\n absorbOptions(options) {\n const newParams = options.params;\n if (newParams) {\n const oldParams = this.options.params;\n Object.keys(newParams).forEach(prop => {\n if (oldParams[prop] == null) {\n oldParams[prop] = newParams[prop];\n }\n });\n }\n }\n}\nconst VOID_VALUE = 'void';\nconst DEFAULT_STATE_VALUE = /*#__PURE__*/new StateValue(VOID_VALUE);\nclass AnimationTransitionNamespace {\n id;\n hostElement;\n _engine;\n players = [];\n _triggers = /*#__PURE__*/new Map();\n _queue = [];\n _elementListeners = /*#__PURE__*/new Map();\n _hostClassName;\n constructor(id, hostElement, _engine) {\n this.id = id;\n this.hostElement = hostElement;\n this._engine = _engine;\n this._hostClassName = 'ng-tns-' + id;\n addClass(hostElement, this._hostClassName);\n }\n listen(element, name, phase, callback) {\n if (!this._triggers.has(name)) {\n throw missingTrigger(phase, name);\n }\n if (phase == null || phase.length == 0) {\n throw missingEvent(name);\n }\n if (!isTriggerEventValid(phase)) {\n throw unsupportedTriggerEvent(phase, name);\n }\n const listeners = getOrSetDefaultValue(this._elementListeners, element, []);\n const data = {\n name,\n phase,\n callback\n };\n listeners.push(data);\n const triggersWithStates = getOrSetDefaultValue(this._engine.statesByElement, element, new Map());\n if (!triggersWithStates.has(name)) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + name);\n triggersWithStates.set(name, DEFAULT_STATE_VALUE);\n }\n return () => {\n // the event listener is removed AFTER the flush has occurred such\n // that leave animations callbacks can fire (otherwise if the node\n // is removed in between then the listeners would be deregistered)\n this._engine.afterFlush(() => {\n const index = listeners.indexOf(data);\n if (index >= 0) {\n listeners.splice(index, 1);\n }\n if (!this._triggers.has(name)) {\n triggersWithStates.delete(name);\n }\n });\n };\n }\n register(name, ast) {\n if (this._triggers.has(name)) {\n // throw\n return false;\n } else {\n this._triggers.set(name, ast);\n return true;\n }\n }\n _getTrigger(name) {\n const trigger = this._triggers.get(name);\n if (!trigger) {\n throw unregisteredTrigger(name);\n }\n return trigger;\n }\n trigger(element, triggerName, value, defaultToFallback = true) {\n const trigger = this._getTrigger(triggerName);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n let triggersWithStates = this._engine.statesByElement.get(element);\n if (!triggersWithStates) {\n addClass(element, NG_TRIGGER_CLASSNAME);\n addClass(element, NG_TRIGGER_CLASSNAME + '-' + triggerName);\n this._engine.statesByElement.set(element, triggersWithStates = new Map());\n }\n let fromState = triggersWithStates.get(triggerName);\n const toState = new StateValue(value, this.id);\n const isObj = value && value.hasOwnProperty('value');\n if (!isObj && fromState) {\n toState.absorbOptions(fromState.options);\n }\n triggersWithStates.set(triggerName, toState);\n if (!fromState) {\n fromState = DEFAULT_STATE_VALUE;\n }\n const isRemoval = toState.value === VOID_VALUE;\n // normally this isn't reached by here, however, if an object expression\n // is passed in then it may be a new object each time. Comparing the value\n // is important since that will stay the same despite there being a new object.\n // The removal arc here is special cased because the same element is triggered\n // twice in the event that it contains animations on the outer/inner portions\n // of the host container\n if (!isRemoval && fromState.value === toState.value) {\n // this means that despite the value not changing, some inner params\n // have changed which means that the animation final styles need to be applied\n if (!objEquals(fromState.params, toState.params)) {\n const errors = [];\n const fromStyles = trigger.matchStyles(fromState.value, fromState.params, errors);\n const toStyles = trigger.matchStyles(toState.value, toState.params, errors);\n if (errors.length) {\n this._engine.reportError(errors);\n } else {\n this._engine.afterFlush(() => {\n eraseStyles(element, fromStyles);\n setStyles(element, toStyles);\n });\n }\n }\n return;\n }\n const playersOnElement = getOrSetDefaultValue(this._engine.playersByElement, element, []);\n playersOnElement.forEach(player => {\n // only remove the player if it is queued on the EXACT same trigger/namespace\n // we only also deal with queued players here because if the animation has\n // started then we want to keep the player alive until the flush happens\n // (which is where the previousPlayers are passed into the new player)\n if (player.namespaceId == this.id && player.triggerName == triggerName && player.queued) {\n player.destroy();\n }\n });\n let transition = trigger.matchTransition(fromState.value, toState.value, element, toState.params);\n let isFallbackTransition = false;\n if (!transition) {\n if (!defaultToFallback) return;\n transition = trigger.fallbackTransition;\n isFallbackTransition = true;\n }\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition\n });\n if (!isFallbackTransition) {\n addClass(element, QUEUED_CLASSNAME);\n player.onStart(() => {\n removeClass(element, QUEUED_CLASSNAME);\n });\n }\n player.onDone(() => {\n let index = this.players.indexOf(player);\n if (index >= 0) {\n this.players.splice(index, 1);\n }\n const players = this._engine.playersByElement.get(element);\n if (players) {\n let index = players.indexOf(player);\n if (index >= 0) {\n players.splice(index, 1);\n }\n }\n });\n this.players.push(player);\n playersOnElement.push(player);\n return player;\n }\n deregister(name) {\n this._triggers.delete(name);\n this._engine.statesByElement.forEach(stateMap => stateMap.delete(name));\n this._elementListeners.forEach((listeners, element) => {\n this._elementListeners.set(element, listeners.filter(entry => {\n return entry.name != name;\n }));\n });\n }\n clearElementCache(element) {\n this._engine.statesByElement.delete(element);\n this._elementListeners.delete(element);\n const elementPlayers = this._engine.playersByElement.get(element);\n if (elementPlayers) {\n elementPlayers.forEach(player => player.destroy());\n this._engine.playersByElement.delete(element);\n }\n }\n _signalRemovalForInnerTriggers(rootElement, context) {\n const elements = this._engine.driver.query(rootElement, NG_TRIGGER_SELECTOR, true);\n // emulate a leave animation for all inner nodes within this node.\n // If there are no animations found for any of the nodes then clear the cache\n // for the element.\n elements.forEach(elm => {\n // this means that an inner remove() operation has already kicked off\n // the animation on this element...\n if (elm[REMOVAL_FLAG]) return;\n const namespaces = this._engine.fetchNamespacesByElement(elm);\n if (namespaces.size) {\n namespaces.forEach(ns => ns.triggerLeaveAnimation(elm, context, false, true));\n } else {\n this.clearElementCache(elm);\n }\n });\n // If the child elements were removed along with the parent, their animations might not\n // have completed. Clear all the elements from the cache so we don't end up with a memory leak.\n this._engine.afterFlushAnimationsDone(() => elements.forEach(elm => this.clearElementCache(elm)));\n }\n triggerLeaveAnimation(element, context, destroyAfterComplete, defaultToFallback) {\n const triggerStates = this._engine.statesByElement.get(element);\n const previousTriggersValues = new Map();\n if (triggerStates) {\n const players = [];\n triggerStates.forEach((state, triggerName) => {\n previousTriggersValues.set(triggerName, state.value);\n // this check is here in the event that an element is removed\n // twice (both on the host level and the component level)\n if (this._triggers.has(triggerName)) {\n const player = this.trigger(element, triggerName, VOID_VALUE, defaultToFallback);\n if (player) {\n players.push(player);\n }\n }\n });\n if (players.length) {\n this._engine.markElementAsRemoved(this.id, element, true, context, previousTriggersValues);\n if (destroyAfterComplete) {\n optimizeGroupPlayer(players).onDone(() => this._engine.processLeaveNode(element));\n }\n return true;\n }\n }\n return false;\n }\n prepareLeaveAnimationListeners(element) {\n const listeners = this._elementListeners.get(element);\n const elementStates = this._engine.statesByElement.get(element);\n // if this statement fails then it means that the element was picked up\n // by an earlier flush (or there are no listeners at all to track the leave).\n if (listeners && elementStates) {\n const visitedTriggers = new Set();\n listeners.forEach(listener => {\n const triggerName = listener.name;\n if (visitedTriggers.has(triggerName)) return;\n visitedTriggers.add(triggerName);\n const trigger = this._triggers.get(triggerName);\n const transition = trigger.fallbackTransition;\n const fromState = elementStates.get(triggerName) || DEFAULT_STATE_VALUE;\n const toState = new StateValue(VOID_VALUE);\n const player = new TransitionAnimationPlayer(this.id, triggerName, element);\n this._engine.totalQueuedPlayers++;\n this._queue.push({\n element,\n triggerName,\n transition,\n fromState,\n toState,\n player,\n isFallbackTransition: true\n });\n });\n }\n }\n removeNode(element, context) {\n const engine = this._engine;\n if (element.childElementCount) {\n this._signalRemovalForInnerTriggers(element, context);\n }\n // this means that a * => VOID animation was detected and kicked off\n if (this.triggerLeaveAnimation(element, context, true)) return;\n // find the player that is animating and make sure that the\n // removal is delayed until that player has completed\n let containsPotentialParentTransition = false;\n if (engine.totalAnimations) {\n const currentPlayers = engine.players.length ? engine.playersByQueriedElement.get(element) : [];\n // when this `if statement` does not continue forward it means that\n // a previous animation query has selected the current element and\n // is animating it. In this situation want to continue forwards and\n // allow the element to be queued up for animation later.\n if (currentPlayers && currentPlayers.length) {\n containsPotentialParentTransition = true;\n } else {\n let parent = element;\n while (parent = parent.parentNode) {\n const triggers = engine.statesByElement.get(parent);\n if (triggers) {\n containsPotentialParentTransition = true;\n break;\n }\n }\n }\n }\n // at this stage we know that the element will either get removed\n // during flush or will be picked up by a parent query. Either way\n // we need to fire the listeners for this element when it DOES get\n // removed (once the query parent animation is done or after flush)\n this.prepareLeaveAnimationListeners(element);\n // whether or not a parent has an animation we need to delay the deferral of the leave\n // operation until we have more information (which we do after flush() has been called)\n if (containsPotentialParentTransition) {\n engine.markElementAsRemoved(this.id, element, false, context);\n } else {\n const removalFlag = element[REMOVAL_FLAG];\n if (!removalFlag || removalFlag === NULL_REMOVAL_STATE) {\n // we do this after the flush has occurred such\n // that the callbacks can be fired\n engine.afterFlush(() => this.clearElementCache(element));\n engine.destroyInnerAnimations(element);\n engine._onRemovalComplete(element, context);\n }\n }\n }\n insertNode(element, parent) {\n addClass(element, this._hostClassName);\n }\n drainQueuedTransitions(microtaskId) {\n const instructions = [];\n this._queue.forEach(entry => {\n const player = entry.player;\n if (player.destroyed) return;\n const element = entry.element;\n const listeners = this._elementListeners.get(element);\n if (listeners) {\n listeners.forEach(listener => {\n if (listener.name == entry.triggerName) {\n const baseEvent = makeAnimationEvent(element, entry.triggerName, entry.fromState.value, entry.toState.value);\n baseEvent['_data'] = microtaskId;\n listenOnPlayer(entry.player, listener.phase, baseEvent, listener.callback);\n }\n });\n }\n if (player.markedForDestroy) {\n this._engine.afterFlush(() => {\n // now we can destroy the element properly since the event listeners have\n // been bound to the player\n player.destroy();\n });\n } else {\n instructions.push(entry);\n }\n });\n this._queue = [];\n return instructions.sort((a, b) => {\n // if depCount == 0 them move to front\n // otherwise if a contains b then move back\n const d0 = a.transition.ast.depCount;\n const d1 = b.transition.ast.depCount;\n if (d0 == 0 || d1 == 0) {\n return d0 - d1;\n }\n return this._engine.driver.containsElement(a.element, b.element) ? 1 : -1;\n });\n }\n destroy(context) {\n this.players.forEach(p => p.destroy());\n this._signalRemovalForInnerTriggers(this.hostElement, context);\n }\n}\nclass TransitionAnimationEngine {\n bodyNode;\n driver;\n _normalizer;\n players = [];\n newHostElements = /*#__PURE__*/new Map();\n playersByElement = /*#__PURE__*/new Map();\n playersByQueriedElement = /*#__PURE__*/new Map();\n statesByElement = /*#__PURE__*/new Map();\n disabledNodes = /*#__PURE__*/new Set();\n totalAnimations = 0;\n totalQueuedPlayers = 0;\n _namespaceLookup = {};\n _namespaceList = [];\n _flushFns = [];\n _whenQuietFns = [];\n namespacesByHostElement = /*#__PURE__*/new Map();\n collectedEnterElements = [];\n collectedLeaveElements = [];\n // this method is designed to be overridden by the code that uses this engine\n onRemovalComplete = (element, context) => {};\n /** @internal */\n _onRemovalComplete(element, context) {\n this.onRemovalComplete(element, context);\n }\n constructor(bodyNode, driver, _normalizer) {\n this.bodyNode = bodyNode;\n this.driver = driver;\n this._normalizer = _normalizer;\n }\n get queuedPlayers() {\n const players = [];\n this._namespaceList.forEach(ns => {\n ns.players.forEach(player => {\n if (player.queued) {\n players.push(player);\n }\n });\n });\n return players;\n }\n createNamespace(namespaceId, hostElement) {\n const ns = new AnimationTransitionNamespace(namespaceId, hostElement, this);\n if (this.bodyNode && this.driver.containsElement(this.bodyNode, hostElement)) {\n this._balanceNamespaceList(ns, hostElement);\n } else {\n // defer this later until flush during when the host element has\n // been inserted so that we know exactly where to place it in\n // the namespace list\n this.newHostElements.set(hostElement, ns);\n // given that this host element is a part of the animation code, it\n // may or may not be inserted by a parent node that is of an\n // animation renderer type. If this happens then we can still have\n // access to this item when we query for :enter nodes. If the parent\n // is a renderer then the set data-structure will normalize the entry\n this.collectEnterElement(hostElement);\n }\n return this._namespaceLookup[namespaceId] = ns;\n }\n _balanceNamespaceList(ns, hostElement) {\n const namespaceList = this._namespaceList;\n const namespacesByHostElement = this.namespacesByHostElement;\n const limit = namespaceList.length - 1;\n if (limit >= 0) {\n let found = false;\n // Find the closest ancestor with an existing namespace so we can then insert `ns` after it,\n // establishing a top-down ordering of namespaces in `this._namespaceList`.\n let ancestor = this.driver.getParentElement(hostElement);\n while (ancestor) {\n const ancestorNs = namespacesByHostElement.get(ancestor);\n if (ancestorNs) {\n // An animation namespace has been registered for this ancestor, so we insert `ns`\n // right after it to establish top-down ordering of animation namespaces.\n const index = namespaceList.indexOf(ancestorNs);\n namespaceList.splice(index + 1, 0, ns);\n found = true;\n break;\n }\n ancestor = this.driver.getParentElement(ancestor);\n }\n if (!found) {\n // No namespace exists that is an ancestor of `ns`, so `ns` is inserted at the front to\n // ensure that any existing descendants are ordered after `ns`, retaining the desired\n // top-down ordering.\n namespaceList.unshift(ns);\n }\n } else {\n namespaceList.push(ns);\n }\n namespacesByHostElement.set(hostElement, ns);\n return ns;\n }\n register(namespaceId, hostElement) {\n let ns = this._namespaceLookup[namespaceId];\n if (!ns) {\n ns = this.createNamespace(namespaceId, hostElement);\n }\n return ns;\n }\n registerTrigger(namespaceId, name, trigger) {\n let ns = this._namespaceLookup[namespaceId];\n if (ns && ns.register(name, trigger)) {\n this.totalAnimations++;\n }\n }\n destroy(namespaceId, context) {\n if (!namespaceId) return;\n this.afterFlush(() => {});\n this.afterFlushAnimationsDone(() => {\n const ns = this._fetchNamespace(namespaceId);\n this.namespacesByHostElement.delete(ns.hostElement);\n const index = this._namespaceList.indexOf(ns);\n if (index >= 0) {\n this._namespaceList.splice(index, 1);\n }\n ns.destroy(context);\n delete this._namespaceLookup[namespaceId];\n });\n }\n _fetchNamespace(id) {\n return this._namespaceLookup[id];\n }\n fetchNamespacesByElement(element) {\n // normally there should only be one namespace per element, however\n // if @triggers are placed on both the component element and then\n // its host element (within the component code) then there will be\n // two namespaces returned. We use a set here to simply deduplicate\n // the namespaces in case (for the reason described above) there are multiple triggers\n const namespaces = new Set();\n const elementStates = this.statesByElement.get(element);\n if (elementStates) {\n for (let stateValue of elementStates.values()) {\n if (stateValue.namespaceId) {\n const ns = this._fetchNamespace(stateValue.namespaceId);\n if (ns) {\n namespaces.add(ns);\n }\n }\n }\n }\n return namespaces;\n }\n trigger(namespaceId, element, name, value) {\n if (isElementNode(element)) {\n const ns = this._fetchNamespace(namespaceId);\n if (ns) {\n ns.trigger(element, name, value);\n return true;\n }\n }\n return false;\n }\n insertNode(namespaceId, element, parent, insertBefore) {\n if (!isElementNode(element)) return;\n // special case for when an element is removed and reinserted (move operation)\n // when this occurs we do not want to use the element for deletion later\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n details.setForRemoval = false;\n details.setForMove = true;\n const index = this.collectedLeaveElements.indexOf(element);\n if (index >= 0) {\n this.collectedLeaveElements.splice(index, 1);\n }\n }\n // in the event that the namespaceId is blank then the caller\n // code does not contain any animation code in it, but it is\n // just being called so that the node is marked as being inserted\n if (namespaceId) {\n const ns = this._fetchNamespace(namespaceId);\n // This if-statement is a workaround for router issue #21947.\n // The router sometimes hits a race condition where while a route\n // is being instantiated a new navigation arrives, triggering leave\n // animation of DOM that has not been fully initialized, until this\n // is resolved, we need to handle the scenario when DOM is not in a\n // consistent state during the animation.\n if (ns) {\n ns.insertNode(element, parent);\n }\n }\n // only *directives and host elements are inserted before\n if (insertBefore) {\n this.collectEnterElement(element);\n }\n }\n collectEnterElement(element) {\n this.collectedEnterElements.push(element);\n }\n markElementAsDisabled(element, value) {\n if (value) {\n if (!this.disabledNodes.has(element)) {\n this.disabledNodes.add(element);\n addClass(element, DISABLED_CLASSNAME);\n }\n } else if (this.disabledNodes.has(element)) {\n this.disabledNodes.delete(element);\n removeClass(element, DISABLED_CLASSNAME);\n }\n }\n removeNode(namespaceId, element, context) {\n if (isElementNode(element)) {\n const ns = namespaceId ? this._fetchNamespace(namespaceId) : null;\n if (ns) {\n ns.removeNode(element, context);\n } else {\n this.markElementAsRemoved(namespaceId, element, false, context);\n }\n const hostNS = this.namespacesByHostElement.get(element);\n if (hostNS && hostNS.id !== namespaceId) {\n hostNS.removeNode(element, context);\n }\n } else {\n this._onRemovalComplete(element, context);\n }\n }\n markElementAsRemoved(namespaceId, element, hasAnimation, context, previousTriggersValues) {\n this.collectedLeaveElements.push(element);\n element[REMOVAL_FLAG] = {\n namespaceId,\n setForRemoval: context,\n hasAnimation,\n removedBeforeQueried: false,\n previousTriggersValues\n };\n }\n listen(namespaceId, element, name, phase, callback) {\n if (isElementNode(element)) {\n return this._fetchNamespace(namespaceId).listen(element, name, phase, callback);\n }\n return () => {};\n }\n _buildInstruction(entry, subTimelines, enterClassName, leaveClassName, skipBuildAst) {\n return entry.transition.build(this.driver, entry.element, entry.fromState.value, entry.toState.value, enterClassName, leaveClassName, entry.fromState.options, entry.toState.options, subTimelines, skipBuildAst);\n }\n destroyInnerAnimations(containerElement) {\n let elements = this.driver.query(containerElement, NG_TRIGGER_SELECTOR, true);\n elements.forEach(element => this.destroyActiveAnimationsForElement(element));\n if (this.playersByQueriedElement.size == 0) return;\n elements = this.driver.query(containerElement, NG_ANIMATING_SELECTOR, true);\n elements.forEach(element => this.finishActiveQueriedAnimationOnElement(element));\n }\n destroyActiveAnimationsForElement(element) {\n const players = this.playersByElement.get(element);\n if (players) {\n players.forEach(player => {\n // special case for when an element is set for destruction, but hasn't started.\n // in this situation we want to delay the destruction until the flush occurs\n // so that any event listeners attached to the player are triggered.\n if (player.queued) {\n player.markedForDestroy = true;\n } else {\n player.destroy();\n }\n });\n }\n }\n finishActiveQueriedAnimationOnElement(element) {\n const players = this.playersByQueriedElement.get(element);\n if (players) {\n players.forEach(player => player.finish());\n }\n }\n whenRenderingDone() {\n return new Promise(resolve => {\n if (this.players.length) {\n return optimizeGroupPlayer(this.players).onDone(() => resolve());\n } else {\n resolve();\n }\n });\n }\n processLeaveNode(element) {\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n // this will prevent it from removing it twice\n element[REMOVAL_FLAG] = NULL_REMOVAL_STATE;\n if (details.namespaceId) {\n this.destroyInnerAnimations(element);\n const ns = this._fetchNamespace(details.namespaceId);\n if (ns) {\n ns.clearElementCache(element);\n }\n }\n this._onRemovalComplete(element, details.setForRemoval);\n }\n if (element.classList?.contains(DISABLED_CLASSNAME)) {\n this.markElementAsDisabled(element, false);\n }\n this.driver.query(element, DISABLED_SELECTOR, true).forEach(node => {\n this.markElementAsDisabled(node, false);\n });\n }\n flush(microtaskId = -1) {\n let players = [];\n if (this.newHostElements.size) {\n this.newHostElements.forEach((ns, element) => this._balanceNamespaceList(ns, element));\n this.newHostElements.clear();\n }\n if (this.totalAnimations && this.collectedEnterElements.length) {\n for (let i = 0; i < this.collectedEnterElements.length; i++) {\n const elm = this.collectedEnterElements[i];\n addClass(elm, STAR_CLASSNAME);\n }\n }\n if (this._namespaceList.length && (this.totalQueuedPlayers || this.collectedLeaveElements.length)) {\n const cleanupFns = [];\n try {\n players = this._flushAnimations(cleanupFns, microtaskId);\n } finally {\n for (let i = 0; i < cleanupFns.length; i++) {\n cleanupFns[i]();\n }\n }\n } else {\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n this.processLeaveNode(element);\n }\n }\n this.totalQueuedPlayers = 0;\n this.collectedEnterElements.length = 0;\n this.collectedLeaveElements.length = 0;\n this._flushFns.forEach(fn => fn());\n this._flushFns = [];\n if (this._whenQuietFns.length) {\n // we move these over to a variable so that\n // if any new callbacks are registered in another\n // flush they do not populate the existing set\n const quietFns = this._whenQuietFns;\n this._whenQuietFns = [];\n if (players.length) {\n optimizeGroupPlayer(players).onDone(() => {\n quietFns.forEach(fn => fn());\n });\n } else {\n quietFns.forEach(fn => fn());\n }\n }\n }\n reportError(errors) {\n throw triggerTransitionsFailed(errors);\n }\n _flushAnimations(cleanupFns, microtaskId) {\n const subTimelines = new ElementInstructionMap();\n const skippedPlayers = [];\n const skippedPlayersMap = new Map();\n const queuedInstructions = [];\n const queriedElements = new Map();\n const allPreStyleElements = new Map();\n const allPostStyleElements = new Map();\n const disabledElementsSet = new Set();\n this.disabledNodes.forEach(node => {\n disabledElementsSet.add(node);\n const nodesThatAreDisabled = this.driver.query(node, QUEUED_SELECTOR, true);\n for (let i = 0; i < nodesThatAreDisabled.length; i++) {\n disabledElementsSet.add(nodesThatAreDisabled[i]);\n }\n });\n const bodyNode = this.bodyNode;\n const allTriggerElements = Array.from(this.statesByElement.keys());\n const enterNodeMap = buildRootMap(allTriggerElements, this.collectedEnterElements);\n // this must occur before the instructions are built below such that\n // the :enter queries match the elements (since the timeline queries\n // are fired during instruction building).\n const enterNodeMapIds = new Map();\n let i = 0;\n enterNodeMap.forEach((nodes, root) => {\n const className = ENTER_CLASSNAME + i++;\n enterNodeMapIds.set(root, className);\n nodes.forEach(node => addClass(node, className));\n });\n const allLeaveNodes = [];\n const mergedLeaveNodes = new Set();\n const leaveNodesWithoutAnimations = new Set();\n for (let i = 0; i < this.collectedLeaveElements.length; i++) {\n const element = this.collectedLeaveElements[i];\n const details = element[REMOVAL_FLAG];\n if (details && details.setForRemoval) {\n allLeaveNodes.push(element);\n mergedLeaveNodes.add(element);\n if (details.hasAnimation) {\n this.driver.query(element, STAR_SELECTOR, true).forEach(elm => mergedLeaveNodes.add(elm));\n } else {\n leaveNodesWithoutAnimations.add(element);\n }\n }\n }\n const leaveNodeMapIds = new Map();\n const leaveNodeMap = buildRootMap(allTriggerElements, Array.from(mergedLeaveNodes));\n leaveNodeMap.forEach((nodes, root) => {\n const className = LEAVE_CLASSNAME + i++;\n leaveNodeMapIds.set(root, className);\n nodes.forEach(node => addClass(node, className));\n });\n cleanupFns.push(() => {\n enterNodeMap.forEach((nodes, root) => {\n const className = enterNodeMapIds.get(root);\n nodes.forEach(node => removeClass(node, className));\n });\n leaveNodeMap.forEach((nodes, root) => {\n const className = leaveNodeMapIds.get(root);\n nodes.forEach(node => removeClass(node, className));\n });\n allLeaveNodes.forEach(element => {\n this.processLeaveNode(element);\n });\n });\n const allPlayers = [];\n const erroneousTransitions = [];\n for (let i = this._namespaceList.length - 1; i >= 0; i--) {\n const ns = this._namespaceList[i];\n ns.drainQueuedTransitions(microtaskId).forEach(entry => {\n const player = entry.player;\n const element = entry.element;\n allPlayers.push(player);\n if (this.collectedEnterElements.length) {\n const details = element[REMOVAL_FLAG];\n // animations for move operations (elements being removed and reinserted,\n // e.g. when the order of an *ngFor list changes) are currently not supported\n if (details && details.setForMove) {\n if (details.previousTriggersValues && details.previousTriggersValues.has(entry.triggerName)) {\n const previousValue = details.previousTriggersValues.get(entry.triggerName);\n // we need to restore the previous trigger value since the element has\n // only been moved and hasn't actually left the DOM\n const triggersWithStates = this.statesByElement.get(entry.element);\n if (triggersWithStates && triggersWithStates.has(entry.triggerName)) {\n const state = triggersWithStates.get(entry.triggerName);\n state.value = previousValue;\n triggersWithStates.set(entry.triggerName, state);\n }\n }\n player.destroy();\n return;\n }\n }\n const nodeIsOrphaned = !bodyNode || !this.driver.containsElement(bodyNode, element);\n const leaveClassName = leaveNodeMapIds.get(element);\n const enterClassName = enterNodeMapIds.get(element);\n const instruction = this._buildInstruction(entry, subTimelines, enterClassName, leaveClassName, nodeIsOrphaned);\n if (instruction.errors && instruction.errors.length) {\n erroneousTransitions.push(instruction);\n return;\n }\n // even though the element may not be in the DOM, it may still\n // be added at a later point (due to the mechanics of content\n // projection and/or dynamic component insertion) therefore it's\n // important to still style the element.\n if (nodeIsOrphaned) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // if an unmatched transition is queued and ready to go\n // then it SHOULD NOT render an animation and cancel the\n // previously running animations.\n if (entry.isFallbackTransition) {\n player.onStart(() => eraseStyles(element, instruction.fromStyles));\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n skippedPlayers.push(player);\n return;\n }\n // this means that if a parent animation uses this animation as a sub-trigger\n // then it will instruct the timeline builder not to add a player delay, but\n // instead stretch the first keyframe gap until the animation starts. This is\n // important in order to prevent extra initialization styles from being\n // required by the user for the animation.\n const timelines = [];\n instruction.timelines.forEach(tl => {\n tl.stretchStartingKeyframe = true;\n if (!this.disabledNodes.has(tl.element)) {\n timelines.push(tl);\n }\n });\n instruction.timelines = timelines;\n subTimelines.append(element, instruction.timelines);\n const tuple = {\n instruction,\n player,\n element\n };\n queuedInstructions.push(tuple);\n instruction.queriedElements.forEach(element => getOrSetDefaultValue(queriedElements, element, []).push(player));\n instruction.preStyleProps.forEach((stringMap, element) => {\n if (stringMap.size) {\n let setVal = allPreStyleElements.get(element);\n if (!setVal) {\n allPreStyleElements.set(element, setVal = new Set());\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n }\n });\n instruction.postStyleProps.forEach((stringMap, element) => {\n let setVal = allPostStyleElements.get(element);\n if (!setVal) {\n allPostStyleElements.set(element, setVal = new Set());\n }\n stringMap.forEach((_, prop) => setVal.add(prop));\n });\n });\n }\n if (erroneousTransitions.length) {\n const errors = [];\n erroneousTransitions.forEach(instruction => {\n errors.push(transitionFailed(instruction.triggerName, instruction.errors));\n });\n allPlayers.forEach(player => player.destroy());\n this.reportError(errors);\n }\n const allPreviousPlayersMap = new Map();\n // this map tells us which element in the DOM tree is contained by\n // which animation. Further down this map will get populated once\n // the players are built and in doing so we can use it to efficiently\n // figure out if a sub player is skipped due to a parent player having priority.\n const animationElementMap = new Map();\n queuedInstructions.forEach(entry => {\n const element = entry.element;\n if (subTimelines.has(element)) {\n animationElementMap.set(element, element);\n this._beforeAnimationBuild(entry.player.namespaceId, entry.instruction, allPreviousPlayersMap);\n }\n });\n skippedPlayers.forEach(player => {\n const element = player.element;\n const previousPlayers = this._getPreviousPlayers(element, false, player.namespaceId, player.triggerName, null);\n previousPlayers.forEach(prevPlayer => {\n getOrSetDefaultValue(allPreviousPlayersMap, element, []).push(prevPlayer);\n prevPlayer.destroy();\n });\n });\n // this is a special case for nodes that will be removed either by\n // having their own leave animations or by being queried in a container\n // that will be removed once a parent animation is complete. The idea\n // here is that * styles must be identical to ! styles because of\n // backwards compatibility (* is also filled in by default in many places).\n // Otherwise * styles will return an empty value or \"auto\" since the element\n // passed to getComputedStyle will not be visible (since * === destination)\n const replaceNodes = allLeaveNodes.filter(node => {\n return replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements);\n });\n // POST STAGE: fill the * styles\n const postStylesMap = new Map();\n const allLeaveQueriedNodes = cloakAndComputeStyles(postStylesMap, this.driver, leaveNodesWithoutAnimations, allPostStyleElements, AUTO_STYLE);\n allLeaveQueriedNodes.forEach(node => {\n if (replacePostStylesAsPre(node, allPreStyleElements, allPostStyleElements)) {\n replaceNodes.push(node);\n }\n });\n // PRE STAGE: fill the ! styles\n const preStylesMap = new Map();\n enterNodeMap.forEach((nodes, root) => {\n cloakAndComputeStyles(preStylesMap, this.driver, new Set(nodes), allPreStyleElements, ɵPRE_STYLE);\n });\n replaceNodes.forEach(node => {\n const post = postStylesMap.get(node);\n const pre = preStylesMap.get(node);\n postStylesMap.set(node, new Map([...(post?.entries() ?? []), ...(pre?.entries() ?? [])]));\n });\n const rootPlayers = [];\n const subPlayers = [];\n const NO_PARENT_ANIMATION_ELEMENT_DETECTED = {};\n queuedInstructions.forEach(entry => {\n const {\n element,\n player,\n instruction\n } = entry;\n // this means that it was never consumed by a parent animation which\n // means that it is independent and therefore should be set for animation\n if (subTimelines.has(element)) {\n if (disabledElementsSet.has(element)) {\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n player.disabled = true;\n player.overrideTotalTime(instruction.totalTime);\n skippedPlayers.push(player);\n return;\n }\n // this will flow up the DOM and query the map to figure out\n // if a parent animation has priority over it. In the situation\n // that a parent is detected then it will cancel the loop. If\n // nothing is detected, or it takes a few hops to find a parent,\n // then it will fill in the missing nodes and signal them as having\n // a detected parent (or a NO_PARENT value via a special constant).\n let parentWithAnimation = NO_PARENT_ANIMATION_ELEMENT_DETECTED;\n if (animationElementMap.size > 1) {\n let elm = element;\n const parentsToAdd = [];\n while (elm = elm.parentNode) {\n const detectedParent = animationElementMap.get(elm);\n if (detectedParent) {\n parentWithAnimation = detectedParent;\n break;\n }\n parentsToAdd.push(elm);\n }\n parentsToAdd.forEach(parent => animationElementMap.set(parent, parentWithAnimation));\n }\n const innerPlayer = this._buildAnimation(player.namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap);\n player.setRealPlayer(innerPlayer);\n if (parentWithAnimation === NO_PARENT_ANIMATION_ELEMENT_DETECTED) {\n rootPlayers.push(player);\n } else {\n const parentPlayers = this.playersByElement.get(parentWithAnimation);\n if (parentPlayers && parentPlayers.length) {\n player.parentPlayer = optimizeGroupPlayer(parentPlayers);\n }\n skippedPlayers.push(player);\n }\n } else {\n eraseStyles(element, instruction.fromStyles);\n player.onDestroy(() => setStyles(element, instruction.toStyles));\n // there still might be a ancestor player animating this\n // element therefore we will still add it as a sub player\n // even if its animation may be disabled\n subPlayers.push(player);\n if (disabledElementsSet.has(element)) {\n skippedPlayers.push(player);\n }\n }\n });\n // find all of the sub players' corresponding inner animation players\n subPlayers.forEach(player => {\n // even if no players are found for a sub animation it\n // will still complete itself after the next tick since it's Noop\n const playersForElement = skippedPlayersMap.get(player.element);\n if (playersForElement && playersForElement.length) {\n const innerPlayer = optimizeGroupPlayer(playersForElement);\n player.setRealPlayer(innerPlayer);\n }\n });\n // the reason why we don't actually play the animation is\n // because all that a skipped player is designed to do is to\n // fire the start/done transition callback events\n skippedPlayers.forEach(player => {\n if (player.parentPlayer) {\n player.syncPlayerEvents(player.parentPlayer);\n } else {\n player.destroy();\n }\n });\n // run through all of the queued removals and see if they\n // were picked up by a query. If not then perform the removal\n // operation right away unless a parent animation is ongoing.\n for (let i = 0; i < allLeaveNodes.length; i++) {\n const element = allLeaveNodes[i];\n const details = element[REMOVAL_FLAG];\n removeClass(element, LEAVE_CLASSNAME);\n // this means the element has a removal animation that is being\n // taken care of and therefore the inner elements will hang around\n // until that animation is over (or the parent queried animation)\n if (details && details.hasAnimation) continue;\n let players = [];\n // if this element is queried or if it contains queried children\n // then we want for the element not to be removed from the page\n // until the queried animations have finished\n if (queriedElements.size) {\n let queriedPlayerResults = queriedElements.get(element);\n if (queriedPlayerResults && queriedPlayerResults.length) {\n players.push(...queriedPlayerResults);\n }\n let queriedInnerElements = this.driver.query(element, NG_ANIMATING_SELECTOR, true);\n for (let j = 0; j < queriedInnerElements.length; j++) {\n let queriedPlayers = queriedElements.get(queriedInnerElements[j]);\n if (queriedPlayers && queriedPlayers.length) {\n players.push(...queriedPlayers);\n }\n }\n }\n const activePlayers = players.filter(p => !p.destroyed);\n if (activePlayers.length) {\n removeNodesAfterAnimationDone(this, element, activePlayers);\n } else {\n this.processLeaveNode(element);\n }\n }\n // this is required so the cleanup method doesn't remove them\n allLeaveNodes.length = 0;\n rootPlayers.forEach(player => {\n this.players.push(player);\n player.onDone(() => {\n player.destroy();\n const index = this.players.indexOf(player);\n this.players.splice(index, 1);\n });\n player.play();\n });\n return rootPlayers;\n }\n afterFlush(callback) {\n this._flushFns.push(callback);\n }\n afterFlushAnimationsDone(callback) {\n this._whenQuietFns.push(callback);\n }\n _getPreviousPlayers(element, isQueriedElement, namespaceId, triggerName, toStateValue) {\n let players = [];\n if (isQueriedElement) {\n const queriedElementPlayers = this.playersByQueriedElement.get(element);\n if (queriedElementPlayers) {\n players = queriedElementPlayers;\n }\n } else {\n const elementPlayers = this.playersByElement.get(element);\n if (elementPlayers) {\n const isRemovalAnimation = !toStateValue || toStateValue == VOID_VALUE;\n elementPlayers.forEach(player => {\n if (player.queued) return;\n if (!isRemovalAnimation && player.triggerName != triggerName) return;\n players.push(player);\n });\n }\n }\n if (namespaceId || triggerName) {\n players = players.filter(player => {\n if (namespaceId && namespaceId != player.namespaceId) return false;\n if (triggerName && triggerName != player.triggerName) return false;\n return true;\n });\n }\n return players;\n }\n _beforeAnimationBuild(namespaceId, instruction, allPreviousPlayersMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // when a removal animation occurs, ALL previous players are collected\n // and destroyed (even if they are outside of the current namespace)\n const targetNameSpaceId = instruction.isRemovalTransition ? undefined : namespaceId;\n const targetTriggerName = instruction.isRemovalTransition ? undefined : triggerName;\n for (const timelineInstruction of instruction.timelines) {\n const element = timelineInstruction.element;\n const isQueriedElement = element !== rootElement;\n const players = getOrSetDefaultValue(allPreviousPlayersMap, element, []);\n const previousPlayers = this._getPreviousPlayers(element, isQueriedElement, targetNameSpaceId, targetTriggerName, instruction.toState);\n previousPlayers.forEach(player => {\n const realPlayer = player.getRealPlayer();\n if (realPlayer.beforeDestroy) {\n realPlayer.beforeDestroy();\n }\n player.destroy();\n players.push(player);\n });\n }\n // this needs to be done so that the PRE/POST styles can be\n // computed properly without interfering with the previous animation\n eraseStyles(rootElement, instruction.fromStyles);\n }\n _buildAnimation(namespaceId, instruction, allPreviousPlayersMap, skippedPlayersMap, preStylesMap, postStylesMap) {\n const triggerName = instruction.triggerName;\n const rootElement = instruction.element;\n // we first run this so that the previous animation player\n // data can be passed into the successive animation players\n const allQueriedPlayers = [];\n const allConsumedElements = new Set();\n const allSubElements = new Set();\n const allNewPlayers = instruction.timelines.map(timelineInstruction => {\n const element = timelineInstruction.element;\n allConsumedElements.add(element);\n // FIXME (matsko): make sure to-be-removed animations are removed properly\n const details = element[REMOVAL_FLAG];\n if (details && details.removedBeforeQueried) return new NoopAnimationPlayer(timelineInstruction.duration, timelineInstruction.delay);\n const isQueriedElement = element !== rootElement;\n const previousPlayers = flattenGroupPlayers((allPreviousPlayersMap.get(element) || EMPTY_PLAYER_ARRAY).map(p => p.getRealPlayer())).filter(p => {\n // the `element` is not apart of the AnimationPlayer definition, but\n // Mock/WebAnimations\n // use the element within their implementation. This will be added in Angular5 to\n // AnimationPlayer\n const pp = p;\n return pp.element ? pp.element === element : false;\n });\n const preStyles = preStylesMap.get(element);\n const postStyles = postStylesMap.get(element);\n const keyframes = normalizeKeyframes$1(this._normalizer, timelineInstruction.keyframes, preStyles, postStyles);\n const player = this._buildPlayer(timelineInstruction, keyframes, previousPlayers);\n // this means that this particular player belongs to a sub trigger. It is\n // important that we match this player up with the corresponding (@trigger.listener)\n if (timelineInstruction.subTimeline && skippedPlayersMap) {\n allSubElements.add(element);\n }\n if (isQueriedElement) {\n const wrappedPlayer = new TransitionAnimationPlayer(namespaceId, triggerName, element);\n wrappedPlayer.setRealPlayer(player);\n allQueriedPlayers.push(wrappedPlayer);\n }\n return player;\n });\n allQueriedPlayers.forEach(player => {\n getOrSetDefaultValue(this.playersByQueriedElement, player.element, []).push(player);\n player.onDone(() => deleteOrUnsetInMap(this.playersByQueriedElement, player.element, player));\n });\n allConsumedElements.forEach(element => addClass(element, NG_ANIMATING_CLASSNAME));\n const player = optimizeGroupPlayer(allNewPlayers);\n player.onDestroy(() => {\n allConsumedElements.forEach(element => removeClass(element, NG_ANIMATING_CLASSNAME));\n setStyles(rootElement, instruction.toStyles);\n });\n // this basically makes all of the callbacks for sub element animations\n // be dependent on the upper players for when they finish\n allSubElements.forEach(element => {\n getOrSetDefaultValue(skippedPlayersMap, element, []).push(player);\n });\n return player;\n }\n _buildPlayer(instruction, keyframes, previousPlayers) {\n if (keyframes.length > 0) {\n return this.driver.animate(instruction.element, keyframes, instruction.duration, instruction.delay, instruction.easing, previousPlayers);\n }\n // special case for when an empty transition|definition is provided\n // ... there is no point in rendering an empty animation\n return new NoopAnimationPlayer(instruction.duration, instruction.delay);\n }\n}\nclass TransitionAnimationPlayer {\n namespaceId;\n triggerName;\n element;\n _player = /*#__PURE__*/new NoopAnimationPlayer();\n _containsRealPlayer = false;\n _queuedCallbacks = /*#__PURE__*/new Map();\n destroyed = false;\n parentPlayer = null;\n markedForDestroy = false;\n disabled = false;\n queued = true;\n totalTime = 0;\n constructor(namespaceId, triggerName, element) {\n this.namespaceId = namespaceId;\n this.triggerName = triggerName;\n this.element = element;\n }\n setRealPlayer(player) {\n if (this._containsRealPlayer) return;\n this._player = player;\n this._queuedCallbacks.forEach((callbacks, phase) => {\n callbacks.forEach(callback => listenOnPlayer(player, phase, undefined, callback));\n });\n this._queuedCallbacks.clear();\n this._containsRealPlayer = true;\n this.overrideTotalTime(player.totalTime);\n this.queued = false;\n }\n getRealPlayer() {\n return this._player;\n }\n overrideTotalTime(totalTime) {\n this.totalTime = totalTime;\n }\n syncPlayerEvents(player) {\n const p = this._player;\n if (p.triggerCallback) {\n player.onStart(() => p.triggerCallback('start'));\n }\n player.onDone(() => this.finish());\n player.onDestroy(() => this.destroy());\n }\n _queueEvent(name, callback) {\n getOrSetDefaultValue(this._queuedCallbacks, name, []).push(callback);\n }\n onDone(fn) {\n if (this.queued) {\n this._queueEvent('done', fn);\n }\n this._player.onDone(fn);\n }\n onStart(fn) {\n if (this.queued) {\n this._queueEvent('start', fn);\n }\n this._player.onStart(fn);\n }\n onDestroy(fn) {\n if (this.queued) {\n this._queueEvent('destroy', fn);\n }\n this._player.onDestroy(fn);\n }\n init() {\n this._player.init();\n }\n hasStarted() {\n return this.queued ? false : this._player.hasStarted();\n }\n play() {\n !this.queued && this._player.play();\n }\n pause() {\n !this.queued && this._player.pause();\n }\n restart() {\n !this.queued && this._player.restart();\n }\n finish() {\n this._player.finish();\n }\n destroy() {\n this.destroyed = true;\n this._player.destroy();\n }\n reset() {\n !this.queued && this._player.reset();\n }\n setPosition(p) {\n if (!this.queued) {\n this._player.setPosition(p);\n }\n }\n getPosition() {\n return this.queued ? 0 : this._player.getPosition();\n }\n /** @internal */\n triggerCallback(phaseName) {\n const p = this._player;\n if (p.triggerCallback) {\n p.triggerCallback(phaseName);\n }\n }\n}\nfunction deleteOrUnsetInMap(map, key, value) {\n let currentValues = map.get(key);\n if (currentValues) {\n if (currentValues.length) {\n const index = currentValues.indexOf(value);\n currentValues.splice(index, 1);\n }\n if (currentValues.length == 0) {\n map.delete(key);\n }\n }\n return currentValues;\n}\nfunction normalizeTriggerValue(value) {\n // we use `!= null` here because it's the most simple\n // way to test against a \"falsy\" value without mixing\n // in empty strings or a zero value. DO NOT OPTIMIZE.\n return value != null ? value : null;\n}\nfunction isElementNode(node) {\n return node && node['nodeType'] === 1;\n}\nfunction isTriggerEventValid(eventName) {\n return eventName == 'start' || eventName == 'done';\n}\nfunction cloakElement(element, value) {\n const oldValue = element.style.display;\n element.style.display = value != null ? value : 'none';\n return oldValue;\n}\nfunction cloakAndComputeStyles(valuesMap, driver, elements, elementPropsMap, defaultStyle) {\n const cloakVals = [];\n elements.forEach(element => cloakVals.push(cloakElement(element)));\n const failedElements = [];\n elementPropsMap.forEach((props, element) => {\n const styles = new Map();\n props.forEach(prop => {\n const value = driver.computeStyle(element, prop, defaultStyle);\n styles.set(prop, value);\n // there is no easy way to detect this because a sub element could be removed\n // by a parent animation element being detached.\n if (!value || value.length == 0) {\n element[REMOVAL_FLAG] = NULL_REMOVED_QUERIED_STATE;\n failedElements.push(element);\n }\n });\n valuesMap.set(element, styles);\n });\n // we use a index variable here since Set.forEach(a, i) does not return\n // an index value for the closure (but instead just the value)\n let i = 0;\n elements.forEach(element => cloakElement(element, cloakVals[i++]));\n return failedElements;\n}\n/*\nSince the Angular renderer code will return a collection of inserted\nnodes in all areas of a DOM tree, it's up to this algorithm to figure\nout which nodes are roots for each animation @trigger.\n\nBy placing each inserted node into a Set and traversing upwards, it\nis possible to find the @trigger elements and well any direct *star\ninsertion nodes, if a @trigger root is found then the enter element\nis placed into the Map[@trigger] spot.\n */\nfunction buildRootMap(roots, nodes) {\n const rootMap = new Map();\n roots.forEach(root => rootMap.set(root, []));\n if (nodes.length == 0) return rootMap;\n const NULL_NODE = 1;\n const nodeSet = new Set(nodes);\n const localRootMap = new Map();\n function getRoot(node) {\n if (!node) return NULL_NODE;\n let root = localRootMap.get(node);\n if (root) return root;\n const parent = node.parentNode;\n if (rootMap.has(parent)) {\n // ngIf inside @trigger\n root = parent;\n } else if (nodeSet.has(parent)) {\n // ngIf inside ngIf\n root = NULL_NODE;\n } else {\n // recurse upwards\n root = getRoot(parent);\n }\n localRootMap.set(node, root);\n return root;\n }\n nodes.forEach(node => {\n const root = getRoot(node);\n if (root !== NULL_NODE) {\n rootMap.get(root).push(node);\n }\n });\n return rootMap;\n}\nfunction addClass(element, className) {\n element.classList?.add(className);\n}\nfunction removeClass(element, className) {\n element.classList?.remove(className);\n}\nfunction removeNodesAfterAnimationDone(engine, element, players) {\n optimizeGroupPlayer(players).onDone(() => engine.processLeaveNode(element));\n}\nfunction flattenGroupPlayers(players) {\n const finalPlayers = [];\n _flattenGroupPlayersRecur(players, finalPlayers);\n return finalPlayers;\n}\nfunction _flattenGroupPlayersRecur(players, finalPlayers) {\n for (let i = 0; i < players.length; i++) {\n const player = players[i];\n if (player instanceof ɵAnimationGroupPlayer) {\n _flattenGroupPlayersRecur(player.players, finalPlayers);\n } else {\n finalPlayers.push(player);\n }\n }\n}\nfunction objEquals(a, b) {\n const k1 = Object.keys(a);\n const k2 = Object.keys(b);\n if (k1.length != k2.length) return false;\n for (let i = 0; i < k1.length; i++) {\n const prop = k1[i];\n if (!b.hasOwnProperty(prop) || a[prop] !== b[prop]) return false;\n }\n return true;\n}\nfunction replacePostStylesAsPre(element, allPreStyleElements, allPostStyleElements) {\n const postEntry = allPostStyleElements.get(element);\n if (!postEntry) return false;\n let preEntry = allPreStyleElements.get(element);\n if (preEntry) {\n postEntry.forEach(data => preEntry.add(data));\n } else {\n allPreStyleElements.set(element, postEntry);\n }\n allPostStyleElements.delete(element);\n return true;\n}\nclass AnimationEngine {\n _driver;\n _normalizer;\n _transitionEngine;\n _timelineEngine;\n _triggerCache = {};\n // this method is designed to be overridden by the code that uses this engine\n onRemovalComplete = (element, context) => {};\n constructor(doc, _driver, _normalizer) {\n this._driver = _driver;\n this._normalizer = _normalizer;\n this._transitionEngine = new TransitionAnimationEngine(doc.body, _driver, _normalizer);\n this._timelineEngine = new TimelineAnimationEngine(doc.body, _driver, _normalizer);\n this._transitionEngine.onRemovalComplete = (element, context) => this.onRemovalComplete(element, context);\n }\n registerTrigger(componentId, namespaceId, hostElement, name, metadata) {\n const cacheKey = componentId + '-' + name;\n let trigger = this._triggerCache[cacheKey];\n if (!trigger) {\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(this._driver, metadata, errors, warnings);\n if (errors.length) {\n throw triggerBuildFailed(name, errors);\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (warnings.length) {\n warnTriggerBuild(name, warnings);\n }\n }\n trigger = buildTrigger(name, ast, this._normalizer);\n this._triggerCache[cacheKey] = trigger;\n }\n this._transitionEngine.registerTrigger(namespaceId, name, trigger);\n }\n register(namespaceId, hostElement) {\n this._transitionEngine.register(namespaceId, hostElement);\n }\n destroy(namespaceId, context) {\n this._transitionEngine.destroy(namespaceId, context);\n }\n onInsert(namespaceId, element, parent, insertBefore) {\n this._transitionEngine.insertNode(namespaceId, element, parent, insertBefore);\n }\n onRemove(namespaceId, element, context) {\n this._transitionEngine.removeNode(namespaceId, element, context);\n }\n disableAnimations(element, disable) {\n this._transitionEngine.markElementAsDisabled(element, disable);\n }\n process(namespaceId, element, property, value) {\n if (property.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(property);\n const args = value;\n this._timelineEngine.command(id, element, action, args);\n } else {\n this._transitionEngine.trigger(namespaceId, element, property, value);\n }\n }\n listen(namespaceId, element, eventName, eventPhase, callback) {\n // @@listen\n if (eventName.charAt(0) == '@') {\n const [id, action] = parseTimelineCommand(eventName);\n return this._timelineEngine.listen(id, element, action, callback);\n }\n return this._transitionEngine.listen(namespaceId, element, eventName, eventPhase, callback);\n }\n flush(microtaskId = -1) {\n this._transitionEngine.flush(microtaskId);\n }\n get players() {\n return [...this._transitionEngine.players, ...this._timelineEngine.players];\n }\n whenRenderingDone() {\n return this._transitionEngine.whenRenderingDone();\n }\n afterFlushAnimationsDone(cb) {\n this._transitionEngine.afterFlushAnimationsDone(cb);\n }\n}\n\n/**\n * Returns an instance of `SpecialCasedStyles` if and when any special (non animateable) styles are\n * detected.\n *\n * In CSS there exist properties that cannot be animated within a keyframe animation\n * (whether it be via CSS keyframes or web-animations) and the animation implementation\n * will ignore them. This function is designed to detect those special cased styles and\n * return a container that will be executed at the start and end of the animation.\n *\n * @returns an instance of `SpecialCasedStyles` if any special styles are detected otherwise `null`\n */\nfunction packageNonAnimatableStyles(element, styles) {\n let startStyles = null;\n let endStyles = null;\n if (Array.isArray(styles) && styles.length) {\n startStyles = filterNonAnimatableStyles(styles[0]);\n if (styles.length > 1) {\n endStyles = filterNonAnimatableStyles(styles[styles.length - 1]);\n }\n } else if (styles instanceof Map) {\n startStyles = filterNonAnimatableStyles(styles);\n }\n return startStyles || endStyles ? new SpecialCasedStyles(element, startStyles, endStyles) : null;\n}\n/**\n * Designed to be executed during a keyframe-based animation to apply any special-cased styles.\n *\n * When started (when the `start()` method is run) then the provided `startStyles`\n * will be applied. When finished (when the `finish()` method is called) the\n * `endStyles` will be applied as well any any starting styles. Finally when\n * `destroy()` is called then all styles will be removed.\n */\nlet SpecialCasedStyles = /*#__PURE__*/(() => {\n class SpecialCasedStyles {\n _element;\n _startStyles;\n _endStyles;\n static initialStylesByElement = /* @__PURE__ */new WeakMap();\n _state = 0 /* SpecialCasedStylesState.Pending */;\n _initialStyles;\n constructor(_element, _startStyles, _endStyles) {\n this._element = _element;\n this._startStyles = _startStyles;\n this._endStyles = _endStyles;\n let initialStyles = SpecialCasedStyles.initialStylesByElement.get(_element);\n if (!initialStyles) {\n SpecialCasedStyles.initialStylesByElement.set(_element, initialStyles = new Map());\n }\n this._initialStyles = initialStyles;\n }\n start() {\n if (this._state < 1 /* SpecialCasedStylesState.Started */) {\n if (this._startStyles) {\n setStyles(this._element, this._startStyles, this._initialStyles);\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n finish() {\n this.start();\n if (this._state < 2 /* SpecialCasedStylesState.Finished */) {\n setStyles(this._element, this._initialStyles);\n if (this._endStyles) {\n setStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n this._state = 1 /* SpecialCasedStylesState.Started */;\n }\n }\n destroy() {\n this.finish();\n if (this._state < 3 /* SpecialCasedStylesState.Destroyed */) {\n SpecialCasedStyles.initialStylesByElement.delete(this._element);\n if (this._startStyles) {\n eraseStyles(this._element, this._startStyles);\n this._endStyles = null;\n }\n if (this._endStyles) {\n eraseStyles(this._element, this._endStyles);\n this._endStyles = null;\n }\n setStyles(this._element, this._initialStyles);\n this._state = 3 /* SpecialCasedStylesState.Destroyed */;\n }\n }\n }\n return SpecialCasedStyles;\n})();\nfunction filterNonAnimatableStyles(styles) {\n let result = null;\n styles.forEach((val, prop) => {\n if (isNonAnimatableStyle(prop)) {\n result = result || new Map();\n result.set(prop, val);\n }\n });\n return result;\n}\nfunction isNonAnimatableStyle(prop) {\n return prop === 'display' || prop === 'position';\n}\nclass WebAnimationsPlayer {\n element;\n keyframes;\n options;\n _specialStyles;\n _onDoneFns = [];\n _onStartFns = [];\n _onDestroyFns = [];\n _duration;\n _delay;\n _initialized = false;\n _finished = false;\n _started = false;\n _destroyed = false;\n _finalKeyframe;\n // the following original fns are persistent copies of the _onStartFns and _onDoneFns\n // and are used to reset the fns to their original values upon reset()\n // (since the _onStartFns and _onDoneFns get deleted after they are called)\n _originalOnDoneFns = [];\n _originalOnStartFns = [];\n // using non-null assertion because it's re(set) by init();\n domPlayer;\n time = 0;\n parentPlayer = null;\n currentSnapshot = /*#__PURE__*/new Map();\n constructor(element, keyframes, options, _specialStyles) {\n this.element = element;\n this.keyframes = keyframes;\n this.options = options;\n this._specialStyles = _specialStyles;\n this._duration = options['duration'];\n this._delay = options['delay'] || 0;\n this.time = this._duration + this._delay;\n }\n _onFinish() {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(fn => fn());\n this._onDoneFns = [];\n }\n }\n init() {\n this._buildPlayer();\n this._preparePlayerBeforeStart();\n }\n _buildPlayer() {\n if (this._initialized) return;\n this._initialized = true;\n const keyframes = this.keyframes;\n // @ts-expect-error overwriting a readonly property\n this.domPlayer = this._triggerWebAnimation(this.element, keyframes, this.options);\n this._finalKeyframe = keyframes.length ? keyframes[keyframes.length - 1] : new Map();\n const onFinish = () => this._onFinish();\n this.domPlayer.addEventListener('finish', onFinish);\n this.onDestroy(() => {\n // We must remove the `finish` event listener once an animation has completed all its\n // iterations. This action is necessary to prevent a memory leak since the listener captures\n // `this`, creating a closure that prevents `this` from being garbage collected.\n this.domPlayer.removeEventListener('finish', onFinish);\n });\n }\n _preparePlayerBeforeStart() {\n // this is required so that the player doesn't start to animate right away\n if (this._delay) {\n this._resetDomPlayerState();\n } else {\n this.domPlayer.pause();\n }\n }\n _convertKeyframesToObject(keyframes) {\n const kfs = [];\n keyframes.forEach(frame => {\n kfs.push(Object.fromEntries(frame));\n });\n return kfs;\n }\n /** @internal */\n _triggerWebAnimation(element, keyframes, options) {\n return element.animate(this._convertKeyframesToObject(keyframes), options);\n }\n onStart(fn) {\n this._originalOnStartFns.push(fn);\n this._onStartFns.push(fn);\n }\n onDone(fn) {\n this._originalOnDoneFns.push(fn);\n this._onDoneFns.push(fn);\n }\n onDestroy(fn) {\n this._onDestroyFns.push(fn);\n }\n play() {\n this._buildPlayer();\n if (!this.hasStarted()) {\n this._onStartFns.forEach(fn => fn());\n this._onStartFns = [];\n this._started = true;\n if (this._specialStyles) {\n this._specialStyles.start();\n }\n }\n this.domPlayer.play();\n }\n pause() {\n this.init();\n this.domPlayer.pause();\n }\n finish() {\n this.init();\n if (this._specialStyles) {\n this._specialStyles.finish();\n }\n this._onFinish();\n this.domPlayer.finish();\n }\n reset() {\n this._resetDomPlayerState();\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n this._onStartFns = this._originalOnStartFns;\n this._onDoneFns = this._originalOnDoneFns;\n }\n _resetDomPlayerState() {\n if (this.domPlayer) {\n this.domPlayer.cancel();\n }\n }\n restart() {\n this.reset();\n this.play();\n }\n hasStarted() {\n return this._started;\n }\n destroy() {\n if (!this._destroyed) {\n this._destroyed = true;\n this._resetDomPlayerState();\n this._onFinish();\n if (this._specialStyles) {\n this._specialStyles.destroy();\n }\n this._onDestroyFns.forEach(fn => fn());\n this._onDestroyFns = [];\n }\n }\n setPosition(p) {\n if (this.domPlayer === undefined) {\n this.init();\n }\n this.domPlayer.currentTime = p * this.time;\n }\n getPosition() {\n // tsc is complaining with TS2362 without the conversion to number\n return +(this.domPlayer.currentTime ?? 0) / this.time;\n }\n get totalTime() {\n return this._delay + this._duration;\n }\n beforeDestroy() {\n const styles = new Map();\n if (this.hasStarted()) {\n // note: this code is invoked only when the `play` function was called prior to this\n // (thus `hasStarted` returns true), this implies that the code that initializes\n // `_finalKeyframe` has also been executed and the non-null assertion can be safely used here\n const finalKeyframe = this._finalKeyframe;\n finalKeyframe.forEach((val, prop) => {\n if (prop !== 'offset') {\n styles.set(prop, this._finished ? val : computeStyle(this.element, prop));\n }\n });\n }\n this.currentSnapshot = styles;\n }\n /** @internal */\n triggerCallback(phaseName) {\n const methods = phaseName === 'start' ? this._onStartFns : this._onDoneFns;\n methods.forEach(fn => fn());\n methods.length = 0;\n }\n}\nclass WebAnimationsDriver {\n validateStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n return validateStyleProperty(prop);\n }\n return true;\n }\n validateAnimatableStyleProperty(prop) {\n // Perform actual validation in dev mode only, in prod mode this check is a noop.\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n const cssProp = camelCaseToDashCase(prop);\n return validateWebAnimatableStyleProperty(cssProp);\n }\n return true;\n }\n containsElement(elm1, elm2) {\n return containsElement(elm1, elm2);\n }\n getParentElement(element) {\n return getParentElement(element);\n }\n query(element, selector, multi) {\n return invokeQuery(element, selector, multi);\n }\n computeStyle(element, prop, defaultValue) {\n return computeStyle(element, prop);\n }\n animate(element, keyframes, duration, delay, easing, previousPlayers = []) {\n const fill = delay == 0 ? 'both' : 'forwards';\n const playerOptions = {\n duration,\n delay,\n fill\n };\n // we check for this to avoid having a null|undefined value be present\n // for the easing (which results in an error for certain browsers #9752)\n if (easing) {\n playerOptions['easing'] = easing;\n }\n const previousStyles = new Map();\n const previousWebAnimationPlayers = previousPlayers.filter(player => player instanceof WebAnimationsPlayer);\n if (allowPreviousPlayerStylesMerge(duration, delay)) {\n previousWebAnimationPlayers.forEach(player => {\n player.currentSnapshot.forEach((val, prop) => previousStyles.set(prop, val));\n });\n }\n let _keyframes = normalizeKeyframes(keyframes).map(styles => new Map(styles));\n _keyframes = balancePreviousStylesIntoKeyframes(element, _keyframes, previousStyles);\n const specialStyles = packageNonAnimatableStyles(element, _keyframes);\n return new WebAnimationsPlayer(element, _keyframes, playerOptions, specialStyles);\n }\n}\nfunction createEngine(type, doc) {\n // TODO: find a way to make this tree shakable.\n if (type === 'noop') {\n return new AnimationEngine(doc, new NoopAnimationDriver(), new NoopAnimationStyleNormalizer());\n }\n return new AnimationEngine(doc, new WebAnimationsDriver(), new WebAnimationsStyleNormalizer());\n}\nclass Animation {\n _driver;\n _animationAst;\n constructor(_driver, input) {\n this._driver = _driver;\n const errors = [];\n const warnings = [];\n const ast = buildAnimationAst(_driver, input, errors, warnings);\n if (errors.length) {\n throw validationFailed(errors);\n }\n if (typeof ngDevMode === 'undefined' || ngDevMode) {\n if (warnings.length) {\n warnValidation(warnings);\n }\n }\n this._animationAst = ast;\n }\n buildTimelines(element, startingStyles, destinationStyles, options, subInstructions) {\n const start = Array.isArray(startingStyles) ? normalizeStyles(startingStyles) : startingStyles;\n const dest = Array.isArray(destinationStyles) ? normalizeStyles(destinationStyles) : destinationStyles;\n const errors = [];\n subInstructions = subInstructions || new ElementInstructionMap();\n const result = buildAnimationTimelines(this._driver, element, this._animationAst, ENTER_CLASSNAME, LEAVE_CLASSNAME, start, dest, options, subInstructions, errors);\n if (errors.length) {\n throw buildingFailed(errors);\n }\n return result;\n }\n}\nconst ANIMATION_PREFIX = '@';\nconst DISABLE_ANIMATIONS_FLAG = '@.disabled';\nclass BaseAnimationRenderer {\n namespaceId;\n delegate;\n engine;\n _onDestroy;\n // We need to explicitly type this property because of an api-extractor bug\n // See https://github.com/microsoft/rushstack/issues/4390\n ɵtype = 0 /* AnimationRendererType.Regular */;\n constructor(namespaceId, delegate, engine, _onDestroy) {\n this.namespaceId = namespaceId;\n this.delegate = delegate;\n this.engine = engine;\n this._onDestroy = _onDestroy;\n }\n get data() {\n return this.delegate.data;\n }\n destroyNode(node) {\n this.delegate.destroyNode?.(node);\n }\n destroy() {\n this.engine.destroy(this.namespaceId, this.delegate);\n this.engine.afterFlushAnimationsDone(() => {\n // Call the renderer destroy method after the animations has finished as otherwise\n // styles will be removed too early which will cause an unstyled animation.\n queueMicrotask(() => {\n this.delegate.destroy();\n });\n });\n this._onDestroy?.();\n }\n createElement(name, namespace) {\n return this.delegate.createElement(name, namespace);\n }\n createComment(value) {\n return this.delegate.createComment(value);\n }\n createText(value) {\n return this.delegate.createText(value);\n }\n appendChild(parent, newChild) {\n this.delegate.appendChild(parent, newChild);\n this.engine.onInsert(this.namespaceId, newChild, parent, false);\n }\n insertBefore(parent, newChild, refChild, isMove = true) {\n this.delegate.insertBefore(parent, newChild, refChild);\n // If `isMove` true than we should animate this insert.\n this.engine.onInsert(this.namespaceId, newChild, parent, isMove);\n }\n removeChild(parent, oldChild, isHostElement) {\n // Prior to the changes in #57203, this method wasn't being called at all by `core` if the child\n // doesn't have a parent. There appears to be some animation-specific downstream logic that\n // depends on the null check happening before the animation engine. This check keeps the old\n // behavior while allowing `core` to not have to check for the parent element anymore.\n if (this.parentNode(oldChild)) {\n this.engine.onRemove(this.namespaceId, oldChild, this.delegate);\n }\n }\n selectRootElement(selectorOrNode, preserveContent) {\n return this.delegate.selectRootElement(selectorOrNode, preserveContent);\n }\n parentNode(node) {\n return this.delegate.parentNode(node);\n }\n nextSibling(node) {\n return this.delegate.nextSibling(node);\n }\n setAttribute(el, name, value, namespace) {\n this.delegate.setAttribute(el, name, value, namespace);\n }\n removeAttribute(el, name, namespace) {\n this.delegate.removeAttribute(el, name, namespace);\n }\n addClass(el, name) {\n this.delegate.addClass(el, name);\n }\n removeClass(el, name) {\n this.delegate.removeClass(el, name);\n }\n setStyle(el, style, value, flags) {\n this.delegate.setStyle(el, style, value, flags);\n }\n removeStyle(el, style, flags) {\n this.delegate.removeStyle(el, style, flags);\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX && name == DISABLE_ANIMATIONS_FLAG) {\n this.disableAnimations(el, !!value);\n } else {\n this.delegate.setProperty(el, name, value);\n }\n }\n setValue(node, value) {\n this.delegate.setValue(node, value);\n }\n listen(target, eventName, callback, options) {\n return this.delegate.listen(target, eventName, callback, options);\n }\n disableAnimations(element, value) {\n this.engine.disableAnimations(element, value);\n }\n}\nclass AnimationRenderer extends BaseAnimationRenderer {\n factory;\n constructor(factory, namespaceId, delegate, engine, onDestroy) {\n super(namespaceId, delegate, engine, onDestroy);\n this.factory = factory;\n this.namespaceId = namespaceId;\n }\n setProperty(el, name, value) {\n if (name.charAt(0) == ANIMATION_PREFIX) {\n if (name.charAt(1) == '.' && name == DISABLE_ANIMATIONS_FLAG) {\n value = value === undefined ? true : !!value;\n this.disableAnimations(el, value);\n } else {\n this.engine.process(this.namespaceId, el, name.slice(1), value);\n }\n } else {\n this.delegate.setProperty(el, name, value);\n }\n }\n listen(target, eventName, callback, options) {\n if (eventName.charAt(0) == ANIMATION_PREFIX) {\n const element = resolveElementFromTarget(target);\n let name = eventName.slice(1);\n let phase = '';\n // @listener.phase is for trigger animation callbacks\n // @@listener is for animation builder callbacks\n if (name.charAt(0) != ANIMATION_PREFIX) {\n [name, phase] = parseTriggerCallbackName(name);\n }\n return this.engine.listen(this.namespaceId, element, name, phase, event => {\n const countId = event['_data'] || -1;\n this.factory.scheduleListenerCallback(countId, callback, event);\n });\n }\n return this.delegate.listen(target, eventName, callback, options);\n }\n}\nfunction resolveElementFromTarget(target) {\n switch (target) {\n case 'body':\n return document.body;\n case 'document':\n return document;\n case 'window':\n return window;\n default:\n return target;\n }\n}\nfunction parseTriggerCallbackName(triggerName) {\n const dotIndex = triggerName.indexOf('.');\n const trigger = triggerName.substring(0, dotIndex);\n const phase = triggerName.slice(dotIndex + 1);\n return [trigger, phase];\n}\nclass AnimationRendererFactory {\n delegate;\n engine;\n _zone;\n _currentId = 0;\n _microtaskId = 1;\n _animationCallbacksBuffer = [];\n _rendererCache = /*#__PURE__*/new Map();\n _cdRecurDepth = 0;\n constructor(delegate, engine, _zone) {\n this.delegate = delegate;\n this.engine = engine;\n this._zone = _zone;\n engine.onRemovalComplete = (element, delegate) => {\n delegate?.removeChild(null, element);\n };\n }\n createRenderer(hostElement, type) {\n const EMPTY_NAMESPACE_ID = '';\n // cache the delegates to find out which cached delegate can\n // be used by which cached renderer\n const delegate = this.delegate.createRenderer(hostElement, type);\n if (!hostElement || !type?.data?.['animation']) {\n const cache = this._rendererCache;\n let renderer = cache.get(delegate);\n if (!renderer) {\n // Ensure that the renderer is removed from the cache on destroy\n // since it may contain references to detached DOM nodes.\n const onRendererDestroy = () => cache.delete(delegate);\n renderer = new BaseAnimationRenderer(EMPTY_NAMESPACE_ID, delegate, this.engine, onRendererDestroy);\n // only cache this result when the base renderer is used\n cache.set(delegate, renderer);\n }\n return renderer;\n }\n const componentId = type.id;\n const namespaceId = type.id + '-' + this._currentId;\n this._currentId++;\n this.engine.register(namespaceId, hostElement);\n const registerTrigger = trigger => {\n if (Array.isArray(trigger)) {\n trigger.forEach(registerTrigger);\n } else {\n this.engine.registerTrigger(componentId, namespaceId, hostElement, trigger.name, trigger);\n }\n };\n const animationTriggers = type.data['animation'];\n animationTriggers.forEach(registerTrigger);\n return new AnimationRenderer(this, namespaceId, delegate, this.engine);\n }\n begin() {\n this._cdRecurDepth++;\n if (this.delegate.begin) {\n this.delegate.begin();\n }\n }\n _scheduleCountTask() {\n queueMicrotask(() => {\n this._microtaskId++;\n });\n }\n /** @internal */\n scheduleListenerCallback(count, fn, data) {\n if (count >= 0 && count < this._microtaskId) {\n this._zone.run(() => fn(data));\n return;\n }\n const animationCallbacksBuffer = this._animationCallbacksBuffer;\n if (animationCallbacksBuffer.length == 0) {\n queueMicrotask(() => {\n this._zone.run(() => {\n animationCallbacksBuffer.forEach(tuple => {\n const [fn, data] = tuple;\n fn(data);\n });\n this._animationCallbacksBuffer = [];\n });\n });\n }\n animationCallbacksBuffer.push([fn, data]);\n }\n end() {\n this._cdRecurDepth--;\n // this is to prevent animations from running twice when an inner\n // component does CD when a parent component instead has inserted it\n if (this._cdRecurDepth == 0) {\n this._zone.runOutsideAngular(() => {\n this._scheduleCountTask();\n this.engine.flush(this._microtaskId);\n });\n }\n if (this.delegate.end) {\n this.delegate.end();\n }\n }\n whenRenderingDone() {\n return this.engine.whenRenderingDone();\n }\n /**\n * Used during HMR to clear any cached data about a component.\n * @param componentId ID of the component that is being replaced.\n */\n componentReplaced(componentId) {\n // Flush the engine since the renderer destruction waits for animations to be done.\n this.engine.flush();\n this.delegate.componentReplaced?.(componentId);\n }\n}\n\n/**\n * @module\n * @description\n * Entry point for all animation APIs of the animation browser package.\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\n\n// This file is not used to build this module. It is only used during editing\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { AnimationDriver, NoopAnimationDriver, Animation as ɵAnimation, AnimationEngine as ɵAnimationEngine, AnimationRenderer as ɵAnimationRenderer, AnimationRendererFactory as ɵAnimationRendererFactory, AnimationStyleNormalizer as ɵAnimationStyleNormalizer, BaseAnimationRenderer as ɵBaseAnimationRenderer, NoopAnimationStyleNormalizer as ɵNoopAnimationStyleNormalizer, WebAnimationsDriver as ɵWebAnimationsDriver, WebAnimationsPlayer as ɵWebAnimationsPlayer, WebAnimationsStyleNormalizer as ɵWebAnimationsStyleNormalizer, allowPreviousPlayerStylesMerge as ɵallowPreviousPlayerStylesMerge, camelCaseToDashCase as ɵcamelCaseToDashCase, containsElement as ɵcontainsElement, createEngine as ɵcreateEngine, getParentElement as ɵgetParentElement, invokeQuery as ɵinvokeQuery, normalizeKeyframes as ɵnormalizeKeyframes, validateStyleProperty as ɵvalidateStyleProperty, validateWebAnimatableStyleProperty as ɵvalidateWebAnimatableStyleProperty };\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpRequest, HttpHandler, HttpInterceptor, HttpSentEvent, HttpHeaderResponse, HttpProgressEvent, HttpResponse, HttpUserEvent, HttpErrorResponse } from '@angular/common/http';\r\nimport { Observable, BehaviorSubject, throwError, } from 'rxjs';\r\nimport { catchError, switchMap, finalize, filter, take, tap } from 'rxjs/operators';\r\n\r\nimport { UserInformation } from '../models/SaludPlus/UserInformation.model';\r\nimport { AuthenticationService } from '../services/Security/authentication.service'; \r\nimport { LocalStorageList } from './enums/enums.keys';\r\nimport { PersistenceService } from '../services/Utilities/data.persistence.service';\r\nimport { SettingsService } from '../services/Utilities/settings.service'; \r\nimport { RequestData, SPlusFormsNotifyErrorsService } from '@saludplus/forms';\r\n\r\n\r\n@Injectable()\r\nexport class JwtInterceptor implements HttpInterceptor {\r\n\r\n isRefreshingToken = false;\r\n version:string;\r\n tokenSubject: BehaviorSubject = new BehaviorSubject(null);\r\n baseUrl: string;\r\n constructor(\r\n private authService: AuthenticationService,\r\n private notifyErrorsService: SPlusFormsNotifyErrorsService, \r\n private settingsService: SettingsService,\r\n private persistenceService: PersistenceService) { \r\n this.baseUrl = this.settingsService.getBaseUrlApi;\r\n }\r\n\r\n private addTokenToRequest(request: HttpRequest, token: string): HttpRequest {\r\n \r\n if(request.url.includes('googleapis')){\r\n return request;\r\n }\r\n \r\n return request.clone({ setHeaders: { Authorization: `Bearer ${token}` } });\r\n }\r\n\r\n intercept(request: HttpRequest, next: HttpHandler):\r\n Observable | HttpUserEvent | any> { \r\n \r\n if(!request.url.includes(this.baseUrl) && !request.url.includes('googleapis')){\r\n const newUrl = {url: `${this.baseUrl}${request.url}`};\r\n const newurlWithParams = {urlWithParams: `${this.baseUrl}${request.urlWithParams}`};\r\n request = Object.assign(request, newUrl,newurlWithParams);\r\n }\r\n \r\n \r\n return next.handle(this.addTokenToRequest(request, this.authService.getToken()))\r\n .pipe(\r\n tap(res => {\r\n if((res as HttpResponse).status === 200){\r\n let data = new RequestData();\r\n data.Code = 200; \r\n this.notifyErrorsService.onNotify(data);\r\n }\r\n\r\n this.version = this.persistenceService.getData(LocalStorageList.version, true)\r\n }),\r\n \r\n catchError(err => {\r\n \r\n if (err instanceof HttpErrorResponse && request.url.indexOf('/Auth/login') === -1) {\r\n\r\n switch ((err as HttpErrorResponse).status) {\r\n case 401:\r\n if (err.url.indexOf(this.baseUrl) >= 0) {\r\n return this.handle401Error(request, next);\r\n } else {\r\n return throwError(err);\r\n }\r\n case 0:\r\n case 403:\r\n // return throwError(err);\r\n return this.ErrorOnNotify(request, next, (err).status);\r\n case 400: \r\n console.warn((err as HttpErrorResponse), request.url);\r\n \r\n // return this.authService.logout();\r\n return throwError(err);\r\n\r\n }\r\n } else {\r\n return throwError(err);\r\n }\r\n return throwError(err);\r\n }));\r\n }\r\n\r\n private handle401Error(request: HttpRequest, next: HttpHandler) {\r\n if (!this.isRefreshingToken) {\r\n this.isRefreshingToken = true;\r\n\r\n // Reset here so that the following requests wait until the token\r\n // comes back from the refreshToken call.\r\n this.tokenSubject.next(null);\r\n\r\n return this.authService.refreshToken(false)\r\n .pipe(\r\n switchMap((user: UserInformation) => {\r\n if (user && user.token) {\r\n this.tokenSubject.next(user.token);\r\n //login call refresh 0 > 566 \r\n return next.handle(this.addTokenToRequest(request, user.token));\r\n }\r\n return this.authService.logout() as any;\r\n }),\r\n tap(evt => {\r\n\r\n if (evt instanceof HttpResponse) {\r\n if (evt.ok && evt.status === 200) { \r\n const currentVersion = this.persistenceService.getData(LocalStorageList.version, true); \r\n if (this.version) {\r\n if (currentVersion !== this.version) {\r\n this.UpdateVersion(request, next);\r\n }\r\n else\r\n return;\r\n }\r\n else {\r\n this.version = currentVersion;\r\n }\r\n }\r\n }\r\n\r\n }),\r\n catchError(err => {\r\n return this.authService.logout() as any;\r\n }),\r\n finalize(() => {\r\n this.isRefreshingToken = false;\r\n })\r\n );\r\n } else {\r\n this.isRefreshingToken = false;\r\n\r\n return this.tokenSubject\r\n .pipe(filter(token => token != null),\r\n take(1),\r\n switchMap(token => {\r\n return next.handle(this.addTokenToRequest(request, token));\r\n }));\r\n }\r\n }\r\n\r\n private ErrorOnNotify(request: HttpRequest, next: HttpHandler, errorNumber) {\r\n let data = new RequestData();\r\n data.Code = errorNumber;\r\n this.notifyErrorsService.onNotify(data);\r\n return next.handle(request);\r\n }\r\n\r\n private handle403Error(request: HttpRequest, next: HttpHandler) {\r\n let data = new RequestData();\r\n data.Code = 0;\r\n this.notifyErrorsService.onNotify(data);\r\n return next.handle(request);\r\n }\r\n private UpdateVersion(request: HttpRequest, next: HttpHandler) { \r\n let data = new RequestData();\r\n data.Code = 200;\r\n data.Data = this.version;\r\n data.msj = \"Nueva Version Disponible\"\r\n this.notifyErrorsService.onNotify(data);\r\n return next.handle(request);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpInterceptor, HttpHandler, HttpRequest, HttpEvent, HttpErrorResponse } from '@angular/common/http';\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { catchError } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class BlobErrorHttpInterceptor implements HttpInterceptor {\r\n public intercept(req: HttpRequest, next: HttpHandler): Observable> {\r\n //const newUrl = {url: `${this.baseUrl}${req.url}`};\r\n //req = Object.assign(req, newUrl);\r\n return next.handle(req).pipe(\r\n catchError(err => {\r\n if (err instanceof HttpErrorResponse && err.error instanceof Blob && err.error.type === 'application/json') {\r\n // https://github.com/angular/angular/issues/19888\r\n // When request of type Blob, the error is also in Blob instead of object of the json data\r\n return new Promise((resolve, reject) => {\r\n const reader = new FileReader();\r\n reader.onload = (e: Event) => {\r\n try {\r\n const errmsg = JSON.parse((e.target as any).result);\r\n reject(new HttpErrorResponse({\r\n error: errmsg,\r\n headers: err.headers,\r\n status: err.status,\r\n statusText: err.statusText,\r\n url: err.url\r\n }));\r\n } catch (e) {\r\n reject(err);\r\n }\r\n };\r\n reader.onerror = (e) => {\r\n reject(err);\r\n };\r\n reader.readAsText(err.error);\r\n });\r\n }\r\n return throwError(err);\r\n })\r\n );\r\n }\r\n}\r\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n// THIS CODE IS GENERATED - DO NOT MODIFY.\nconst u = undefined;\nfunction plural(val) {\n const n = val,\n i = Math.floor(Math.abs(val)),\n v = val.toString().replace(/^[^.]*\\.?/, '').length,\n e = parseInt(val.toString().replace(/^[^e]*(e([-+]?\\d+))?/, '$2')) || 0;\n if (n === 1) return 1;\n if (e === 0 && !(i === 0) && i % 1000000 === 0 && v === 0 || !(e >= 0 && e <= 5)) return 4;\n return 5;\n}\nexport default [\"es-CO\", [[\"a. m.\", \"p. m.\"], u, u], u, [[\"D\", \"L\", \"M\", \"M\", \"J\", \"V\", \"S\"], [\"dom\", \"lun\", \"mar\", \"mié\", \"jue\", \"vie\", \"sáb\"], [\"domingo\", \"lunes\", \"martes\", \"miércoles\", \"jueves\", \"viernes\", \"sábado\"], [\"DO\", \"LU\", \"MA\", \"MI\", \"JU\", \"VI\", \"SA\"]], [[\"d\", \"l\", \"m\", \"m\", \"j\", \"v\", \"s\"], [\"dom\", \"lun\", \"mar\", \"mié\", \"jue\", \"vie\", \"sáb\"], [\"domingo\", \"lunes\", \"martes\", \"miércoles\", \"jueves\", \"viernes\", \"sábado\"], [\"DO\", \"LU\", \"MA\", \"MI\", \"JU\", \"VI\", \"SA\"]], [[\"E\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"], [\"ene\", \"feb\", \"mar\", \"abr\", \"may\", \"jun\", \"jul\", \"ago\", \"sept\", \"oct\", \"nov\", \"dic\"], [\"enero\", \"febrero\", \"marzo\", \"abril\", \"mayo\", \"junio\", \"julio\", \"agosto\", \"septiembre\", \"octubre\", \"noviembre\", \"diciembre\"]], [[\"E\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"], [\"ene.\", \"feb.\", \"mar.\", \"abr.\", \"may.\", \"jun.\", \"jul.\", \"ago.\", \"sept.\", \"oct.\", \"nov.\", \"dic.\"], [\"enero\", \"febrero\", \"marzo\", \"abril\", \"mayo\", \"junio\", \"julio\", \"agosto\", \"septiembre\", \"octubre\", \"noviembre\", \"diciembre\"]], [[\"a. C.\", \"d. C.\"], u, [\"antes de Cristo\", \"después de Cristo\"]], 0, [6, 0], [\"d/MM/yy\", \"d/MM/y\", \"d 'de' MMMM 'de' y\", \"EEEE, d 'de' MMMM 'de' y\"], [\"h:mm a\", \"h:mm:ss a\", \"h:mm:ss a z\", \"h:mm:ss a zzzz\"], [\"{1}, {0}\", u, u, u], [\",\", \".\", \";\", \"%\", \"+\", \"-\", \"E\", \"×\", \"‰\", \"∞\", \"NaN\", \":\"], [\"#,##0.###\", \"#,##0 %\", \"¤ #,##0.00\", \"#E0\"], \"COP\", \"$\", \"peso colombiano\", {\n \"AUD\": [u, \"$\"],\n \"BRL\": [u, \"R$\"],\n \"BYN\": [u, \"р.\"],\n \"CAD\": [u, \"$\"],\n \"CNY\": [u, \"¥\"],\n \"COP\": [\"$\"],\n \"ESP\": [\"₧\"],\n \"EUR\": [u, \"€\"],\n \"FKP\": [u, \"FK£\"],\n \"GBP\": [u, \"£\"],\n \"HKD\": [u, \"$\"],\n \"ILS\": [u, \"₪\"],\n \"INR\": [u, \"₹\"],\n \"JPY\": [u, \"¥\"],\n \"KRW\": [u, \"₩\"],\n \"MXN\": [u, \"$\"],\n \"NZD\": [u, \"$\"],\n \"PHP\": [u, \"₱\"],\n \"RON\": [u, \"L\"],\n \"SSP\": [u, \"SD£\"],\n \"SYP\": [u, \"S£\"],\n \"TWD\": [u, \"NT$\"],\n \"USD\": [\"US$\", \"$\"],\n \"VEF\": [u, \"BsF\"],\n \"VND\": [u, \"₫\"],\n \"XAF\": [],\n \"XCD\": [u, \"$\"],\n \"XOF\": []\n}, \"ltr\", plural];\n","import { Pipe, PipeTransform } from '@angular/core';\r\n\r\n@Pipe({\r\n name: 'normalizeMenu',\r\n standalone: false\r\n})\r\nexport class NormalizeMenuPipe implements PipeTransform {\r\n\r\n transform(value: unknown, ...args: unknown[]): unknown {\r\n switch (value) {\r\n case '/facturacion/Editarpacientes':\r\n value = \"facturacion/pacientes\"\r\n break;\r\n \r\n default:\r\n break;\r\n }\r\n\r\n return value\r\n \r\n }\r\n\r\n}\r\n","/**-----------------------------------------------------------------------------------------\n* Copyright © 2024 Progress Software Corporation. All rights reserved.\n* Licensed under commercial license. See LICENSE.md in the project root for more information\n*-------------------------------------------------------------------------------------------*/\nvar setData = require('@progress/kendo-angular-intl').setData;\nsetData({\n name: \"es\",\n identity: {\n language: \"es\"\n },\n territory: \"ES\",\n numbers: {\n symbols: {\n decimal: \",\",\n group: \".\",\n list: \";\",\n percentSign: \"%\",\n plusSign: \"+\",\n minusSign: \"-\",\n approximatelySign: \"~\",\n exponential: \"E\",\n superscriptingExponent: \"×\",\n perMille: \"‰\",\n infinity: \"∞\",\n nan: \"NaN\",\n timeSeparator: \":\"\n },\n decimal: {\n patterns: [\"n\"],\n groupSize: [3]\n },\n scientific: {\n patterns: [\"nEn\"],\n groupSize: []\n },\n percent: {\n patterns: [\"n %\"],\n groupSize: [3]\n },\n currency: {\n patterns: [\"n $\"],\n groupSize: [3],\n \"unitPattern-count-one\": \"n $\",\n \"unitPattern-count-other\": \"n $\"\n },\n accounting: {\n patterns: [\"n $\"],\n groupSize: [3]\n },\n currencies: {\n ADP: {\n displayName: \"peseta andorrana\",\n \"displayName-count-one\": \"peseta andorrana\",\n \"displayName-count-other\": \"pesetas andorranas\",\n symbol: \"ADP\"\n },\n AED: {\n displayName: \"dírham de los Emiratos Árabes Unidos\",\n \"displayName-count-one\": \"dírham de los Emiratos Árabes Unidos\",\n \"displayName-count-other\": \"dírhams de los Emiratos Árabes Unidos\",\n symbol: \"AED\"\n },\n AFA: {\n displayName: \"afgani (1927–2002)\",\n symbol: \"AFA\"\n },\n AFN: {\n displayName: \"afgani\",\n \"displayName-count-one\": \"afgani\",\n \"displayName-count-other\": \"afganis\",\n symbol: \"AFN\",\n \"symbol-alt-narrow\": \"؋\"\n },\n ALK: {\n displayName: \"ALK\",\n symbol: \"ALK\"\n },\n ALL: {\n displayName: \"lek\",\n \"displayName-count-one\": \"lek\",\n \"displayName-count-other\": \"leks\",\n symbol: \"ALL\"\n },\n AMD: {\n displayName: \"dram\",\n \"displayName-count-one\": \"dram\",\n \"displayName-count-other\": \"drams\",\n symbol: \"AMD\",\n \"symbol-alt-narrow\": \"֏\"\n },\n ANG: {\n displayName: \"florín antillano\",\n \"displayName-count-one\": \"florín antillano\",\n \"displayName-count-other\": \"florines antillanos\",\n symbol: \"ANG\"\n },\n AOA: {\n displayName: \"kuanza\",\n \"displayName-count-one\": \"kuanza\",\n \"displayName-count-other\": \"kuanzas\",\n symbol: \"AOA\",\n \"symbol-alt-narrow\": \"Kz\"\n },\n AOK: {\n displayName: \"kwanza angoleño (1977–1990)\",\n symbol: \"AOK\"\n },\n AON: {\n displayName: \"nuevo kwanza angoleño (1990–2000)\",\n symbol: \"AON\"\n },\n AOR: {\n displayName: \"kwanza reajustado angoleño (1995–1999)\",\n symbol: \"AOR\"\n },\n ARA: {\n displayName: \"austral argentino\",\n \"displayName-count-one\": \"austral argentino\",\n \"displayName-count-other\": \"australes argentinos\",\n symbol: \"ARA\"\n },\n ARL: {\n displayName: \"ARL\",\n symbol: \"ARL\"\n },\n ARM: {\n displayName: \"ARM\",\n symbol: \"ARM\"\n },\n ARP: {\n displayName: \"peso argentino (1983–1985)\",\n \"displayName-count-one\": \"peso argentino (ARP)\",\n \"displayName-count-other\": \"pesos argentinos (ARP)\",\n symbol: \"ARP\"\n },\n ARS: {\n displayName: \"peso argentino\",\n \"displayName-count-one\": \"peso argentino\",\n \"displayName-count-other\": \"pesos argentinos\",\n symbol: \"ARS\",\n \"symbol-alt-narrow\": \"$\"\n },\n ATS: {\n displayName: \"chelín austriaco\",\n \"displayName-count-one\": \"chelín austriaco\",\n \"displayName-count-other\": \"chelines austriacos\",\n symbol: \"ATS\"\n },\n AUD: {\n displayName: \"dólar australiano\",\n \"displayName-count-one\": \"dólar australiano\",\n \"displayName-count-other\": \"dólares australianos\",\n symbol: \"AUD\",\n \"symbol-alt-narrow\": \"$\"\n },\n AWG: {\n displayName: \"florín arubeño\",\n \"displayName-count-one\": \"florín arubeño\",\n \"displayName-count-other\": \"florines arubeños\",\n symbol: \"AWG\"\n },\n AZM: {\n displayName: \"manat azerí (1993–2006)\",\n symbol: \"AZM\"\n },\n AZN: {\n displayName: \"manat azerbaiyano\",\n \"displayName-count-one\": \"manat azerbaiyano\",\n \"displayName-count-other\": \"manats azerbaiyanos\",\n symbol: \"AZN\",\n \"symbol-alt-narrow\": \"₼\"\n },\n BAD: {\n displayName: \"dinar bosnio\",\n \"displayName-count-one\": \"dinar bosnio\",\n \"displayName-count-other\": \"dinares bosnios\",\n symbol: \"BAD\"\n },\n BAM: {\n displayName: \"marco convertible de Bosnia y Herzegovina\",\n \"displayName-count-one\": \"marco convertible de Bosnia y Herzegovina\",\n \"displayName-count-other\": \"marcos convertibles de Bosnia y Herzegovina\",\n symbol: \"BAM\",\n \"symbol-alt-narrow\": \"KM\"\n },\n BAN: {\n displayName: \"BAN\",\n symbol: \"BAN\"\n },\n BBD: {\n displayName: \"dólar barbadense\",\n \"displayName-count-one\": \"dólar barbadense\",\n \"displayName-count-other\": \"dólares barbadenses\",\n symbol: \"BBD\",\n \"symbol-alt-narrow\": \"$\"\n },\n BDT: {\n displayName: \"taka\",\n \"displayName-count-one\": \"taka\",\n \"displayName-count-other\": \"takas\",\n symbol: \"BDT\",\n \"symbol-alt-narrow\": \"৳\"\n },\n BEC: {\n displayName: \"franco belga (convertible)\",\n \"displayName-count-one\": \"franco belga (convertible)\",\n \"displayName-count-other\": \"francos belgas (convertibles)\",\n symbol: \"BEC\"\n },\n BEF: {\n displayName: \"franco belga\",\n \"displayName-count-one\": \"franco belga\",\n \"displayName-count-other\": \"francos belgas\",\n symbol: \"BEF\"\n },\n BEL: {\n displayName: \"franco belga (financiero)\",\n \"displayName-count-one\": \"franco belga (financiero)\",\n \"displayName-count-other\": \"francos belgas (financieros)\",\n symbol: \"BEL\"\n },\n BGL: {\n displayName: \"lev fuerte búlgaro\",\n \"displayName-count-one\": \"lev fuerte búlgaro\",\n \"displayName-count-other\": \"leva fuertes búlgaros\",\n symbol: \"BGL\"\n },\n BGM: {\n displayName: \"BGM\",\n symbol: \"BGM\"\n },\n BGN: {\n displayName: \"leva búlgara\",\n \"displayName-count-one\": \"leva búlgara\",\n \"displayName-count-other\": \"levas búlgaras\",\n symbol: \"BGN\"\n },\n BGO: {\n displayName: \"BGO\",\n symbol: \"BGO\"\n },\n BHD: {\n displayName: \"dinar bareiní\",\n \"displayName-count-one\": \"dinar bareiní\",\n \"displayName-count-other\": \"dinares bareiníes\",\n symbol: \"BHD\"\n },\n BIF: {\n displayName: \"franco burundés\",\n \"displayName-count-one\": \"franco burundés\",\n \"displayName-count-other\": \"francos burundeses\",\n symbol: \"BIF\"\n },\n BMD: {\n displayName: \"dólar bermudeño\",\n \"displayName-count-one\": \"dólar bermudeño\",\n \"displayName-count-other\": \"dólares bermudeños\",\n symbol: \"BMD\",\n \"symbol-alt-narrow\": \"$\"\n },\n BND: {\n displayName: \"dólar bruneano\",\n \"displayName-count-one\": \"dólar bruneano\",\n \"displayName-count-other\": \"dólares bruneanos\",\n symbol: \"BND\",\n \"symbol-alt-narrow\": \"$\"\n },\n BOB: {\n displayName: \"boliviano\",\n \"displayName-count-one\": \"boliviano\",\n \"displayName-count-other\": \"bolivianos\",\n symbol: \"BOB\",\n \"symbol-alt-narrow\": \"Bs\"\n },\n BOL: {\n displayName: \"BOL\",\n symbol: \"BOL\"\n },\n BOP: {\n displayName: \"peso boliviano\",\n \"displayName-count-one\": \"peso boliviano\",\n \"displayName-count-other\": \"pesos bolivianos\",\n symbol: \"BOP\"\n },\n BOV: {\n displayName: \"MVDOL boliviano\",\n \"displayName-count-one\": \"MVDOL boliviano\",\n \"displayName-count-other\": \"MVDOL bolivianos\",\n symbol: \"BOV\"\n },\n BRB: {\n displayName: \"nuevo cruceiro brasileño (1967–1986)\",\n \"displayName-count-one\": \"nuevo cruzado brasileño (BRB)\",\n \"displayName-count-other\": \"nuevos cruzados brasileños (BRB)\",\n symbol: \"BRB\"\n },\n BRC: {\n displayName: \"cruzado brasileño\",\n \"displayName-count-one\": \"cruzado brasileño\",\n \"displayName-count-other\": \"cruzados brasileños\",\n symbol: \"BRC\"\n },\n BRE: {\n displayName: \"cruceiro brasileño (1990–1993)\",\n \"displayName-count-one\": \"cruceiro brasileño (BRE)\",\n \"displayName-count-other\": \"cruceiros brasileños (BRE)\",\n symbol: \"BRE\"\n },\n BRL: {\n displayName: \"real brasileño\",\n \"displayName-count-one\": \"real brasileño\",\n \"displayName-count-other\": \"reales brasileños\",\n symbol: \"BRL\",\n \"symbol-alt-narrow\": \"R$\"\n },\n BRN: {\n displayName: \"nuevo cruzado brasileño\",\n \"displayName-count-one\": \"nuevo cruzado brasileño\",\n \"displayName-count-other\": \"nuevos cruzados brasileños\",\n symbol: \"BRN\"\n },\n BRR: {\n displayName: \"cruceiro brasileño\",\n \"displayName-count-one\": \"cruceiro brasileño\",\n \"displayName-count-other\": \"cruceiros brasileños\",\n symbol: \"BRR\"\n },\n BRZ: {\n displayName: \"BRZ\",\n symbol: \"BRZ\"\n },\n BSD: {\n displayName: \"dólar bahameño\",\n \"displayName-count-one\": \"dólar bahameño\",\n \"displayName-count-other\": \"dólares bahameños\",\n symbol: \"BSD\",\n \"symbol-alt-narrow\": \"$\"\n },\n BTN: {\n displayName: \"gultrum\",\n \"displayName-count-one\": \"gultrum\",\n \"displayName-count-other\": \"gultrums\",\n symbol: \"BTN\"\n },\n BUK: {\n displayName: \"kyat birmano\",\n \"displayName-count-one\": \"kyat birmano\",\n \"displayName-count-other\": \"kyat birmanos\",\n symbol: \"BUK\"\n },\n BWP: {\n displayName: \"pula\",\n \"displayName-count-one\": \"pula\",\n \"displayName-count-other\": \"pulas\",\n symbol: \"BWP\",\n \"symbol-alt-narrow\": \"P\"\n },\n BYB: {\n displayName: \"nuevo rublo bielorruso (1994–1999)\",\n \"displayName-count-one\": \"nuevo rublo bielorruso\",\n \"displayName-count-other\": \"nuevos rublos bielorrusos\",\n symbol: \"BYB\"\n },\n BYN: {\n displayName: \"rublo bielorruso\",\n \"displayName-count-one\": \"rublo bielorruso\",\n \"displayName-count-other\": \"rublos bielorrusos\",\n symbol: \"BYN\",\n \"symbol-alt-narrow\": \"р.\"\n },\n BYR: {\n displayName: \"rublo bielorruso (2000–2016)\",\n \"displayName-count-one\": \"rublo bielorruso (2000–2016)\",\n \"displayName-count-other\": \"rublos bielorrusos (2000–2016)\",\n symbol: \"BYR\"\n },\n BZD: {\n displayName: \"dólar beliceño\",\n \"displayName-count-one\": \"dólar beliceño\",\n \"displayName-count-other\": \"dólares beliceños\",\n symbol: \"BZD\",\n \"symbol-alt-narrow\": \"$\"\n },\n CAD: {\n displayName: \"dólar canadiense\",\n \"displayName-count-one\": \"dólar canadiense\",\n \"displayName-count-other\": \"dólares canadienses\",\n symbol: \"CAD\",\n \"symbol-alt-narrow\": \"$\"\n },\n CDF: {\n displayName: \"franco congoleño\",\n \"displayName-count-one\": \"franco congoleño\",\n \"displayName-count-other\": \"francos congoleños\",\n symbol: \"CDF\"\n },\n CHE: {\n displayName: \"euro WIR\",\n \"displayName-count-one\": \"euro WIR\",\n \"displayName-count-other\": \"euros WIR\",\n symbol: \"CHE\"\n },\n CHF: {\n displayName: \"franco suizo\",\n \"displayName-count-one\": \"franco suizo\",\n \"displayName-count-other\": \"francos suizos\",\n symbol: \"CHF\"\n },\n CHW: {\n displayName: \"franco WIR\",\n \"displayName-count-one\": \"franco WIR\",\n \"displayName-count-other\": \"francos WIR\",\n symbol: \"CHW\"\n },\n CLE: {\n displayName: \"CLE\",\n symbol: \"CLE\"\n },\n CLF: {\n displayName: \"unidad de fomento chilena\",\n \"displayName-count-one\": \"unidad de fomento chilena\",\n \"displayName-count-other\": \"unidades de fomento chilenas\",\n symbol: \"CLF\"\n },\n CLP: {\n displayName: \"peso chileno\",\n \"displayName-count-one\": \"peso chileno\",\n \"displayName-count-other\": \"pesos chilenos\",\n symbol: \"CLP\",\n \"symbol-alt-narrow\": \"$\"\n },\n CNH: {\n displayName: \"yuan chino (extracontinental)\",\n \"displayName-count-one\": \"yuan chino (extracontinental)\",\n \"displayName-count-other\": \"yuanes chinos (extracontinentales)\",\n symbol: \"CNH\"\n },\n CNX: {\n displayName: \"CNX\",\n symbol: \"CNX\"\n },\n CNY: {\n displayName: \"yuan\",\n \"displayName-count-one\": \"yuan\",\n \"displayName-count-other\": \"yuanes\",\n symbol: \"CNY\",\n \"symbol-alt-narrow\": \"¥\"\n },\n COP: {\n displayName: \"peso colombiano\",\n \"displayName-count-one\": \"peso colombiano\",\n \"displayName-count-other\": \"pesos colombianos\",\n symbol: \"COP\",\n \"symbol-alt-narrow\": \"$\"\n },\n COU: {\n displayName: \"unidad de valor real colombiana\",\n \"displayName-count-one\": \"unidad de valor real\",\n \"displayName-count-other\": \"unidades de valor reales\",\n symbol: \"COU\"\n },\n CRC: {\n displayName: \"colón costarricense\",\n \"displayName-count-one\": \"colón costarricense\",\n \"displayName-count-other\": \"colones costarricenses\",\n symbol: \"CRC\",\n \"symbol-alt-narrow\": \"₡\"\n },\n CSD: {\n displayName: \"antiguo dinar serbio\",\n \"displayName-count-one\": \"antiguo dinar serbio\",\n \"displayName-count-other\": \"antiguos dinares serbios\",\n symbol: \"CSD\"\n },\n CSK: {\n displayName: \"corona fuerte checoslovaca\",\n \"displayName-count-one\": \"corona fuerte checoslovaca\",\n \"displayName-count-other\": \"coronas fuertes checoslovacas\",\n symbol: \"CSK\"\n },\n CUC: {\n displayName: \"peso cubano convertible\",\n \"displayName-count-one\": \"peso cubano convertible\",\n \"displayName-count-other\": \"pesos cubanos convertibles\",\n symbol: \"CUC\",\n \"symbol-alt-narrow\": \"$\"\n },\n CUP: {\n displayName: \"peso cubano\",\n \"displayName-count-one\": \"peso cubano\",\n \"displayName-count-other\": \"pesos cubanos\",\n symbol: \"CUP\",\n \"symbol-alt-narrow\": \"$\"\n },\n CVE: {\n displayName: \"escudo de Cabo Verde\",\n \"displayName-count-one\": \"escudo de Cabo Verde\",\n \"displayName-count-other\": \"escudos de Cabo Verde\",\n symbol: \"CVE\"\n },\n CYP: {\n displayName: \"libra chipriota\",\n \"displayName-count-one\": \"libra chipriota\",\n \"displayName-count-other\": \"libras chipriotas\",\n symbol: \"CYP\"\n },\n CZK: {\n displayName: \"corona checa\",\n \"displayName-count-one\": \"corona checa\",\n \"displayName-count-other\": \"coronas checas\",\n symbol: \"CZK\",\n \"symbol-alt-narrow\": \"Kč\"\n },\n DDM: {\n displayName: \"ostmark de Alemania del Este\",\n \"displayName-count-one\": \"marco de la República Democrática Alemana\",\n \"displayName-count-other\": \"marcos de la República Democrática Alemana\",\n symbol: \"DDM\"\n },\n DEM: {\n displayName: \"marco alemán\",\n \"displayName-count-one\": \"marco alemán\",\n \"displayName-count-other\": \"marcos alemanes\",\n symbol: \"DEM\"\n },\n DJF: {\n displayName: \"franco yibutiano\",\n \"displayName-count-one\": \"franco yibutiano\",\n \"displayName-count-other\": \"francos yibutianos\",\n symbol: \"DJF\"\n },\n DKK: {\n displayName: \"corona danesa\",\n \"displayName-count-one\": \"corona danesa\",\n \"displayName-count-other\": \"coronas danesas\",\n symbol: \"DKK\",\n \"symbol-alt-narrow\": \"kr\"\n },\n DOP: {\n displayName: \"peso dominicano\",\n \"displayName-count-one\": \"peso dominicano\",\n \"displayName-count-other\": \"pesos dominicanos\",\n symbol: \"DOP\",\n \"symbol-alt-narrow\": \"$\"\n },\n DZD: {\n displayName: \"dinar argelino\",\n \"displayName-count-one\": \"dinar argelino\",\n \"displayName-count-other\": \"dinares argelinos\",\n symbol: \"DZD\"\n },\n ECS: {\n displayName: \"sucre ecuatoriano\",\n \"displayName-count-one\": \"sucre ecuatoriano\",\n \"displayName-count-other\": \"sucres ecuatorianos\",\n symbol: \"ECS\"\n },\n ECV: {\n displayName: \"unidad de valor constante (UVC) ecuatoriana\",\n \"displayName-count-one\": \"unidad de valor constante (UVC) ecuatoriana\",\n \"displayName-count-other\": \"unidades de valor constante (UVC) ecuatorianas\",\n symbol: \"ECV\"\n },\n EEK: {\n displayName: \"corona estonia\",\n \"displayName-count-one\": \"corona estonia\",\n \"displayName-count-other\": \"coronas estonias\",\n symbol: \"EEK\"\n },\n EGP: {\n displayName: \"libra egipcia\",\n \"displayName-count-one\": \"libra egipcia\",\n \"displayName-count-other\": \"libras egipcias\",\n symbol: \"EGP\",\n \"symbol-alt-narrow\": \"EGP\"\n },\n ERN: {\n displayName: \"nakfa\",\n \"displayName-count-one\": \"nakfa\",\n \"displayName-count-other\": \"nakfas\",\n symbol: \"ERN\"\n },\n ESA: {\n displayName: \"peseta española (cuenta A)\",\n \"displayName-count-one\": \"peseta española (cuenta A)\",\n \"displayName-count-other\": \"pesetas españolas (cuenta A)\",\n symbol: \"ESA\"\n },\n ESB: {\n displayName: \"peseta española (cuenta convertible)\",\n \"displayName-count-one\": \"peseta española (cuenta convertible)\",\n \"displayName-count-other\": \"pesetas españolas (cuenta convertible)\",\n symbol: \"ESB\"\n },\n ESP: {\n displayName: \"peseta española\",\n \"displayName-count-one\": \"peseta española\",\n \"displayName-count-other\": \"pesetas españolas\",\n symbol: \"₧\",\n \"symbol-alt-narrow\": \"₧\"\n },\n ETB: {\n displayName: \"bir\",\n \"displayName-count-one\": \"bir\",\n \"displayName-count-other\": \"bires\",\n symbol: \"ETB\"\n },\n EUR: {\n displayName: \"euro\",\n \"displayName-count-one\": \"euro\",\n \"displayName-count-other\": \"euros\",\n symbol: \"€\",\n \"symbol-alt-narrow\": \"€\"\n },\n FIM: {\n displayName: \"marco finlandés\",\n \"displayName-count-one\": \"marco finlandés\",\n \"displayName-count-other\": \"marcos finlandeses\",\n symbol: \"FIM\"\n },\n FJD: {\n displayName: \"dólar fiyiano\",\n \"displayName-count-one\": \"dólar fiyiano\",\n \"displayName-count-other\": \"dólares fiyianos\",\n symbol: \"FJD\",\n \"symbol-alt-narrow\": \"$\"\n },\n FKP: {\n displayName: \"libra malvinense\",\n \"displayName-count-one\": \"libra malvinense\",\n \"displayName-count-other\": \"libras malvinenses\",\n symbol: \"FKP\",\n \"symbol-alt-narrow\": \"£\"\n },\n FRF: {\n displayName: \"franco francés\",\n \"displayName-count-one\": \"franco francés\",\n \"displayName-count-other\": \"francos franceses\",\n symbol: \"FRF\"\n },\n GBP: {\n displayName: \"libra esterlina\",\n \"displayName-count-one\": \"libra esterlina\",\n \"displayName-count-other\": \"libras esterlinas\",\n symbol: \"GBP\",\n \"symbol-alt-narrow\": \"£\"\n },\n GEK: {\n displayName: \"kupon larit georgiano\",\n symbol: \"GEK\"\n },\n GEL: {\n displayName: \"lari\",\n \"displayName-count-one\": \"lari\",\n \"displayName-count-other\": \"laris\",\n symbol: \"GEL\",\n \"symbol-alt-narrow\": \"₾\"\n },\n GHC: {\n displayName: \"cedi ghanés (1979–2007)\",\n symbol: \"GHC\"\n },\n GHS: {\n displayName: \"cedi\",\n \"displayName-count-one\": \"cedi\",\n \"displayName-count-other\": \"cedis\",\n symbol: \"GHS\",\n \"symbol-alt-narrow\": \"GH₵\"\n },\n GIP: {\n displayName: \"libra gibraltareña\",\n \"displayName-count-one\": \"libra gibraltareña\",\n \"displayName-count-other\": \"libras gibraltareñas\",\n symbol: \"GIP\",\n \"symbol-alt-narrow\": \"£\"\n },\n GMD: {\n displayName: \"dalasi\",\n \"displayName-count-one\": \"dalasi\",\n \"displayName-count-other\": \"dalasis\",\n symbol: \"GMD\"\n },\n GNF: {\n displayName: \"franco guineano\",\n \"displayName-count-one\": \"franco guineano\",\n \"displayName-count-other\": \"francos guineanos\",\n symbol: \"GNF\",\n \"symbol-alt-narrow\": \"FG\"\n },\n GNS: {\n displayName: \"syli guineano\",\n symbol: \"GNS\"\n },\n GQE: {\n displayName: \"ekuele de Guinea Ecuatorial\",\n \"displayName-count-one\": \"ekuele de Guinea Ecuatorial\",\n \"displayName-count-other\": \"ekueles de Guinea Ecuatorial\",\n symbol: \"GQE\"\n },\n GRD: {\n displayName: \"dracma griego\",\n \"displayName-count-one\": \"dracma griego\",\n \"displayName-count-other\": \"dracmas griegos\",\n symbol: \"GRD\"\n },\n GTQ: {\n displayName: \"quetzal guatemalteco\",\n \"displayName-count-one\": \"quetzal guatemalteco\",\n \"displayName-count-other\": \"quetzales guatemaltecos\",\n symbol: \"GTQ\",\n \"symbol-alt-narrow\": \"Q\"\n },\n GWE: {\n displayName: \"escudo de Guinea Portuguesa\",\n symbol: \"GWE\"\n },\n GWP: {\n displayName: \"peso de Guinea-Bissáu\",\n symbol: \"GWP\"\n },\n GYD: {\n displayName: \"dólar guyanés\",\n \"displayName-count-one\": \"dólar guyanés\",\n \"displayName-count-other\": \"dólares guyaneses\",\n symbol: \"GYD\",\n \"symbol-alt-narrow\": \"$\"\n },\n HKD: {\n displayName: \"dólar hongkonés\",\n \"displayName-count-one\": \"dólar hongkonés\",\n \"displayName-count-other\": \"dólares hongkoneses\",\n symbol: \"HKD\",\n \"symbol-alt-narrow\": \"$\"\n },\n HNL: {\n displayName: \"lempira hondureño\",\n \"displayName-count-one\": \"lempira hondureño\",\n \"displayName-count-other\": \"lempiras hondureños\",\n symbol: \"HNL\",\n \"symbol-alt-narrow\": \"L\"\n },\n HRD: {\n displayName: \"dinar croata\",\n \"displayName-count-one\": \"dinar croata\",\n \"displayName-count-other\": \"dinares croatas\",\n symbol: \"HRD\"\n },\n HRK: {\n displayName: \"kuna\",\n \"displayName-count-one\": \"kuna\",\n \"displayName-count-other\": \"kunas\",\n symbol: \"HRK\",\n \"symbol-alt-narrow\": \"kn\"\n },\n HTG: {\n displayName: \"gurde haitiano\",\n \"displayName-count-one\": \"gurde haitiano\",\n \"displayName-count-other\": \"gurdes haitianos\",\n symbol: \"HTG\"\n },\n HUF: {\n displayName: \"forinto húngaro\",\n \"displayName-count-one\": \"forinto húngaro\",\n \"displayName-count-other\": \"forintos húngaros\",\n symbol: \"HUF\",\n \"symbol-alt-narrow\": \"Ft\"\n },\n IDR: {\n displayName: \"rupia indonesia\",\n \"displayName-count-one\": \"rupia indonesia\",\n \"displayName-count-other\": \"rupias indonesias\",\n symbol: \"IDR\",\n \"symbol-alt-narrow\": \"Rp\"\n },\n IEP: {\n displayName: \"libra irlandesa\",\n \"displayName-count-one\": \"libra irlandesa\",\n \"displayName-count-other\": \"libras irlandesas\",\n symbol: \"IEP\"\n },\n ILP: {\n displayName: \"libra israelí\",\n \"displayName-count-one\": \"libra israelí\",\n \"displayName-count-other\": \"libras israelíes\",\n symbol: \"ILP\"\n },\n ILR: {\n displayName: \"ILR\",\n symbol: \"ILR\"\n },\n ILS: {\n displayName: \"nuevo séquel israelí\",\n \"displayName-count-one\": \"nuevo séquel israelí\",\n \"displayName-count-other\": \"nuevos séqueles israelíes\",\n symbol: \"ILS\",\n \"symbol-alt-narrow\": \"₪\"\n },\n INR: {\n displayName: \"rupia india\",\n \"displayName-count-one\": \"rupia india\",\n \"displayName-count-other\": \"rupias indias\",\n symbol: \"INR\",\n \"symbol-alt-narrow\": \"₹\"\n },\n IQD: {\n displayName: \"dinar iraquí\",\n \"displayName-count-one\": \"dinar iraquí\",\n \"displayName-count-other\": \"dinares iraquíes\",\n symbol: \"IQD\"\n },\n IRR: {\n displayName: \"rial iraní\",\n \"displayName-count-one\": \"rial iraní\",\n \"displayName-count-other\": \"riales iraníes\",\n symbol: \"IRR\"\n },\n ISJ: {\n displayName: \"ISJ\",\n symbol: \"ISJ\"\n },\n ISK: {\n displayName: \"corona islandesa\",\n \"displayName-count-one\": \"corona islandesa\",\n \"displayName-count-other\": \"coronas islandesas\",\n symbol: \"ISK\",\n \"symbol-alt-narrow\": \"kr\"\n },\n ITL: {\n displayName: \"lira italiana\",\n \"displayName-count-one\": \"lira italiana\",\n \"displayName-count-other\": \"liras italianas\",\n symbol: \"ITL\"\n },\n JMD: {\n displayName: \"dólar jamaicano\",\n \"displayName-count-one\": \"dólar jamaicano\",\n \"displayName-count-other\": \"dólares jamaicanos\",\n symbol: \"JMD\",\n \"symbol-alt-narrow\": \"$\"\n },\n JOD: {\n displayName: \"dinar jordano\",\n \"displayName-count-one\": \"dinar jordano\",\n \"displayName-count-other\": \"dinares jordanos\",\n symbol: \"JOD\"\n },\n JPY: {\n displayName: \"yen\",\n \"displayName-count-one\": \"yen\",\n \"displayName-count-other\": \"yenes\",\n symbol: \"JPY\",\n \"symbol-alt-narrow\": \"¥\"\n },\n KES: {\n displayName: \"chelín keniano\",\n \"displayName-count-one\": \"chelín keniano\",\n \"displayName-count-other\": \"chelines kenianos\",\n symbol: \"KES\"\n },\n KGS: {\n displayName: \"som\",\n \"displayName-count-one\": \"som\",\n \"displayName-count-other\": \"soms\",\n symbol: \"KGS\"\n },\n KHR: {\n displayName: \"riel\",\n \"displayName-count-one\": \"riel\",\n \"displayName-count-other\": \"rieles\",\n symbol: \"KHR\",\n \"symbol-alt-narrow\": \"៛\"\n },\n KMF: {\n displayName: \"franco comorense\",\n \"displayName-count-one\": \"franco comorense\",\n \"displayName-count-other\": \"francos comorenses\",\n symbol: \"KMF\",\n \"symbol-alt-narrow\": \"CF\"\n },\n KPW: {\n displayName: \"won norcoreano\",\n \"displayName-count-one\": \"won norcoreano\",\n \"displayName-count-other\": \"wons norcoreanos\",\n symbol: \"KPW\",\n \"symbol-alt-narrow\": \"₩\"\n },\n KRH: {\n displayName: \"KRH\",\n symbol: \"KRH\"\n },\n KRO: {\n displayName: \"KRO\",\n symbol: \"KRO\"\n },\n KRW: {\n displayName: \"won surcoreano\",\n \"displayName-count-one\": \"won surcoreano\",\n \"displayName-count-other\": \"wons surcoreanos\",\n symbol: \"KRW\",\n \"symbol-alt-narrow\": \"₩\"\n },\n KWD: {\n displayName: \"dinar kuwaití\",\n \"displayName-count-one\": \"dinar kuwaití\",\n \"displayName-count-other\": \"dinares kuwaitíes\",\n symbol: \"KWD\"\n },\n KYD: {\n displayName: \"dólar de las Islas Caimán\",\n \"displayName-count-one\": \"dólar de las Islas Caimán\",\n \"displayName-count-other\": \"dólares de las Islas Caimán\",\n symbol: \"KYD\",\n \"symbol-alt-narrow\": \"$\"\n },\n KZT: {\n displayName: \"tengue kazajo\",\n \"displayName-count-one\": \"tengue kazajo\",\n \"displayName-count-other\": \"tengues kazajos\",\n symbol: \"KZT\",\n \"symbol-alt-narrow\": \"₸\"\n },\n LAK: {\n displayName: \"kip\",\n \"displayName-count-one\": \"kip\",\n \"displayName-count-other\": \"kips\",\n symbol: \"LAK\",\n \"symbol-alt-narrow\": \"₭\"\n },\n LBP: {\n displayName: \"libra libanesa\",\n \"displayName-count-one\": \"libra libanesa\",\n \"displayName-count-other\": \"libras libanesas\",\n symbol: \"LBP\",\n \"symbol-alt-narrow\": \"L£\"\n },\n LKR: {\n displayName: \"rupia esrilanquesa\",\n \"displayName-count-one\": \"rupia esrilanquesa\",\n \"displayName-count-other\": \"rupias esrilanquesas\",\n symbol: \"LKR\",\n \"symbol-alt-narrow\": \"Rs\"\n },\n LRD: {\n displayName: \"dólar liberiano\",\n \"displayName-count-one\": \"dólar liberiano\",\n \"displayName-count-other\": \"dólares liberianos\",\n symbol: \"LRD\",\n \"symbol-alt-narrow\": \"$\"\n },\n LSL: {\n displayName: \"loti lesotense\",\n \"displayName-count-one\": \"loti lesotense\",\n \"displayName-count-other\": \"lotis lesotenses\",\n symbol: \"LSL\"\n },\n LTL: {\n displayName: \"litas lituano\",\n \"displayName-count-one\": \"litas lituana\",\n \"displayName-count-other\": \"litas lituanas\",\n symbol: \"LTL\",\n \"symbol-alt-narrow\": \"Lt\"\n },\n LTT: {\n displayName: \"talonas lituano\",\n \"displayName-count-one\": \"talonas lituana\",\n \"displayName-count-other\": \"talonas lituanas\",\n symbol: \"LTT\"\n },\n LUC: {\n displayName: \"franco convertible luxemburgués\",\n \"displayName-count-one\": \"franco convertible luxemburgués\",\n \"displayName-count-other\": \"francos convertibles luxemburgueses\",\n symbol: \"LUC\"\n },\n LUF: {\n displayName: \"franco luxemburgués\",\n \"displayName-count-one\": \"franco luxemburgués\",\n \"displayName-count-other\": \"francos luxemburgueses\",\n symbol: \"LUF\"\n },\n LUL: {\n displayName: \"franco financiero luxemburgués\",\n \"displayName-count-one\": \"franco financiero luxemburgués\",\n \"displayName-count-other\": \"francos financieros luxemburgueses\",\n symbol: \"LUL\"\n },\n LVL: {\n displayName: \"lats letón\",\n \"displayName-count-one\": \"lats letón\",\n \"displayName-count-other\": \"lats letónes\",\n symbol: \"LVL\",\n \"symbol-alt-narrow\": \"Ls\"\n },\n LVR: {\n displayName: \"rublo letón\",\n \"displayName-count-one\": \"rublo letón\",\n \"displayName-count-other\": \"rublos letones\",\n symbol: \"LVR\"\n },\n LYD: {\n displayName: \"dinar libio\",\n \"displayName-count-one\": \"dinar libio\",\n \"displayName-count-other\": \"dinares libios\",\n symbol: \"LYD\"\n },\n MAD: {\n displayName: \"dírham marroquí\",\n \"displayName-count-one\": \"dírham marroquí\",\n \"displayName-count-other\": \"dírhams marroquíes\",\n symbol: \"MAD\"\n },\n MAF: {\n displayName: \"franco marroquí\",\n \"displayName-count-one\": \"franco marroquí\",\n \"displayName-count-other\": \"francos marroquíes\",\n symbol: \"MAF\"\n },\n MCF: {\n displayName: \"MCF\",\n symbol: \"MCF\"\n },\n MDC: {\n displayName: \"MDC\",\n symbol: \"MDC\"\n },\n MDL: {\n displayName: \"leu moldavo\",\n \"displayName-count-one\": \"leu moldavo\",\n \"displayName-count-other\": \"leus moldavos\",\n symbol: \"MDL\"\n },\n MGA: {\n displayName: \"ariari\",\n \"displayName-count-one\": \"ariari\",\n \"displayName-count-other\": \"ariaris\",\n symbol: \"MGA\",\n \"symbol-alt-narrow\": \"Ar\"\n },\n MGF: {\n displayName: \"franco malgache\",\n symbol: \"MGF\"\n },\n MKD: {\n displayName: \"dinar macedonio\",\n \"displayName-count-one\": \"dinar macedonio\",\n \"displayName-count-other\": \"dinares macedonios\",\n symbol: \"MKD\"\n },\n MKN: {\n displayName: \"MKN\",\n symbol: \"MKN\"\n },\n MLF: {\n displayName: \"franco malí\",\n symbol: \"MLF\"\n },\n MMK: {\n displayName: \"kiat\",\n \"displayName-count-one\": \"kiat\",\n \"displayName-count-other\": \"kiats\",\n symbol: \"MMK\",\n \"symbol-alt-narrow\": \"K\"\n },\n MNT: {\n displayName: \"tugrik\",\n \"displayName-count-one\": \"tugrik\",\n \"displayName-count-other\": \"tugriks\",\n symbol: \"MNT\",\n \"symbol-alt-narrow\": \"₮\"\n },\n MOP: {\n displayName: \"pataca de Macao\",\n \"displayName-count-one\": \"pataca de Macao\",\n \"displayName-count-other\": \"patacas de Macao\",\n symbol: \"MOP\"\n },\n MRO: {\n displayName: \"uguiya (1973–2017)\",\n \"displayName-count-one\": \"uguiya (1973–2017)\",\n \"displayName-count-other\": \"uguiyas (1973–2017)\",\n symbol: \"MRO\"\n },\n MRU: {\n displayName: \"uguiya\",\n \"displayName-count-one\": \"uguiya\",\n \"displayName-count-other\": \"uguiyas\",\n symbol: \"MRU\"\n },\n MTL: {\n displayName: \"lira maltesa\",\n \"displayName-count-one\": \"lira maltesa\",\n \"displayName-count-other\": \"liras maltesas\",\n symbol: \"MTL\"\n },\n MTP: {\n displayName: \"libra maltesa\",\n \"displayName-count-one\": \"libra maltesa\",\n \"displayName-count-other\": \"libras maltesas\",\n symbol: \"MTP\"\n },\n MUR: {\n displayName: \"rupia mauriciana\",\n \"displayName-count-one\": \"rupia mauriciana\",\n \"displayName-count-other\": \"rupias mauricianas\",\n symbol: \"MUR\",\n \"symbol-alt-narrow\": \"Rs\"\n },\n MVP: {\n displayName: \"MVP\",\n symbol: \"MVP\"\n },\n MVR: {\n displayName: \"rufiya\",\n \"displayName-count-one\": \"rufiya\",\n \"displayName-count-other\": \"rufiyas\",\n symbol: \"MVR\"\n },\n MWK: {\n displayName: \"kuacha malauí\",\n \"displayName-count-one\": \"kuacha malauí\",\n \"displayName-count-other\": \"kuachas malauíes\",\n symbol: \"MWK\"\n },\n MXN: {\n displayName: \"peso mexicano\",\n \"displayName-count-one\": \"peso mexicano\",\n \"displayName-count-other\": \"pesos mexicanos\",\n symbol: \"MXN\",\n \"symbol-alt-narrow\": \"$\"\n },\n MXP: {\n displayName: \"peso de plata mexicano (1861–1992)\",\n \"displayName-count-one\": \"peso de plata mexicano (MXP)\",\n \"displayName-count-other\": \"pesos de plata mexicanos (MXP)\",\n symbol: \"MXP\"\n },\n MXV: {\n displayName: \"unidad de inversión (UDI) mexicana\",\n \"displayName-count-one\": \"unidad de inversión (UDI) mexicana\",\n \"displayName-count-other\": \"unidades de inversión (UDI) mexicanas\",\n symbol: \"MXV\"\n },\n MYR: {\n displayName: \"ringit\",\n \"displayName-count-one\": \"ringit\",\n \"displayName-count-other\": \"ringits\",\n symbol: \"MYR\",\n \"symbol-alt-narrow\": \"RM\"\n },\n MZE: {\n displayName: \"escudo mozambiqueño\",\n \"displayName-count-one\": \"escudo mozambiqueño\",\n \"displayName-count-other\": \"escudos mozambiqueños\",\n symbol: \"MZE\"\n },\n MZM: {\n displayName: \"antiguo metical mozambiqueño\",\n symbol: \"MZM\"\n },\n MZN: {\n displayName: \"metical\",\n \"displayName-count-one\": \"metical\",\n \"displayName-count-other\": \"meticales\",\n symbol: \"MZN\"\n },\n NAD: {\n displayName: \"dólar namibio\",\n \"displayName-count-one\": \"dólar namibio\",\n \"displayName-count-other\": \"dólares namibios\",\n symbol: \"NAD\",\n \"symbol-alt-narrow\": \"$\"\n },\n NGN: {\n displayName: \"naira\",\n \"displayName-count-one\": \"naira\",\n \"displayName-count-other\": \"nairas\",\n symbol: \"NGN\",\n \"symbol-alt-narrow\": \"₦\"\n },\n NIC: {\n displayName: \"córdoba nicaragüense (1988–1991)\",\n \"displayName-count-one\": \"córdoba nicaragüense (1988–1991)\",\n \"displayName-count-other\": \"córdobas nicaragüenses (1988–1991)\",\n symbol: \"NIC\"\n },\n NIO: {\n displayName: \"córdoba oro\",\n \"displayName-count-one\": \"córdoba oro\",\n \"displayName-count-other\": \"córdobas oro\",\n symbol: \"NIO\",\n \"symbol-alt-narrow\": \"C$\"\n },\n NLG: {\n displayName: \"florín neerlandés\",\n \"displayName-count-one\": \"florín neerlandés\",\n \"displayName-count-other\": \"florines neerlandeses\",\n symbol: \"NLG\"\n },\n NOK: {\n displayName: \"corona noruega\",\n \"displayName-count-one\": \"corona noruega\",\n \"displayName-count-other\": \"coronas noruegas\",\n symbol: \"NOK\",\n \"symbol-alt-narrow\": \"kr\"\n },\n NPR: {\n displayName: \"rupia nepalí\",\n \"displayName-count-one\": \"rupia nepalí\",\n \"displayName-count-other\": \"rupias nepalíes\",\n symbol: \"NPR\",\n \"symbol-alt-narrow\": \"Rs\"\n },\n NZD: {\n displayName: \"dólar neozelandés\",\n \"displayName-count-one\": \"dólar neozelandés\",\n \"displayName-count-other\": \"dólares neozelandeses\",\n symbol: \"NZD\",\n \"symbol-alt-narrow\": \"$\"\n },\n OMR: {\n displayName: \"rial omaní\",\n \"displayName-count-one\": \"rial omaní\",\n \"displayName-count-other\": \"riales omaníes\",\n symbol: \"OMR\"\n },\n PAB: {\n displayName: \"balboa panameño\",\n \"displayName-count-one\": \"balboa panameño\",\n \"displayName-count-other\": \"balboas panameños\",\n symbol: \"PAB\"\n },\n PEI: {\n displayName: \"inti peruano\",\n \"displayName-count-one\": \"inti peruano\",\n \"displayName-count-other\": \"intis peruanos\",\n symbol: \"PEI\"\n },\n PEN: {\n displayName: \"sol peruano\",\n \"displayName-count-one\": \"sol peruano\",\n \"displayName-count-other\": \"soles peruanos\",\n symbol: \"PEN\"\n },\n PES: {\n displayName: \"sol peruano (1863–1965)\",\n \"displayName-count-one\": \"sol peruano (1863–1965)\",\n \"displayName-count-other\": \"soles peruanos (1863–1965)\",\n symbol: \"PES\"\n },\n PGK: {\n displayName: \"kina\",\n \"displayName-count-one\": \"kina\",\n \"displayName-count-other\": \"kinas\",\n symbol: \"PGK\"\n },\n PHP: {\n displayName: \"peso filipino\",\n \"displayName-count-one\": \"peso filipino\",\n \"displayName-count-other\": \"pesos filipinos\",\n symbol: \"PHP\",\n \"symbol-alt-narrow\": \"₱\"\n },\n PKR: {\n displayName: \"rupia pakistaní\",\n \"displayName-count-one\": \"rupia pakistaní\",\n \"displayName-count-other\": \"rupias pakistaníes\",\n symbol: \"PKR\",\n \"symbol-alt-narrow\": \"Rs\"\n },\n PLN: {\n displayName: \"esloti\",\n \"displayName-count-one\": \"esloti\",\n \"displayName-count-other\": \"eslotis\",\n symbol: \"PLN\",\n \"symbol-alt-narrow\": \"zł\"\n },\n PLZ: {\n displayName: \"zloty polaco (1950–1995)\",\n \"displayName-count-one\": \"zloty polaco (PLZ)\",\n \"displayName-count-other\": \"zlotys polacos (PLZ)\",\n symbol: \"PLZ\"\n },\n PTE: {\n displayName: \"escudo portugués\",\n \"displayName-count-one\": \"escudo portugués\",\n \"displayName-count-other\": \"escudos portugueses\",\n symbol: \"PTE\"\n },\n PYG: {\n displayName: \"guaraní paraguayo\",\n \"displayName-count-one\": \"guaraní paraguayo\",\n \"displayName-count-other\": \"guaraníes paraguayos\",\n symbol: \"PYG\",\n \"symbol-alt-narrow\": \"₲\"\n },\n QAR: {\n displayName: \"rial catarí\",\n \"displayName-count-one\": \"rial catarí\",\n \"displayName-count-other\": \"riales cataríes\",\n symbol: \"QAR\"\n },\n RHD: {\n displayName: \"dólar rodesiano\",\n symbol: \"RHD\"\n },\n ROL: {\n displayName: \"antiguo leu rumano\",\n \"displayName-count-one\": \"antiguo leu rumano\",\n \"displayName-count-other\": \"antiguos lei rumanos\",\n symbol: \"ROL\"\n },\n RON: {\n displayName: \"leu rumano\",\n \"displayName-count-one\": \"leu rumano\",\n \"displayName-count-other\": \"leus rumanos\",\n symbol: \"RON\",\n \"symbol-alt-narrow\": \"L\"\n },\n RSD: {\n displayName: \"dinar serbio\",\n \"displayName-count-one\": \"dinar serbio\",\n \"displayName-count-other\": \"dinares serbios\",\n symbol: \"RSD\"\n },\n RUB: {\n displayName: \"rublo ruso\",\n \"displayName-count-one\": \"rublo ruso\",\n \"displayName-count-other\": \"rublos rusos\",\n symbol: \"RUB\",\n \"symbol-alt-narrow\": \"₽\"\n },\n RUR: {\n displayName: \"rublo ruso (1991–1998)\",\n \"displayName-count-one\": \"rublo ruso (RUR)\",\n \"displayName-count-other\": \"rublos rusos (RUR)\",\n symbol: \"RUR\"\n },\n RWF: {\n displayName: \"franco ruandés\",\n \"displayName-count-one\": \"franco ruandés\",\n \"displayName-count-other\": \"francos ruandeses\",\n symbol: \"RWF\",\n \"symbol-alt-narrow\": \"RF\"\n },\n SAR: {\n displayName: \"rial saudí\",\n \"displayName-count-one\": \"rial saudí\",\n \"displayName-count-other\": \"riales saudíes\",\n symbol: \"SAR\"\n },\n SBD: {\n displayName: \"dólar salomonense\",\n \"displayName-count-one\": \"dólar salomonense\",\n \"displayName-count-other\": \"dólares salomonenses\",\n symbol: \"SBD\",\n \"symbol-alt-narrow\": \"$\"\n },\n SCR: {\n displayName: \"rupia seychellense\",\n \"displayName-count-one\": \"rupia seychellense\",\n \"displayName-count-other\": \"rupias seychellenses\",\n symbol: \"SCR\"\n },\n SDD: {\n displayName: \"dinar sudanés\",\n \"displayName-count-one\": \"dinar sudanés\",\n \"displayName-count-other\": \"dinares sudaneses\",\n symbol: \"SDD\"\n },\n SDG: {\n displayName: \"libra sudanesa\",\n \"displayName-count-one\": \"libra sudanesa\",\n \"displayName-count-other\": \"libras sudanesas\",\n symbol: \"SDG\"\n },\n SDP: {\n displayName: \"libra sudanesa antigua\",\n \"displayName-count-one\": \"libra sudanesa antigua\",\n \"displayName-count-other\": \"libras sudanesas antiguas\",\n symbol: \"SDP\"\n },\n SEK: {\n displayName: \"corona sueca\",\n \"displayName-count-one\": \"corona sueca\",\n \"displayName-count-other\": \"coronas suecas\",\n symbol: \"SEK\",\n \"symbol-alt-narrow\": \"kr\"\n },\n SGD: {\n displayName: \"dólar singapurense\",\n \"displayName-count-one\": \"dólar singapurense\",\n \"displayName-count-other\": \"dólares singapurenses\",\n symbol: \"SGD\",\n \"symbol-alt-narrow\": \"$\"\n },\n SHP: {\n displayName: \"libra de Santa Elena\",\n \"displayName-count-one\": \"libra de Santa Elena\",\n \"displayName-count-other\": \"libras de Santa Elena\",\n symbol: \"SHP\",\n \"symbol-alt-narrow\": \"£\"\n },\n SIT: {\n displayName: \"tólar esloveno\",\n \"displayName-count-one\": \"tólar esloveno\",\n \"displayName-count-other\": \"tólares eslovenos\",\n symbol: \"SIT\"\n },\n SKK: {\n displayName: \"corona eslovaca\",\n \"displayName-count-one\": \"corona eslovaca\",\n \"displayName-count-other\": \"coronas eslovacas\",\n symbol: \"SKK\"\n },\n SLE: {\n displayName: \"SLE\",\n symbol: \"SLE\"\n },\n SLL: {\n displayName: \"leona\",\n \"displayName-count-one\": \"leona\",\n \"displayName-count-other\": \"leonas\",\n symbol: \"SLL\"\n },\n SOS: {\n displayName: \"chelín somalí\",\n \"displayName-count-one\": \"chelín somalí\",\n \"displayName-count-other\": \"chelines somalíes\",\n symbol: \"SOS\"\n },\n SRD: {\n displayName: \"dólar surinamés\",\n \"displayName-count-one\": \"dólar surinamés\",\n \"displayName-count-other\": \"dólares surinameses\",\n symbol: \"SRD\",\n \"symbol-alt-narrow\": \"$\"\n },\n SRG: {\n displayName: \"florín surinamés\",\n symbol: \"SRG\"\n },\n SSP: {\n displayName: \"libra sursudanesa\",\n \"displayName-count-one\": \"libra sursudanesa\",\n \"displayName-count-other\": \"libras sursudanesas\",\n symbol: \"SSP\",\n \"symbol-alt-narrow\": \"£\"\n },\n STD: {\n displayName: \"dobra (1977–2017)\",\n \"displayName-count-one\": \"dobra (1977–2017)\",\n \"displayName-count-other\": \"dobras (1977–2017)\",\n symbol: \"STD\"\n },\n STN: {\n displayName: \"dobra\",\n \"displayName-count-one\": \"dobra\",\n \"displayName-count-other\": \"dobras\",\n symbol: \"STN\",\n \"symbol-alt-narrow\": \"Db\"\n },\n SUR: {\n displayName: \"rublo soviético\",\n \"displayName-count-one\": \"rublo soviético\",\n \"displayName-count-other\": \"rublos soviéticos\",\n symbol: \"SUR\"\n },\n SVC: {\n displayName: \"colón salvadoreño\",\n \"displayName-count-one\": \"colón salvadoreño\",\n \"displayName-count-other\": \"colones salvadoreños\",\n symbol: \"SVC\"\n },\n SYP: {\n displayName: \"libra siria\",\n \"displayName-count-one\": \"libra siria\",\n \"displayName-count-other\": \"libras sirias\",\n symbol: \"SYP\",\n \"symbol-alt-narrow\": \"£\"\n },\n SZL: {\n displayName: \"lilangeni\",\n \"displayName-count-one\": \"lilangeni\",\n \"displayName-count-other\": \"lilangenis\",\n symbol: \"SZL\"\n },\n THB: {\n displayName: \"bat\",\n \"displayName-count-one\": \"bat\",\n \"displayName-count-other\": \"bats\",\n symbol: \"฿\",\n \"symbol-alt-narrow\": \"฿\"\n },\n TJR: {\n displayName: \"rublo tayiko\",\n symbol: \"TJR\"\n },\n TJS: {\n displayName: \"somoni tayiko\",\n \"displayName-count-one\": \"somoni tayiko\",\n \"displayName-count-other\": \"somonis tayikos\",\n symbol: \"TJS\"\n },\n TMM: {\n displayName: \"manat turcomano (1993–2009)\",\n \"displayName-count-one\": \"manat turcomano (1993–2009)\",\n \"displayName-count-other\": \"manats turcomanos (1993–2009)\",\n symbol: \"TMM\"\n },\n TMT: {\n displayName: \"manat turcomano\",\n \"displayName-count-one\": \"manat turcomano\",\n \"displayName-count-other\": \"manats turcomanos\",\n symbol: \"TMT\"\n },\n TND: {\n displayName: \"dinar tunecino\",\n \"displayName-count-one\": \"dinar tunecino\",\n \"displayName-count-other\": \"dinares tunecinos\",\n symbol: \"TND\"\n },\n TOP: {\n displayName: \"paanga\",\n \"displayName-count-one\": \"paanga\",\n \"displayName-count-other\": \"paangas\",\n symbol: \"TOP\",\n \"symbol-alt-narrow\": \"T$\"\n },\n TPE: {\n displayName: \"escudo timorense\",\n symbol: \"TPE\"\n },\n TRL: {\n displayName: \"lira turca (1922–2005)\",\n \"displayName-count-one\": \"lira turca (1922–2005)\",\n \"displayName-count-other\": \"liras turcas (1922–2005)\",\n symbol: \"TRL\"\n },\n TRY: {\n displayName: \"lira turca\",\n \"displayName-count-one\": \"lira turca\",\n \"displayName-count-other\": \"liras turcas\",\n symbol: \"TRY\",\n \"symbol-alt-narrow\": \"₺\",\n \"symbol-alt-variant\": \"TL\"\n },\n TTD: {\n displayName: \"dólar de Trinidad y Tobago\",\n \"displayName-count-one\": \"dólar de Trinidad y Tobago\",\n \"displayName-count-other\": \"dólares de Trinidad y Tobago\",\n symbol: \"TTD\",\n \"symbol-alt-narrow\": \"$\"\n },\n TWD: {\n displayName: \"nuevo dólar taiwanés\",\n \"displayName-count-one\": \"nuevo dólar taiwanés\",\n \"displayName-count-other\": \"nuevos dólares taiwaneses\",\n symbol: \"TWD\",\n \"symbol-alt-narrow\": \"NT$\"\n },\n TZS: {\n displayName: \"chelín tanzano\",\n \"displayName-count-one\": \"chelín tanzano\",\n \"displayName-count-other\": \"chelines tanzanos\",\n symbol: \"TZS\"\n },\n UAH: {\n displayName: \"grivna\",\n \"displayName-count-one\": \"grivna\",\n \"displayName-count-other\": \"grivnas\",\n symbol: \"UAH\",\n \"symbol-alt-narrow\": \"₴\"\n },\n UAK: {\n displayName: \"karbovanet ucraniano\",\n \"displayName-count-one\": \"karbovanet ucraniano\",\n \"displayName-count-other\": \"karbovanets ucranianos\",\n symbol: \"UAK\"\n },\n UGS: {\n displayName: \"chelín ugandés (1966–1987)\",\n symbol: \"UGS\"\n },\n UGX: {\n displayName: \"chelín ugandés\",\n \"displayName-count-one\": \"chelín ugandés\",\n \"displayName-count-other\": \"chelines ugandeses\",\n symbol: \"UGX\"\n },\n USD: {\n displayName: \"dólar estadounidense\",\n \"displayName-count-one\": \"dólar estadounidense\",\n \"displayName-count-other\": \"dólares estadounidenses\",\n symbol: \"US$\",\n \"symbol-alt-narrow\": \"$\"\n },\n USN: {\n displayName: \"dólar estadounidense (día siguiente)\",\n \"displayName-count-one\": \"dólar estadounidense (día siguiente)\",\n \"displayName-count-other\": \"dólares estadounidenses (día siguiente)\",\n symbol: \"USN\"\n },\n USS: {\n displayName: \"dólar estadounidense (mismo día)\",\n \"displayName-count-one\": \"dólar estadounidense (mismo día)\",\n \"displayName-count-other\": \"dólares estadounidenses (mismo día)\",\n symbol: \"USS\"\n },\n UYI: {\n displayName: \"peso uruguayo en unidades indexadas\",\n \"displayName-count-one\": \"peso uruguayo en unidades indexadas\",\n \"displayName-count-other\": \"pesos uruguayos en unidades indexadas\",\n symbol: \"UYI\"\n },\n UYP: {\n displayName: \"peso uruguayo (1975–1993)\",\n \"displayName-count-one\": \"peso uruguayo (UYP)\",\n \"displayName-count-other\": \"pesos uruguayos (UYP)\",\n symbol: \"UYP\"\n },\n UYU: {\n displayName: \"peso uruguayo\",\n \"displayName-count-one\": \"peso uruguayo\",\n \"displayName-count-other\": \"pesos uruguayos\",\n symbol: \"UYU\",\n \"symbol-alt-narrow\": \"$\"\n },\n UYW: {\n displayName: \"unidad previsional uruguayo\",\n \"displayName-count-one\": \"unidad previsional uruguayo\",\n \"displayName-count-other\": \"unidades previsionales uruguayos\",\n symbol: \"UYW\"\n },\n UZS: {\n displayName: \"sum\",\n \"displayName-count-one\": \"sum\",\n \"displayName-count-other\": \"sums\",\n symbol: \"UZS\"\n },\n VEB: {\n displayName: \"bolívar venezolano (1871–2008)\",\n \"displayName-count-one\": \"bolívar venezolano (1871–2008)\",\n \"displayName-count-other\": \"bolívares venezolanos (1871–2008)\",\n symbol: \"VEB\"\n },\n VED: {\n displayName: \"VED\",\n symbol: \"VED\"\n },\n VEF: {\n displayName: \"bolívar venezolano (2008–2018)\",\n \"displayName-count-one\": \"bolívar venezolano (2008–2018)\",\n \"displayName-count-other\": \"bolívares venezolanos (2008–2018)\",\n symbol: \"VEF\",\n \"symbol-alt-narrow\": \"Bs\"\n },\n VES: {\n displayName: \"bolívar venezolano\",\n \"displayName-count-one\": \"bolívar venezolano\",\n \"displayName-count-other\": \"bolívares venezolanos\",\n symbol: \"VES\"\n },\n VND: {\n displayName: \"dong\",\n \"displayName-count-one\": \"dong\",\n \"displayName-count-other\": \"dongs\",\n symbol: \"₫\",\n \"symbol-alt-narrow\": \"₫\"\n },\n VNN: {\n displayName: \"VNN\",\n symbol: \"VNN\"\n },\n VUV: {\n displayName: \"vatu\",\n \"displayName-count-one\": \"vatu\",\n \"displayName-count-other\": \"vatus\",\n symbol: \"VUV\"\n },\n WST: {\n displayName: \"tala\",\n \"displayName-count-one\": \"tala\",\n \"displayName-count-other\": \"talas\",\n symbol: \"WST\"\n },\n XAF: {\n displayName: \"franco CFA de África Central\",\n \"displayName-count-one\": \"franco CFA de África Central\",\n \"displayName-count-other\": \"francos CFA de África Central\",\n symbol: \"XAF\"\n },\n XAG: {\n displayName: \"plata\",\n \"displayName-count-one\": \"plata\",\n \"displayName-count-other\": \"plata\",\n symbol: \"XAG\"\n },\n XAU: {\n displayName: \"oro\",\n \"displayName-count-one\": \"oro\",\n \"displayName-count-other\": \"oro\",\n symbol: \"XAU\"\n },\n XBA: {\n displayName: \"unidad compuesta europea\",\n \"displayName-count-one\": \"unidad compuesta europea\",\n \"displayName-count-other\": \"unidades compuestas europeas\",\n symbol: \"XBA\"\n },\n XBB: {\n displayName: \"unidad monetaria europea\",\n \"displayName-count-one\": \"unidad monetaria europea\",\n \"displayName-count-other\": \"unidades monetarias europeas\",\n symbol: \"XBB\"\n },\n XBC: {\n displayName: \"unidad de cuenta europea (XBC)\",\n \"displayName-count-one\": \"unidad de cuenta europea (XBC)\",\n \"displayName-count-other\": \"unidades de cuenta europeas (XBC)\",\n symbol: \"XBC\"\n },\n XBD: {\n displayName: \"unidad de cuenta europea (XBD)\",\n \"displayName-count-one\": \"unidad de cuenta europea (XBD)\",\n \"displayName-count-other\": \"unidades de cuenta europeas (XBD)\",\n symbol: \"XBD\"\n },\n XCD: {\n displayName: \"dólar del Caribe Oriental\",\n \"displayName-count-one\": \"dólar del Caribe Oriental\",\n \"displayName-count-other\": \"dólares del Caribe Oriental\",\n symbol: \"XCD\",\n \"symbol-alt-narrow\": \"$\"\n },\n XDR: {\n displayName: \"derechos especiales de giro\",\n symbol: \"XDR\"\n },\n XEU: {\n displayName: \"unidad de moneda europea\",\n \"displayName-count-one\": \"unidad de moneda europea\",\n \"displayName-count-other\": \"unidades de moneda europeas\",\n symbol: \"XEU\"\n },\n XFO: {\n displayName: \"franco oro francés\",\n \"displayName-count-one\": \"franco oro francés\",\n \"displayName-count-other\": \"francos oro franceses\",\n symbol: \"XFO\"\n },\n XFU: {\n displayName: \"franco UIC francés\",\n \"displayName-count-one\": \"franco UIC francés\",\n \"displayName-count-other\": \"francos UIC franceses\",\n symbol: \"XFU\"\n },\n XOF: {\n displayName: \"franco CFA de África Occidental\",\n \"displayName-count-one\": \"franco CFA de África Occidental\",\n \"displayName-count-other\": \"francos CFA de África Occidental\",\n symbol: \"XOF\"\n },\n XPD: {\n displayName: \"paladio\",\n \"displayName-count-one\": \"paladio\",\n \"displayName-count-other\": \"paladio\",\n symbol: \"XPD\"\n },\n XPF: {\n displayName: \"franco CFP\",\n \"displayName-count-one\": \"franco CFP\",\n \"displayName-count-other\": \"francos CFP\",\n symbol: \"CFPF\"\n },\n XPT: {\n displayName: \"platino\",\n \"displayName-count-one\": \"platino\",\n \"displayName-count-other\": \"platino\",\n symbol: \"XPT\"\n },\n XRE: {\n displayName: \"fondos RINET\",\n symbol: \"XRE\"\n },\n XSU: {\n displayName: \"XSU\",\n symbol: \"XSU\"\n },\n XTS: {\n displayName: \"código reservado para pruebas\",\n symbol: \"XTS\"\n },\n XUA: {\n displayName: \"XUA\",\n symbol: \"XUA\"\n },\n XXX: {\n displayName: \"moneda desconocida\",\n \"displayName-count-one\": \"(moneda desconocida)\",\n \"displayName-count-other\": \"(moneda desconocida)\",\n symbol: \"¤\"\n },\n YDD: {\n displayName: \"dinar yemení\",\n symbol: \"YDD\"\n },\n YER: {\n displayName: \"rial yemení\",\n \"displayName-count-one\": \"rial yemení\",\n \"displayName-count-other\": \"riales yemeníes\",\n symbol: \"YER\"\n },\n YUD: {\n displayName: \"dinar fuerte yugoslavo\",\n symbol: \"YUD\"\n },\n YUM: {\n displayName: \"super dinar yugoslavo\",\n symbol: \"YUM\"\n },\n YUN: {\n displayName: \"dinar convertible yugoslavo\",\n \"displayName-count-one\": \"dinar convertible yugoslavo\",\n \"displayName-count-other\": \"dinares convertibles yugoslavos\",\n symbol: \"YUN\"\n },\n YUR: {\n displayName: \"YUR\",\n symbol: \"YUR\"\n },\n ZAL: {\n displayName: \"rand sudafricano (financiero)\",\n symbol: \"ZAL\"\n },\n ZAR: {\n displayName: \"rand\",\n \"displayName-count-one\": \"rand\",\n \"displayName-count-other\": \"rands\",\n symbol: \"ZAR\",\n \"symbol-alt-narrow\": \"R\"\n },\n ZMK: {\n displayName: \"kwacha zambiano (1968–2012)\",\n \"displayName-count-one\": \"kwacha zambiano (1968–2012)\",\n \"displayName-count-other\": \"kwachas zambianos (1968–2012)\",\n symbol: \"ZMK\"\n },\n ZMW: {\n displayName: \"kuacha zambiano\",\n \"displayName-count-one\": \"kuacha zambiano\",\n \"displayName-count-other\": \"kuachas zambianos\",\n symbol: \"ZMW\",\n \"symbol-alt-narrow\": \"ZK\"\n },\n ZRN: {\n displayName: \"nuevo zaire zaireño\",\n symbol: \"ZRN\"\n },\n ZRZ: {\n displayName: \"zaire zaireño\",\n symbol: \"ZRZ\"\n },\n ZWD: {\n displayName: \"dólar de Zimbabue\",\n symbol: \"ZWD\"\n },\n ZWL: {\n displayName: \"dólar zimbabuense\",\n symbol: \"ZWL\"\n },\n ZWR: {\n displayName: \"ZWR\",\n symbol: \"ZWR\"\n }\n },\n localeCurrency: \"EUR\"\n },\n calendar: {\n patterns: {\n d: \"d/M/y\",\n D: \"EEEE, d 'de' MMMM 'de' y\",\n m: \"d MMM\",\n M: \"d 'de' MMMM\",\n y: \"MMM y\",\n Y: \"MMMM 'de' y\",\n F: \"EEEE, d 'de' MMMM 'de' y H:mm:ss\",\n g: \"d/M/y H:mm\",\n G: \"d/M/y H:mm:ss\",\n t: \"H:mm\",\n T: \"H:mm:ss\",\n s: \"yyyy'-'MM'-'dd'T'HH':'mm':'ss\",\n u: \"yyyy'-'MM'-'dd HH':'mm':'ss'Z'\"\n },\n dateTimeFormats: {\n full: \"{1}, {0}\",\n long: \"{1}, {0}\",\n medium: \"{1}, {0}\",\n short: \"{1}, {0}\",\n availableFormats: {\n Bh: \"h B\",\n Bhm: \"h:mm B\",\n Bhms: \"h:mm:ss B\",\n d: \"d\",\n E: \"ccc\",\n EBhm: \"E h:mm B\",\n EBhms: \"E h:mm:ss B\",\n Ed: \"E d\",\n Ehm: \"E, h:mm a\",\n EHm: \"E, H:mm\",\n Ehms: \"E, h:mm:ss a\",\n EHms: \"E, H:mm:ss\",\n Gy: \"y G\",\n GyMd: \"d/M/y GGGGG\",\n GyMMM: \"MMM y G\",\n GyMMMd: \"d MMM y G\",\n GyMMMEd: \"E, d MMM y G\",\n GyMMMM: \"MMMM 'de' y G\",\n GyMMMMd: \"d 'de' MMMM 'de' y G\",\n GyMMMMEd: \"E, d 'de' MMMM 'de' y G\",\n h: \"h a\",\n H: \"H\",\n hm: \"h:mm a\",\n Hm: \"H:mm\",\n hms: \"h:mm:ss a\",\n Hms: \"H:mm:ss\",\n hmsv: \"h:mm:ss a v\",\n Hmsv: \"H:mm:ss v\",\n hmsvvvv: \"h:mm:ss a (vvvv)\",\n Hmsvvvv: \"H:mm:ss (vvvv)\",\n hmv: \"h:mm a v\",\n Hmv: \"H:mm v\",\n M: \"L\",\n Md: \"d/M\",\n MEd: \"E, d/M\",\n MMd: \"d/M\",\n MMdd: \"d/M\",\n MMM: \"LLL\",\n MMMd: \"d MMM\",\n MMMEd: \"E, d MMM\",\n MMMMd: \"d 'de' MMMM\",\n MMMMEd: \"E, d 'de' MMMM\",\n \"MMMMW-count-one\": \"'semana' W 'de' MMMM\",\n \"MMMMW-count-other\": \"'semana' W 'de' MMMM\",\n ms: \"mm:ss\",\n y: \"y\",\n yM: \"M/y\",\n yMd: \"d/M/y\",\n yMEd: \"EEE, d/M/y\",\n yMM: \"M/y\",\n yMMM: \"MMM y\",\n yMMMd: \"d MMM y\",\n yMMMEd: \"EEE, d MMM y\",\n yMMMM: \"MMMM 'de' y\",\n yMMMMd: \"d 'de' MMMM 'de' y\",\n yMMMMEd: \"EEE, d 'de' MMMM 'de' y\",\n yQQQ: \"QQQ y\",\n yQQQQ: \"QQQQ 'de' y\",\n \"yw-count-one\": \"'semana' w 'de' Y\",\n \"yw-count-other\": \"'semana' w 'de' Y\"\n }\n },\n timeFormats: {\n full: \"H:mm:ss (zzzz)\",\n long: \"H:mm:ss z\",\n medium: \"H:mm:ss\",\n short: \"H:mm\"\n },\n dateFormats: {\n full: \"EEEE, d 'de' MMMM 'de' y\",\n long: \"d 'de' MMMM 'de' y\",\n medium: \"d MMM y\",\n short: \"d/M/yy\"\n },\n days: {\n format: {\n abbreviated: [\"dom\", \"lun\", \"mar\", \"mié\", \"jue\", \"vie\", \"sáb\"],\n narrow: [\"D\", \"L\", \"M\", \"X\", \"J\", \"V\", \"S\"],\n short: [\"DO\", \"LU\", \"MA\", \"MI\", \"JU\", \"VI\", \"SA\"],\n wide: [\"domingo\", \"lunes\", \"martes\", \"miércoles\", \"jueves\", \"viernes\", \"sábado\"]\n },\n \"stand-alone\": {\n abbreviated: [\"dom\", \"lun\", \"mar\", \"mié\", \"jue\", \"vie\", \"sáb\"],\n narrow: [\"D\", \"L\", \"M\", \"X\", \"J\", \"V\", \"S\"],\n short: [\"DO\", \"LU\", \"MA\", \"MI\", \"JU\", \"VI\", \"SA\"],\n wide: [\"domingo\", \"lunes\", \"martes\", \"miércoles\", \"jueves\", \"viernes\", \"sábado\"]\n }\n },\n months: {\n format: {\n abbreviated: [\"ene\", \"feb\", \"mar\", \"abr\", \"may\", \"jun\", \"jul\", \"ago\", \"sept\", \"oct\", \"nov\", \"dic\"],\n narrow: [\"E\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n wide: [\"enero\", \"febrero\", \"marzo\", \"abril\", \"mayo\", \"junio\", \"julio\", \"agosto\", \"septiembre\", \"octubre\", \"noviembre\", \"diciembre\"]\n },\n \"stand-alone\": {\n abbreviated: [\"ene\", \"feb\", \"mar\", \"abr\", \"may\", \"jun\", \"jul\", \"ago\", \"sept\", \"oct\", \"nov\", \"dic\"],\n narrow: [\"E\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n wide: [\"enero\", \"febrero\", \"marzo\", \"abril\", \"mayo\", \"junio\", \"julio\", \"agosto\", \"septiembre\", \"octubre\", \"noviembre\", \"diciembre\"]\n }\n },\n quarters: {\n format: {\n abbreviated: [\"T1\", \"T2\", \"T3\", \"T4\"],\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n wide: [\"1.er trimestre\", \"2.º trimestre\", \"3.er trimestre\", \"4.º trimestre\"]\n },\n \"stand-alone\": {\n abbreviated: [\"T1\", \"T2\", \"T3\", \"T4\"],\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n wide: [\"1.er trimestre\", \"2.º trimestre\", \"3.er trimestre\", \"4.º trimestre\"]\n }\n },\n dayPeriods: {\n format: {\n abbreviated: {\n am: \"a. m.\",\n noon: \"del mediodía\",\n pm: \"p. m.\",\n morning1: \"de la madrugada\",\n morning2: \"de la mañana\",\n evening1: \"de la tarde\",\n night1: \"de la noche\"\n },\n narrow: {\n am: \"a. m.\",\n noon: \"del mediodía\",\n pm: \"p. m.\",\n morning1: \"de la madrugada\",\n morning2: \"de la mañana\",\n evening1: \"de la tarde\",\n night1: \"de la noche\"\n },\n wide: {\n am: \"a. m.\",\n noon: \"del mediodía\",\n pm: \"p. m.\",\n morning1: \"de la madrugada\",\n morning2: \"de la mañana\",\n evening1: \"de la tarde\",\n night1: \"de la noche\"\n }\n },\n \"stand-alone\": {\n abbreviated: {\n am: \"a. m.\",\n noon: \"mediodía\",\n pm: \"p. m.\",\n morning1: \"madrugada\",\n morning2: \"mañana\",\n evening1: \"tarde\",\n night1: \"noche\"\n },\n narrow: {\n am: \"a. m.\",\n noon: \"mediodía\",\n pm: \"p. m.\",\n morning1: \"madrugada\",\n morning2: \"mañana\",\n evening1: \"tarde\",\n night1: \"noche\"\n },\n wide: {\n am: \"a. m.\",\n noon: \"mediodía\",\n pm: \"p. m.\",\n morning1: \"madrugada\",\n morning2: \"mañana\",\n evening1: \"tarde\",\n night1: \"noche\"\n }\n }\n },\n eras: {\n format: {\n wide: {\n \"0\": \"antes de Cristo\",\n \"1\": \"después de Cristo\",\n \"0-alt-variant\": \"antes de la era común\",\n \"1-alt-variant\": \"era común\"\n },\n abbreviated: {\n \"0\": \"a. C.\",\n \"1\": \"d. C.\",\n \"0-alt-variant\": \"a. e. c.\",\n \"1-alt-variant\": \"e. c.\"\n },\n narrow: {\n \"0\": \"a. C.\",\n \"1\": \"d. C.\",\n \"0-alt-variant\": \"a. e. c.\",\n \"1-alt-variant\": \"e. c.\"\n }\n }\n },\n gmtFormat: \"GMT{0}\",\n gmtZeroFormat: \"GMT\",\n dateFields: {\n era: {\n wide: \"era\",\n short: \"era\",\n narrow: \"era\"\n },\n year: {\n wide: \"año\",\n short: \"a\",\n narrow: \"a\"\n },\n quarter: {\n wide: \"trimestre\",\n short: \"trim.\",\n narrow: \"trim.\"\n },\n month: {\n wide: \"mes\",\n short: \"m\",\n narrow: \"m\"\n },\n week: {\n wide: \"semana\",\n short: \"sem.\",\n narrow: \"sem.\"\n },\n weekOfMonth: {\n wide: \"semana del mes\",\n short: \"sem. de mes\",\n narrow: \"sem. de mes\"\n },\n day: {\n wide: \"día\",\n short: \"d\",\n narrow: \"d\"\n },\n dayOfYear: {\n wide: \"día del año\",\n short: \"día del a\",\n narrow: \"día del a\"\n },\n weekday: {\n wide: \"día de la semana\",\n short: \"día de sem.\",\n narrow: \"día de sem.\"\n },\n weekdayOfMonth: {\n wide: \"día de la semana del mes\",\n short: \"día de sem. de mes\",\n narrow: \"día de sem. de mes\"\n },\n dayperiod: {\n short: \"a. m./p. m.\",\n wide: \"a. m./p. m.\",\n narrow: \"a. m./p. m.\"\n },\n hour: {\n wide: \"hora\",\n short: \"h\",\n narrow: \"h\"\n },\n minute: {\n wide: \"minuto\",\n short: \"min\",\n narrow: \"min\"\n },\n second: {\n wide: \"segundo\",\n short: \"s\",\n narrow: \"s\"\n },\n zone: {\n wide: \"zona horaria\",\n short: \"zona\",\n narrow: \"zona\"\n },\n millisecond: {\n narrow: \"ms\",\n short: \"ms\",\n wide: \"milisegundo\"\n }\n }\n },\n firstDay: 1,\n weekendRange: {\n start: 6,\n end: 0\n },\n likelySubtags: {\n es: \"es-Latn-ES\"\n }\n});","/**-----------------------------------------------------------------------------------------\n* Copyright © 2024 Progress Software Corporation. All rights reserved.\n* Licensed under commercial license. See LICENSE.md in the project root for more information\n*-------------------------------------------------------------------------------------------*/\nvar setData = require('@progress/kendo-angular-intl').setData;\nsetData({\n name: \"es\",\n likelySubtags: {\n es: \"es-Latn-ES\"\n },\n identity: {\n language: \"es\"\n },\n territory: \"ES\",\n calendar: {\n patterns: {\n d: \"d/M/y\",\n D: \"EEEE, d 'de' MMMM 'de' y\",\n m: \"d MMM\",\n M: \"d 'de' MMMM\",\n y: \"MMM y\",\n Y: \"MMMM 'de' y\",\n F: \"EEEE, d 'de' MMMM 'de' y H:mm:ss\",\n g: \"d/M/y H:mm\",\n G: \"d/M/y H:mm:ss\",\n t: \"H:mm\",\n T: \"H:mm:ss\",\n s: \"yyyy'-'MM'-'dd'T'HH':'mm':'ss\",\n u: \"yyyy'-'MM'-'dd HH':'mm':'ss'Z'\"\n },\n dateTimeFormats: {\n full: \"{1}, {0}\",\n long: \"{1}, {0}\",\n medium: \"{1}, {0}\",\n short: \"{1}, {0}\",\n availableFormats: {\n Bh: \"h B\",\n Bhm: \"h:mm B\",\n Bhms: \"h:mm:ss B\",\n d: \"d\",\n E: \"ccc\",\n EBhm: \"E h:mm B\",\n EBhms: \"E h:mm:ss B\",\n Ed: \"E d\",\n Ehm: \"E, h:mm a\",\n EHm: \"E, H:mm\",\n Ehms: \"E, h:mm:ss a\",\n EHms: \"E, H:mm:ss\",\n Gy: \"y G\",\n GyMd: \"d/M/y GGGGG\",\n GyMMM: \"MMM y G\",\n GyMMMd: \"d MMM y G\",\n GyMMMEd: \"E, d MMM y G\",\n GyMMMM: \"MMMM 'de' y G\",\n GyMMMMd: \"d 'de' MMMM 'de' y G\",\n GyMMMMEd: \"E, d 'de' MMMM 'de' y G\",\n h: \"h a\",\n H: \"H\",\n hm: \"h:mm a\",\n Hm: \"H:mm\",\n hms: \"h:mm:ss a\",\n Hms: \"H:mm:ss\",\n hmsv: \"h:mm:ss a v\",\n Hmsv: \"H:mm:ss v\",\n hmsvvvv: \"h:mm:ss a (vvvv)\",\n Hmsvvvv: \"H:mm:ss (vvvv)\",\n hmv: \"h:mm a v\",\n Hmv: \"H:mm v\",\n M: \"L\",\n Md: \"d/M\",\n MEd: \"E, d/M\",\n MMd: \"d/M\",\n MMdd: \"d/M\",\n MMM: \"LLL\",\n MMMd: \"d MMM\",\n MMMEd: \"E, d MMM\",\n MMMMd: \"d 'de' MMMM\",\n MMMMEd: \"E, d 'de' MMMM\",\n \"MMMMW-count-one\": \"'semana' W 'de' MMMM\",\n \"MMMMW-count-other\": \"'semana' W 'de' MMMM\",\n ms: \"mm:ss\",\n y: \"y\",\n yM: \"M/y\",\n yMd: \"d/M/y\",\n yMEd: \"EEE, d/M/y\",\n yMM: \"M/y\",\n yMMM: \"MMM y\",\n yMMMd: \"d MMM y\",\n yMMMEd: \"EEE, d MMM y\",\n yMMMM: \"MMMM 'de' y\",\n yMMMMd: \"d 'de' MMMM 'de' y\",\n yMMMMEd: \"EEE, d 'de' MMMM 'de' y\",\n yQQQ: \"QQQ y\",\n yQQQQ: \"QQQQ 'de' y\",\n \"yw-count-one\": \"'semana' w 'de' Y\",\n \"yw-count-other\": \"'semana' w 'de' Y\"\n }\n },\n timeFormats: {\n full: \"H:mm:ss (zzzz)\",\n long: \"H:mm:ss z\",\n medium: \"H:mm:ss\",\n short: \"H:mm\"\n },\n dateFormats: {\n full: \"EEEE, d 'de' MMMM 'de' y\",\n long: \"d 'de' MMMM 'de' y\",\n medium: \"d MMM y\",\n short: \"d/M/yy\"\n },\n days: {\n format: {\n abbreviated: [\"dom\", \"lun\", \"mar\", \"mié\", \"jue\", \"vie\", \"sáb\"],\n narrow: [\"D\", \"L\", \"M\", \"X\", \"J\", \"V\", \"S\"],\n short: [\"DO\", \"LU\", \"MA\", \"MI\", \"JU\", \"VI\", \"SA\"],\n wide: [\"domingo\", \"lunes\", \"martes\", \"miércoles\", \"jueves\", \"viernes\", \"sábado\"]\n },\n \"stand-alone\": {\n abbreviated: [\"dom\", \"lun\", \"mar\", \"mié\", \"jue\", \"vie\", \"sáb\"],\n narrow: [\"D\", \"L\", \"M\", \"X\", \"J\", \"V\", \"S\"],\n short: [\"DO\", \"LU\", \"MA\", \"MI\", \"JU\", \"VI\", \"SA\"],\n wide: [\"domingo\", \"lunes\", \"martes\", \"miércoles\", \"jueves\", \"viernes\", \"sábado\"]\n }\n },\n months: {\n format: {\n abbreviated: [\"ene\", \"feb\", \"mar\", \"abr\", \"may\", \"jun\", \"jul\", \"ago\", \"sept\", \"oct\", \"nov\", \"dic\"],\n narrow: [\"E\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n wide: [\"enero\", \"febrero\", \"marzo\", \"abril\", \"mayo\", \"junio\", \"julio\", \"agosto\", \"septiembre\", \"octubre\", \"noviembre\", \"diciembre\"]\n },\n \"stand-alone\": {\n abbreviated: [\"ene\", \"feb\", \"mar\", \"abr\", \"may\", \"jun\", \"jul\", \"ago\", \"sept\", \"oct\", \"nov\", \"dic\"],\n narrow: [\"E\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n wide: [\"enero\", \"febrero\", \"marzo\", \"abril\", \"mayo\", \"junio\", \"julio\", \"agosto\", \"septiembre\", \"octubre\", \"noviembre\", \"diciembre\"]\n }\n },\n quarters: {\n format: {\n abbreviated: [\"T1\", \"T2\", \"T3\", \"T4\"],\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n wide: [\"1.er trimestre\", \"2.º trimestre\", \"3.er trimestre\", \"4.º trimestre\"]\n },\n \"stand-alone\": {\n abbreviated: [\"T1\", \"T2\", \"T3\", \"T4\"],\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n wide: [\"1.er trimestre\", \"2.º trimestre\", \"3.er trimestre\", \"4.º trimestre\"]\n }\n },\n dayPeriods: {\n format: {\n abbreviated: {\n am: \"a. m.\",\n noon: \"del mediodía\",\n pm: \"p. m.\",\n morning1: \"de la madrugada\",\n morning2: \"de la mañana\",\n evening1: \"de la tarde\",\n night1: \"de la noche\"\n },\n narrow: {\n am: \"a. m.\",\n noon: \"del mediodía\",\n pm: \"p. m.\",\n morning1: \"de la madrugada\",\n morning2: \"de la mañana\",\n evening1: \"de la tarde\",\n night1: \"de la noche\"\n },\n wide: {\n am: \"a. m.\",\n noon: \"del mediodía\",\n pm: \"p. m.\",\n morning1: \"de la madrugada\",\n morning2: \"de la mañana\",\n evening1: \"de la tarde\",\n night1: \"de la noche\"\n }\n },\n \"stand-alone\": {\n abbreviated: {\n am: \"a. m.\",\n noon: \"mediodía\",\n pm: \"p. m.\",\n morning1: \"madrugada\",\n morning2: \"mañana\",\n evening1: \"tarde\",\n night1: \"noche\"\n },\n narrow: {\n am: \"a. m.\",\n noon: \"mediodía\",\n pm: \"p. m.\",\n morning1: \"madrugada\",\n morning2: \"mañana\",\n evening1: \"tarde\",\n night1: \"noche\"\n },\n wide: {\n am: \"a. m.\",\n noon: \"mediodía\",\n pm: \"p. m.\",\n morning1: \"madrugada\",\n morning2: \"mañana\",\n evening1: \"tarde\",\n night1: \"noche\"\n }\n }\n },\n eras: {\n format: {\n wide: {\n \"0\": \"antes de Cristo\",\n \"1\": \"después de Cristo\",\n \"0-alt-variant\": \"antes de la era común\",\n \"1-alt-variant\": \"era común\"\n },\n abbreviated: {\n \"0\": \"a. C.\",\n \"1\": \"d. C.\",\n \"0-alt-variant\": \"a. e. c.\",\n \"1-alt-variant\": \"e. c.\"\n },\n narrow: {\n \"0\": \"a. C.\",\n \"1\": \"d. C.\",\n \"0-alt-variant\": \"a. e. c.\",\n \"1-alt-variant\": \"e. c.\"\n }\n }\n },\n gmtFormat: \"GMT{0}\",\n gmtZeroFormat: \"GMT\",\n dateFields: {\n era: {\n wide: \"era\",\n short: \"era\",\n narrow: \"era\"\n },\n year: {\n wide: \"año\",\n short: \"a\",\n narrow: \"a\"\n },\n quarter: {\n wide: \"trimestre\",\n short: \"trim.\",\n narrow: \"trim.\"\n },\n month: {\n wide: \"mes\",\n short: \"m\",\n narrow: \"m\"\n },\n week: {\n wide: \"semana\",\n short: \"sem.\",\n narrow: \"sem.\"\n },\n weekOfMonth: {\n wide: \"semana del mes\",\n short: \"sem. de mes\",\n narrow: \"sem. de mes\"\n },\n day: {\n wide: \"día\",\n short: \"d\",\n narrow: \"d\"\n },\n dayOfYear: {\n wide: \"día del año\",\n short: \"día del a\",\n narrow: \"día del a\"\n },\n weekday: {\n wide: \"día de la semana\",\n short: \"día de sem.\",\n narrow: \"día de sem.\"\n },\n weekdayOfMonth: {\n wide: \"día de la semana del mes\",\n short: \"día de sem. de mes\",\n narrow: \"día de sem. de mes\"\n },\n dayperiod: {\n short: \"a. m./p. m.\",\n wide: \"a. m./p. m.\",\n narrow: \"a. m./p. m.\"\n },\n hour: {\n wide: \"hora\",\n short: \"h\",\n narrow: \"h\"\n },\n minute: {\n wide: \"minuto\",\n short: \"min\",\n narrow: \"min\"\n },\n second: {\n wide: \"segundo\",\n short: \"s\",\n narrow: \"s\"\n },\n zone: {\n wide: \"zona horaria\",\n short: \"zona\",\n narrow: \"zona\"\n },\n millisecond: {\n narrow: \"ms\",\n short: \"ms\",\n wide: \"milisegundo\"\n }\n }\n },\n firstDay: 1\n});","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { HeaderComponent } from './header.component';\r\nimport { NavigationModule } from '@progress/kendo-angular-navigation';\r\nimport { IndicatorsModule } from '@progress/kendo-angular-indicators';\r\nimport { ButtonsModule } from '@progress/kendo-angular-buttons';\r\nimport { TooltipsModule } from '@progress/kendo-angular-tooltip';\r\nimport { ComponentsCoreFormsModule } from '@src/app/components/Core/core.saludplus.module';\r\nimport { DialogModule } from '@progress/kendo-angular-dialog';\r\n\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n ButtonsModule, TooltipsModule,IndicatorsModule, NavigationModule, \r\n ComponentsCoreFormsModule , DialogModule\r\n ],\r\n exports: [HeaderComponent],\r\n declarations: [HeaderComponent]\r\n})\r\nexport class HeaderModule { }\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\n// api\r\nexport function getBaseUrl() { \r\n //return environment.apiServer;\r\n}\r\n\r\nconst providers = [\r\n { provide: 'BASE_URL', useFactory: getBaseUrl, deps: [] }\r\n];\r\n\r\n\r\n\r\nplatformBrowserDynamic(providers).bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n"],"mappings":"i/NAEAA,I,6GEOYC,EAAA,EAAA,IAAA,EAAA,wBACAA,EAAA,EAAA,IAAA,EAAA,4BAYAC,EAAA,EAAA,MAAA,EAAA,EACED,EAAA,EAAA,IAAA,EAAA,EAA8F,EAAA,QAAA,EAAA,EAOhGE,EAAA,kBAHIC,EAAA,CAAA,EAAAC,EAAA,UAAAC,EAAA,EAAAC,GAAAC,EAAAC,WAAAD,EAAAE,EAAAC,MAAAC,QAAAJ,EAAAE,EAAAC,MAAAC,OAAAC,QAAA,CAAA,6BAIJX,EAAA,EAAA,MAAA,EAAA,EAEED,EAAA,EAAA,IAAA,EAAA,EAA6F,EAAA,QAAA,EAAA,EAK/FE,EAAA,kBAFIC,EAAA,CAAA,EAAAC,EAAA,UAAAC,EAAA,EAAAC,GAAAC,EAAAC,WAAAD,EAAAE,EAAAI,SAAAF,QAAAJ,EAAAE,EAAAI,SAAAF,OAAAC,QAAA,CAAA,sCAIJX,EAAA,EAAA,MAAA,EAAA,EACED,EAAA,EAAA,IAAA,EAAA,EAEAC,EAAA,EAAA,QAAA,EAAA,EAAOa,GAAA,gBAAA,SAAAC,EAAA,CAAAC,EAAAC,CAAA,EAAA,IAAAV,EAAAW,EAAA,EAAAC,OAAAC,GAAAb,EAAAc,cAAAN,CAAA,IAAAR,EAAAc,cAAAN,GAAAO,EAAAP,CAAA,CAAA,CAAA,EAAPb,EAAA,EAGoE,oBAH7DC,EAAA,CAAA,EAAAoB,GAAA,UAAAhB,EAAAc,aAAA,EAELjB,EAAA,UAAAC,EAAA,EAAAmB,GAAAjB,EA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,GACAC,GACAC,GACAC,GACA,CAAEhB,QAASiB,GAAWC,SAAU,OAAO,EACvC,CACIlB,QAASmB,GACTjB,SAAUkB,GACVC,MAAO,IAEX,CACIrB,QAASmB,GACTjB,SAAUoB,GACVD,MAAO,IAEXE,GACAC,GAAkBC,GAAsB,CAAE,EAC1CC,GAAmB,IAAMC,GAAcC,GAAYC,cAAc,CAAC,EAClEC,GAAgB,IAAMC,GAAW,CAAE,CAAC,EAEvCC,QAAA,CAxCoCC,GACjCC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GAAoBC,SAAS,iBAAkB,CAAEC,QAASd,GAAYe,UAAU,CAAE,EAAGC,GACrFC,GAEAC,GAEGnE,GAEHU,EAAa,CAAA,CAAA,CAAA,SA2BRe,CAAS,GAAA,EyDxJlB2C,GAAYC,YACdC,OAII,SAAUC,IAAU,CACxB,CAGF,IAAMC,GAAY,CAChB,CAAEC,QAAS,WAAYC,WAAYH,GAAYI,KAAM,CAAA,CAAE,CAAE,EAK3DC,GAAuBJ,EAAS,EAAEK,gBAAgBC,EAAS,EACxDC,MAAMC,GAAOC,QAAQC,MAAMF,CAAG,CAAC","names":["init_core","ɵɵelement","ɵɵelementStart","ɵɵelementEnd","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c1","ctx_r0","submitted","f","login","errors","required","password","ɵɵtwoWayListener","$event","ɵɵrestoreView","_r2","ɵɵnextContext","i0","ɵɵtwoWayBindingSet","emailRecovery","ɵɵresetView","ɵɵtwoWayProperty","_c2","emailError","emailFormControl","invalid","ɵɵtext","ɵɵtemplate","LoginComponent_button_21_Conditional_1_Template","LoginComponent_button_21_Conditional_2_Template","loading","ɵɵconditional","ɵɵlistener","_r3","loginIn","_r4","LoginComponent","constructor","titleService","route","authenticationService","formBuilder","saludPlusService","persistenceService","themeService","emailOk","isError","messageLoading","UntypedFormControl","Validators","email","serverConexion","themeSwitcher","currentYear","Date","getFullYear","version","IsLogin","document","location","href","isDarkModeMode","ngOnInit","setTitle","snapshot","data","loginForm","group","controls","ngAfterViewInit","apply","generateVersion","onChangeSwitch","setLightMode","setDarkMode","onSubmit","__async","value","ConfiguracionPorUsuario","ListadoInstitucionesPorUsuario","ValidaSedes","ConfOrdenesPago","length","ListadoRecursosPorInstitucion","ListadoCaracteristicasPorUsuario","setData","LocalStorageList","nombre_institucion","nombreInstitucion","id_institucion","idInstitucion","returnUrl","undefined","HttpErrorResponse","err","status","origin","URL","url","matches","match","error","message","statusText","EmailRecovery","RecoveryPassword","subscribe","next","res","isSuccessful","me","setTimeout","messages","join","console","warn","now","year","toString","slice","month","getMonth","padStart","day","getDate","hour","getHours","ɵɵdirectiveInject","Title","ActivatedRoute","AuthenticationService","UntypedFormBuilder","SaludPlusService","PersistenceService","ThemeService","selectors","standalone","decls","vars","consts","template","rf","ctx","LoginComponent_i_6_Template","LoginComponent_i_7_Template","LoginComponent_div_14_Template","LoginComponent_div_15_Template","LoginComponent_div_16_Template","LoginComponent_i_18_Template","LoginComponent_button_21_Template","LoginComponent_button_22_Template","LoginComponent_a_23_Template","LoginComponent_a_24_Template","_c0","ɵɵtextInterpolate1","ɵɵelement","RecoveryPasswordComponent","constructor","titleService","authenticationService","formBuilder","route","loading","token","messageLoading","submitted","isError","changeOk","mask","ngOnInit","setTitle","snapshot","data","loginForm","group","newPassword","Validators","required","minLength","newPasswordVerified","IsLogin","logout","params","subscribe","f","controls","onSubmit","__async","invalid","value","length","includes","changePassword","setTimeout","document","location","href","error","console","log","message","reset","ɵɵdirectiveInject","Title","AuthenticationService","UntypedFormBuilder","ActivatedRoute","selectors","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵlistener","ɵɵelementEnd","ɵɵtemplate","RecoveryPasswordComponent_i_18_Template","ɵɵtext","ɵɵadvance","ɵɵproperty","ɵɵpureFunction1","_c0","errors","ɵɵpureFunction2","_c1","_c2","ɵɵtextInterpolate1","ɵɵpureFunction0","_c3","PageNotFoundComponent","constructor","ngOnInit","selectors","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵelement","ɵɵtext","ɵɵelementEnd","routes","path","component","ListadoCDPComponent","ReporteListadoCDPRoutingModule","RoutingListadoCDP","loadComponent","then","m","canActivate","AuthGuard","data","title","icon","RouterModule","forChild","routes","path","component","ListadoCRPComponent","ReporteListadoCRPRoutingModule","RoutingListadoCRP","loadComponent","then","m","canActivate","AuthGuard","data","title","icon","RouterModule","forChild","routes","path","component","LibroPagosComponent","ReporteLibroPagosRoutingModule","RoutingLibroPagos","loadComponent","then","m","canActivate","AuthGuard","data","title","icon","RouterModule","forChild","routes","VigenciasRoutingModule","RoutingVigencias","RubrosPresupuestalesRoutingModule","RoutingRubrosPresupuestalesRedirect","RoutingRubrosPresupuestales","MovimientosRoutingModule","RoutingMovimientoPresupuestalRedirect","RoutingMovimientoPresupuestal","CertificadoRegistroPresupuestalRoutingModule","RoutingCertificadoRegistroPresupuestalRedirect","RoutingCertificadoRegistroPresupuestal","CertificadoDisponibilidadPresupuestalRoutingModule","RoutingCertificadoDisponibilidadPresupuestalRedirect","RoutingCertificadoDisponibilidadPresupuestal","OrdenPagoRoutingModule","RoutingOrdenPagoRedirect","RoutingOrdenPago","IngresoPagoRoutingModule","RoutingIngresoPagoRedirect","RoutingIngresoPago","LiberacionPresupuestalRoutingModule","RoutingLiberacionPresupuestal","ListadoAuxiliaresPresupuestoRoutingModule","RoutingListadoAuxiliaresPresupuesto","ListadoAuxiliaresTipoDocumentoRoutingModule","RoutingListadoAuxiliaresTipoDocumento","EjecucionPresupuestalRoutingModule","RoutingEjecucionPresupuestal","TercerosRoutingModule","RoutingTercerosRedirectPresupuesto","RoutingTercerosPresupuesto","path","loadComponent","then","m","SeguimientoDocumentoPresupuestoComponent","canActivate","AuthGuard","data","title","icon","ReporteListadoCDPRoutingModule","RoutingListadoCDP","ReporteListadoCRPRoutingModule","RoutingListadoCRP","ReporteLibroPagosRoutingModule","RoutingLibroPagos","PresupuestoRoutes","RouterModule","forChild","routes","ResultadoImagenesDiagnosticasRoutingModule","RoutingResultadoImagenesDiagnosticas","ImgDiagnosticasRoutes","RouterModule","forChild","routes","path","component","ReporteExamenesLaboratorioComponent","ReporteExamenesLaboratorioRoutingModule","RoutingReporteExamenesLaboratorio","loadComponent","then","m","canActivate","AuthGuard","data","title","icon","RouterModule","forChild","routes","ParametrizacionLaboratorioClinicoRoutingModule","RoutingParametrizacionLaboratorioRedirect","RoutingParametrizacionLaboratorio","ExamenesLaboratorioRoutingModule","RoutingLabExamenesRedirect","RoutingExamenesLaboratorio","ReporteExamenesLaboratorioRoutingModule","RoutingReporteExamenesLaboratorio","LaboratorioRoutes","RouterModule","forChild","routes","PacientesRoutingModule","RoutingPacienteRedirect","RoutingPaciente","AnexoTecnicoAutorizacionesRoutingModule","RoutingAnexoAutorizacionesRedirect","RoutingAnexoAutorizaciones","ListadoMedicamentosFacturadosRoutingModule","RoutingListadoMedicamentos","ListadoMaterialesInsumosFacturadosRoutingModule","RoutingListadoMaterialesInsumos","ListadoOtrosConceptosFacturadosRoutingModule","RoutingListadoOtrosConceptos","ListadoConsultasFacturadosRoutingModule","RoutingListadoConsultasRedirect","RoutingListadoConsultas","ListadoProcedimientosFacturadosRoutingModule","RoutingListadoProcedimientosRedirect","RoutingListadoProcedimeintos","ListadoObservacionesFacturadosRoutingModule","RoutingListadoObservaciones","ListadoEstanciaFacturadosRoutingModule","RoutingListadoEstanciaRedirect","RoutingListadoEstancia","ListadoAdmisionesRoutingModule","RoutingAdmisionesRedirect","RoutingAdmisiones","FuripsRoutingModule","RoutingFuripsRedirect","RoutingFurips","FurtranRoutingModule","RoutingFurtranRedirect","RoutingFurtran","AnexoTecnicoInformeAtencionUrgenciaRoutingModule","RoutingAnexoTecnicoInformeAtencionUrgenciaRedirect","RoutingAnexoTecnicoInformeAtencionUrgencia","TrasladoRoutingModule","RoutingTrasladoRedirect","RoutingTraslado","ListadoPacientesRoutingModule","RoutingPacientes","ListadoNotasCreditoRoutingModule","RoutingListadoNotasCredito","ListadoNotasDebitoRoutingModule","RoutingListadoNotasDebito","path","loadComponent","then","m","ListadoFacturasCupsComponent","canActivate","AuthGuard","data","title","icon","FacturacionRoutes","RouterModule","forChild","routes","ListadoIngresoPacientesRoutes","RoutingListadoIngresoPacientes","ListadoValoracionTriageRoutes","RoutingListadoValoracionTriage","ValoracionTriageRoutingModule","RoutingValoracionTriageRedirect","RoutingValoracionTriage","IngresoPacienteRoutingModule","RoutingIngresoPacienteRedirect","RoutingIngresoPaciente","NivelesTriageRoutingModule","RoutingNivelesTriageRedirect","RoutingNivelesTriage","TriageRoutes","RouterModule","forChild","routes","PerfilesRoutes","RoutingPerfilesRedirect","RoutingPerfiles","UsuariosRoutes","RoutingUsuariosRedirect","RoutingUsuarios","CupsPropiosRoutingModule","RoutingCupsPRedirect","RoutingCupsPropios","CentrosCostosRoutingModule","RoutingCentroCostosRedirect","RoutingCentrosCostos","SedesRoutingModule","RoutingSedesRedirect","RoutingSedes","CentroServiciosRoutingModule","RoutingCentroServicosRedirect","RoutingCentroServicios","CamasRoutingModule","RoutingCamasRedirect","RoutingCamas","HabitacionesRoutingModule","RoutingHabitacionesRedirect","RoutingHabitaciones","ConceptosFacturacionRoutingModule","RoutingConceptosFacturacionRedirect","RoutingConceptosFacturacion","EntidadesRoutingModule","RoutingEntidadesRedirect","RoutingEntidades","ArticulosRoutingModule","RoutingArticulosRedirect","RoutingArticulos","CoPagosRoutingModule","RoutingCoPagosRedirect","RoutingCoPagos","ResolucionesDianRoutingModule","RoutingResolucionesDian","InstitucionRoutesModule","RoutingInstitucionRedirect","RoutingInstitucion","ListadoConceptosFacturacionRoutingModule","RoutingListadoConceptosFacturacion","ListadoArticulosRoutingModule","RoutingListadoArticulos","ListadoCamasRoutingModule","RoutingListadoCamas","ListadoContratosRoutingModule","RoutingListadoContratos","ListadoEntidadesRoutingModule","RoutingListadoEntidades","ListadoHabitacionesRoutingModule","RoutingListadoHabitaciones","ListadoUsuariosRoutingModule","RoutingListadoUsuarios","ServiciosChatBotRoutingModule","RoutingServiciosChatBot","AdministracionRoutes","RouterModule","forChild","routes","ListadoRetencionesRoutingModule","RoutingListadoRetenciones","ListadoDocumentosDescuadradosRoutingModule","RoutingListadoDocumentosDescuadrados","VigenciasContabilidadRoutingModule","RoutingVigencias","CuentasBancariasRoutingModule","RoutingCuentasBancariasRedirect","RoutingCuentasBancarias","PlanCuentasRoutingModule","RoutingPlanCuentasRedirect","RoutingPlanCuentas","TercerosRoutingModule","RoutingTercerosRedirect","RoutingTerceros","ListadoTercerosRoutingModule","RoutingListadoTercerosRedirect","RoutingListadoTerceros","DocumentoSoporteRoutingModule","RoutingDocumentoSoporte","ContabilidadRoutes","RouterModule","forChild","init_core","init_esm","init_core","EvolucionConsultaExternaSettings","constructor","empleadoServices","inject","PartogramaService","FormComponents","UntypedFormGroup","idAdmision","TegettFormControl","formState","validatorOrOpts","Validators","required","label","typeField","TypeField","List","nameControl","admision","fechaEvolucion","Input","idDiagnoticoPrincipal","idsDiagnoticoRelacionados","analisis","hallazgosFisicosTensionArterial","pattern","hallazgosFisicosFrecuenciaCardiaca","max","min","hallazgosFisicosTemperatura","hallazgosFisicosFrecuenciaRespiratoria","hallazgosFisicosSaturacionOxigeno","observaciones","numero","idProcedimiento","LoadSimpleFilter","field","text","separator","value","isDefault","init_esm","EvolucionConsultaExternaService","SplusBaseService","constructor","nameEndPoint","ControllerApiList","HistoriasClinicas","EvolucionConsultaExterna","ObtenerCantidadEvolucionesAsync","idAdmision","idProcedimiento","__async","params","HttpParams","set","response","http","get","pipe","map","resolveRequestResultService","resolve","lastValueFrom","CargarEvolucion","factory","ɵfac","providedIn","init_core","ɵɵelementStart","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate","dataItem_r3","nombreCompleto","ɵɵelement","ɵɵlistener","ɵɵrestoreView","_r4","ctx_r1","ɵɵnextContext","popupBuscar_r5","ɵɵreference","ɵɵresetView","OpenDiagBuscar","ɵɵtemplate","LookupDiagnosticosComponent_Conditional_0_4_ng_template_0_Template","ɵɵproperty","_r1","open","$event","selectionChangeDiagnostico","Filtrar","LookupDiagnosticosComponent_Conditional_0_ng_template_1_Template","LookupDiagnosticosComponent_Conditional_0_ng_template_2_Template","LookupDiagnosticosComponent_Conditional_0_ng_template_3_Template","LookupDiagnosticosComponent_Conditional_0_4_Template","control","loading","splusGroup","data","id","valuePrimitive","processType","ProcessType","view","inPopUp","dataItem_r7","_r8","LookupDiagnosticosComponent_Conditional_1_4_ng_template_0_Template","_r6","LookupDiagnosticosComponent_Conditional_1_ng_template_1_Template","LookupDiagnosticosComponent_Conditional_1_ng_template_2_Template","LookupDiagnosticosComponent_Conditional_1_ng_template_3_Template","LookupDiagnosticosComponent_Conditional_1_4_Template","_r9","GetSelection","setting","filters","ɵɵelementContainer","LookupDiagnosticosComponent","constructor","FormControl","multiselect","selectionChange","EventEmitter","viewModeValue","dataSelecction","sPlusFormsDialogsService","inject","SPlusFormsDialogsService","service","DiagnosticoCIE10Service","DiagnosticoCIE10Settings","onChange","_","onTouched","push","propertyName","propertyValue","__async","length","ConsultarEnfermedadesAsync","writeValue","value","missingIds","Array","isArray","map","v","idEnfermedad","filter","find","item","promises","ObtenerDiagnosticoAsync","validResults","Promise","all","Boolean","nombreEnfermedad","join","idDiadnosticoSearch","dataApi","setValue","emitEvent","registerOnChange","fn","registerOnTouched","setDisabledState","isDisabled","disable","enable","seleccion","includes","s","emit","ngOnInit","IsViewMode","some","toLowerCase","error","console","template","dialogSettings","content","appendTo","containerRef","width","title","actions","text","actionsLayout","ShowCustom","closePop","setTimeout","ids","selectors","viewQuery","rf","ctx","ViewContainerRef","provide","NG_VALUE_ACCESSOR","useExisting","multi","decls","vars","consts","LookupDiagnosticosComponent_Conditional_0_Template","LookupDiagnosticosComponent_Conditional_1_Template","LookupDiagnosticosComponent_ng_template_2_Template","ɵɵtemplateRefExtractor","LookupDiagnosticosComponent_ng_container_4_Template","ɵɵconditional","CommonModule","NgIf","FormsModule","NgControlStatus","ReactiveFormsModule","FormControlDirective","SearchModule","SearchInListComponent","ComponentsCoreFormsModule","SPlusFormsInputDirective","DirectivesCoreFormsModule","DropDownsModule","ItemTemplateDirective","NoDataTemplateDirective","SuffixTemplateDirective","PrefixTemplateDirective","ComboBoxComponent","MultiSelectComponent","PopupModule","InputsModule","encapsulation","ɵɵelementStart","ɵɵelement","ɵɵtext","ɵɵelementEnd","ɵɵtemplate","EvolucionConsultaExternaComponent_div_4_div_4_Template","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","ctx_r1","dataAdmisionTocontrol","nombreCompleto","ɵɵproperty","isLoading","ɵɵlistener","ɵɵrestoreView","_r3","ɵɵnextContext","ɵɵresetView","goEdit","_r4","cancelEdit","_r5","goback","_r6","clearForm","$event","_r7","GetParametrizacionesPorAdmision","filterAdmision","f","admision","processType","isNaN","title_r8","substring","calendar_r9","value","EvolucionConsultaExternaComponent_splus_field_16_ng_template_4_Template","EvolucionConsultaExternaComponent_splus_field_16_ng_template_5_Template","ctrl_r10","maxDate","grupoExamen_r12","fechaEvolucion_r11","nameControl","EvolucionConsultaExternaComponent_Conditional_17_splus_field_1_ng_template_1_Template","ctrl_r13","EvolucionConsultaExternaComponent_Conditional_17_splus_field_1_Template","numero","select_r14","EvolucionConsultaExternaComponent_splus_field_21_ng_template_3_Template","ctrl_r15","grupoBasico_r16","select_r17","EvolucionConsultaExternaComponent_splus_field_23_ng_template_3_Template","ctrl_r18","ctrl_r19","grupoHallazgosFisicos_r20","ctrl_r21","ctrl_r22","ctrl_r23","ctrl_r24","_r25","CargarEvolucion","ctrl_r26","grupoMotivoConsulta_r27","ctrl_r28","EvolucionConsultaExternaComponent","SplusBaseForm","constructor","settings","inject","EvolucionConsultaExternaSettings","service","EvolucionConsultaExternaService","searchAdmissionsService","SearchAdmissionsV2Service","idAdmision","UntypedFormControl","Date","options","id","icon","text","link","action","OpenDocumentacion","moreOptions","showIn","ProcessType","view","newRecord","edit","dialogEliminar","unsubcribe$","Subject","propertyName","propertyValue","CaracteristicasModule","EvolucionConsultaExterna","ngOnDestroy","next","complete","FormRecord","controls","ngOnInit","__async","route","snapshot","params","title","data","titleService","setTitle","FormComponents","LoadRecord","onSubmit","event","preventDefault","submitted","valid","UpdateRecord","SaveRecord","MapData","Guardar","subscribe","res","router","navigate","queryParams","mode","relativeTo","error","err","pristine","Actualizar","queryParamsHandling","DeleteRecord","isDeleting","userSearchParams","idEvolucion","Eliminar","Buscar","cantidades","ObtenerCantidadEvolucionesAsync","idProcedimiento","get","setValue","cantidadActual","cantidadRestante","admisiones","FiltroAdmisionesAsync","isSuccessful","result","fechaEvolucion","intl","parseDate","toString","datosPartograma","patchValue","mapDiagnosticosToFormControl","HttpErrorResponse","status","console","warn","dialogSettings","description","actions","splusFormsDialogsService","Show","routingState","create","isHtml","themeColor","pipe","takeUntil","SPlusDialogCloseResult","log","cancelUpdate","reset","updateValueAndValidity","markAsPristine","realcioandos","evolucionConsultaExternaDiagnosticosSecundarios","map","x","idDiagnostico","idEvolucionConsultaExterna","idsDiagnosticos","diagnostico","analisis","selectors","features","ɵɵProvidersFeature","ɵɵInheritDefinitionFeature","decls","vars","consts","template","rf","ctx","i0","_r1","EvolucionConsultaExternaComponent_div_4_Template","EvolucionConsultaExternaComponent_button_7_Template","EvolucionConsultaExternaComponent_button_8_Template","EvolucionConsultaExternaComponent_button_9_Template","EvolucionConsultaExternaComponent_button_10_Template","EvolucionConsultaExternaComponent_button_11_Template","EvolucionConsultaExternaComponent_splus_forms_group_13_Template","EvolucionConsultaExternaComponent_splus_field_16_Template","EvolucionConsultaExternaComponent_Conditional_17_Template","EvolucionConsultaExternaComponent_splus_field_21_Template","EvolucionConsultaExternaComponent_splus_field_23_Template","EvolucionConsultaExternaComponent_splus_field_26_Template","EvolucionConsultaExternaComponent_splus_field_27_Template","EvolucionConsultaExternaComponent_splus_field_28_Template","EvolucionConsultaExternaComponent_splus_field_29_Template","EvolucionConsultaExternaComponent_splus_field_30_Template","EvolucionConsultaExternaComponent_button_33_Template","EvolucionConsultaExternaComponent_splus_field_34_Template","EvolucionConsultaExternaComponent_splus_field_35_Template","messageProcess","showMessageProcess","ɵɵpureFunction1","_c0","ɵɵconditional","idDiagnoticoPrincipal","idsDiagnoticoRelacionados","hallazgosFisicosTensionArterial","hallazgosFisicosFrecuenciaCardiaca","hallazgosFisicosTemperatura","hallazgosFisicosFrecuenciaRespiratoria","hallazgosFisicosSaturacionOxigeno","observaciones","CommonModule","NgClass","NgIf","UpperCasePipe","ReactiveFormsModule","ɵNgNoValidate","NgControlStatus","NgControlStatusGroup","FormControlDirective","FormGroupDirective","FormsModule","ComponentsCoreFormsModule","SplusFormComponent","SplusFormFieldsComponent","SplusFormGroupComponent","SPlusMainTitleComponent","SplusFormHeaderComponent","SplusFieldComponent","SplusFormToolbarComponent","SplusFormToolbarButtonsComponent","SPlusFormsInputDirective","SPlusFieldViewModeTemplate","DirectivesCoreFormsModule","VarDirective","SearchModule","MainPipe","SpDatePipe","SearchAdmissionsV2Module","SearchAdmissionsV2Component","DropDownsModule","DateInputsModule","NavigationItemTemplateDirective","DatePickerComponent","InputsModule","TextBoxComponent","NumericTextBoxComponent","TextAreaComponent","ButtonsModule","ButtonComponent","IndicatorsModule","SkeletonComponent","TooltipsModule","TooltipDirective","LookupDiagnosticosComponent","encapsulation","init_core","EvolucionConsultaExternaSearch","constructor","selectionPopup","router","inject","Router","route","ActivatedRoute","settings","EvolucionConsultaExternaSettings","Load","__async","loadFormSearch","empleadoSearch","FormSearch","formComponents","FormComponents","configSearch","title","titleIcon","apiSearch","ControllerApiList","HistoriasClinicas","EvolucionConsultaExterna","apiSearchResult","apiSearchVersion","filtersRecently","LoadSimpleFilter","buttonNewRecordText","MethodRequest","EndPointMethods","GET","buttonNewRecordClick","newRecord","objectKey","sortV3","visible","fields","renderLabel","autoSize","pipe","icon","click","row","goView","isLink","filters","type","SearchTypeFilter","Text","DateFilter","data","ConfigDate","navigate","relativeTo","filter","label","name","goEdit","id","queryParams","mode","queryParamsHandling","field","text","separator","value","isDefault","selectors","standalone","decls","vars","template","rf","ctx","encapsulation","RoutesEvolucionConsultaExterna","path","children","component","EvolucionConsultaExternaComponent","SearchInListComponent","providers","EvolucionConsultaExternaSettings","EvolucionConsultaExternaSearch","canActivate","AuthGuard","data","title","icon","setting","search","routes","ListadoRemisionesRoutingModule","RoutingRemisionesRedirect","RoutingRemisiones","ListadoCronicosRoutingModule","RoutingCronicosRedirect","RoutingCronicos","ListadoPrenatalRoutingModule","RoutingPrenatalRedirect","RoutingPrenatal","PaquetesMedicamentosRoutingModule","RoutingPaquetesMedicamentosRedirect","RoutingPaquetesMedicamentos","PaquetesProcedimientosRoutingModule","RoutingPaquetesProcedimientosRedirect","RoutingPaquetesProcedimientos","PartogramaRoutingModule","RoutingPartograma","RoutesEvolucionConsultaExterna","HistoriaClinicasRoutes","RouterModule","forChild","routes","path","component","LogComponent","LogRoutingModule","RoutingLogs","loadComponent","then","m","canActivate","AuthGuard","data","title","icon","RouterModule","forChild","routes","IncidenciasRoutingModule","RoutingIncidencias","LogRoutingModule","RoutingLogs","AuditoriasRoutes","RouterModule","forChild","routes","BodegasRoutes","RoutingBodegasRedirect","RoutingBodegas","GruposInventarioRoutingModule","RoutingGruposInventarioRedirect","RoutingGruposInventario","RetencionesRoutingModule","RoutingRetencionesContabilidad","RoutingRetenciones","TiposNotasRoutingModule","RoutingTiposNotasRedirect","RoutingTiposNotas","ArticulosRoutingModule","RoutingArticulosInventarioRedirect","RoutingArticulosInventario","EntregaHospitalizacionRoutingModule","RoutingEntregaHospitalizacion","InventarioRoutes","RouterModule","forChild","routes","ConsultoriosRoutingModule","RoutingConsultoriosRedirect","RoutingConsultorios","CitasCanceladasInasistenteRoutingModule","RoutingCitasCanceladasInasistente","CitasRoutes","RouterModule","forChild","PagosPendientesComponent","constructor","ngOnInit","selectors","standalone","decls","vars","consts","template","rf","ctx","ɵɵelementStart","ɵɵelement","ɵɵelementEnd","ɵɵtext","ɵɵelementStart","ɵɵelement","ɵɵtext","ɵɵelementEnd","ɵɵadvance","ɵɵtextInterpolate1","ɵɵpipeBind1","item_r1","NoPermisosComponent","constructor","authenticationService","activateRoute","url","usuario","name","ngOnInit","queryParams","subscribe","params","getName","getUsuario","perfiles","getPerfiles","logout","ɵɵdirectiveInject","AuthenticationService","ActivatedRoute","selectors","standalone","decls","vars","consts","template","rf","ctx","ɵɵtemplate","NoPermisosComponent_div_17_Template","ɵɵlistener","ɵɵtextInterpolate2","ɵɵtextInterpolate","ɵɵproperty","routes","EmpleadosRoutingModule","RoutingEmpleados","ContratosRoutingModule","RoutingContratos","CargosRoutingModule","RoutingCargos","ConfiguracionConceptosRoutingModule","RoutingConfiguracionConceptos","DepartamentosRoutingModule","RoutingDepartamentos","SubDepartamentosRoutingModule","LiquidacionRoutingModule","RoutingLiquidacion","NominaRoutes","RouterModule","forChild","routes","SolicitudMedicamentosRoutingModule","RoutingSolicitudMedicamentos","AsistencialRoutes","RouterModule","forChild","ControlType","IconType","BancosPage","constructor","formRecord","UntypedFormGroup","nombreBanco","TegettFormControl","formState","validatorOrOpts","Validators","required","label","typeField","TypeField","Input","nameControl","direccionBanco","telefonoBanco","form","title","recordName","fieldViewModeName","endpointbase","ControllerApiList","Contabilidad","Bancos","header","options","id","icon","IconType","search","text","link","moreOptions","showIn","ProcessType","view","action","dynamicComp","newRecord","edit","DialogEliminar","groups","fields","control","controlType","ControlType","numerictextbox","NewRecord","Error","EditRecord","DeleteRecord","SaveRecord","CancelRecord","GetRecord","GetRecords","selectors","standalone","decls","vars","template","rf","ctx","encapsulation","BancoSettings","constructor","router","route","tieneSede","Load","__async","loadFormSearch","UsuarioSearch","FormSearch","formComponents","FormComponents","configSearch","title","titleIcon","apiSearch","ControllerApiList","Contabilidad","Bancos","apiSearchResult","filtersRecently","LoadSimpleFilter","buttonNewRecordText","buttonNewRecordClick","newRecord","settings","objectKey","sortV3","visible","fields","renderLabel","autoSize","pipe","icon","click","row","goView","isLink","filters","type","SearchTypeFilter","Text","navigate","relativeTo","id","UntypedFormGroup","nombreBanco","TegettFormControl","label","typeField","TypeField","Input","required","nameControl","direccionBanco","telefonoBanco","field","text","separator","value","isDefault","ɵɵdirectiveInject","Router","ActivatedRoute","selectors","standalone","decls","vars","template","rf","ctx","encapsulation","routes","path","redirectTo","loadChildren","then","m","DynamicFormModule","canActivate","AuthGuard","data","title","icon","settingPage","BancosPage","setting","BancoSettings","BancosRoutes","RouterModule","forChild","EquivalenciasPage","constructor","formRecord","UntypedFormGroup","nombreEquivalenciaInventario","TegettFormControl","formState","validatorOrOpts","Validators","required","asyncValidator","undefined","label","typeField","TypeField","Input","nameControl","unidadesEquivalenciaInventario","descripcionEquivalenciaInventario","funtionData","dataTextField","dataValueField","importNoRequired","parentDependency","form","title","recordName","fieldViewModeName","endpointbase","ControllerApiList","Inventario","Equivalencias","header","options","id","icon","IconType","search","text","link","moreOptions","showIn","ProcessType","view","action","dynamicComp","newRecord","edit","DialogEliminar","groups","fields","control","controlType","ControlType","numerictextbox","textarea","NewRecord","Error","EditRecord","DeleteRecord","SaveRecord","CancelRecord","GetRecord","GetRecords","selectors","standalone","decls","vars","template","rf","ctx","encapsulation","EquivalenciasSettings","constructor","router","route","tieneSede","Load","__async","loadFormSearch","UsuarioSearch","FormSearch","formComponents","FormComponents","configSearch","title","titleIcon","apiSearch","ControllerApiList","Inventario","Equivalencias","apiSearchResult","filtersRecently","LoadSimpleFilter","buttonNewRecordText","buttonNewRecordClick","newRecord","settings","objectKey","sortV3","visible","fields","renderLabel","value","render","click","row","goView","noMap","autoSize","pipe","icon","isLink","filters","type","SearchTypeFilter","Text","navigate","relativeTo","id","UntypedFormGroup","nombreEquivalenciaInventario","TegettFormControl","formState","validatorOrOpts","Validators","required","asyncValidator","undefined","label","typeField","TypeField","Input","nameControl","unidadesEquivalenciaInventario","descripcionEquivalenciaInventario","funtionData","dataTextField","dataValueField","importNoRequired","parentDependency","field","text","separator","isDefault","ɵɵdirectiveInject","Router","ActivatedRoute","selectors","standalone","decls","vars","template","rf","ctx","encapsulation","routes","path","redirectTo","loadChildren","then","m","DynamicFormModule","canActivate","AuthGuard","data","title","icon","settingPage","EquivalenciasPage","setting","EquivalenciasSettings","EquivalenciasRoutes","RouterModule","forChild","DynamicRoutes","BancosRoutes","EquivalenciasRoutes","routes","path","component","ChatComponent","ChatSoporteRoutingModule","RoutingChat","loadComponent","then","m","canActivate","AuthGuard","data","title","icon","RouterModule","forChild","routes","ChatSoporteRoutingModule","RoutingChat","ChatSoporteRoutes","RouterModule","forChild","title","routes","path","loadChildren","then","m","HomeModule","canActivate","AuthGuard","data","component","LoginComponent","PagosPendientesComponent","NoPermisosComponent","HomeComponent","SeleccionarInstitucionModule","RecoveryPasswordComponent","ImportRecordsComponent","SearchInListComponent","setting","ImportSettings","ImportSpreadsheetRecordsComponent","redirectTo","pathMatch","RedirectComponentModule","PageNotFoundComponent","AppRoutingModule","DynamicRoutes","AdministracionRoutes","FacturacionRoutes","CitasRoutes","HistoriaClinicasRoutes","ImgDiagnosticasRoutes","LaboratorioRoutes","PresupuestoRoutes","InventarioRoutes","TriageRoutes","ContabilidadRoutes","AuditoriasRoutes","NominaRoutes","AsistencialRoutes","ChatSoporteRoutes","DeveloperRoutes","RouterModule","forRoot","enableTracing","preloadingStrategy","PreloadAllModules","init_core","init_operators","init_esm","LRecursos","constructor","panelOpenState","LRecursosExt","LRecursos","constructor","caracteristicas","LCaracteristicas","constructor","caracteristicas","ɵɵelementStart","ɵɵelement","ɵɵtext","ɵɵelementEnd","ɵɵlistener","ɵɵrestoreView","_r2","ctx_r2","ɵɵnextContext","ɵɵresetView","drawer","toggle","ɵɵtemplate","HeaderComponent_nav_0_div_15_Template","HeaderComponent_nav_0_div_16_Template","onChangeSwitch","HeaderComponent_nav_0_i_21_Template","HeaderComponent_nav_0_i_22_Template","$event","anchorHelp_r4","ɵɵreference","popoverHelpIsShow","onEvent","opened","anchorUser_r5","popoverUserIsShow","ɵɵproperty","ɵɵpureFunction1","_c1","paymentId","ɵɵadvance","ɵɵtextInterpolate","nombreInstitucion","sandbox","themeSwitcher","popoverHelp_r7","popoverUser_r6","iniciales","ɵɵpipeBind1","name","perfiles","ɵɵpureFunction2","_c2","ɵɵtextInterpolate1","item_r9","_r8","logout","HeaderComponent_ng_template_3_div_20_Template","_r10","OpenDocumentacion","ɵɵclassMap","dataItem_r11","icon","text","HeaderComponent_ng_template_6_button_5_Template","toolbarAyudar","_r13","dataItem_r14","_r12","close","HeaderComponent_kendo_dialog_7_div_14_Template","HeaderComponent_kendo_dialog_7_i_18_Template","HeaderComponent_kendo_dialog_7_i_19_Template","HeaderComponent","constructor","persistenceService","settingsService","authenticationService","themeService","isLogin","usuario","isDarkModeMode","baseUrl","getBaseUrlApi","IsLogin","getName","getIniciales","getUsuario","getPerfiles","userId","getUserId","clarity","ngOnInit","includes","getData","LocalStorageList","nombre_institucion","ngAfterViewInit","apply","status","setLightMode","setDarkMode","OpenDocumentation","event","anchorUser","hide","stopPropagation","ɵɵdirectiveInject","PersistenceService","SettingsService","AuthenticationService","ThemeService","selectors","inputs","standalone","decls","vars","consts","template","rf","ctx","HeaderComponent_nav_0_Template","i0","_r1","HeaderComponent_ng_template_3_Template","HeaderComponent_ng_template_6_Template","HeaderComponent_kendo_dialog_7_Template","ɵɵpureFunction0","_c0","ɵɵelementStart","ɵɵlistener","ɵɵrestoreView","_r6","internalmyPopoverMenu_r7","ɵɵreference","ctx_r7","ɵɵnextContext","dataItem_r5","$implicit","index_r9","index","ctx_r2","ɵɵresetView","showClick","ɵɵelement","ɵɵtext","ɵɵelementEnd","ɵɵproperty","ɵɵpureFunction1","_c8","expanded","myPopoverMenu_r10","ɵɵadvance","ɵɵclassMap","modulo","claseGraficaCssRecursoMenu","ɵɵtextInterpolate","nombre","_c9","rla_r11","isActive","ruta","_c10","controladorCaracteristica","funcionCaracteristica","claseGraficaCssCaracteristica","_r12","goToFavorito","$event","viewFavorito","rla_r13","ɵɵtextInterpolate1","myPopover_r14","_r15","_r4","overMenu","ɵɵtemplate","AppComponent_ng_template_5_ng_template_2_div_1_Template","AppComponent_ng_template_5_ng_template_2_a_2_Template","AppComponent_ng_template_5_ng_template_2_div_3_Template","AppComponent_ng_template_5_ng_template_2_div_4_Template","idRecurso","favorito","caracteristicas","dataItem_r16","AppComponent_ng_template_5_5_ng_template_0_Template","_r18","OcultarMenu","rla_r19","dataItem_r20","_r21","ctx_r21","index_r23","anchor_r24","internalmyPopoverMenu","AppComponent_ng_template_5_6_ng_template_0_ng_template_2_a_0_Template","AppComponent_ng_template_5_6_ng_template_0_ng_template_2_div_1_Template","ɵɵtwoWayListener","_r17","i0","ɵɵtwoWayBindingSet","expandedKeys","AppComponent_ng_template_5_6_ng_template_0_ng_template_2_Template","databody_r25","ɵɵtwoWayProperty","filterExpandSettings","AppComponent_ng_template_5_6_ng_template_0_Template","_r2","AppComponent_ng_template_5_ng_template_2_Template","AppComponent_ng_template_5_5_Template","AppComponent_ng_template_5_6_Template","_c7","menu","showMenu","getContextDataMenu","messageProcess","type","title","message","ɵɵpipeBind1","data_r26","padre","data_r27","link","ɵɵsanitizeUrl","data_r29","_r28","data","rename","removeFavorite","description","ɵɵsanitizeHtml","_r30","close","AppComponent_kendo_dialog_16_div_2_Template","AppComponent_kendo_dialog_16_div_3_Template","isHtml","AppComponent","constructor","cdRef","isLogin","paymentId","opened","permissionError","SPlusProcessMessageComponent","ShowUpdateMjs","currentModule","enteredButton","isMatMenuOpen","isMatMenu2Open","favorites","notificationService","inject","SPlusNotificationService","sharedService","SharedService","logger","SplusLogger","authenticationService","AuthenticationService","settingsService","SettingsService","router","Router","persistenceService","PersistenceService","renderer","Renderer2","maxAutoExpandResults","isItemSelected","_","indexOf","anchor","menuOver","getContextData","FavoritoSelect","OfflineNotify","openedDiag","baseUrl","getBaseUrlApi","IsLogin","getPaymentId","serverStatus","checkSession","environment","production","events","pipe","filter","event","NavigationEnd","subscribe","gtag","urlAfterRedirects","effect","_subscribeNotifications","ngAfterViewInit","doc","document","getElementsByClassName","listen","onWindowScroll","me","setTimeout","hasKey","LocalStorageList","drawerExpanded","status","getData","window","innerWidth","scrollTop","scrollY","body","url","includes","windowScrolled","DrawerOnCollapse","setData","ngOnInit","sub","e","getMenu","split","NavigationStart","scrollToTop","smoothscroll","currentScroll","requestAnimationFrame","error","dataItem","popMenu","expandedSplit","length","push","hide","validateCurrentModule","itemMenu","toLowerCase","__async","dataRecursos","ListadoRecursosPorInstitucion","ListadoCaracteristicasPorUsuario","aplicaSede","s","dataRecursosClear","forEach","element","some","elementRecurso","fkRecurso","asignarFavoritos","concat","SeleccionarMenuActual","unsubscribe","irMenu","indexModulo","indexLink","moduleText","findIndex","replaceAll","toLocaleLowerCase","toString","caracteristicaText","indexLinkC","indexC","logout","localStorage","getItem","getUserId","JSON","parse","LRecursosExt","descripcion","caract","LCaracteristicas","icono","idCaracteristica","item","navigate","evitem","preventDefault","ren","prompt","setItem","stringify","splice","UpdateVersion","currentVersion","version","ValidateVersion","currenVersion","newVersion","v1","v2","location","reload","response","ti","timer","myTimerSub","t","getToken","show","presentToast","alwaysVisible","notificationSettings","content","hideAfter","Show","navigator","onLine","notie","messageNotification","ShowAlert","args","ɵɵdirectiveInject","ChangeDetectorRef","selectors","viewQuery","rf","ctx","ɵɵresolveWindow","_r1","AppComponent_ng_template_5_Template","AppComponent_splus_forms_process_message_9_Template","AppComponent_ng_template_13_Template","AppComponent_ng_template_14_Template","AppComponent_ng_template_15_Template","AppComponent_kendo_dialog_16_Template","drawerm_r31","ɵɵpureFunction3","_c4","at","_c5","ɵɵpureFunction2","_c6","showMessageProcess","init_core","init_esm","init_operators","ERR_SW_NOT_SUPPORTED","errorObservable","message","defer","throwError","NgswCommChannel","serviceWorker","controllerChanges","fromEvent","map","currentController","of","controllerWithChanges","concat","filter","c","switchMap","events","event","publish","action","payload","take","tap","sw","__spreadValues","type","operationNonce","waitForOperationCompleted","postMessage","result","filterFn","nonce","SwPush","Subject","NEVER","registration","workerDrivenSubscriptions","pm","merge","options","pushOptions","key","applicationServerKey","i","sub","doUnsubscribe","success","input","__ngFactoryType__","ɵɵinject","ɵɵdefineInjectable","SwUpdate","SCRIPT","InjectionToken","ngswAppInitializer","injector","script","platformId","isPlatformBrowser","ngZone","NgZone","appRef","ApplicationRef","onControllerChange","readyToRegister$","strategy","args","delayWithTimeout","whenStable$","from","err","timeout","delay","ngswCommChannelFactory","opts","SwRegistrationOptions","provideServiceWorker","makeEnvironmentProviders","PLATFORM_ID","APP_INITIALIZER","Injector","ServiceWorkerModule","ɵɵdefineNgModule","ɵɵdefineInjector","init_core","init_core","invalidTimingValue","exp","RuntimeError","negativeStepValue","negativeDelayValue","invalidStyleParams","varName","invalidParamValue","invalidNodeType","nodeType","invalidCssUnitValue","userProvidedProperty","value","invalidTrigger","invalidDefinition","invalidState","metadataName","missingSubs","invalidStyleValue","invalidParallelAnimation","prop","firstStart","firstEnd","secondStart","secondEnd","RuntimeError","invalidKeyframes","invalidOffset","keyframeOffsetsOutOfOrder","keyframesMissingOffsets","invalidStagger","invalidQuery","selector","invalidExpression","expr","invalidTransitionAlias","alias","triggerBuildFailed","name","errors","RuntimeError","animationFailed","registerFailed","missingOrDestroyedAnimation","createAnimationFailed","missingPlayer","id","missingTrigger","phase","missingEvent","unsupportedTriggerEvent","unregisteredTrigger","triggerTransitionsFailed","transitionFailed","name","errors","RuntimeError","optimizeGroupPlayer","players","NoopAnimationPlayer","AnimationGroupPlayer","normalizeKeyframes$1","normalizer","keyframes","preStyles","postStyles","errors","normalizedKeyframes","previousOffset","previousKeyframe","kf","offset","isSameOffset","normalizedKeyframe","val","prop","normalizedProp","normalizedValue","ɵPRE_STYLE","AUTO_STYLE","animationFailed","listenOnPlayer","player","eventName","event","callback","copyAnimationEvent","e","phaseName","totalTime","disabled","makeAnimationEvent","data","element","triggerName","fromState","toState","getOrSetDefaultValue","map","key","defaultValue","value","parseTimelineCommand","command","separatorPos","id","action","documentElement","getParentElement","parent","containsVendorPrefix","_CACHED_BODY","_IS_WEBKIT","validateStyleProperty","getBodyNode","result","getBodyNode","containsElement","elm1","elm2","getParentElement","invokeQuery","element","selector","multi","elem","NoopAnimationDriver","prop","validateStyleProperty","elm1","elm2","containsElement","element","getParentElement","selector","multi","invokeQuery","defaultValue","keyframes","duration","delay","easing","previousPlayers","scrubberAccessRequested","NoopAnimationPlayer","__ngFactoryType__","ɵɵdefineInjectable","AnimationDriver","AnimationStyleNormalizer","ONE_SECOND","SUBSTITUTION_EXPR_START","SUBSTITUTION_EXPR_END","ENTER_CLASSNAME","LEAVE_CLASSNAME","NG_TRIGGER_CLASSNAME","NG_TRIGGER_SELECTOR","NG_ANIMATING_CLASSNAME","NG_ANIMATING_SELECTOR","resolveTimingValue","value","matches","_convertTimeValueToMS","unit","resolveTiming","timings","errors","allowNegativeValues","parseTimeExpression","exp","regex","duration","delay","easing","invalidTimingValue","delayMatch","easingVal","containsErrors","startIndex","negativeStepValue","negativeDelayValue","normalizeKeyframes","keyframes","kf","setStyles","element","styles","formerStyles","val","prop","camelProp","dashCaseToCamelCase","eraseStyles","_","normalizeAnimationEntry","steps","sequence","validateStyleParams","value","options","errors","params","matches","extractStyleParams","varName","invalidStyleParams","PARAM_REGEX","SUBSTITUTION_EXPR_START","SUBSTITUTION_EXPR_END","match","interpolateParams","original","str","localVal","invalidParamValue","DASH_CASE_REGEXP","input","m","allowPreviousPlayerStylesMerge","duration","delay","balancePreviousStylesIntoKeyframes","element","keyframes","previousStyles","startingKeyframe","missingStyleProps","val","prop","i","kf","computeStyle","visitDslNode","visitor","node","context","AnimationMetadataType","invalidNodeType","DIMENSIONAL_PROP_SET","WebAnimationsStyleNormalizer","AnimationStyleNormalizer","propertyName","errors","dashCaseToCamelCase","userProvidedProperty","normalizedProperty","value","unit","strVal","valAndSuffixMatch","invalidCssUnitValue","ANY_STATE","parseTransitionExpr","transitionValue","errors","expressions","str","parseInnerTransitionStr","eventStr","result","parseAnimationAlias","match","invalidExpression","fromState","separator","toState","makeLambdaFromStates","isFullAnyStateExpr","alias","invalidTransitionAlias","TRUE_BOOLEAN_VALUES","FALSE_BOOLEAN_VALUES","lhs","rhs","LHS_MATCH_BOOLEAN","RHS_MATCH_BOOLEAN","lhsMatch","rhsMatch","SELF_TOKEN","SELF_TOKEN_REGEX","buildAnimationAst","driver","metadata","warnings","AnimationAstBuilderVisitor","ROOT_SELECTOR","_driver","context","AnimationAstBuilderContext","visitDslNode","normalizeAnimationEntry","queryCount","depCount","states","transitions","invalidTrigger","def","AnimationMetadataType","stateDef","name","n","transition","invalidDefinition","styleAst","astParams","missingSubs","params","style","value","extractStyleParams","sub","invalidState","animation","matchers","normalizeAnimationOptions","s","currentTime","furthestTime","steps","step","innerAst","timingAst","constructTimingAst","styleMetadata","isEmpty","newStyleData","_styleAst","ast","styles","metadataStyles","styleTuple","AUTO_STYLE","invalidStyleValue","containsDynamicStyles","collectedEasing","styleData","SUBSTITUTION_EXPR_START","timings","endTime","startTime","tuple","prop","collectedStyles","collectedEntry","updateCollectedStyle","invalidParallelAnimation","validateStyleParams","invalidKeyframes","MAX_KEYFRAME_OFFSET","totalKeyframesWithOffsets","offsets","offsetsOutOfOrder","keyframesOutOfRange","previousOffset","keyframes","offsetVal","consumeOffset","offset","invalidOffset","keyframeOffsetsOutOfOrder","length","generatedOffset","keyframesMissingOffsets","limit","currentAnimateTimings","animateDuration","kf","i","durationUpToThisFrame","parentSelector","options","selector","includeSelf","normalizeSelector","getOrSetDefaultValue","invalidStagger","resolveTiming","hasAmpersand","token","NG_TRIGGER_SELECTOR","NG_ANIMATING_SELECTOR","normalizeParams","obj","__spreadValues","duration","makeTimingAst","strValue","v","delay","easing","createTimelineInstruction","element","preStyleProps","postStyleProps","subTimeline","ElementInstructionMap","instructions","existingInstructions","ONE_FRAME_IN_MILLISECONDS","ENTER_TOKEN","ENTER_TOKEN_REGEX","LEAVE_TOKEN","LEAVE_TOKEN_REGEX","buildAnimationTimelines","rootElement","enterClassName","leaveClassName","startingStyles","finalStyles","subInstructions","AnimationTimelineBuilderVisitor","AnimationTimelineContext","resolveTimingValue","timelines","timeline","lastRootTimeline","elementInstructions","innerContext","animationsRefsOptions","animationRefOptions","animationDelay","animationDelayValue","interpolateParams","instruction","instructionTimings","subContextCount","ctx","DEFAULT_NOOP_PREVIOUS_NODE","innerTimelines","timingValue","innerTimeline","elms","sameElementTimeline","parentContext","tl","maxTime","startingTime","_AnimationTimelineContext","_enterClassName","_leaveClassName","initialTimeline","TimelineBuilder","skipIfExists","newOptions","optionsToUpdate","newParams","paramsToUpdate","oldParams","newTime","target","updatedTimings","builder","SubTimelineBuilder","time","originalSelector","optional","results","multi","elements","invalidQuery","_TimelineBuilder","_elementTimelineStylesLookup","hasPreStyleStep","input","flattenStyles","val","properties","details1","details0","finalKeyframes","keyframe","finalKeyframe","ɵPRE_STYLE","preProps","postProps","kf0","kf1","_stretchStartingKeyframe","newKeyframes","totalTime","startingGap","newFirstKeyframe","oldFirstKeyframe","roundOffset","oldOffset","timeAtKeyframe","decimalPoints","mult","allStyles","allProperties","createTransitionInstruction","triggerName","isRemovalTransition","fromStyles","toStyles","queriedElements","EMPTY_OBJECT","AnimationTransitionFactory","_triggerName","_stateStyles","currentState","nextState","oneOrMoreTransitionsMatch","stateName","styler","currentOptions","nextOptions","skipAstBuild","transitionAnimationParams","currentAnimationParams","currentStateStyles","nextAnimationParams","nextStateStyles","preStyleMap","postStyleMap","isRemoval","animationOptions","applyParamDefaults","elm","oneOrMoreTransitionsMatch","matchFns","currentState","nextState","element","params","fn","applyParamDefaults","userParams","defaults","result","__spreadValues","key","value","AnimationStateStyles","styles","defaultParams","normalizer","errors","finalStyles","combinedParams","val","prop","interpolateParams","normalizedProp","buildTrigger","name","ast","AnimationTrigger","_normalizer","balanceProperties","AnimationTransitionFactory","createFallbackTransition","f","triggerName","states","matchers","fromState","toState","animation","AnimationMetadataType","transition","stateMap","key1","key2","EMPTY_INSTRUCTION_MAP","ElementInstructionMap","TimelineAnimationEngine","bodyNode","_driver","id","metadata","warnings","buildAnimationAst","registerFailed","i","preStyles","postStyles","keyframes","normalizeKeyframes$1","options","instructions","autoStylesMap","buildAnimationTimelines","ENTER_CLASSNAME","LEAVE_CLASSNAME","inst","getOrSetDefaultValue","missingOrDestroyedAnimation","createAnimationFailed","_","AUTO_STYLE","players","player","optimizeGroupPlayer","index","missingPlayer","eventName","callback","baseEvent","makeAnimationEvent","listenOnPlayer","command","args","QUEUED_CLASSNAME","QUEUED_SELECTOR","DISABLED_CLASSNAME","DISABLED_SELECTOR","STAR_CLASSNAME","STAR_SELECTOR","EMPTY_PLAYER_ARRAY","NULL_REMOVAL_STATE","NULL_REMOVED_QUERIED_STATE","REMOVAL_FLAG","StateValue","input","namespaceId","isObj","normalizeTriggerValue","_a","__objRest","newParams","oldParams","VOID_VALUE","DEFAULT_STATE_VALUE","AnimationTransitionNamespace","hostElement","_engine","addClass","phase","missingTrigger","missingEvent","isTriggerEventValid","unsupportedTriggerEvent","listeners","data","triggersWithStates","NG_TRIGGER_CLASSNAME","trigger","unregisteredTrigger","defaultToFallback","TransitionAnimationPlayer","objEquals","fromStyles","toStyles","eraseStyles","setStyles","playersOnElement","isFallbackTransition","removeClass","entry","elementPlayers","rootElement","context","elements","NG_TRIGGER_SELECTOR","elm","namespaces","ns","destroyAfterComplete","triggerStates","previousTriggersValues","state","elementStates","visitedTriggers","listener","engine","containsPotentialParentTransition","currentPlayers","parent","removalFlag","microtaskId","a","b","d0","d1","p","TransitionAnimationEngine","driver","namespaceList","namespacesByHostElement","found","ancestor","ancestorNs","stateValue","isElementNode","insertBefore","details","hostNS","hasAnimation","subTimelines","enterClassName","leaveClassName","skipBuildAst","containerElement","NG_ANIMATING_SELECTOR","resolve","node","cleanupFns","quietFns","triggerTransitionsFailed","skippedPlayers","skippedPlayersMap","queuedInstructions","queriedElements","allPreStyleElements","allPostStyleElements","disabledElementsSet","nodesThatAreDisabled","allTriggerElements","enterNodeMap","buildRootMap","enterNodeMapIds","nodes","root","className","allLeaveNodes","mergedLeaveNodes","leaveNodesWithoutAnimations","leaveNodeMapIds","leaveNodeMap","allPlayers","erroneousTransitions","previousValue","nodeIsOrphaned","instruction","timelines","tl","tuple","stringMap","setVal","transitionFailed","allPreviousPlayersMap","animationElementMap","prevPlayer","replaceNodes","replacePostStylesAsPre","postStylesMap","cloakAndComputeStyles","preStylesMap","ɵPRE_STYLE","post","pre","rootPlayers","subPlayers","NO_PARENT_ANIMATION_ELEMENT_DETECTED","parentWithAnimation","parentsToAdd","detectedParent","innerPlayer","parentPlayers","playersForElement","queriedPlayerResults","queriedInnerElements","j","queriedPlayers","activePlayers","removeNodesAfterAnimationDone","isQueriedElement","toStateValue","queriedElementPlayers","isRemovalAnimation","targetNameSpaceId","targetTriggerName","timelineInstruction","realPlayer","allQueriedPlayers","allConsumedElements","allSubElements","allNewPlayers","NoopAnimationPlayer","previousPlayers","flattenGroupPlayers","pp","wrappedPlayer","deleteOrUnsetInMap","NG_ANIMATING_CLASSNAME","callbacks","totalTime","phaseName","map","currentValues","cloakElement","oldValue","valuesMap","elementPropsMap","defaultStyle","cloakVals","failedElements","props","roots","rootMap","NULL_NODE","nodeSet","localRootMap","getRoot","finalPlayers","_flattenGroupPlayersRecur","AnimationGroupPlayer","k1","k2","postEntry","preEntry","AnimationEngine","doc","componentId","cacheKey","triggerBuildFailed","disable","property","action","parseTimelineCommand","eventPhase","cb","packageNonAnimatableStyles","startStyles","endStyles","filterNonAnimatableStyles","SpecialCasedStyles","_element","_startStyles","_endStyles","initialStyles","isNonAnimatableStyle","WebAnimationsPlayer","_specialStyles","onFinish","kfs","frame","computeStyle","methods","WebAnimationsDriver","elm1","elm2","containsElement","getParentElement","selector","multi","invokeQuery","defaultValue","duration","delay","easing","fill","playerOptions","previousStyles","previousWebAnimationPlayers","allowPreviousPlayerStylesMerge","_keyframes","normalizeKeyframes","balancePreviousStylesIntoKeyframes","specialStyles","ANIMATION_PREFIX","DISABLE_ANIMATIONS_FLAG","BaseAnimationRenderer","namespaceId","delegate","engine","_onDestroy","node","name","namespace","value","parent","newChild","refChild","isMove","oldChild","isHostElement","selectorOrNode","preserveContent","el","style","flags","target","eventName","callback","options","element","AnimationRenderer","factory","onDestroy","resolveElementFromTarget","phase","parseTriggerCallbackName","event","countId","triggerName","dotIndex","trigger","AnimationRendererFactory","_zone","hostElement","type","EMPTY_NAMESPACE_ID","cache","renderer","onRendererDestroy","componentId","registerTrigger","count","fn","data","animationCallbacksBuffer","tuple","InjectableAnimationEngine","AnimationEngine","doc","driver","normalizer","__ngFactoryType__","ɵɵinject","DOCUMENT","AnimationDriver","AnimationStyleNormalizer","ɵɵdefineInjectable","instantiateDefaultStyleNormalizer","WebAnimationsStyleNormalizer","instantiateRendererFactory","renderer","engine","zone","AnimationRendererFactory","SHARED_ANIMATION_PROVIDERS","RendererFactory2","DomRendererFactory2","NgZone","BROWSER_ANIMATIONS_PROVIDERS","WebAnimationsDriver","ANIMATION_MODULE_TYPE","BROWSER_NOOP_ANIMATIONS_PROVIDERS","NoopAnimationDriver","BrowserAnimationsModule","config","ɵɵdefineNgModule","ɵɵdefineInjector","BrowserModule","init_esm","init_operators","JwtInterceptor","constructor","authService","notifyErrorsService","settingsService","persistenceService","isRefreshingToken","tokenSubject","BehaviorSubject","baseUrl","getBaseUrlApi","addTokenToRequest","request","token","url","includes","clone","setHeaders","Authorization","intercept","next","newUrl","newurlWithParams","urlWithParams","Object","assign","handle","getToken","pipe","tap","res","status","data","RequestData","Code","onNotify","version","getData","LocalStorageList","catchError","err","HttpErrorResponse","indexOf","handle401Error","throwError","ErrorOnNotify","console","warn","filter","take","switchMap","refreshToken","user","logout","evt","HttpResponse","ok","currentVersion","UpdateVersion","finalize","errorNumber","handle403Error","Data","msj","ɵɵinject","AuthenticationService","SPlusFormsNotifyErrorsService","SettingsService","PersistenceService","factory","ɵfac","init_esm","init_operators","BlobErrorHttpInterceptor","intercept","req","next","handle","pipe","catchError","err","HttpErrorResponse","error","Blob","type","Promise","resolve","reject","reader","FileReader","onload","e","errmsg","JSON","parse","target","result","headers","status","statusText","url","onerror","readAsText","throwError","factory","ɵfac","plural","val","n","i","v","e","es_CO_default","NormalizeMenuPipe","transform","value","args","pure","standalone","init_progress_kendo_angular_intl","setData","setData","HeaderModule","CommonModule","ButtonsModule","TooltipsModule","IndicatorsModule","NavigationModule","ComponentsCoreFormsModule","DialogModule","AuthTokenServerService","NGXLoggerServerService","constructor","settingsService","httpBack","ngZone","baseUrl","getBaseUrlApi","customiseRequestBody","metadata","__spreadValues","alterHttpRequest","request","newUrl","url","newurlWithParams","urlWithParams","Object","assign","dataStorage","localStorage","getItem","LocalStorageList","currentUser","token","JSON","parse","clone","setHeaders","Authorization","ɵɵinject","SettingsService","HttpBackend","NgZone","factory","ɵfac","registerLocaleData","localeCo","KENDO_MODULES","IntlModule","IndicatorsModule","NavigationModule","ButtonsModule","LayoutModule","TooltipsModule","TreeViewModule","DialogsModule","GridModule","LOGGER_MODULE","LoggerModule","forRoot","serverLoggingUrl","level","NgxLoggerLevel","WARN","serverLogLevel","ERROR","disableConsoleLogging","serverProvider","provide","TOKEN_LOGGER_SERVER_SERVICE","useClass","AuthTokenServerService","AppModule","bootstrap","AppComponent","AuthGuard","SettingsService","ConfigModule","init","AuthenticationService","PersistenceService","SplusLogger","NormalizeMenuPipe","UtilService","HomeService","LOCALE_ID","useValue","HTTP_INTERCEPTORS","JwtInterceptor","multi","BlobErrorHttpInterceptor","ThemeService","provideHttpClient","withInterceptorsFromDi","provideFirebaseApp","initializeApp","environment","firebaseConfig","provideDatabase","getDatabase","imports","BrowserModule","AppRoutingModule","ReactiveFormsModule","FormsModule","BrowserAnimationsModule","HeaderModule","DirectivesCoreFormsModule","ServiceWorkerModule","register","enabled","production","ComponentsCoreImportModule","ComponentsCoreFormsModule","MainPipe","environment","production","enableProdMode","getBaseUrl","providers","provide","useFactory","deps","platformBrowser","bootstrapModule","AppModule","catch","err","console","error"],"x_google_ignoreList":[47,48,49,52,54,55]}